give welcome text a margin with a white frame

This commit is contained in:
Damien Elmes 2009-06-05 15:21:22 +09:00
parent 17a967f5b8
commit e583da6f88

View file

@ -5,7 +5,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>641</width>
<width>707</width>
<height>646</height>
</rect>
</property>
@ -23,6 +23,14 @@
<normaloff>:/icons/anki.png</normaloff>:/icons/anki.png</iconset>
</property>
<widget class="QWidget" name="centralwidget" >
<property name="geometry" >
<rect>
<x>0</x>
<y>63</y>
<width>707</width>
<height>562</height>
</rect>
</property>
<property name="sizePolicy" >
<sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
<horstretch>1</horstretch>
@ -163,6 +171,14 @@
<number>3</number>
</property>
<widget class="QWidget" name="page1" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>100</width>
<height>30</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout" >
<property name="spacing" >
<number>0</number>
@ -234,6 +250,14 @@
</layout>
</widget>
<widget class="QWidget" name="page2" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>100</width>
<height>30</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3" >
<property name="leftMargin" >
<number>0</number>
@ -372,8 +396,26 @@
</item>
</layout>
</widget>
<widget class="QWidget" name="typeAnswerPage" />
<widget class="QWidget" name="blankButtonPage" />
<widget class="QWidget" name="typeAnswerPage" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>100</width>
<height>30</height>
</rect>
</property>
</widget>
<widget class="QWidget" name="blankButtonPage" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>436</width>
<height>60</height>
</rect>
</property>
</widget>
</widget>
</item>
<item row="0" column="0" >
@ -387,25 +429,129 @@
<property name="currentIndex" >
<number>0</number>
</property>
<widget class="QWidget" name="blankPage" />
<widget class="QWidget" name="blankPage" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>436</width>
<height>502</height>
</rect>
</property>
</widget>
<widget class="QWidget" name="welcomePage" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>436</width>
<height>502</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_5" >
<property name="margin" >
<number>6</number>
<number>0</number>
</property>
<item>
<widget class="QTextBrowser" name="welcomeText" >
<property name="focusPolicy" >
<enum>Qt::ClickFocus</enum>
<widget class="QFrame" name="frame" >
<property name="palette" >
<palette>
<active>
<colorrole role="Base" >
<brush brushstyle="SolidPattern" >
<color alpha="255" >
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window" >
<brush brushstyle="SolidPattern" >
<color alpha="255" >
<red>255</red>
<green>254</green>
<blue>253</blue>
</color>
</brush>
</colorrole>
</active>
<inactive>
<colorrole role="Base" >
<brush brushstyle="SolidPattern" >
<color alpha="255" >
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window" >
<brush brushstyle="SolidPattern" >
<color alpha="255" >
<red>255</red>
<green>254</green>
<blue>253</blue>
</color>
</brush>
</colorrole>
</inactive>
<disabled>
<colorrole role="Base" >
<brush brushstyle="SolidPattern" >
<color alpha="255" >
<red>255</red>
<green>254</green>
<blue>253</blue>
</color>
</brush>
</colorrole>
<colorrole role="Window" >
<brush brushstyle="SolidPattern" >
<color alpha="255" >
<red>255</red>
<green>254</green>
<blue>253</blue>
</color>
</brush>
</colorrole>
</disabled>
</palette>
</property>
<property name="autoFillBackground" >
<bool>true</bool>
</property>
<property name="frameShape" >
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QVBoxLayout" name="verticalLayout_17" >
<item>
<widget class="QTextBrowser" name="welcomeText" >
<property name="focusPolicy" >
<enum>Qt::ClickFocus</enum>
</property>
<property name="frameShape" >
<enum>QFrame::NoFrame</enum>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="editPage" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>436</width>
<height>502</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2" >
<property name="spacing" >
<number>0</number>
@ -436,6 +582,14 @@
</layout>
</widget>
<widget class="QWidget" name="optionsPage" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>436</width>
<height>502</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4" >
<item>
<spacer name="verticalSpacer_2" >
@ -796,6 +950,14 @@
</layout>
</widget>
<widget class="QWidget" name="congratsPage" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>436</width>
<height>502</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_8" >
<item>
<spacer name="verticalSpacer_3" >
@ -943,6 +1105,14 @@
</layout>
</widget>
<widget class="QWidget" name="page" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>436</width>
<height>502</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_15" >
<item>
<spacer name="verticalSpacer_7" >
@ -1318,8 +1488,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>641</width>
<height>22</height>
<width>707</width>
<height>21</height>
</rect>
</property>
<widget class="QMenu" name="menuHelp" >
@ -1470,6 +1640,14 @@
<addaction name="menuHelp" />
</widget>
<widget class="QStatusBar" name="statusbar" >
<property name="geometry" >
<rect>
<x>0</x>
<y>625</y>
<width>707</width>
<height>21</height>
</rect>
</property>
<property name="sizeGripEnabled" >
<bool>true</bool>
</property>
@ -1478,6 +1656,14 @@
<property name="enabled" >
<bool>true</bool>
</property>
<property name="geometry" >
<rect>
<x>0</x>
<y>21</y>
<width>707</width>
<height>42</height>
</rect>
</property>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
@ -2193,7 +2379,6 @@
<tabstop>easeButton3</tabstop>
<tabstop>easeButton4</tabstop>
<tabstop>saveEditorButton</tabstop>
<tabstop>welcomeText</tabstop>
<tabstop>showAnswerButton</tabstop>
<tabstop>help</tabstop>
</tabstops>