~ubuntu-branches/ubuntu/precise/kalzium/precise

« back to all changes in this revision

Viewing changes to src/spectrumview.ui

  • Committer: Bazaar Package Importer
  • Author(s): Philip Muškovac
  • Date: 2011-07-03 12:28:58 UTC
  • Revision ID: james.westby@ubuntu.com-20110703122858-q1yyxncs89e4w0hs
Tags: upstream-4.6.90+repack
Import upstream version 4.6.90+repack

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<ui version="4.0">
 
3
 <class>SpectrumView</class>
 
4
 <widget class="QWidget" name="SpectrumView">
 
5
  <property name="geometry">
 
6
   <rect>
 
7
    <x>0</x>
 
8
    <y>0</y>
 
9
    <width>578</width>
 
10
    <height>413</height>
 
11
   </rect>
 
12
  </property>
 
13
  <property name="toolTip">
 
14
   <string>This page gives an overview of the spectrum of this element. Using the mouse you can zoom into the spectrum.</string>
 
15
  </property>
 
16
  <property name="whatsThis">
 
17
   <string>This page gives an overview of the spectrum of this element.</string>
 
18
  </property>
 
19
  <layout class="QGridLayout">
 
20
   <property name="margin">
 
21
    <number>9</number>
 
22
   </property>
 
23
   <property name="spacing">
 
24
    <number>6</number>
 
25
   </property>
 
26
   <item row="0" column="0" colspan="4">
 
27
    <widget class="SpectrumWidget" name="m_spectrumWidget" native="true">
 
28
     <property name="sizePolicy">
 
29
      <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
 
30
       <horstretch>0</horstretch>
 
31
       <verstretch>0</verstretch>
 
32
      </sizepolicy>
 
33
     </property>
 
34
     <property name="minimumSize">
 
35
      <size>
 
36
       <width>0</width>
 
37
       <height>100</height>
 
38
      </size>
 
39
     </property>
 
40
     <property name="toolTip">
 
41
      <string>This is the spectrum of the element.</string>
 
42
     </property>
 
43
     <property name="whatsThis">
 
44
      <string>This is the spectrum of the element.</string>
 
45
     </property>
 
46
    </widget>
 
47
   </item>
 
48
   <item row="2" column="1">
 
49
    <layout class="QGridLayout" name="detailGridLayout">
 
50
     <item row="1" column="0">
 
51
      <widget class="QLabel" name="label1">
 
52
       <property name="text">
 
53
        <string>&amp;Minimum value:</string>
 
54
       </property>
 
55
       <property name="alignment">
 
56
        <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
 
57
       </property>
 
58
       <property name="buddy">
 
59
        <cstring>minimumValue</cstring>
 
60
       </property>
 
61
      </widget>
 
62
     </item>
 
63
     <item row="2" column="0">
 
64
      <widget class="QSpinBox" name="minimumValue">
 
65
       <property name="toolTip">
 
66
        <string>This sets the leftmost wavelength of the spectrum.</string>
 
67
       </property>
 
68
       <property name="whatsThis">
 
69
        <string>This sets the leftmost wavelength of the spectrum.</string>
 
70
       </property>
 
71
       <property name="suffix">
 
72
        <string/>
 
73
       </property>
 
74
       <property name="minimum">
 
75
        <number>1</number>
 
76
       </property>
 
77
       <property name="maximum">
 
78
        <number>40000</number>
 
79
       </property>
 
80
       <property name="value">
 
81
        <number>3800</number>
 
82
       </property>
 
83
      </widget>
 
84
     </item>
 
85
     <item row="4" column="0">
 
86
      <spacer name="verticalSpacer">
 
87
       <property name="orientation">
 
88
        <enum>Qt::Vertical</enum>
 
89
       </property>
 
90
       <property name="sizeHint" stdset="0">
 
91
        <size>
 
92
         <width>20</width>
 
93
         <height>40</height>
 
94
        </size>
 
95
       </property>
 
