1#ifndef Isis_GuiMainWindow_h
2#define Isis_GuiMainWindow_h
21#include <QProgressBar>
84 int Exec(
void (*funct)());
91 void Log(
const QString &text);
107 QAction *CreateProcessAction();
111 QAction *CreatePreviousHistoryAction();
112 QAction *CreateNextHistoryAction();
113 QAction *CreateSaveLogAction();
114 QAction *CreateClearLogAction();
115 QAction *CreateWhatsThisAction();
119 QScrollArea *p_scrollArea;
121 QVBoxLayout *p_scrollLayout;
123 QLabel *p_statusText;
133 QAction *p_previousHistoryAction;
136 QMap<QString, QGridLayout *> p_grids;
138 std::vector<GuiParameter *> p_parameters;
140 QString p_errorString;
143 void UpdateHistory();
146 QLineEdit *p_commandLineEdit;
150 void StopProcessing();
152 void ResetParameters();
155 void PreviousHistory();
157 void UpdateExclusions();
158 void UpdateCommandLine();
159 void UpdateParameters();
165 void InvokeHelper(
const QString &funct);
Gui for Isis Applications.
Definition Gui.h:73
~Gui()
Destructor.
Definition Gui.cpp:175
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:580
void Log(const QString &text)
Write text to the gui log.
Definition Gui.cpp:617
void ProgressText(const QString &text)
Change progress text.
Definition Gui.cpp:565
int ShowWarning()
Show an error message and return if the user wants to continue/abort.
Definition Gui.cpp:606
static Gui * Create(Isis::UserInterface &ui, int &argc, char *argv[])
Definition Gui.cpp:84
void Progress(int percent)
Update the progress bar.
Definition Gui.cpp:571
void LoadMessage(const QString &message)
Add more information to the error message.
Definition Gui.cpp:586
bool eventFilter(QObject *o, QEvent *e)
Reset the Progress bar when the user moves the mouse onto the toolbar.
Definition Gui.cpp:622
Gui(Isis::UserInterface &ui)
Constructor.
Definition Gui.cpp:130
bool ProcessEvents()
Let the event loop have some time to see if we need to cancel.
Definition Gui.cpp:661
void ShowLog()
Definition Gui.h:90
static void checkX11()
check to see if X is available
Definition Gui.cpp:55
Definition GuiParameter.h:34
Command Line and Xml loader, validation, and access.
Definition UserInterface.h:139
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16