Ignore:
Timestamp:
Aug 18, 2012, 8:44:14 AM (12 years ago)
Author:
Torben Dannhauer
Message:
 
Location:
experimental/osgVisualGuiNG
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • experimental/osgVisualGuiNG/osgvisualgui.cpp

    r418 r419  
    1919
    2020        // Toolbars initialisieren
    21         void setupDockWidgets();
    22         void setupToolbars();
    23         void setupMenus();
     21        setupDockWidgets();
     22        setupToolbars();
     23        setupMenus();
     24        setupConnections();
    2425
    2526        // Windowgeometrie wiederherstellen
     
    8081void osgVisualGUI::setupMenus()
    8182{
    82         ui.menuEdit->addAction( ui.actionSettings );
     83
     84}
     85
     86void osgVisualGUI::setupConnections()
     87{
     88        connect(ui.actionAbout, SIGNAL(triggered()), this, SLOT(on_actionAbout()));
    8389}
    8490
     
    115121}
    116122
    117 void osgVisualGUI::on_actionAbout_This_Programm_triggered()
     123void osgVisualGUI::on_actionAbout()
    118124{
    119125        QMessageBox::about( this, tr("About %1").arg(QApplication::applicationName()) ,
  • experimental/osgVisualGuiNG/osgvisualgui.h

    r418 r419  
    2929        void setupToolbars();
    3030        void setupMenus();
     31        void setupConnections();
     32
    3133
    3234        Ui::osgVisualGUIClass ui;
     
    4244        void on_actionToggle_top_right_corner_triggered();
    4345        void on_actionToggle_top_left_corner_triggered();
    44         void on_actionAbout_This_Programm_triggered();
     46        void on_actionAbout();
    4547};
    4648
Note: See TracChangeset for help on using the changeset viewer.