1 #ifndef Isis_GuiMainWindow_h 2 #define Isis_GuiMainWindow_h 37 #include <QMainWindow> 38 #include <QProgressBar> 39 #include <QScrollArea> 101 int Exec(
void (*funct)());
108 void Log(
const QString &text);
124 QAction *CreateProcessAction();
128 QAction *CreatePreviousHistoryAction();
129 QAction *CreateNextHistoryAction();
130 QAction *CreateSaveLogAction();
131 QAction *CreateClearLogAction();
132 QAction *CreateWhatsThisAction();
136 QScrollArea *p_scrollArea;
138 QVBoxLayout *p_scrollLayout;
140 QLabel *p_statusText;
150 QAction *p_previousHistoryAction;
155 std::vector<GuiParameter *> p_parameters;
157 QString p_errorString;
160 void UpdateHistory();
163 QLineEdit *p_commandLineEdit;
167 void StopProcessing();
169 void ResetParameters();
172 void PreviousHistory();
174 void UpdateExclusions();
175 void UpdateCommandLine();
176 void UpdateParameters();
182 void InvokeHelper(
const QString &funct);
bool eventFilter(QObject *o, QEvent *e)
Reset the Progress bar when the user moves the mouse onto the toolbar.
Definition: Gui.cpp:616
void ProgressText(const QString &text)
Change progress text.
Definition: Gui.cpp:559
static void checkX11()
check to see if X is available
Definition: Gui.cpp:49
bool ProcessEvents()
Let the event loop have some time to see if we need to cancel.
Definition: Gui.cpp:655
Gui(Isis::UserInterface &ui)
Constructor.
Definition: Gui.cpp:124
void Progress(int percent)
Update the progress bar.
Definition: Gui.cpp:565
void Log(const QString &text)
Write text to the gui log.
Definition: Gui.cpp:611
Definition: GuiParameter.h:50
int Exec(void(*funct)())
Start the Gui and enter the main loop This routine only returns when the program is ready to exit...
Definition: Gui.cpp:574
void LoadMessage(const QString &message)
Add more information to the error message.
Definition: Gui.cpp:580
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Command Line and Xml loader, validation, and access.
Definition: UserInterface.h:155
~Gui()
Destructor.
Definition: Gui.cpp:169
int ShowWarning()
Show an error message and return if the user wants to continue/abort.
Definition: Gui.cpp:600
static Gui * Create(Isis::UserInterface &ui, int &argc, char *argv[])
Definition: Gui.cpp:78
void ShowLog()
Definition: Gui.h:107
Definition: CubeIoHandler.h:38
Gui for Isis Applications.
Definition: Gui.h:90