~ubuntu-branches/ubuntu/quantal/fet/quantal

« back to all changes in this revision

Viewing changes to src/interface/modifyconstraintstudentsnogapsform_template.ui

  • Committer: Bazaar Package Importer
  • Author(s): Iain Lane
  • Date: 2008-05-05 22:28:46 UTC
  • mfrom: (1.1.6 upstream) (3.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20080505222846-l34al11t2vivuh3h
Tags: 5.5.5-1ubuntu1
* Merge from debian unstable (LP: #227080), remaining changes:
  - Include .desktop file and logo

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
2
 
<class>ModifyConstraintStudentsNoGapsForm_template</class>
3
 
<widget class="QDialog">
4
 
    <property name="name">
5
 
        <cstring>ModifyConstraintStudentsNoGapsForm_template</cstring>
6
 
    </property>
7
 
    <property name="geometry">
8
 
        <rect>
9
 
            <x>0</x>
10
 
            <y>0</y>
11
 
            <width>623</width>
12
 
            <height>295</height>
13
 
        </rect>
14
 
    </property>
15
 
    <property name="caption">
16
 
        <string>FET - Modify constraint students no gaps dialog</string>
17
 
    </property>
18
 
    <grid>
19
 
        <property name="name">
20
 
            <cstring>unnamed</cstring>
21
 
        </property>
22
 
        <widget class="QLayoutWidget" row="0" column="1">
23
 
            <property name="name">
24
 
                <cstring>layout22</cstring>
25
 
            </property>
26
 
            <vbox>
27
 
                <property name="name">
28
 
                    <cstring>unnamed</cstring>
29
 
                </property>
30
 
                <widget class="QLabel">
31
 
                    <property name="name">
32
 
                        <cstring>currentConstraintTextLabel</cstring>
33
 
                    </property>
34
 
                    <property name="frameShape">
35
 
                        <enum>NoFrame</enum>
36
 
                    </property>
37
 
                    <property name="frameShadow">
38
 
                        <enum>Plain</enum>
39
 
                    </property>
40
 
                    <property name="text">
41
 
                        <string>Current constraint</string>
42
 
                    </property>
43
 
                </widget>
44
 
                <widget class="QTextEdit">
45
 
                    <property name="name">
46
 
                        <cstring>currentConstraintTextEdit</cstring>
47
 
                    </property>
48
 
                    <property name="readOnly">
49
 
                        <bool>true</bool>
50
 
                    </property>
51
 
                </widget>
52
 
            </vbox>
53
 
        </widget>
54
 
        <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
55
 
            <property name="name">
56
 
                <cstring>layout23</cstring>
57
 
            </property>
58
 
            <hbox>
59
 
                <property name="name">
60
 
                    <cstring>unnamed</cstring>
61
 
                </property>
62
 
                <widget class="QPushButton">
63
 
                    <property name="name">
64
 
                        <cstring>okPushButton</cstring>
65
 
                    </property>
66
 
                    <property name="text">
67
 
                        <string>Ok</string>
68
 
                    </property>
69
 
                </widget>
70
 
                <widget class="QPushButton">
71
 
                    <property name="name">
72
 
                        <cstring>cancelPushButton</cstring>
73
 
                    </property>
74
 
                    <property name="text">
75
 
                        <string>Cancel</string>
76
 
                    </property>
77
 
                </widget>
78
 
            </hbox>
79
 
        </widget>
80
 
        <widget class="QLayoutWidget" row="0" column="0">
81
 
            <property name="name">
82
 
                <cstring>layout24</cstring>
83
 
            </property>
84
 
            <grid>
85
 
                <property name="name">
86
 
                    <cstring>unnamed</cstring>
87
 
                </property>
88
 
                <widget class="QLineEdit" row="2" column="1">
89
 
                    <property name="name">
90
 
                        <cstring>weightLineEdit</cstring>
91
 
                    </property>
92
 
                    <property name="text">
93
 
                        <string>100</string>
94
 
                    </property>
95
 
                </widget>
96
 
                <spacer row="1" column="0">
97
 
                    <property name="name">
98
 
                        <cstring>spacer5</cstring>
99
 
                    </property>
100
 
                    <property name="orientation">
101
 
                        <enum>Vertical</enum>
102
 
                    </property>
103
 
                    <property name="sizeType">
104
 
                        <enum>Expanding</enum>
105
 
                    </property>
106
 
                    <property name="sizeHint">
107
 
                        <size>
108
 
                            <width>20</width>
109
 
                            <height>40</height>
110
 
                        </size>
111
 
                    </property>
112
 
                </spacer>
113
 
                <widget class="QLabel" row="2" column="0">
114
 
                    <property name="name">
115
 
                        <cstring>weightTextLabel</cstring>
116
 
                    </property>
117
 
                    <property name="frameShape">
118
 
                        <enum>NoFrame</enum>
119
 
                    </property>
120
 
                    <property name="frameShadow">
121
 
                        <enum>Plain</enum>
122
 
                    </property>
123
 
                    <property name="text">
124
 
                        <string>Weight percentage (necessary: 100%)</string>
125
 
                    </property>
126
 
                </widget>
127
 
                <widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
128
 
                    <property name="name">
129
 
                        <cstring>weightTextLabel_2</cstring>
130
 
                    </property>
131
 
                    <property name="frameShape">
132
 
                        <enum>NoFrame</enum>
133
 
                    </property>
134
 
                    <property name="frameShadow">
135
 
                        <enum>Plain</enum>
136
 
                    </property>
137
 
                    <property name="text">
138
 
                        <string>Please note that in order to run the optimization algorithm,
139
 
for each subgroup, you must have:
140
 
        1. only no gaps or 
141
 
        2. no gaps and early, with the same weight percentage
142
 
You have to use weight percentage 100%, because
143
 
otherwise you will get poor timetables. Currently, the algorithm
144
 
only accepts 100% weight percentage for this constraint (or no
145
 
constraint).
146
 
Note: students set not available and break are not counted as
147
 
gaps.</string>
148
 
                    </property>
149
 
                </widget>
150
 
            </grid>
151
 
        </widget>
152
 
    </grid>
153
 
</widget>
154
 
<connections>
155
 
    <connection>
156
 
        <sender>weightLineEdit</sender>
157
 
        <signal>textChanged(const QString&amp;)</signal>
158
 
        <receiver>ModifyConstraintStudentsNoGapsForm_template</receiver>
159
 
        <slot>constraintChanged()</slot>
160
 
    </connection>
161
 
    <connection>
162
 
        <sender>okPushButton</sender>
163
 
        <signal>clicked()</signal>
164
 
        <receiver>ModifyConstraintStudentsNoGapsForm_template</receiver>
165
 
        <slot>ok()</slot>
166
 
    </connection>
167
 
    <connection>
168
 
        <sender>cancelPushButton</sender>
169
 
        <signal>clicked()</signal>
170
 
        <receiver>ModifyConstraintStudentsNoGapsForm_template</receiver>
171
 
        <slot>cancel()</slot>
172
 
    </connection>
173
 
</connections>
174
 
<tabstops>
175
 
    <tabstop>weightLineEdit</tabstop>
176
 
    <tabstop>okPushButton</tabstop>
177
 
    <tabstop>cancelPushButton</tabstop>
178
 
    <tabstop>currentConstraintTextEdit</tabstop>
179
 
</tabstops>
180
 
<slots>
181
 
    <slot>ok()</slot>
182
 
    <slot>constraintChanged()</slot>
183
 
    <slot>cancel()</slot>
184
 
</slots>
185
 
<layoutdefaults spacing="6" margin="11"/>
186
 
</UI>