diff options
author | Lubos Dolezel <lubos@dolezel.info> | 2015-06-01 22:04:50 +0200 |
---|---|---|
committer | Lubos Dolezel <lubos@dolezel.info> | 2015-06-01 22:04:50 +0200 |
commit | aa9b140a7bb49eb9666678bcbbb544cc536bd6de (patch) | |
tree | af36808d3322315335cf1e1da5f66435c3282fa5 /src/gui/sendfileform.ui | |
parent | 4423e9c3d3a1894359d11ba6097b5cc1aa49ad91 (diff) | |
download | twinkle-aa9b140a7bb49eb9666678bcbbb544cc536bd6de.tar twinkle-aa9b140a7bb49eb9666678bcbbb544cc536bd6de.tar.gz twinkle-aa9b140a7bb49eb9666678bcbbb544cc536bd6de.tar.lz twinkle-aa9b140a7bb49eb9666678bcbbb544cc536bd6de.tar.xz twinkle-aa9b140a7bb49eb9666678bcbbb544cc536bd6de.zip |
GUI build in progress.
The next step is to adapt .ui.h files to use Qt4 UIC-generated headers.
Diffstat (limited to 'src/gui/sendfileform.ui')
-rw-r--r-- | src/gui/sendfileform.ui | 370 |
1 files changed, 165 insertions, 205 deletions
diff --git a/src/gui/sendfileform.ui b/src/gui/sendfileform.ui index 748459b..6224c89 100644 --- a/src/gui/sendfileform.ui +++ b/src/gui/sendfileform.ui @@ -1,217 +1,177 @@ -<!DOCTYPE UI><UI version="3.3" stdsetdef="1"> -<class>SendFileForm</class> -<widget class="QDialog"> - <property name="name"> - <cstring>SendFileForm</cstring> - </property> +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0" stdsetdef="1"> + <author></author> + <comment></comment> + <exportmacro></exportmacro> + <class>SendFileForm</class> + <widget class="QDialog" name="SendFileForm"> <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>461</width> - <height>127</height> - </rect> + <rect> + <x>0</x> + <y>0</y> + <width>461</width> + <height>127</height> + </rect> </property> - <property name="caption"> - <string>Twinkle - Send File</string> + <property name="windowTitle"> + <string>Twinkle - Send File</string> </property> - <vbox> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <widget class="QLayoutWidget"> - <property name="name"> - <cstring>layout166</cstring> - </property> - <grid> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <widget class="QToolButton" row="1" column="2"> - <property name="name"> - <cstring>fileToolButton</cstring> - </property> - <property name="focusPolicy"> - <enum>TabFocus</enum> - </property> - <property name="text"> - <string></string> - </property> - <property name="iconSet"> - <iconset>fileopen.png</iconset> - </property> - <property name="whatsThis" stdset="0"> - <string>Select file to send.</string> - </property> - </widget> - <spacer row="0" column="2"> - <property name="name"> - <cstring>spacer62</cstring> - </property> - <property name="orientation"> - <enum>Horizontal</enum> - </property> - <property name="sizeType"> - <enum>Minimum</enum> - </property> - <property name="sizeHint"> - <size> - <width>28</width> - <height>20</height> - </size> - </property> - </spacer> - <widget class="QLabel" row="1" column="0"> - <property name="name"> - <cstring>fileTextLabel</cstring> - </property> - <property name="text"> - <string>&File:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>fileLineEdit</cstring> - </property> - </widget> - <widget class="QLabel" row="0" column="0"> - <property name="name"> - <cstring>subjectTextLabel</cstring> - </property> - <property name="text"> - <string>&Subject:</string> - </property> - <property name="buddy" stdset="0"> - <cstring>subjectLineEdit</cstring> - </property> - </widget> - <widget class="QLineEdit" row="1" column="1"> - <property name="name"> - <cstring>fileLineEdit</cstring> - </property> - </widget> - <widget class="QLineEdit" row="0" column="1"> - <property name="name"> - <cstring>subjectLineEdit</cstring> - </property> - </widget> - </grid> - </widget> - <spacer> - <property name="name"> - <cstring>spacer66</cstring> - </property> - <property name="orientation"> - <enum>Vertical</enum> - </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> + <layout class="QVBoxLayout"> + <item> + <layout class="QGridLayout"> + <item row="1" column="2"> + <widget class="QToolButton" name="fileToolButton"> + <property name="focusPolicy"> + <enum>Qt::TabFocus</enum> + </property> + <property name="text"> + <string/> + </property> + <property name="icon"> + <iconset>fileopen.png</iconset> + </property> + <property name="whatsThis" stdset="0"> + <string>Select file to send.</string> + </property> + </widget> + </item> + <item row="0" column="2"> + <spacer name="spacer62"> + <property name="sizeHint"> <size> - <width>20</width> - <height>16</height> + <width>28</width> + <height>20</height> </size> - </property> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Minimum</enum> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </spacer> + </item> + <item row="1" column="0"> + <widget class="QLabel" name="fileTextLabel"> + <property name="text"> + <string>&File:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>fileLineEdit</cstring> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + </widget> + </item> + <item row="0" column="0"> + <widget class="QLabel" name="subjectTextLabel"> + <property name="text"> + <string>&Subject:</string> + </property> + <property name="buddy" stdset="0"> + <cstring>subjectLineEdit</cstring> + </property> + <property name="wordWrap"> + <bool>false</bool> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QLineEdit" name="fileLineEdit"/> + </item> + <item row="0" column="1"> + <widget class="QLineEdit" name="subjectLineEdit"/> + </item> + </layout> + </item> + <item> + <spacer name="spacer66"> + <property name="sizeHint"> + <size> + <width>20</width> + <height>16</height> + </size> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> </spacer> - <widget class="QLayoutWidget"> - <property name="name"> - <cstring>layout59</cstring> - </property> - <hbox> - <property name="name"> - <cstring>unnamed</cstring> - </property> - <spacer> - <property name="name"> - <cstring>spacer65</cstring> - </property> - <property name="orientation"> - <enum>Horizontal</enum> - </property> - <property name="sizeType"> - <enum>Expanding</enum> - </property> - <property name="sizeHint"> - <size> - <width>141</width> - <height>20</height> - </size> - </property> - </spacer> - <widget class="QPushButton"> - <property name="name"> - <cstring>okPushButton</cstring> - </property> - <property name="text"> - <string>&OK</string> - </property> - <property name="accel"> - <string>Alt+O</string> - </property> - </widget> - <widget class="QPushButton"> - <property name="name"> - <cstring>cancelPushButton</cstring> - </property> - <property name="text"> - <string>&Cancel</string> - </property> - <property name="accel"> - <string>Alt+C</string> - </property> - </widget> - </hbox> - </widget> - </vbox> -</widget> -<connections> + </item> + <item> + <layout class="QHBoxLayout"> + <item> + <spacer name="spacer65"> + <property name="sizeHint"> + <size> + <width>141</width> + <height>20</height> + </size> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Expanding</enum> + </property> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="okPushButton"> + <property name="text"> + <string>&OK</string> + </property> + <property name="shortcut"> + <string>Alt+O</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="cancelPushButton"> + <property name="text"> + <string>&Cancel</string> + </property> + <property name="shortcut"> + <string>Alt+C</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <layoutdefault spacing="6" margin="11"/> + <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> + <tabstops> + <tabstop>subjectLineEdit</tabstop> + <tabstop>fileLineEdit</tabstop> + <tabstop>okPushButton</tabstop> + <tabstop>cancelPushButton</tabstop> + </tabstops> + <includes> + <include location="local">qstring.h</include> + </includes> + <connections> <connection> - <sender>cancelPushButton</sender> - <signal>clicked()</signal> - <receiver>SendFileForm</receiver> - <slot>reject()</slot> + <sender>cancelPushButton</sender> + <signal>clicked()</signal> + <receiver>SendFileForm</receiver> + <slot>reject()</slot> </connection> <connection> - <sender>okPushButton</sender> - <signal>clicked()</signal> - <receiver>SendFileForm</receiver> - <slot>signalSelectedInfo()</slot> + <sender>okPushButton</sender> + <signal>clicked()</signal> + <receiver>SendFileForm</receiver> + <slot>signalSelectedInfo()</slot> </connection> <connection> - <sender>fileToolButton</sender> - <signal>clicked()</signal> - <receiver>SendFileForm</receiver> - <slot>chooseFile()</slot> + <sender>fileToolButton</sender> + <signal>clicked()</signal> + <receiver>SendFileForm</receiver> + <slot>chooseFile()</slot> </connection> -</connections> -<tabstops> - <tabstop>subjectLineEdit</tabstop> - <tabstop>fileLineEdit</tabstop> - <tabstop>okPushButton</tabstop> - <tabstop>cancelPushButton</tabstop> -</tabstops> -<includes> - <include location="local" impldecl="in declaration">qstring.h</include> - <include location="local" impldecl="in implementation">audits/memman.h</include> - <include location="local" impldecl="in implementation">gui.h</include> - <include location="local" impldecl="in implementation">qfile.h</include> - <include location="local" impldecl="in implementation">qfiledialog.h</include> - <include location="local" impldecl="in implementation">sendfileform.ui.h</include> -</includes> -<variables> - <variable access="private">QDialog *_chooseFileDialog;</variable> -</variables> -<signals> - <signal>selected(const QString &filename, const QString &subject)</signal> -</signals> -<slots> - <slot>signalSelectedInfo()</slot> - <slot>chooseFile()</slot> - <slot>setFilename()</slot> -</slots> -<functions> - <function access="private" specifier="non virtual">init()</function> - <function access="private" specifier="non virtual">destroy()</function> -</functions> -<pixmapinproject/> -<layoutdefaults spacing="6" margin="11"/> -</UI> + </connections> +</ui> |