Changeset 7603 in orxonox.OLD for branches/qt_gui/src/lib/gui/qt_gui/gui_general.cc
- Timestamp:
- May 12, 2006, 9:14:47 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/qt_gui/src/lib/gui/qt_gui/gui_general.cc
r7601 r7603 47 47 QLabel* dataDirLabel = new QLabel("DataDirectory"); 48 48 layout->addWidget(dataDirLabel, 0,0); 49 QtGuiInputLine*dataDir = new QtGuiInputLine(CONFIG_NAME_DATADIR, this);49 this->dataDir = new QtGuiInputLine(CONFIG_NAME_DATADIR, this); 50 50 layout->addWidget(dataDir, 0, 1, 1, 2); 51 51 QPushButton* dataFileDialogButton = new QPushButton("browse"); 52 52 layout->addWidget(dataFileDialogButton, 0, 3, 1, 1); 53 53 connect(dataFileDialogButton, SIGNAL(released()), this, SLOT(openDataFileDialog())); 54 55 54 56 55 … … 83 82 "Choose the ORXONOX DATA DIRECTORY", 84 83 ".", 85 "ORXONOX DATA INDEX (data.oxd)"); 84 "ORXONOX DATA INDEX (" DEFAULT_DATA_DIR_CHECKFILE ")" ); 85 86 s.remove("data.oxd"); 87 if (!s.isNull()) 88 this->dataDir->setText(s); 86 89 } 87 90
Note: See TracChangeset
for help on using the changeset viewer.