diff options
Diffstat (limited to 'kalzium/src/spectrumview.ui')
-rw-r--r-- | kalzium/src/spectrumview.ui | 224 |
1 files changed, 224 insertions, 0 deletions
diff --git a/kalzium/src/spectrumview.ui b/kalzium/src/spectrumview.ui new file mode 100644 index 00000000..2787ab66 --- /dev/null +++ b/kalzium/src/spectrumview.ui @@ -0,0 +1,224 @@ +<!DOCTYPE UI><UI version="3.3" stdsetdef="1"> +<class>SpectrumView</class> +<widget class="QWidget"> + <property name="name"> + <cstring>SpectrumView</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>469</width> + <height>316</height> + </rect> + </property> + <property name="toolTip" stdset="0"> + <string>This page gives an overview about the spectrum this element. With the mouse you can zoom into the spectrum.</string> + </property> + <property name="whatsThis" stdset="0"> + <string>This page gives an overview about the spectrum this element</string> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <property name="margin"> + <number>0</number> + </property> + <widget class="SpectrumWidget"> + <property name="name"> + <cstring>m_spectrumWidget</cstring> + </property> + <property name="toolTip" stdset="0"> + <string>This is the spectrum of the element</string> + </property> + <property name="whatsThis" stdset="0"> + <string>This is the spectrum of the element</string> + </property> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>layout2</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLabel"> + <property name="name"> + <cstring>label1</cstring> + </property> + <property name="text"> + <string>&Minimum value:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>minimumValue</cstring> + </property> + </widget> + <widget class="QSpinBox"> + <property name="name"> + <cstring>minimumValue</cstring> + </property> + <property name="maxValue"> + <number>999</number> + </property> + <property name="minValue"> + <number>1</number> + </property> + <property name="value"> + <number>380</number> + </property> + <property name="toolTip" stdset="0"> + <string>This sets the leftmost wavelength of the spectrum</string> + </property> + <property name="whatsThis" stdset="0"> + <string>This sets the leftmost wavelength of the spectrum</string> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>label2</cstring> + </property> + <property name="text"> + <string>Maximum &value:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>maximumValue</cstring> + </property> + </widget> + <widget class="QSpinBox"> + <property name="name"> + <cstring>maximumValue</cstring> + </property> + <property name="maxValue"> + <number>1000</number> + </property> + <property name="minValue"> + <number>2</number> + </property> + <property name="value"> + <number>780</number> + </property> + <property name="toolTip" stdset="0"> + <string>This sets the rightmost wavelength of the spectrum</string> + </property> + <property name="whatsThis" stdset="0"> + <string>This sets the rightmost wavelength of the spectrum</string> + </property> + </widget> + </hbox> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>layout4</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <spacer> + <property name="name"> + <cstring>spacer4</cstring> + </property> + <property name="orientation"> + <enum>Horizontal</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>211</width> + <height>21</height> + </size> + </property> + </spacer> + <widget class="KPushButton"> + <property name="name"> + <cstring>exportButton</cstring> + </property> + <property name="text"> + <string></string> + </property> + <property name="toolTip" stdset="0"> + <string>Using this button you can export the spectrum as a graphic</string> + </property> + <property name="whatsThis" stdset="0"> + <string>Using this button you can export the spectrum as a graphic</string> + </property> + </widget> + </hbox> + </widget> + <spacer> + <property name="name"> + <cstring>spacer3</cstring> + </property> + <property name="orientation"> + <enum>Vertical</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>21</width> + <height>1</height> + </size> + </property> + </spacer> + </vbox> +</widget> +<customwidgets> + <customwidget> + <class>SpectrumWidget</class> + <header location="local">spectrumwidget.h</header> + <sizehint> + <width>400</width> + <height>230</height> + </sizehint> + <container>0</container> + <sizepolicy> + <hordata>5</hordata> + <verdata>5</verdata> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + <pixmap>image0</pixmap> + <slot access="public" specifier="">setRightBorder(int)</slot> + <slot access="public" specifier="">setLeftBorder(int)</slot> + </customwidget> +</customwidgets> +<images> + <image name="image0"> + <data format="PNG" length="1046">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b000003dd49444154388dad954168145718c77f13a7f64d59ca1b6a601ea4b20b82ee41ea1e7258a987067a301050410a965c02855e4a2f1e8a4df59443ab5028f494da1e5ae36d3d04d283150f858e07710583533074b698f60d98320f5cba9f65747a98d9a850430bfde0637830fce7ffbef9f1fdbdb22c1997e77913c02ec0072600afee9daaacfb0950008fcbb27ce28d8517cf2cbeda3dd07d7fe0060ba3add1fed4a504048c18613058ec3f9e739793dc4b36e29bf10a0517813f80475e5996789e3771ad77edb4d6f9a768c10efb844a918b256c1872b1988601c9418538b168353e07c4776eb1f64d9fb51fdc79e00b20f7ebebec4aee270bdd294d7ff322ea614a52082684e43eb84c613341a108f640e720a408da874c209a042605e01de012f0682cec3364bf953eaa106ce130939a7e0cb7be17aedfcc503e4821285f13ed53bc3b1fd29e1ed1d4900d85e61e05c85e207cd6f1c4ddec2e1d25240f134ca8595b1556961d14a0b5c2ec53280576200c3684a58f534ecc479c9887a816af2b00768f853dd330e492622615fd187ab5e8a963119d3968b70caeb028427a5746f4961dbd6f07b49b6d3a4703a28600424d95373116b6434ba8143687b5558714c2ecb188990568b584ac48e041c0cae59c53f321a73ed0e02bbe5cb6a821b86dc315a263c79886212f52702d92db7db48e786b0e222d3801551896cee7a4eb8efc012c9e35c4571de9cf42dc1f61f4f3708f1d638716d3502483147c304d68bd0e990848c8d2194bb2ee505a317b2424f773da1d8d1482dd043b7c8170c52918a5a0105a8d6a626a68583a9b93ae4bf5231b8a600a5a1af041f90a29c068f562c7289006e06b7e1a088a80deeaa872da5044539ac120e3c2394b1c87d8549042683503f2a754d4fc3ee3d8494af720349b8a6c20f4ae8c5878af45fe40983d1a1268b8700e061b198b1f5a64e888224dbb03e27698b1560a87307b52218554485d49593c63684d8fe874479cfec410451ab795410187e7349d436077728c58b4af387c04642be2ebe5012b9f437cd5d19dd6b8026c9ae3b6a49a2d42f2a310df08686945cdf173c265ba59d19089d06cc0cc4985d26d7a972dc9ba90dc1e546f17a0f768668e6b6e5d17ecd0a1fc9064735bb404ca6de1e45eb211276a5f64149908918699b911b36fb789fb16d9827c08ed0306d376740e417c2340fb6d5c9192de01e077e031508ed76680cf47dd37d5d9d054488908a80a21557f5ef9358280508dc33948fa82cd04977109f80af8857ad1bf04ec053e037ee5692afcdbfe0df80e380ebc014c6e2f7aaaad1402afd5cf807aa1b07395f5f547404e9520f97634799ee7032f03afd4a2bbf96f99f7572dfe27e3681ad7ff19a67f032fb1f0843cf31fdf0000000049454e44ae426082</data> + </image> +</images> +<connections> + <connection> + <sender>minimumValue</sender> + <signal>valueChanged(int)</signal> + <receiver>m_spectrumWidget</receiver> + <slot>setLeftBorder(int)</slot> + </connection> + <connection> + <sender>maximumValue</sender> + <signal>valueChanged(int)</signal> + <receiver>m_spectrumWidget</receiver> + <slot>setRightBorder(int)</slot> + </connection> + <connection> + <sender>exportButton</sender> + <signal>clicked()</signal> + <receiver>SpectrumView</receiver> + <slot>slotExportAsImage()</slot> + </connection> +</connections> +<slots> + <slot access="protected">slotExportAsImage()</slot> +</slots> +<layoutdefaults spacing="6" margin="11"/> +<includehints> + <includehint>spectrumwidget.h</includehint> + <includehint>kpushbutton.h</includehint> +</includehints> +</UI> |