![]()  | 
  
    Isis Developer Reference
    
   | 
 
Gui for Isis Applications. More...
#include <Gui.h>


Public Member Functions | |
| void | ProgressText (const QString &text) | 
| Change progress text.  More... | |
| void | Progress (int percent) | 
| Update the progress bar.  More... | |
| int | Exec (void(*funct)()) | 
| Start the Gui and enter the main loop This routine only returns when the program is ready to exit.  More... | |
| bool | ProcessEvents () | 
| Let the event loop have some time to see if we need to cancel.  More... | |
| void | LoadMessage (const QString &message) | 
| Add more information to the error message.  More... | |
| int | ShowWarning () | 
| Show an error message and return if the user wants to continue/abort.  More... | |
| void | ShowLog () | 
| void | Log (const QString &text) | 
| Write text to the gui log.  More... | |
| Gui (Isis::UserInterface &ui) | |
| Constructor.  More... | |
| ~Gui () | |
| Destructor.  More... | |
| bool | eventFilter (QObject *o, QEvent *e) | 
| Reset the Progress bar when the user moves the mouse onto the toolbar.  More... | |
Static Public Member Functions | |
| static void | checkX11 () | 
| check to see if X is available  More... | |
| static Gui * | Create (Isis::UserInterface &ui, int &argc, char *argv[]) | 
| Isis::Gui::Gui | ( | Isis::UserInterface & | ui | ) | 
Constructor.
References IsisAml::NumGroups(), IsisAml::NumParams(), and Isis::GuiParameter::Update().
Referenced by Create().
| Isis::Gui::~Gui | ( | ) | 
Destructor.
      
  | 
  static | 
check to see if X is available
Referenced by Isis::UserInterface::UserInterface().
      
  | 
  static | 
References Isis::PvlObject::findGroup(), Gui(), Isis::PvlContainer::hasKeyword(), and Isis::Preference::Preferences().
Referenced by Isis::UserInterface::UserInterface().
| bool Isis::Gui::eventFilter | ( | QObject * | o, | 
| QEvent * | e | ||
| ) | 
Reset the Progress bar when the user moves the mouse onto the toolbar.
References Progress(), and ProgressText().
| int Isis::Gui::Exec | ( | void(*)() | funct | ) | 
Start the Gui and enter the main loop This routine only returns when the program is ready to exit.
Referenced by Isis::Application::Run().
| void Isis::Gui::LoadMessage | ( | const QString & | message | ) | 
Add more information to the error message.
Referenced by Isis::Application::GuiReportError().
| void Isis::Gui::Log | ( | const QString & | text | ) | 
Write text to the gui log.
References Isis::GuiLog::Write().
Referenced by Isis::Application::GuiLog(), and Isis::Application::Log().
| bool Isis::Gui::ProcessEvents | ( | ) | 
Let the event loop have some time to see if we need to cancel.
This is normally called by the Isis::Progress class.
| void Isis::Gui::Progress | ( | int | percent | ) | 
Update the progress bar.
Referenced by eventFilter().
| void Isis::Gui::ProgressText | ( | const QString & | text | ) | 
Change progress text.
Referenced by eventFilter(), and Isis::Application::GuiReportError().
      
  | 
  inline | 
Referenced by Isis::Application::GuiLog(), and Isis::Application::Log().
| int Isis::Gui::ShowWarning | ( | ) | 
Show an error message and return if the user wants to continue/abort.
References Isis::Application::GetUserInterface(), Isis::iApp, and IsisAml::ProgramName().
Referenced by Isis::Application::GuiReportError().