1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>DidYouKnow</class> 4 <widget class="QDialog" name="DidYouKnow"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>386</width> 10 <height>194</height> 11 </rect> 12 </property> 13 <property name="windowTitle"> 14 <string>Did you know?</string> 15 </property> 16 <layout class="QGridLayout" name="gridLayout"> 17 <item row="0" column="0"> 18 <widget class="QLabel" name="tipText"> 19 <property name="frameShape"> 20 <enum>QFrame::Panel</enum> 21 </property> 22 <property name="frameShadow"> 23 <enum>QFrame::Sunken</enum> 24 </property> 25 <property name="alignment"> 26 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> 27 </property> 28 </widget> 29 </item> 30 <item row="1" column="0"> 31 <layout class="QHBoxLayout"> 32 <item> 33 <widget class="QCheckBox" name="dontShowCheckBox"> 34 <property name="text"> 35 <string>Don't show on startup</string> 36 </property> 37 </widget> 38 </item> 39 <item> 40 <spacer name="spacer7"> 41 <property name="orientation"> 42 <enum>Qt::Horizontal</enum> 43 </property> 44 <property name="sizeType"> 45 <enum>QSizePolicy::Expanding</enum> 46 </property> 47 <property name="sizeHint" stdset="0"> 48 <size> 49 <width>121</width> 50 <height>31</height> 51 </size> 52 </property> 53 </spacer> 54 </item> 55 <item> 56 <widget class="QPushButton" name="nextButton"> 57 <property name="text"> 58 <string>Next tip</string> 59 </property> 60 </widget> 61 </item> 62 <item> 63 <widget class="QPushButton" name="closeButton"> 64 <property name="text"> 65 <string>Close</string> 66 </property> 67 </widget> 68 </item> 69 </layout> 70 </item> 71 </layout> 72 </widget> 73 <layoutdefault spacing="6" margin="11"/> 74 <resources/> 75 <connections> 76 <connection> 77 <sender>closeButton</sender> 78 <signal>clicked()</signal> 79 <receiver>DidYouKnow</receiver> 80 <slot>accept()</slot> 81 <hints> 82 <hint type="sourcelabel"> 83 <x>20</x> 84 <y>20</y> 85 </hint> 86 <hint type="destinationlabel"> 87 <x>20</x> 88 <y>20</y> 89 </hint> 90 </hints> 91 </connection> 92 </connections> 93</ui> 94