1 #ifndef Isis_GuiMainWindow_h
2 #define Isis_GuiMainWindow_h
37 #include <QMainWindow>
38 #include <QProgressBar>
39 #include <QScrollArea>
97 int Exec(
void (*funct)());
104 void Log(
const QString &text);
120 QAction *CreateProcessAction();
124 QAction *CreatePreviousHistoryAction();
125 QAction *CreateNextHistoryAction();
126 QAction *CreateSaveLogAction();
127 QAction *CreateClearLogAction();
128 QAction *CreateWhatsThisAction();
132 QScrollArea *p_scrollArea;
134 QVBoxLayout *p_scrollLayout;
136 QLabel *p_statusText;
146 QAction *p_previousHistoryAction;
151 std::vector<GuiParameter *> p_parameters;
153 QString p_errorString;
156 void UpdateHistory();
159 QLineEdit *p_commandLineEdit;
163 void StopProcessing();
165 void ResetParameters();
168 void PreviousHistory();
170 void UpdateExclusions();
171 void UpdateCommandLine();
172 void UpdateParameters();
178 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:594
void ProgressText(const QString &text)
Change progress text.
Definition: Gui.cpp:537
static void checkX11()
check to see if X is available
Definition: Gui.cpp:48
bool ProcessEvents()
Let the event loop have some time to see if we need to cancel.
Definition: Gui.cpp:633
Gui(Isis::UserInterface &ui)
Constructor.
Definition: Gui.cpp:106
void Progress(int percent)
Update the progress bar.
Definition: Gui.cpp:543
void Log(const QString &text)
Write text to the gui log.
Definition: Gui.cpp:589
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:552
void LoadMessage(const QString &message)
Add more information to the error message.
Definition: Gui.cpp:558
Command Line and Xml loader, validation, and access.
Definition: UserInterface.h:152
~Gui()
Destructor.
Definition: Gui.cpp:147
int ShowWarning()
Show an error message and return if the user wants to continue/abort.
Definition: Gui.cpp:578
static Gui * Create(Isis::UserInterface &ui, int &argc, char *argv[])
Definition: Gui.cpp:74
void ShowLog()
Definition: Gui.h:103
Gui for Isis Applications.
Definition: Gui.h:86