|
|
|
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
|
|
|
<class>wsPrefs</class>
|
|
|
|
<author>Ian Reinhart Geiser <geiseri@kde.org></author>
|
|
|
|
<widget class="TQWidget">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>wsPrefs</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>374</width>
|
|
|
|
<height>315</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<grid>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="margin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<widget class="KPushButton" row="2" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>mAddButton</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>A&dd</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="0" column="2">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel2</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Se&lected stations:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" stdset="0">
|
|
|
|
<cstring>mSelectedStations</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="0" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel1</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>A&vailable stations:</string>
|
|
|
|
</property>
|
|
|
|
<property name="buddy" stdset="0">
|
|
|
|
<cstring>mAllStations</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<spacer row="1" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>spacer1</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeType">
|
|
|
|
<enum>Expanding</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>86</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
<widget class="KListView" row="1" column="2" rowspan="4" colspan="1">
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>Selected</string>
|
|
|
|
</property>
|
|
|
|
<property name="clickable">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="resizable">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>mSelectedStations</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy>
|
|
|
|
<hsizetype>5</hsizetype>
|
|
|
|
<vsizetype>7</vsizetype>
|
|
|
|
<horstretch>1</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="resizeMode">
|
|
|
|
<enum>LastColumn</enum>
|
|
|
|
</property>
|
|
|
|
<property name="fullWidth">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="itemsMovable">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="autoOpen">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="KPushButton" row="3" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>mRemoveButton</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Remove</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<spacer row="4" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>spacer2</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeType">
|
|
|
|
<enum>Expanding</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>85</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
<widget class="KListView" row="1" column="0" rowspan="4" colspan="1">
|
|
|
|
<column>
|
|
|
|
<property name="text">
|
|
|
|
<string>All</string>
|
|
|
|
</property>
|
|
|
|
<property name="clickable">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="resizable">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</column>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>mAllStations</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy>
|
|
|
|
<hsizetype>5</hsizetype>
|
|
|
|
<vsizetype>7</vsizetype>
|
|
|
|
<horstretch>1</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="rootIsDecorated">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="resizeMode">
|
|
|
|
<enum>LastColumn</enum>
|
|
|
|
</property>
|
|
|
|
<property name="fullWidth">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="itemsMovable">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
<property name="autoOpen">
|
|
|
|
<bool>false</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLayoutWidget" row="5" column="0" rowspan="1" colspan="3">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>layout1</cstring>
|
|
|
|
</property>
|
|
|
|
<hbox>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="KPushButton">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>mExit</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Stop Weather Service</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="KPushButton">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>mUpdate</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Update All</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</hbox>
|
|
|
|
</widget>
|
|
|
|
</grid>
|
|
|
|
</widget>
|
|
|
|
<customwidgets>
|
|
|
|
</customwidgets>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>mAddButton</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>wsPrefs</receiver>
|
|
|
|
<slot>addStation()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>mRemoveButton</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>wsPrefs</receiver>
|
|
|
|
<slot>removeStation()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>mUpdate</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>wsPrefs</receiver>
|
|
|
|
<slot>updateStations()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>mExit</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>wsPrefs</receiver>
|
|
|
|
<slot>exitWeatherService()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>mSelectedStations</sender>
|
|
|
|
<signal>selectionChanged(TQListViewItem*)</signal>
|
|
|
|
<receiver>wsPrefs</receiver>
|
|
|
|
<slot>selectionChanged(TQListViewItem*)</slot>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
<forwards>
|
|
|
|
<forward>class TQListViewItem;</forward>
|
|
|
|
</forwards>
|
|
|
|
<tabstops>
|
|
|
|
<tabstop>mAllStations</tabstop>
|
|
|
|
<tabstop>mSelectedStations</tabstop>
|
|
|
|
<tabstop>mAddButton</tabstop>
|
|
|
|
<tabstop>mRemoveButton</tabstop>
|
|
|
|
<tabstop>mExit</tabstop>
|
|
|
|
<tabstop>mUpdate</tabstop>
|
|
|
|
</tabstops>
|
|
|
|
<includes>
|
|
|
|
<include location="global" impldecl="in implementation">kiconloader.h</include>
|
|
|
|
<include location="global" impldecl="in implementation">kdialog.h</include>
|
|
|
|
<include location="global" impldecl="in implementation">knuminput.h</include>
|
|
|
|
</includes>
|
|
|
|
<Q_SLOTS>
|
|
|
|
<slot>exitWeatherService()</slot>
|
|
|
|
<slot>removeStation()</slot>
|
|
|
|
<slot>updateStations()</slot>
|
|
|
|
<slot>addStation()</slot>
|
|
|
|
<slot>selectionChanged( TQListViewItem* )</slot>
|
|
|
|
</Q_SLOTS>
|
|
|
|
<layoutdefaults spacing="3" margin="6"/>
|
|
|
|
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
|
|
|
|
<includehints>
|
|
|
|
<includehint>klistview.h</includehint>
|
|
|
|
<includehint>klistview.h</includehint>
|
|
|
|
</includehints>
|
|
|
|
</UI>
|