Fork me on GitHub
2.15.20
FGx
A cross-platform launcher for FlightGear
MenuWidget Class Reference

The MenuWidget is the top part of the LauncherWindow. More...

#include <menuwidget.h>

Inheritance diagram for MenuWidget:

Public Slots

void on_menu_debug_mode ()
 
void on_menu_default_profile ()
 
void on_menu_fgx_github ()
 
void on_menu_fgx_issues ()
 
void on_menu_fgx_user_forums ()
 
void on_menu_fgx_version_info ()
 
void on_menu_fgx_www ()
 
void on_menu_load_profile ()
 
void on_menu_qt_version_info ()
 
void on_menu_quit ()
 
void on_menu_reset_profile ()
 
void on_menu_save_profile ()
 
void on_menu_url_forums ()
 
void on_menu_url_wiki ()
 
void on_show_debug_window ()
 
void on_show_log_window ()
 
void on_show_props_window ()
 

Signals

void on_debug_mode (bool enabled)
 

Public Member Functions

 MenuWidget (MainObject *mob, QWidget *parent=0)
 

Public Attributes

QMenu * applicationMenu
 
bool debug_mode
 
QAction * debugmodeAction
 
QAction * debugWindowAction
 
QAction * defaultProfileAction
 
QMenu * helpFGxGroup
 
QMenu * helpFlightGearGroup
 
QMenu * helpMenu
 
QAction * loadProfileAction
 
QAction * logWindowAction
 
QMenuBar * mainMenu
 
MainObjectmainObject
 
QHBoxLayout * menuLayout
 
QMenu * modeMenu
 
QMenu * profileMenu
 
QAction * propsWindowAction
 
QAction * quitAction
 
QAction * resetProfileAction
 
QAction * saveProfileAction
 
XSettingssettings
 
QAction * urlActionFGxUserHelp
 
QAction * urlActionForums
 
QAction * urlActionWiki
 

Detailed Description

The MenuWidget is the top part of the LauncherWindow.

Its contains the toplevel menu and has ended up separate to make tweaking for OSX easier.

Definition at line 29 of file menuwidget.h.

Constructor & Destructor Documentation

MenuWidget::MenuWidget ( MainObject mob,
QWidget parent = 0 
)
explicit

Definition at line 27 of file menuwidget.cpp.

Member Function Documentation

void MenuWidget::on_debug_mode ( bool  enabled)
signal
void MenuWidget::on_menu_debug_mode ( )
slot

Definition at line 208 of file menuwidget.cpp.

Referenced by MenuWidget().

void MenuWidget::on_menu_default_profile ( )
slot

Definition at line 259 of file menuwidget.cpp.

Referenced by MenuWidget().

void MenuWidget::on_menu_fgx_github ( )
slot

Definition at line 293 of file menuwidget.cpp.

Referenced by MenuWidget().

void MenuWidget::on_menu_fgx_issues ( )
slot

Definition at line 290 of file menuwidget.cpp.

Referenced by MenuWidget().

void MenuWidget::on_menu_fgx_user_forums ( )
slot

Definition at line 282 of file menuwidget.cpp.

Referenced by MenuWidget().

void MenuWidget::on_menu_fgx_version_info ( )
slot
Todo:
Create the help text

Definition at line 300 of file menuwidget.cpp.

Referenced by MenuWidget().

void MenuWidget::on_menu_fgx_www ( )
slot

Definition at line 287 of file menuwidget.cpp.

Referenced by MenuWidget().

void MenuWidget::on_menu_load_profile ( )
slot

Definition at line 217 of file menuwidget.cpp.

Referenced by MenuWidget().

void MenuWidget::on_menu_qt_version_info ( )
slot

Definition at line 306 of file menuwidget.cpp.

Referenced by MenuWidget().

void MenuWidget::on_menu_quit ( )
slot

Definition at line 171 of file menuwidget.cpp.

Referenced by MenuWidget().

