1 #ifndef Isis_GuiMainWindow_h 2 #define Isis_GuiMainWindow_h 37 #include <QMainWindow> 38 #include <QProgressBar> 39 #include <QScrollArea> 47 #include "GuiParameterFactory.h" 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;
163 QLineEdit *p_commandLineEdit;
bool eventFilter(QObject *o, QEvent *e)
Reset the Progress bar when the user moves the mouse onto the toolbar.
void NextHistory()
Goto the next history entry.
void ProgressText(const QString &text)
Change progress text.
void InvokeHelper(const QString &funct)
Activate helper buttons.
void StopProcessing()
The user pressed the stop button ... see what they want to do.
static void checkX11()
check to see if X is available
bool ProcessEvents()
Let the event loop have some time to see if we need to cancel.
Gui(Isis::UserInterface &ui)
Constructor.
void UpdateParameters()
Update Parameters.
void Progress(int percent)
Update the progress bar.
static Gui * p_gui
Singleton.
void UpdateCommandLine()
Update the command line toolbar.
void ResetParameters()
Reset the parameters fields to the defaults.
void PreviousHistory()
Goto the previous history entry.
void Log(const QString &text)
Write text to the gui log.
void UpdateHistory()
Changed the parameters based on the history pointer.
int Exec(void(*funct)())
Start the Gui and enter the main loop This routine only returns when the program is ready to exit...
void StartProcess()
The user pressed the go button.
void LoadMessage(const QString &message)
Add more information to the error message.
Namespace for ISIS/Bullet specific routines.
Command Line and Xml loader, validation, and access.
int ShowWarning()
Show an error message and return if the user wants to continue/abort.
void UpdateExclusions()
Grey out parameters that should be excluded for radio buttons and checkboxes.
Gui for Isis Applications.