This is the specific QApplication class for this program, and it defines routines for the splash screen. More...
#include <graspitApp.h>
Public Member Functions | |
const char * | className () const |
GraspItApp (int &argc, char **argv) | |
bool | splashEnabled () const |
Static Public Member Functions | |
static void | closeSplash () |
static void | showSplash () |
Private Attributes | |
bool | splash_enabled_ |
This is the specific QApplication class for this program, and it defines routines for the splash screen.
The main purpose of this class is to show the splash screen at the beginning when the application is started. In the future, more may be added to this. One instance of this class should be defined in the main program.
Definition at line 44 of file graspitApp.h.
GraspItApp::GraspItApp | ( | int & | argc, | |
char ** | argv | |||
) | [inline] |
Stub constructor
Definition at line 50 of file graspitApp.h.
const char* GraspItApp::className | ( | ) | const [inline] |
Returns the name of this class.
Definition at line 59 of file graspitApp.h.
void GraspItApp::closeSplash | ( | ) | [static] |
Removes the splash screen, freeing its memory.
Definition at line 82 of file graspitApp.cpp.
void GraspItApp::showSplash | ( | ) | [static] |
Reads the registry to determine the location of the main window, and whether or not to display the splash screen. If so, it shows the GraspIt! logo splash screen in the center of the screen.
Definition at line 47 of file graspitApp.cpp.
bool GraspItApp::splashEnabled | ( | ) | const [inline] |
Returns wether the splash is enabled or not
Definition at line 62 of file graspitApp.h.
bool GraspItApp::splash_enabled_ [private] |
Definition at line 47 of file graspitApp.h.