void MenuWidget::on_menu_reset_profile ( )
slot

Definition at line 248 of file menuwidget.cpp.

Referenced by MenuWidget().

void MenuWidget::on_menu_save_profile ( )
slot

Definition at line 232 of file menuwidget.cpp.

Referenced by MenuWidget().

void MenuWidget::on_menu_url_forums ( )
slot

Definition at line 276 of file menuwidget.cpp.

Referenced by MenuWidget().

void MenuWidget::on_menu_url_wiki ( )
slot

Definition at line 270 of file menuwidget.cpp.

Referenced by MenuWidget().

void MenuWidget::on_show_debug_window ( )
slot

Definition at line 188 of file menuwidget.cpp.

Referenced by MenuWidget().

void MenuWidget::on_show_log_window ( )
slot

Definition at line 178 of file menuwidget.cpp.

Referenced by MenuWidget().

void MenuWidget::on_show_props_window ( )
slot

Definition at line 198 of file menuwidget.cpp.

Referenced by MenuWidget().

Member Data Documentation

QMenu* MenuWidget::applicationMenu

Definition at line 47 of file menuwidget.h.

Referenced by MenuWidget().

bool MenuWidget::debug_mode

Definition at line 36 of file menuwidget.h.

Referenced by MenuWidget(), and on_menu_debug_mode().

QAction* MenuWidget::debugmodeAction

Definition at line 61 of file menuwidget.h.

Referenced by MenuWidget(), and on_menu_debug_mode().

QAction* MenuWidget::debugWindowAction

Definition at line 58 of file menuwidget.h.

Referenced by MenuWidget().

QAction* MenuWidget::defaultProfileAction

Definition at line 66 of file menuwidget.h.

Referenced by MenuWidget().

QMenu* MenuWidget::helpFGxGroup

Definition at line 53 of file menuwidget.h.

Referenced by MenuWidget().

QMenu* MenuWidget::helpFlightGearGroup

Definition at line 52 of file menuwidget.h.

Referenced by MenuWidget().

QMenu* MenuWidget::helpMenu

Definition at line 51 of file menuwidget.h.

Referenced by MenuWidget().

QAction* MenuWidget::loadProfileAction

Definition at line 63 of file menuwidget.h.

Referenced by MenuWidget().

QAction* MenuWidget::logWindowAction

Definition at line 57 of file menuwidget.h.

Referenced by MenuWidget().

QMenuBar* MenuWidget::mainMenu

Definition at line 44 of file menuwidget.h.

Referenced by MenuWidget().

QHBoxLayout* MenuWidget::menuLayout

Definition at line 41 of file menuwidget.h.

Referenced by MenuWidget().

QMenu* MenuWidget::modeMenu

Definition at line 48 of file menuwidget.h.

Referenced by MenuWidget().

QMenu* MenuWidget::profileMenu

Definition at line 49 of file menuwidget.h.

Referenced by MenuWidget().

QAction* MenuWidget::propsWindowAction

Definition at line 59 of file menuwidget.h.

Referenced by MenuWidget().

QAction* MenuWidget::quitAction

Definition at line 56 of file menuwidget.h.

Referenced by MenuWidget().

QAction* MenuWidget::resetProfileAction

Definition at line 65 of file menuwidget.h.

Referenced by MenuWidget().

QAction* MenuWidget::saveProfileAction

Definition at line 64 of file menuwidget.h.

Referenced by MenuWidget().

XSettings* MenuWidget::settings

Definition at line 35 of file menuwidget.h.

Referenced by MenuWidget().

QAction* MenuWidget::urlActionFGxUserHelp

Definition at line 70 of file menuwidget.h.

Referenced by MenuWidget().

QAction* MenuWidget::urlActionForums

Definition at line 69 of file menuwidget.h.

Referenced by MenuWidget().

QAction* MenuWidget::urlActionWiki

Definition at line 68 of file menuwidget.h.

Referenced by MenuWidget().


The documentation for this class was generated from the following files: