|
|
|
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
|
|
|
<class>FourButtonMessageBox</class>
|
|
|
|
<comment>/***************************************************************************
|
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
|
|
* it under the terms of the GNU General Public License as published by *
|
|
|
|
* the Free Software Foundation; version 2 of the License. *
|
|
|
|
* *
|
|
|
|
***************************************************************************/
|
|
|
|
</comment>
|
|
|
|
<author>(C) 2003 Andras Mantia <amantia@kde.org></author>
|
|
|
|
<widget class="TQDialog">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>FourButtonMessageBox</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>425</width>
|
|
|
|
<height>150</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>0</width>
|
|
|
|
<height>150</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<grid>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="TQLabel" row="0" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>pixmapLabel</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>32</width>
|
|
|
|
<height>32</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLabel" row="0" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>textLabel</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string></string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>layout2</cstring>
|
|
|
|
</property>
|
|
|
|
<hbox>
|
|
|
|
<property name="name">
|
|
|
|
<cstring>unnamed</cstring>
|
|
|
|
</property>
|
|
|
|
<widget class="KPushButton">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>user1Button</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Save</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="KPushButton">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>user2Button</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Save &As...</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="KPushButton">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>user3Button</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy>
|
|
|
|
<hsizetype>1</hsizetype>
|
|
|
|
<vsizetype>0</vsizetype>
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Do Not Save</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="KPushButton">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>cancelButton</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>&Cancel</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</hbox>
|
|
|
|
</widget>
|
|
|
|
<spacer row="1" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>spacer1</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Vertical</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeType">
|
|
|
|
<enum>Fixed</enum>
|
|
|
|
</property>
|
|
|
|
<property name="sizeHint">
|
|
|
|
<size>
|
|
|
|
<width>20</width>
|
|
|
|
<height>16</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
</spacer>
|
|
|
|
</grid>
|
|
|
|
</widget>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>cancelButton</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>FourButtonMessageBox</receiver>
|
|
|
|
<slot>cancelButton_clicked()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>user1Button</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>FourButtonMessageBox</receiver>
|
|
|
|
<slot>user1Button_clicked()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>user2Button</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>FourButtonMessageBox</receiver>
|
|
|
|
<slot>user2Button_clicked()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>user3Button</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>FourButtonMessageBox</receiver>
|
|
|
|
<slot>user3Button_clicked()</slot>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
<includes>
|
|
|
|
<include location="local" impldecl="in implementation">fourbuttonmessagebox.ui.h</include>
|
|
|
|
<include location="global" impldecl="in implementation">kpushbutton.h</include>
|
|
|
|
</includes>
|
|
|
|
<variables>
|
|
|
|
<variable>int m_status;</variable>
|
|
|
|
</variables>
|
|
|
|
<Q_SLOTS>
|
|
|
|
<slot>cancelButton_clicked()</slot>
|
|
|
|
<slot>user1Button_clicked()</slot>
|
|
|
|
<slot>user2Button_clicked()</slot>
|
|
|
|
<slot>user3Button_clicked()</slot>
|
|
|
|
</Q_SLOTS>
|
|
|
|
<functions>
|
|
|
|
<function specifier="non virtual" returnType="int">status()</function>
|
|
|
|
</functions>
|
|
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
|
|
</UI>
|