-<ui version="4.0" >
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
<class>EventDialog</class>
- <widget class="QDialog" name="EventDialog" >
- <property name="geometry" >
+ <widget class="QDialog" name="EventDialog">
+ <property name="geometry">
<rect>
<x>0</x>
<y>0</y>
- <width>468</width>
- <height>496</height>
+ <width>539</width>
+ <height>404</height>
</rect>
</property>
- <property name="sizePolicy" >
- <sizepolicy vsizetype="MinimumExpanding" hsizetype="MinimumExpanding" >
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="windowTitle" >
+ <property name="windowTitle">
<string>Details</string>
</property>
- <property name="autoFillBackground" >
+ <property name="autoFillBackground">
<bool>false</bool>
</property>
- <layout class="QGridLayout" name="gridLayout" >
- <item row="0" column="0" >
- <layout class="QVBoxLayout" name="verticalLayout" >
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item>
+ <widget class="QTextBrowser" name="eventInfoTextBrowser">
+ <property name="openExternalLinks">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout">
<item>
- <widget class="QLabel" name="title" >
- <property name="sizePolicy" >
- <sizepolicy vsizetype="MinimumExpanding" hsizetype="MinimumExpanding" >
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
+ <widget class="QToolButton" name="alarmButton">
+ <property name="text">
+ <string>...</string>
+ </property>
+ <property name="icon">
+ <iconset resource="../icons.qrc">
+ <normaloff>:/icons/alarm-off.png</normaloff>:/icons/alarm-off.png</iconset>
+ </property>
+ <property name="iconSize">
+ <size>
+ <width>32</width>
+ <height>32</height>
+ </size>
</property>
- <property name="font" >
- <font>
- <weight>75</weight>
- <bold>true</bold>
- </font>
+ <property name="shortcut">
+ <string>CapsLock</string>
</property>
- <property name="text" >
- <string>Title goes here</string>
+ </widget>
+ </item>
+ <item>
+ <widget class="QToolButton" name="favouriteButton">
+ <property name="text">
+ <string>...</string>
</property>
- <property name="alignment" >
- <set>Qt::AlignCenter</set>
+ <property name="icon">
+ <iconset resource="../icons.qrc">
+ <normaloff>:/icons/favourite-no.png</normaloff>:/icons/favourite-no.png</iconset>
</property>
- <property name="wordWrap" >
- <bool>true</bool>
+ <property name="iconSize">
+ <size>
+ <width>32</width>
+ <height>32</height>
+ </size>
</property>
</widget>
</item>
<item>
- <layout class="QGridLayout" name="gridLayout_2" >
- <item row="1" column="1" >
- <widget class="QLabel" name="label_2" >
- <property name="text" >
- <string>Presenter(s): </string>
- </property>
- </widget>
- </item>
- <item row="1" column="2" >
- <widget class="QLabel" name="persons" >
- <property name="text" >
- <string>persons go here</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1" >
- <widget class="QLabel" name="label_3" >
- <property name="text" >
- <string>Abstract:</string>
- </property>
- <property name="alignment" >
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
- </property>
- </widget>
- </item>
- <item row="2" column="2" >
- <widget class="QPlainTextEdit" name="abstract" >
- <property name="autoFillBackground" >
- <bool>false</bool>
- </property>
- <property name="frameShape" >
- <enum>QFrame::NoFrame</enum>
- </property>
- <property name="frameShadow" >
- <enum>QFrame::Plain</enum>
- </property>
- <property name="lineWidth" >
- <number>1</number>
- </property>
- <property name="readOnly" >
- <bool>true</bool>
- </property>
- <property name="backgroundVisible" >
- <bool>false</bool>
- </property>
- <property name="centerOnScroll" >
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item row="3" column="1" >
- <widget class="QLabel" name="label" >
- <property name="text" >
- <string>Description:</string>
- </property>
- <property name="alignment" >
- <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
- </property>
- </widget>
- </item>
- <item row="3" column="2" >
- <widget class="QPlainTextEdit" name="description" >
- <property name="frameShape" >
- <enum>QFrame::NoFrame</enum>
- </property>
- <property name="frameShadow" >
- <enum>QFrame::Plain</enum>
- </property>
- <property name="readOnly" >
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
+ <spacer name="horizontalSpacer">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>40</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
</item>
<item>
- <layout class="QHBoxLayout" name="horizontalLayout" >
- <item>
- <spacer name="horizontalSpacer" >
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0" >
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QPushButton" name="okButton" >
- <property name="text" >
- <string>OK</string>
- </property>
- </widget>
- </item>
- </layout>
+ <widget class="QPushButton" name="okButton">
+ <property name="text">
+ <string>OK</string>
+ </property>
+ </widget>
</item>
</layout>
</item>
</layout>
</widget>
- <resources/>
+ <resources>
+ <include location="../icons.qrc"/>
+ </resources>
<connections>
<connection>
<sender>okButton</sender>
<receiver>EventDialog</receiver>
<slot>close()</slot>
<hints>
- <hint type="sourcelabel" >
+ <hint type="sourcelabel">
<x>287</x>
<y>84</y>
</hint>
- <hint type="destinationlabel" >
+ <hint type="destinationlabel">
<x>169</x>
<y>53</y>
</hint>