Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7542 in orxonox.OLD for branches


Ignore:
Timestamp:
May 5, 2006, 5:55:49 PM (19 years ago)
Author:
bensch
Message:

Stoeff

Location:
branches/qt_gui/src/lib/gui/qt_gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/qt_gui/src/lib/gui/qt_gui/Makefile.am

    r7539 r7542  
    1616libORXqtgui_a_SOURCES = \
    1717                qt_gui.cc \
     18                qt_gui_moc.cc \
    1819                qt_gui_elements.cc \
     20                qt_gui_elements_moc.cc \
    1921                \
    2022                gui_video.cc \
     
    3032EXTRA_DIST =
    3133
     34
     35
     36%_moc.cc : %.h
     37        @QT_MOC@ -o $@ $<
     38
     39clean-local:
     40        rm *_moc.cc
  • branches/qt_gui/src/lib/gui/qt_gui/qt_gui.cc

    r7534 r7542  
    2222#include <QtGui/QGridLayout>
    2323
    24 
     24#include "qt_gui_elements.h"
    2525#include "gui_video.h"
    2626#include "gui_audio.h"
     
    4444        toolBox->addItem(new GuiAudio(toolBox), "Audio");
    4545      }
    46       mainLayout->addWidget(toolBox,1,1);
     46      mainLayout->addWidget(toolBox,1,1, 1, 3);
     47
     48
     49      QPushButton* quit = new QPushButton("quit");
     50      connect(quit, SIGNAL(released()), this, SLOT(quit()));
     51
     52      mainLayout->addWidget(quit, 2,3);
    4753    }
    4854
Note: See TracChangeset for help on using the changeset viewer.