~kevang/mnemosyne-proj/grade-shortcuts-improvements

« back to all changes in this revision

Viewing changes to mnemosyne/mnemosyne/pyqt_ui/edit_item_frm.ui

  • Committer: pbienst
  • Date: 2006-02-09 16:13:13 UTC
  • Revision ID: svn-v3-trunk0:e5e6b78b-db40-0410-9517-b98c64f8d2c1:trunk:2
Initial revision

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
 
2
<class>EditItemFrm</class>
 
3
<widget class="QDialog">
 
4
    <property name="name">
 
5
        <cstring>EditItemFrm</cstring>
 
6
    </property>
 
7
    <property name="geometry">
 
8
        <rect>
 
9
            <x>0</x>
 
10
            <y>0</y>
 
11
            <width>352</width>
 
12
            <height>307</height>
 
13
        </rect>
 
14
    </property>
 
15
    <property name="caption">
 
16
        <string>Edit item</string>
 
17
    </property>
 
18
    <hbox>
 
19
        <property name="name">
 
20
            <cstring>unnamed</cstring>
 
21
        </property>
 
22
        <widget class="QLayoutWidget">
 
23
            <property name="name">
 
24
                <cstring>layout8</cstring>
 
25
            </property>
 
26
            <vbox>
 
27
                <property name="name">
 
28
                    <cstring>unnamed</cstring>
 
29
                </property>
 
30
                <widget class="QLayoutWidget">
 
31
                    <property name="name">
 
32
                        <cstring>layout1</cstring>
 
33
                    </property>
 
34
                    <hbox>
 
35
                        <property name="name">
 
36
                            <cstring>unnamed</cstring>
 
37
                        </property>
 
38
                        <widget class="QLabel">
 
39
                            <property name="name">
 
40
                                <cstring>textLabel1</cstring>
 
41
                            </property>
 
42
                            <property name="text">
 
43
                                <string>Category:</string>
 
44
                            </property>
 
45
                        </widget>
 
46
                        <widget class="QComboBox">
 
47
                            <property name="name">
 
48
                                <cstring>categories</cstring>
 
49
                            </property>
 
50
                            <property name="sizePolicy">
 
51
                                <sizepolicy>
 
52
                                    <hsizetype>3</hsizetype>
 
53
                                    <vsizetype>0</vsizetype>
 
54
                                    <horstretch>0</horstretch>
 
55
                                    <verstretch>0</verstretch>
 
56
                                </sizepolicy>
 
57
                            </property>
 
58
                            <property name="editable">
 
59
                                <bool>true</bool>
 
60
                            </property>
 
61
                            <property name="autoCompletion">
 
62
                                <bool>true</bool>
 
63
                            </property>
 
64
                            <property name="duplicatesEnabled">
 
65
                                <bool>false</bool>
 
66
                            </property>
 
67
                        </widget>
 
68
                    </hbox>
 
69
                </widget>
 
70
                <widget class="QLabel">
 
71
                    <property name="name">
 
72
                        <cstring>textLabel2</cstring>
 
73
                    </property>
 
74
                    <property name="text">
 
75
                        <string>Question:</string>
 
76
                    </property>
 
77
                </widget>
 
78
                <widget class="QTextEdit">
 
79
                    <property name="name">
 
80
                        <cstring>question</cstring>
 
81
                    </property>
 
82
                    <property name="textFormat">
 
83
                        <enum>PlainText</enum>
 
84
                    </property>
 
85
                </widget>
 
86
                <widget class="QLabel">
 
87
                    <property name="name">
 
88
                        <cstring>textLabel2_2</cstring>
 
89
                    </property>
 
90
                    <property name="text">
 
91
                        <string>Answer:</string>
 
92
                    </property>
 
93
                </widget>
 
94
                <widget class="QTextEdit">
 
95
                    <property name="name">
 
96
                        <cstring>answer</cstring>
 
97
                    </property>
 
98
                    <property name="textFormat">
 
99
                        <enum>PlainText</enum>
 
100
                    </property>
 
101
                </widget>
 
102
                <widget class="QLayoutWidget">
 
103
                    <property name="name">
 
104
                        <cstring>layout6</cstring>
 
105
                    </property>
 
106
                    <hbox>
 
107
                        <property name="name">
 
108
                            <cstring>unnamed</cstring>
 
109
                        </property>
 
110
                        <widget class="QPushButton">
 
111
                            <property name="name">
 
112
                                <cstring>ok_button</cstring>
 
113
                            </property>
 
114
                            <property name="text">
 
115
                                <string>&amp;OK</string>
 
116
                            </property>
 
117
                            <property name="accel">
 
118
                                <string>Alt+O</string>
 
119
                            </property>
 
120
                        </widget>
 
121
                        <spacer>
 
122
                            <property name="name">
 
123
                                <cstring>spacer2</cstring>
 
124
                            </property>
 
125
                            <property name="orientation">
 
126
                                <enum>Horizontal</enum>
 
127
                            </property>
 
128
                            <property name="sizeType">
 
129
                                <enum>Expanding</enum>
 
130
                            </property>
 
131
                            <property name="sizeHint">
 
132
                                <size>
 
133
                                    <width>331</width>
 
134
                                    <height>20</height>
 
135
                                </size>
 
136
                            </property>
 
137
                        </spacer>
 
138
                        <widget class="QPushButton">
 
139
                            <property name="name">
 
140
                                <cstring>cancel</cstring>
 
141
                            </property>
 
142
                            <property name="text">
 
143
                                <string>&amp;Cancel</string>
 
144
                            </property>
 
145
                            <property name="accel">
 
146
                                <string>Alt+C</string>
 
147
                            </property>
 
148
                            <property name="autoDefault">
 
149
                                <bool>false</bool>
 
150
                            </property>
 
151
                        </widget>
 
152
                    </hbox>
 
153
                </widget>
 
154
            </vbox>
 
155
        </widget>
 
156
    </hbox>
 
157
</widget>
 
158
<connections>
 
159
    <connection>
 
160
        <sender>cancel</sender>
 
161
        <signal>clicked()</signal>
 
162
        <receiver>EditItemFrm</receiver>
 
163
        <slot>reject()</slot>
 
164
    </connection>
 
165
</connections>
 
166
<tabstops>
 
167
    <tabstop>categories</tabstop>
 
168
    <tabstop>question</tabstop>
 
169
    <tabstop>answer</tabstop>
 
170
    <tabstop>ok_button</tabstop>
 
171
    <tabstop>cancel</tabstop>
 
172
</tabstops>
 
173
<layoutdefaults spacing="6" margin="11"/>
 
174
</UI>