<rect>
<x>0</x>
<y>0</y>
- <width>412</width>
+ <width>606</width>
<height>441</height>
</rect>
</property>
<property name="caption">
<string>QPrefUIModule</string>
</property>
- <grid>
+ <vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <property name="margin">
- <number>11</number>
- </property>
- <property name="spacing">
- <number>6</number>
- </property>
- <widget class="QLayoutWidget" row="0" column="0">
+ <widget class="QLayoutWidget">
<property name="name">
<cstring>Layout2</cstring>
</property>
</widget>
</grid>
</widget>
- <widget class="QCheckBox" row="3" column="0">
+ <widget class="QLayoutWidget">
<property name="name">
- <cstring>cursorFollowsCB</cstring>
- </property>
- <property name="text">
- <string>Cursor follows &scrollbar</string>
- </property>
- <property name="accel">
- <string>Alt+S</string>
- </property>
- </widget>
- <spacer row="4" column="0">
- <property name="name">
- <cstring>Spacer7</cstring>
- </property>
- <property name="orientation">
- <enum>Vertical</enum>
- </property>
- <property name="sizeType">
- <enum>Expanding</enum>
- </property>
- <property name="sizeHint">
- <size>
- <width>20</width>
- <height>90</height>
- </size>
- </property>
- </spacer>
- <widget class="QLayoutWidget" row="1" column="0">
- <property name="name">
- <cstring>layout8</cstring>
+ <cstring>layout7</cstring>
</property>
<hbox>
<property name="name">
</property>
<property name="sizeHint">
<size>
- <width>83</width>
+ <width>30</width>
<height>20</height>
</size>
</property>
</spacer>
- </hbox>
- </widget>
- <widget class="QLayoutWidget" row="2" column="0">
- <property name="name">
- <cstring>layout9</cstring>
- </property>
- <hbox>
- <property name="name">
- <cstring>unnamed</cstring>
- </property>
<widget class="QGroupBox">
<property name="name">
<cstring>sessionGB</cstring>
</widget>
</grid>
</widget>
+ <spacer>
+ <property name="name">
+ <cstring>spacer4_2</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>31</height>
+ </size>
+ </property>
+ </spacer>
+ </hbox>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layout15</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QGroupBox">
+ <property name="name">
+ <cstring>GeometryGB</cstring>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>5</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="title">
+ <string>Geometry</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>loadWindowSizeCB</cstring>
+ </property>
+ <property name="text">
+ <string>Save/restore window size, or use fixed window</string>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ </widget>
+ <widget class="QLayoutWidget">
+ <property name="name">
+ <cstring>layoutWidthHeight</cstring>
+ </property>
+ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+ <spacer>
+ <property name="name">
+ <cstring>Spacer6_2</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>windowWidthLA</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>Width</string>
+ </property>
+ </widget>
+ <widget class="QSpinBox">
+ <property name="name">
+ <cstring>windowWidthSB</cstring>
+ </property>
+ <property name="maxValue">
+ <number>9999</number>
+ </property>
+ <property name="minValue">
+ <number>200</number>
+ </property>
+ <property name="lineStep">
+ <number>10</number>
+ </property>
+ </widget>
+ <widget class="QLabel">
+ <property name="name">
+ <cstring>windowHeightLA</cstring>
+ </property>
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>Height</string>
+ </property>
+ </widget>
+ <widget class="QSpinBox">
+ <property name="name">
+ <cstring>windowHeightSB</cstring>
+ </property>
+ <property name="maxValue">
+ <number>9999</number>
+ </property>
+ <property name="minValue">
+ <number>200</number>
+ </property>
+ <property name="lineStep">
+ <number>10</number>
+ </property>
+ </widget>
+ <spacer>
+ <property name="name">
+ <cstring>Spacer6_2_2</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Horizontal</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </hbox>
+ </widget>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>loadWindowLocationCB</cstring>
+ </property>
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="text">
+ <string>Save/restore window position</string>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string>Restore to cursor position when the file was last closed</string>
+ </property>
+ </widget>
+ </vbox>
+ </widget>
<spacer>
<property name="name">
<cstring>spacer4</cstring>
</property>
<property name="sizeHint">
<size>
- <width>138</width>
+ <width>257</width>
<height>31</height>
</size>
</property>
</spacer>
</hbox>
</widget>
- </grid>
+ <widget class="QCheckBox">
+ <property name="name">
+ <cstring>cursorFollowsCB</cstring>
+ </property>
+ <property name="text">
+ <string>Cursor follows &scrollbar</string>
+ </property>
+ <property name="accel">
+ <string>Alt+S</string>
+ </property>
+ </widget>
+ <spacer>
+ <property name="name">
+ <cstring>Spacer7</cstring>
+ </property>
+ <property name="orientation">
+ <enum>Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>73</height>
+ </size>
+ </property>
+ </spacer>
+ </vbox>
</widget>
<connections>
<connection>
<receiver>TextLabel1</receiver>
<slot>setEnabled(bool)</slot>
</connection>
+ <connection>
+ <sender>loadWindowSizeCB</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>windowWidthSB</receiver>
+ <slot>setDisabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>loadWindowSizeCB</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>windowHeightSB</receiver>
+ <slot>setDisabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>loadWindowSizeCB</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>windowWidthLA</receiver>
+ <slot>setDisabled(bool)</slot>
+ </connection>
+ <connection>
+ <sender>loadWindowSizeCB</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>windowHeightLA</receiver>
+ <slot>setDisabled(bool)</slot>
+ </connection>
</connections>
<tabstops>
<tabstop>uiFileED</tabstop>
this, SIGNAL(changed()));
connect(loadSessionCB, SIGNAL(toggled(bool)),
this, SIGNAL(changed()));
+ connect(loadWindowSizeCB, SIGNAL(toggled(bool)),
+ this, SIGNAL(changed()));
+ connect(loadWindowSizeCB, SIGNAL(toggled(bool)),
+ windowWidthLA, SLOT(setDisabled(bool)));
+ connect(loadWindowSizeCB, SIGNAL(toggled(bool)),
+ windowHeightLA, SLOT(setDisabled(bool)));
+ connect(loadWindowSizeCB, SIGNAL(toggled(bool)),
+ windowWidthSB, SLOT(setDisabled(bool)));
+ connect(loadWindowSizeCB, SIGNAL(toggled(bool)),
+ windowHeightSB, SLOT(setDisabled(bool)));
+ connect(loadWindowLocationCB, SIGNAL(toggled(bool)),
+ this, SIGNAL(changed()));
+ connect(windowWidthSB, SIGNAL(valueChanged(int)),
+ this, SIGNAL(changed()));
+ connect(windowHeightSB, SIGNAL(valueChanged(int)),
+ this, SIGNAL(changed()));
connect(cursorFollowsCB, SIGNAL(toggled(bool)),
this, SIGNAL(changed()));
connect(autoSaveSB, SIGNAL(valueChanged(int)),
rc.bind_file = internal_path(bindFileED->text());
rc.use_lastfilepos = restoreCursorCB->isChecked();
rc.load_session = loadSessionCB->isChecked();
+ if (loadWindowSizeCB->isChecked()) {
+ rc.geometry_width = 0;
+ rc.geometry_height = 0;
+ } else {
+ rc.geometry_width = windowWidthSB->value();
+ rc.geometry_height = windowHeightSB->value();
+ }
+ rc.geometry_xysaved = loadWindowLocationCB->isChecked();
rc.cursor_follows_scrollbar = cursorFollowsCB->isChecked();
rc.autosave = autoSaveSB->value() * 60;
rc.make_backup = autoSaveCB->isChecked();
bindFileED->setText(external_path(rc.bind_file));
restoreCursorCB->setChecked(rc.use_lastfilepos);
loadSessionCB->setChecked(rc.load_session);
+ bool loadWindowSize = rc.geometry_width == 0 && rc.geometry_height == 0;
+ loadWindowSizeCB->setChecked(loadWindowSize);
+ windowWidthSB->setEnabled(!loadWindowSize);
+ windowHeightSB->setEnabled(!loadWindowSize);
+ windowWidthLA->setEnabled(!loadWindowSize);
+ windowHeightLA->setEnabled(!loadWindowSize);
+ if (!loadWindowSize) {
+ windowWidthSB->setValue(rc.geometry_width);
+ windowHeightSB->setValue(rc.geometry_height);
+ }
+ loadWindowLocationCB->setChecked(rc.geometry_xysaved);
cursorFollowsCB->setChecked(rc.cursor_follows_scrollbar);
// convert to minutes
int mins(rc.autosave / 60);
<rect>
<x>0</x>
<y>0</y>
- <width>416</width>
- <height>513</height>
+ <width>728</width>
+ <height>657</height>
</rect>
</property>
<property name="sizePolicy" >
<property name="windowTitle" >
<string/>
</property>
- <layout class="QGridLayout" >
+ <layout class="QVBoxLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
- <item row="2" column="0" >
- <widget class="QGroupBox" name="sessionGB" >
- <property name="title" >
- <string>Session</string>
+ <item>
+ <layout class="QGridLayout" >
+ <property name="margin" >
+ <number>0</number>
+ </property>
+ <property name="spacing" >
+ <number>6</number>
</property>
- <layout class="QGridLayout" >
- <property name="margin" >
- <number>9</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item row="0" column="0" >
+ <item row="1" column="2" >
+ <widget class="QPushButton" name="bindFilePB" >
+ <property name="text" >
+ <string>B&rowse...</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0" >
+ <widget class="QLabel" name="uiFileLA" >
+ <property name="text" >
+ <string>&User interface file:</string>
+ </property>
+ <property name="buddy" >
+ <cstring>uiFileED</cstring>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0" >
+ <widget class="QLabel" name="bindFileLA" >
+ <property name="text" >
+ <string>&Bind file:</string>
+ </property>
+ <property name="buddy" >
+ <cstring>bindFileED</cstring>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1" >
+ <widget class="QLineEdit" name="uiFileED" />
+ </item>
+ <item row="0" column="2" >
+ <widget class="QPushButton" name="uiFilePB" >
+ <property name="text" >
+ <string>Bro&wse...</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1" >
+ <widget class="QLineEdit" name="bindFileED" />
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" >
+ <property name="margin" >
+ <number>0</number>
+ </property>
+ <property name="spacing" >
+ <number>6</number>
+ </property>
+ <item>
+ <widget class="QGroupBox" name="documentsGB" >
+ <property name="title" >
+ <string>Documents</string>
+ </property>
<layout class="QVBoxLayout" >
<property name="margin" >
- <number>0</number>
+ <number>11</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
- <widget class="QCheckBox" name="restoreCursorCB" >
+ <widget class="QCheckBox" name="autoSaveCB" >
<property name="text" >
- <string>Restore cursor positions</string>
+ <string>B&ackup documents </string>
</property>
</widget>
</item>
<item>
- <widget class="QCheckBox" name="loadSessionCB" >
- <property name="text" >
- <string>Load opened files from last session</string>
+ <layout class="QHBoxLayout" >
+ <property name="margin" >
+ <number>0</number>
</property>
- </widget>
+ <property name="spacing" >
+ <number>6</number>
+ </property>
+ <item>
+ <spacer>
+ <property name="orientation" >
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType" >
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" >
+ <size>
+ <width>21</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QLabel" name="autoSaveLA" >
+ <property name="text" >
+ <string> every</string>
+ </property>
+ <property name="buddy" >
+ <cstring>autoSaveSB</cstring>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QSpinBox" name="autoSaveSB" >
+ <property name="maximum" >
+ <number>300</number>
+ </property>
+ <property name="minimum" >
+ <number>1</number>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="TextLabel1" >
+ <property name="text" >
+ <string>minutes</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" >
+ <property name="margin" >
+ <number>0</number>
+ </property>
+ <property name="spacing" >
+ <number>6</number>
+ </property>
+ <item>
+ <widget class="QLabel" name="lastfilesLA" >
+ <property name="text" >
+ <string>&Maximum last files:</string>
+ </property>
+ <property name="buddy" >
+ <cstring>lastfilesSB</cstring>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QSpinBox" name="lastfilesSB" >
+ <property name="maximum" >
+ <number>9</number>
+ </property>
+ </widget>
+ </item>
+ </layout>
</item>
</layout>
- </item>
- </layout>
- </widget>
- </item>
- <item row="3" column="0" >
- <widget class="QGroupBox" name="scrollGB" >
- <property name="title" >
- <string>Scrolling</string>
- </property>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>11</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QCheckBox" name="cursorFollowsCB" >
- <property name="text" >
- <string>Cursor follows &scrollbar</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="1" column="0" >
- <widget class="QGroupBox" name="documentsGB" >
- <property name="title" >
- <string>Documents</string>
- </property>
- <layout class="QVBoxLayout" >
- <property name="margin" >
- <number>11</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item>
- <widget class="QCheckBox" name="autoSaveCB" >
- <property name="text" >
- <string>B&ackup documents </string>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout" >
+ </widget>
+ </item>
+ <item>
+ <widget class="QGroupBox" name="GeometryGB" >
+ <property name="sizePolicy" >
+ <sizepolicy>
+ <hsizetype>5</hsizetype>
+ <vsizetype>5</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="title" >
+ <string>Geometry</string>
+ </property>
+ <layout class="QVBoxLayout" >
<property name="margin" >
- <number>0</number>
+ <number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item>
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType" >
- <enum>QSizePolicy::Fixed</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>21</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QLabel" name="autoSaveLA" >
+ <widget class="QCheckBox" name="loadWindowSizeCB" >
<property name="text" >
- <string> every</string>
+ <string>Save/restore window size, or use fixed window</string>
</property>
- <property name="buddy" >
- <cstring>autoSaveSB</cstring>
+ <property name="checked" >
+ <bool>true</bool>
</property>
</widget>
</item>
<item>
- <widget class="QSpinBox" name="autoSaveSB" >
- <property name="maximum" >
- <number>300</number>
+ <layout class="QHBoxLayout" >
+ <property name="margin" >
+ <number>0</number>
</property>
- <property name="minimum" >
- <number>1</number>
+ <property name="spacing" >
+ <number>6</number>
</property>
- </widget>
+ <item>
+ <spacer>
+ <property name="orientation" >
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType" >
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" >
+ <size>
+ <width>30</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QLabel" name="windowWidthLA" >
+ <property name="enabled" >
+ <bool>false</bool>
+ </property>
+ <property name="text" >
+ <string>Width</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QSpinBox" name="windowWidthSB" >
+ <property name="maximum" >
+ <number>9999</number>
+ </property>
+ <property name="minimum" >
+ <number>200</number>
+ </property>
+ <property name="singleStep" >
+ <number>10</number>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="windowHeightLA" >
+ <property name="enabled" >
+ <bool>false</bool>
+ </property>
+ <property name="text" >
+ <string>Height</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QSpinBox" name="windowHeightSB" >
+ <property name="maximum" >
+ <number>9999</number>
+ </property>
+ <property name="minimum" >
+ <number>200</number>
+ </property>
+ <property name="singleStep" >
+ <number>10</number>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer>
+ <property name="orientation" >
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType" >
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" >
+ <size>
+ <width>30</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
</item>
<item>
- <widget class="QLabel" name="TextLabel1" >
+ <widget class="QCheckBox" name="loadWindowLocationCB" >
+ <property name="enabled" >
+ <bool>true</bool>
+ </property>
+ <property name="toolTip" >
+ <string>Restore to cursor position when the file was last closed</string>
+ </property>
<property name="text" >
- <string>minutes</string>
+ <string>Save/restore window position</string>
</property>
</widget>
</item>
</layout>
- </item>
- <item>
- <layout class="QHBoxLayout" >
+ </widget>
+ </item>
+ <item>
+ <spacer>
+ <property name="orientation" >
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType" >
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="sizeHint" >
+ <size>
+ <width>51</width>
+ <height>174</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" >
+ <property name="margin" >
+ <number>0</number>
+ </property>
+ <property name="spacing" >
+ <number>6</number>
+ </property>
+ <item>
+ <widget class="QGroupBox" name="sessionGB" >
+ <property name="title" >
+ <string>Session</string>
+ </property>
+ <layout class="QGridLayout" >
<property name="margin" >
- <number>0</number>
+ <number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
- <item>
- <widget class="QLabel" name="lastfilesLA" >
- <property name="text" >
- <string>&Maximum last files:</string>
+ <item row="0" column="0" >
+ <layout class="QVBoxLayout" >
+ <property name="margin" >
+ <number>0</number>
</property>
- <property name="buddy" >
- <cstring>lastfilesSB</cstring>
+ <property name="spacing" >
+ <number>6</number>
</property>
- </widget>
+ <item>
+ <widget class="QCheckBox" name="restoreCursorCB" >
+ <property name="text" >
+ <string>Restore cursor positions</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="loadSessionCB" >
+ <property name="text" >
+ <string>Load opened files from last session</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
</item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <spacer>
+ <property name="orientation" >
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType" >
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="sizeHint" >
+ <size>
+ <width>351</width>
+ <height>124</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" >
+ <property name="margin" >
+ <number>0</number>
+ </property>
+ <property name="spacing" >
+ <number>6</number>
+ </property>
+ <item>
+ <widget class="QGroupBox" name="scrollGB" >
+ <property name="title" >
+ <string>Scrolling</string>
+ </property>
+ <layout class="QVBoxLayout" >
+ <property name="margin" >
+ <number>11</number>
+ </property>
+ <property name="spacing" >
+ <number>6</number>
+ </property>
<item>
- <widget class="QSpinBox" name="lastfilesSB" >
- <property name="maximum" >
- <number>9</number>
+ <widget class="QCheckBox" name="cursorFollowsCB" >
+ <property name="text" >
+ <string>Cursor follows &scrollbar</string>
</property>
</widget>
</item>
</layout>
- </item>
- </layout>
- </widget>
- </item>
- <item rowspan="2" row="1" column="1" >
- <spacer>
- <property name="orientation" >
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeType" >
- <enum>QSizePolicy::Expanding</enum>
- </property>
- <property name="sizeHint" >
- <size>
- <width>51</width>
- <height>258</height>
- </size>
- </property>
- </spacer>
+ </widget>
+ </item>
+ <item>
+ <spacer>
+ <property name="orientation" >
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="sizeType" >
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="sizeHint" >
+ <size>
+ <width>351</width>
+ <height>20</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
</item>
- <item row="4" column="0" colspan="2" >
+ <item>
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
<property name="sizeHint" >
<size>
<width>394</width>
- <height>21</height>
+ <height>31</height>
</size>
</property>
</spacer>
</item>
- <item row="0" column="0" colspan="2" >
- <layout class="QGridLayout" >
- <property name="margin" >
- <number>0</number>
- </property>
- <property name="spacing" >
- <number>6</number>
- </property>
- <item row="1" column="2" >
- <widget class="QPushButton" name="bindFilePB" >
- <property name="text" >
- <string>B&rowse...</string>
- </property>
- </widget>
- </item>
- <item row="0" column="0" >
- <widget class="QLabel" name="uiFileLA" >
- <property name="text" >
- <string>&User interface file:</string>
- </property>
- <property name="buddy" >
- <cstring>uiFileED</cstring>
- </property>
- </widget>
- </item>
- <item row="1" column="0" >
- <widget class="QLabel" name="bindFileLA" >
- <property name="text" >
- <string>&Bind file:</string>
- </property>
- <property name="buddy" >
- <cstring>bindFileED</cstring>
- </property>
- </widget>
- </item>
- <item row="0" column="1" >
- <widget class="QLineEdit" name="uiFileED" />
- </item>
- <item row="0" column="2" >
- <widget class="QPushButton" name="uiFilePB" >
- <property name="text" >
- <string>Bro&wse...</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1" >
- <widget class="QLineEdit" name="bindFileED" />
- </item>
- </layout>
- </item>
</layout>
</widget>
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>