Changeset 7594 in orxonox.OLD for branches/qt_gui
- Timestamp:
- May 11, 2006, 11:30:52 AM (19 years ago)
- Location:
- branches/qt_gui/src/lib/gui/qt_gui
- Files:
-
- 2 added
- 2 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/qt_gui/src/lib/gui/qt_gui/Makefile.am
r7593 r7594 19 19 qt_gui_elements.cc \ 20 20 qt_gui_elements_moc.cc \ 21 q_image_widget.cc \ 22 q_image_widget_moc.cc \ 21 23 \ 22 24 gui_video.cc \ … … 29 31 qt_gui.h \ 30 32 qt_gui_elements.h \ 33 q_image_widget.h \ 31 34 \ 32 35 gui_video.h \ -
branches/qt_gui/src/lib/gui/qt_gui/qt_gui.cc
r7585 r7594 26 26 #include "gui_audio.h" 27 27 #include "gui_general.h" 28 #include "banner.xpm" 29 #include <QtGui/QPainter> 30 #include "q_image_widget.h" 28 31 29 32 namespace OrxGui … … 34 37 35 38 this->mainWindow = new QMainWindow(); 36 39 this->mainWindow->setMinimumSize(500, 200); 37 40 38 41 QGroupBox* groupBox = new QGroupBox(this->mainWindow); 39 42 QGridLayout* mainLayout = new QGridLayout(groupBox); 40 43 { 44 QImageWidget* bannerWidget = new QImageWidget(); 45 QImage bannerImage(banner_xpm); 46 bannerImage.save("test.bmp", "bmp"); 47 bannerWidget->setImage(bannerImage); 48 mainLayout->addWidget(bannerWidget, 0,0, 3, 1); 49 50 41 51 QToolBox* toolBox = new QToolBox(groupBox); 42 52 {
Note: See TracChangeset
for help on using the changeset viewer.