Changeset cb7b999 for src/gui/conferenceeditor.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/conferenceeditor.cpp
r66428e7 rcb7b999 21 21 #include "conferencemodel.h" 22 22 #include "urlinputdialog.h" 23 #include "mapwindow.h" 23 24 24 25 #include <QInputDialog> … … 48 49 connect(changeUrl, SIGNAL(clicked()), SLOT(changeUrlClicked())); 49 50 connect(refreshBtn, SIGNAL(clicked()), SLOT(refreshClicked())); 51 connect(showMapButton, SIGNAL(clicked()), SLOT(conferenceMapClicked())); 50 52 51 53 // it's OK to emit selection signals here … … 207 209 itemSelected(QModelIndex(), QModelIndex()); 208 210 } 211 212 void ConferenceEditor::conferenceMapClicked() 213 { 214 QString mapPath = QString(":/maps/campus.png"); 215 if(!QFile::exists(mapPath)) 216 mapPath = QString(":/maps/rooms/not-available.png"); 217 218 QString roomName; 219 220 QPixmap map(mapPath); 221 MapWindow window(map,roomName,this); 222 window.exec(); 223 }
Note: See TracChangeset
for help on using the changeset viewer.