Changeset 3686b97
- Timestamp:
- 06/26/11 20:49:44 (12 years ago)
- Branches:
- master, qt5
- Children:
- d17dd78
- Parents:
- ed063f1
- Location:
- src/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gui/eventdialog.cpp
red063f1 r3686b97 45 45 abstract->setText(event.abstract()); 46 46 description->setText(event.description()); 47 links->setText(static_cast<QStringList>(event.links().values()).join("\n")); 47 QStringList linksText = static_cast<QStringList>(event.links().values()); 48 for (QStringList::iterator linkIterator = linksText.begin(); linkIterator != linksText.end(); ++linkIterator) 49 *linkIterator = QString("<a href=\"%1\">%1</a>").arg(*linkIterator); 50 links->setText(linksText.join("<br/>")); 48 51 49 52 connect(favouriteButton, SIGNAL(clicked()), SLOT(favouriteClicked())); -
src/gui/eventdialog.ui
red063f1 r3686b97 68 68 <x>0</x> 69 69 <y>0</y> 70 <width>46 3</width>71 <height>27 0</height>70 <width>461</width> 71 <height>276</height> 72 72 </rect> 73 73 </property> … … 231 231 <string>LINKS</string> 232 232 </property> 233 <property name="textFormat"> 234 <enum>Qt::RichText</enum> 235 </property> 233 236 <property name="wordWrap"> 234 237 <bool>true</bool> … … 236 239 <property name="openExternalLinks"> 237 240 <bool>true</bool> 241 </property> 242 <property name="textInteractionFlags"> 243 <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse</set> 238 244 </property> 239 245 </widget>
Note: See TracChangeset
for help on using the changeset viewer.