Changeset e7340e1 in confclerk_git for src/gui/mainwindow.cpp
- Timestamp:
- 01/22/10 15:41:46 (13 years ago)
- Branches:
- master, qt5
- Children:
- 0d4ecc2
- Parents:
- 49c5ad3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gui/mainwindow.cpp
r49c5ad3 re7340e1 122 122 // event search button clicked 123 123 connect(searchButton, SIGNAL(clicked()), SLOT(searchClicked())); 124 // event conference map button clicked 125 connect(showMapButton, SIGNAL(clicked()), SLOT(conferenceMapClicked())); 124 126 // 125 127 connect(tabWidget, SIGNAL(currentChanged(int)), SLOT(tabHasChanged(int))); … … 292 294 } 293 295 296 void MainWindow::conferenceMapClicked() 297 { 298 299 QString mapPath = QString(":/maps/campus.png"); 300 if(!QFile::exists(mapPath)) 301 mapPath = QString(":/maps/rooms/not-available.png"); 302 303 QString roomName; 304 305 QPixmap map(mapPath); 306 MapWindow window(map,roomName,this); 307 window.exec(); 308 } 309 294 310 void MainWindow::displayWarning(const QModelIndex &aIndex) 295 311 {
Note: See TracChangeset
for help on using the changeset viewer.