96
      </spacer>
 
97
     </item>
 
98
     <item row="1" column="2" rowspan="6">
 
99
      <widget class="QTreeWidget" name="peakListTable">
 
100
       <column>
 
101
        <property name="text">
 
102
         <string notr="true">1</string>
 
103
        </property>
 
104
       </column>
 
105
      </widget>
 
106
     </item>
 
107
     <item row="1" column="1">
 
108
      <widget class="QLabel" name="label2">
 
109
       <property name="text">
 
110
        <string>Maximum &amp;value:</string>
 
111
       </property>
 
112
       <property name="alignment">
 
113
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
 
114
       </property>
 
115
       <property name="buddy">
 
116
        <cstring>maximumValue</cstring>
 
117
       </property>
 
118
      </widget>
 
119
     </item>
 
120
     <item row="2" column="1">
 
121
      <widget class="QSpinBox" name="maximumValue">
 
122
       <property name="toolTip">
 
123
        <string>This sets the rightmost wavelength of the spectrum.</string>
 
124
       </property>
 
125
       <property name="whatsThis">
 
126
        <string>This sets the rightmost wavelength of the spectrum.</string>
 
127
       </property>
 
128
       <property name="suffix">
 
129
        <string/>
 
130
       </property>
 
131
       <property name="minimum">
 
132
        <number>1</number>
 
133
       </property>
 
134
       <property name="maximum">
 
135
        <number>40000</number>
 
136
       </property>
 
137
       <property name="value">
 
138
        <number>7800</number>
 
139
       </property>
 
140
      </widget>
 
141
     </item>
 
142
     <item row="5" column="0" colspan="2">
 
143
      <widget class="QGroupBox" name="groupBox">
 
144
       <property name="title">
 
145
        <string>Spectrum Settings</string>
 
146
       </property>
 
147
       <layout class="QGridLayout" name="gridLayout">
 
148
        <item row="0" column="1">
 
149
         <widget class="KalziumUnitCombobox" name="m_lengthUnit"/>
 
150
        </item>
 
151
        <item row="1" column="1">
 
152
         <widget class="QComboBox" name="m_spectrumType">
 
153
          <item>
 
154
           <property name="text">
 
155
            <string>Emission spectrum</string>
 
156
           </property>
 
157
          </item>
 
158
          <item>
 
159
           <property name="text">
 
160
            <string>Absorption spectrum</string>
 
161
           </property>
 
162
          </item>
 
163
         </widget>
 
164
        </item>
 
165
        <item row="0" column="0">
 
166
         <widget class="QLabel" name="label">
 
167
          <property name="text">
 
168
           <string>Unit:</string>
 
169
          </property>
 
170
         </widget>
 
171
        </item>
 
172
        <item row="1" column="0">
 
173
         <widget class="QLabel" name="label_2">
 
174
          <property name="text">
 
175
           <string>Type:</string>
 
176
          </property>
 
177
         </widget>
 
178
        </item>
 
179
       </layout>
 
180
      </widget>
 
181
     </item>
 
182
     <item row="3" column="0" colspan="2">
 
183
      <widget class="QPushButton" name="btn_resetZoom">
 
184
       <property name="text">
 
185
        <string>Reset zoom</string>
 
186
       </property>
 
187
      </widget>
 
188
     </item>
 
189
    </layout>
 
190
   </item>
 
191
  </layout>
 
192
 </widget>
 
193
 <customwidgets>
 
194
  <customwidget>
 
195
   <class>SpectrumWidget</class>
 
196
   <extends>QWidget</extends>
 
197
   <header>spectrumwidget.h</header>
 
198
  </customwidget>
 
199
  <customwidget>
 
200
   <class>KalziumUnitCombobox</class>
 
201
   <extends>QComboBox</extends>
 
202
   <header>kalziumunitcombobox.h</header>
 
203
  </customwidget>
 
204
 </customwidgets>
 
205
 <resources/>
 
206
 <connections/>
 
207
</ui>