19 #ifndef QVCT_CMAINWINDOW_HPP
20 #define QVCT_CMAINWINDOW_HPP
23 #include <QMainWindow>
96 void slotError(
const QString& _rqsMessage );
[UI] Application main window
void slotWarning(const QString &_rqsMessage)
Slot to display a warning message.
bool fileCheck(QVCT::EFileOperation _eFileOperation, const QString &_rqsFilename, const QStringList *_pqsListExtensions=0)
Checks the validity of the given file name for the given file operation (open/save)
void slotExit()
Slot to exit this application.
void slotShowTimeView()
Slot to display the application's system time (dock widget)
bool deleteConfirm(const QString &_rqsName)
Displays a generic confirmation request before deleting content.
void slotTimerRefresh()
Slot to periodically refresh the user interface.
QPixmap symbolPixmap(const QString &_rqsSymbol)
Returns pixmap matching the given symbol (loaded from the application's symbol directory)
void slotAbout()
Slot to display this application's "About" details.
void slotToggleFullscreen()
Slot to toggle full-screen.
void errorMessage(const QString &_rqsMessage)
Display an error message.
void slotShowVesselCourse()
Slot to display the application's vessel course widget (dock widget)
void constructLayout()
Constructs the layout of the application.
void fileError(QVCT::EFileOperation _eFileOperation, const QString &_rqsFilename)
Displays a generic error message for an invalid file name and operation (open/save)
void slotShowVesselPosition()
Slot to display the application's vessel position widget (dock widget)
void slotShowVesselTarget()
Slot to display the application's vessel target widget (dock widget)
void warningMessage(const QString &_rqsMessage)
Display a warning message.
void slotShowVesselCockpit()
Slot to display the application's vessel cockpit view (window)
void slotShowOverlayListView()
Slot to display the application's overlay list (dock widget)
double fdTimeLastRedraw
Content last redraw time.
bool symbolExists(const QString &_rqsSymbol)
Returns whether the given symbol exists (in the application's symbol directory)
QString fileDialog(QVCT::EFileOperation _eFileOperation, const QString &_rqsTitle, const QString &_rqsFilter)
Displays a generic dialog to pick a file for the given operation (open/save)
void constructMenus()
Constructs the menus of the application.
void parseError(const QString &_rqsString)
Displays a generic error message for an invalid parsing operation.
void slotError(const QString &_rqsMessage)
Slot to display an error message.
void slotShowOverlayDetailView()
Slot to display the application's overlay detail (dock widget)
void slotShowSettings()
Slot to display the application's settings edit dialog.