35 #include <QMainWindow>
36 #include <QApplication>
39 #include <QProgressBar>
83 virtual void aboutToShow();
96 void setWindowSubtitle(QString);
99 QProgressBar * getProgressBar();
102 void showStatusBar(
bool);
105 virtual void redirectToConsole(
bool);
108 void showConsole(
bool);
118 virtual bool addViewer(
Viewer*);
121 virtual void showViewer(
Viewer *,
bool);
127 virtual void addDockViewer(Qt::DockWidgetArea,
Viewer*);
130 void refreshViewers();
136 virtual void setCentralViewer(
Viewer*);
142 virtual void refresh();
154 virtual void closeEvent ( QCloseEvent *);
157 QList<Viewer *> viewers;
165 virtual void initSettings();
169 void dragEnterEvent(QDragEnterEvent *event);
172 void dragMoveEvent(QDragMoveEvent* event);
175 void dragLeaveEvent(QDragLeaveEvent* event);
178 void dropEvent(QDropEvent *event);
204 #endif // MAINWINDOW_H
Viewer is an abstract viewer.
Definition: Viewer.h:55
This Class is the base class for your application.
Definition: MainWindow.h:62
QDialog * consoleWindow
console to display all messages
Definition: MainWindow.h:193
#define CAMITK_API
Definition: CamiTKAPI.h:49
QProgressBar * myProgressBar
the progress bar (access through setProgress() method)
Definition: MainWindow.h:190
Provides a console windows, within the CamiTK application.
Definition: ConsoleStream.h:72
Definition: ExtensionWindow.h:42
A component is something that composed something and could also be a part of something.
Definition: modeling/libraries/pml/Component.h:48
ConsoleStream cout
the output stream for the application console
Definition: MainWindow.h:184
QMap< Viewer *, QDockWidget * > dockWidgetMap
the map that gives the corresponding QDockWidget for a given Viewer
Definition: MainWindow.h:162
ConsoleStream cerr
the error stream for the application console
Definition: MainWindow.h:187
QString mainTitle
the main part of the title
Definition: MainWindow.h:199
QTextEdit * consoleWindowTextEdit
the QTextEdit part of the console dialog
Definition: MainWindow.h:196