You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebase/ksysguard/gui/SensorDisplayLib/MultiMeterSettingsWidget.ui

474 lines
24 KiB

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>MultiMeterSettingsWidget</class>
<comment>MultiMeterSettingsWidget</comment>
<widget class="TQWidget">
<property name="name">
<cstring>MultiMeterSettingsWidget</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>378</width>
<height>229</height>
</rect>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox">
<property name="name">
<cstring>GroupBox7</cstring>
</property>
<property name="title">
<string>Title</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLineEdit" row="0" column="0">
<property name="name">
<cstring>m_title</cstring>
</property>
<property name="whatsThis" stdset="0">
<string>Enter the title of the display here.</string>
</property>
</widget>
<widget class="TQCheckBox" row="0" column="1">
<property name="name">
<cstring>m_showUnit</cstring>
</property>
<property name="text">
<string>&amp;Show unit</string>
</property>
<property name="whatsThis" stdset="0">
<string>Enable this to append the unit to the title of the display.</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQTabWidget">
<property name="name">
<cstring>TabWidget2</cstring>
</property>
<widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
<attribute name="title">
<string>Alarms</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox" row="1" column="0">
<property name="name">
<cstring>GroupBox1_2</cstring>
</property>
<property name="title">
<string>Alarm for Maximum Value</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox" row="0" column="0">
<property name="name">
<cstring>m_upperLimitActive</cstring>
</property>
<property name="text">
<string>E&amp;nable alarm</string>
</property>
<property name="whatsThis" stdset="0">
<string>Enable the maximum value alarm.</string>
</property>
</widget>
<spacer row="0" column="1">
<property name="name">
<cstring>Spacer1_2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQLabel" row="0" column="2">
<property name="name">
<cstring>m_lblUpperLimit</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Upper limit:</string>
</property>
</widget>
<widget class="TQLineEdit" row="0" column="3">
<property name="name">
<cstring>m_upperLimit</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>70</width>
<height>0</height>
</size>
</property>
</widget>
</grid>
</widget>
<widget class="TQGroupBox" row="0" column="0">
<property name="name">
<cstring>GroupBox1</cstring>
</property>
<property name="title">
<string>Alarm for Minimum Value</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox" row="0" column="0">
<property name="name">
<cstring>m_lowerLimitActive</cstring>
</property>
<property name="text">
<string>&amp;Enable alarm</string>
</property>
<property name="whatsThis" stdset="0">
<string>Enable the minimum value alarm.</string>
</property>
</widget>
<spacer row="0" column="1">
<property name="name">
<cstring>Spacer1</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQLabel" row="0" column="2">
<property name="name">
<cstring>m_lblLowerLimit</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Lower limit:</string>
</property>
</widget>
<widget class="TQLineEdit" row="0" column="3">
<property name="name">
<cstring>m_lowerLimit</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="minimumSize">
<size>
<width>70</width>
<height>0</height>
</size>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
<attribute name="title">
<string>Colors</string>
</attribute>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout1</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>Normal digit color:</string>
</property>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="text">
<string>Alarm digit color:</string>
</property>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel3</cstring>
</property>
<property name="text">
<string>Background color:</string>
</property>
</widget>
</vbox>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout2</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KColorButton">
<property name="name">
<cstring>m_normalDigitColor</cstring>
</property>
<property name="text">
<string></string>
</property>
<property name="color">
<color>
<red>0</red>
<green>255</green>
<blue>0</blue>
</color>
</property>
</widget>
<widget class="KColorButton">
<property name="name">
<cstring>m_alarmDigitColor</cstring>
</property>
<property name="text">
<string></string>
</property>
<property name="color">
<color>
<red>255</red>
<green>0</green>
<blue>0</blue>
</color>
</property>
</widget>
<widget class="KColorButton">
<property name="name">
<cstring>m_backgroundColor</cstring>
</property>
<property name="text">
<string></string>
</property>
</widget>
</vbox>
</widget>
</hbox>
</widget>
</widget>
</vbox>
</widget>
<customwidgets>
<customwidget>
<class>KColorButton</class>
<header location="local">kcolorbutton.h</header>
<sizehint>
<width>-1</width>
<height>-1</height>
</sizehint>
<container>0</container>
<sizepolicy>
<hordata>5</hordata>
<verdata>5</verdata>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
<pixmap>image0</pixmap>
<signal>destroyed()</signal>
<signal>destroyed(TQObject*)</signal>
<signal>pressed()</signal>
<signal>released()</signal>
<signal>clicked()</signal>
<signal>toggled(bool)</signal>
<signal>stateChanged(int)</signal>
<signal>changed(const TQColor&amp;)</signal>
<slot access="public" specifier="">deleteLater()</slot>
<slot access="private" specifier="">cleanupEventFilter(TQObject*)</slot>
<slot access="public" specifier="">setEnabled(bool)</slot>
<slot access="public" specifier="">setDisabled(bool)</slot>
<slot access="public" specifier="">setCaption(const TQString&amp;)</slot>
<slot access="public" specifier="">setIcon(const TQPixmap&amp;)</slot>
<slot access="public" specifier="">setIconText(const TQString&amp;)</slot>
<slot access="public" specifier="">setMouseTracking(bool)</slot>
<slot access="public" specifier="">setFocus()</slot>
<slot access="public" specifier="">clearFocus()</slot>
<slot access="public" specifier="">setUpdatesEnabled(bool)</slot>
<slot access="public" specifier="">update()</slot>
<slot access="public" specifier="">update(int,int,int,int)</slot>
<slot access="public" specifier="">update(const TQRect&amp;)</slot>
<slot access="public" specifier="">repaint()</slot>
<slot access="public" specifier="">repaint(bool)</slot>
<slot access="public" specifier="">repaint(int,int,int,int)</slot>
<slot access="public" specifier="">repaint(int,int,int,int,bool)</slot>
<slot access="public" specifier="">repaint(const TQRect&amp;)</slot>
<slot access="public" specifier="">repaint(const TQRect&amp;,bool)</slot>
<slot access="public" specifier="">repaint(const TQRegion&amp;)</slot>
<slot access="public" specifier="">repaint(const TQRegion&amp;,bool)</slot>
<slot access="public" specifier="">show()</slot>
<slot access="public" specifier="">hide()</slot>
<slot access="public" specifier="">setShown(bool)</slot>
<slot access="public" specifier="">setHidden(bool)</slot>
<slot access="public" specifier="">iconify()</slot>
<slot access="public" specifier="">showMinimized()</slot>
<slot access="public" specifier="">showMaximized()</slot>
<slot access="public" specifier="">showFullScreen()</slot>
<slot access="public" specifier="">showNormal()</slot>
<slot access="public" specifier="">polish()</slot>
<slot access="public" specifier="">constPolish()</slot>
<slot access="public" specifier="">close()</slot>
<slot access="public" specifier="">raise()</slot>
<slot access="public" specifier="">lower()</slot>
<slot access="public" specifier="">stackUnder(TQWidget*)</slot>
<slot access="public" specifier="">move(int,int)</slot>
<slot access="public" specifier="">move(const TQPoint&amp;)</slot>
<slot access="public" specifier="">resize(int,int)</slot>
<slot access="public" specifier="">resize(const TQSize&amp;)</slot>
<slot access="public" specifier="">setGeometry(int,int,int,int)</slot>
<slot access="public" specifier="">setGeometry(const TQRect&amp;)</slot>
<slot access="public" specifier="">adjustSize()</slot>
<slot access="private" specifier="">focusProxyDestroyed()</slot>
<slot access="public" specifier="">animateClick()</slot>
<slot access="public" specifier="">toggle()</slot>
<slot access="private" specifier="">animateTimeout()</slot>
<slot access="private" specifier="">autoRepeatTimeout()</slot>
<slot access="private" specifier="">emulateClick()</slot>
<slot access="public" specifier="">setOn(bool)</slot>
<slot access="private" specifier="">popupPressed()</slot>
<slot access="protected" specifier="">chooseColor()</slot>
<property type="CString">name</property>
<property type="Bool">enabled</property>
<property type="Rect">geometry</property>
<property type="SizePolicy">sizePolicy</property>
<property type="Size">minimumSize</property>
<property type="Size">maximumSize</property>
<property type="Size">sizeIncrement</property>
<property type="Size">baseSize</property>
<property type="Color">paletteForegroundColor</property>
<property type="Color">paletteBackgroundColor</property>
<property type="Pixmap">paletteBackgroundPixmap</property>
<property type="Palette">palette</property>
<property type="BackgroundOrigin">backgroundOrigin</property>
<property type="Font">font</property>
<property type="Cursor">cursor</property>
<property type="String">caption</property>
<property type="Pixmap">icon</property>
<property type="String">iconText</property>
<property type="Bool">mouseTracking</property>
<property type="FocusPolicy">focusPolicy</property>
<property type="Bool">acceptDrops</property>
<property type="String">text</property>
<property type="Pixmap">pixmap</property>
<property type="KeySequence">accel</property>
<property type="Bool">autoRepeat</property>
<property type="Bool">autoDefault</property>
<property type="Bool">default</property>
<property type="IconSet">iconSet</property>
<property type="Bool">toggleButton</property>
<property type="Bool">on</property>
<property type="Bool">flat</property>
<property type="Bool">autoMask</property>
<property type="Color">color</property>
</customwidget>
</customwidgets>
<images>
<image name="image0">
<data format="PNG" length="827">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b0000030249444154789cad953188db6614c77f0e1a9ee0029fc10509ae20c30de7d1852e4733f846d30c2e74483aa5812ea54bba35590a693a640e1d0e0e0ae16e282443e1321cd499eca5d4072951e10af26090e00ef40d013d88411d3ed967f91228e4de22f4e97dbff7d7ff7b7a6a9465c9221a8d0657116559d258801ffcf080ce76076b6d996629f99bfc7f41acb524a709e33fc73067a9cc5b287dfaeb53c28f294dbb2042d1b9228b0ccf25fbd5b598afec9ec33401dd13262fb50407f7562a97a65d90d923f23c0114df578ab7423613f2730584660bda6d453640ab02721dc210262b6fb204a7594a8456508bef0baf5f1986bf5be2130b68952944dbc2eec0b0d303e66e5da46ed1129cbfc9d1b92ea1a3211cfc92b94d1b427bdb201ea43365fa8fb2ff73463635dcbe232b45df01765ac0f7e1f52ba9a04aeff380fe40687e0488a21a327a5170b097717498110411fd2f9b80ad81afad9729de0ac3e77609fdea1ba1195a104b7e26fcf13ca73ff0f9fabb00109e1d5aecf9bac4f55b0fb29910ff6d31c6d01f0878163c506bd87facc42796fc0ceede6b323e76b971ec6c7abf62a84e5f09a3eaf52be89347ee104d4bf8e48620a6a0d37527964eb532f23d60d7a72e41c4799aa786278f94f8c4151481f6a6ef9e7b0b985cb2e292e266cb25263345b5c9f8254ea91182c090cd2c0fefa7c49326e9a9eb8630f2d731f53ac5dc357fb4254cff55462f0afab77cf233c3ce0d21dcf479781fb2a9e5a76f135415d312badd8274566fb94b8a6503fa0303c0c15ec6e8b8e0eebd26dd1e44dd9cef7f6c630283b5169d2bbb838070eb92e07567dc67bad3836c66787698b1ff38637c2c743a0202e9698a9eeb72e75f434b723344bcfa87b23a2b2ee0285fdc114c1071f49beb86f8e4a2b86909fd41c46868b1aaa882b5752b96e0e434619a00d72fe0fd81b0d30b8963433a75ebe1a64ff7d382700b766f864ea497134feae04659966ec07b94ddcf8430ac5a6dce7264caa20d6bc629e209d6423c51d24cb16eb434ea6017251f16f541ffae071f1ad7c0fda3ae3a967d7c95f0b22cf90f71e859c3d57176e60000000049454e44ae426082</data>
</image>
</images>
<connections>
<connection>
<sender>m_lowerLimitActive</sender>
<signal>toggled(bool)</signal>
<receiver>m_lowerLimit</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>m_upperLimitActive</sender>
<signal>toggled(bool)</signal>
<receiver>m_upperLimit</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>m_lowerLimitActive</sender>
<signal>toggled(bool)</signal>
<receiver>m_lblLowerLimit</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>m_upperLimitActive</sender>
<signal>toggled(bool)</signal>
<receiver>m_lblUpperLimit</receiver>
<slot>setEnabled(bool)</slot>
</connection>
</connections>
<includes>
<include location="global" impldecl="in implementation">kcolorbutton.h</include>
<include location="global" impldecl="in implementation">kdialog.h</include>
<include location="global" impldecl="in implementation">knumvalidator.h</include>
<include location="local" impldecl="in implementation">MultiMeterSettingsWidget.ui.h</include>
</includes>
<Q_SLOTS>
<slot>setMeterBackgroundColor( const TQColor &amp; c )</slot>
</Q_SLOTS>
<functions>
<function access="private" specifier="non virtual">init()</function>
<function specifier="non virtual" returnType="TQString">title()</function>
<function specifier="non virtual" returnType="bool">showUnit()</function>
<function returnType="bool">lowerLimitActive()</function>
<function specifier="non virtual" returnType="double">lowerLimit()</function>
<function returnType="bool">upperLimitActive()</function>
<function returnType="double">upperLimit()</function>
<function specifier="non virtual" returnType="TQColor">normalDigitColor()</function>
<function specifier="non virtual" returnType="TQColor">alarmDigitColor()</function>
<function returnType="TQColor">meterBackgroundColor()</function>
<function specifier="non virtual">setTitle( const TQString &amp; s )</function>
<function specifier="non virtual">setShowUnit( bool b )</function>
<function specifier="non virtual">setLowerLimitActive( bool b )</function>
<function specifier="non virtual">setLowerLimit( double d )</function>
<function specifier="non virtual">setUpperLimitActive( bool b )</function>
<function specifier="non virtual">setUpperLimit( double d )</function>
<function specifier="non virtual">setNormalDigitColor( const TQColor &amp; c )</function>
<function specifier="non virtual">setAlarmDigitColor( const TQColor &amp; c )</function>
</functions>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
</UI>