Changeset cb7b999 for src/gui/mainwindow.cpp
- Timestamp:
- 04/23/10 08:04:08 (13 years ago)
- Branches:
- master, qt5
- Children:
- 3cdaf7d
- Parents:
- 66428e7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gui/mainwindow.cpp
r66428e7 rcb7b999 39 39 #include <eventdialog.h> 40 40 #include "daynavigatorwidget.h" 41 #include "mapwindow.h"42 41 #include "settingsdialog.h" 43 42 #include "conferenceeditor.h" … … 139 138 } 140 139 141 void MainWindow::conferenceMapClicked()142 {143 QString mapPath = QString(":/maps/campus.png");144 if(!QFile::exists(mapPath))145 mapPath = QString(":/maps/rooms/not-available.png");146 147 QString roomName;148 149 QPixmap map(mapPath);150 MapWindow window(map,roomName,this);151 window.exec();152 }153 154 140 void MainWindow::eventHasChanged(int aEventId, bool aReloadModel) 155 141 { … … 272 258 connect(this, SIGNAL(conferenceRemoved()), &dialog, SLOT(conferenceRemoved())); 273 259 274 // TODO: propagate press of showMapButton here275 // connect(showMapButton, SIGNAL(clicked()), SLOT(conferenceMapClicked()));276 277 260 dialog.exec(); 278 261
Note: See TracChangeset
for help on using the changeset viewer.