#include <QApplication>
#include <QIcon>
#include <QtGui>
#include "GlobDefs.h"
#include "MainWindow.h"
#include "Pieces.h"
#include <QDialog>
#include <QVBoxLayout>
#include <QGroupBox>
Include dependency graph for main.cpp:
Functions | |
int | main (int argc, char *argv[]) |
Variables | |
QWidget * | g_main = NULL |
this is a global pointer to the main MainWindow instance. | |
QGLFormat | g_format |
int main | ( | int | argc, | |
char * | argv[] | |||
) |
QGLFormat g_format |
QWidget* g_main = NULL |
this is a global pointer to the main MainWindow instance.
it is used in places where there is no easy reach to a parent window. This pointer is set in the main() and instantiated in main.cpp