diff options
Diffstat (limited to 'src/gui/entry/EditEntryWidgetAdvanced.ui')
-rw-r--r-- | src/gui/entry/EditEntryWidgetAdvanced.ui | 177 |
1 files changed, 101 insertions, 76 deletions
diff --git a/src/gui/entry/EditEntryWidgetAdvanced.ui b/src/gui/entry/EditEntryWidgetAdvanced.ui index 2c7f95dde..9556eee19 100644 --- a/src/gui/entry/EditEntryWidgetAdvanced.ui +++ b/src/gui/entry/EditEntryWidgetAdvanced.ui @@ -6,23 +6,11 @@ <rect> <x>0</x> <y>0</y> - <width>400</width> - <height>366</height> + <width>532</width> + <height>364</height> </rect> </property> <layout class="QVBoxLayout" name="verticalLayout"> - <property name="leftMargin"> - <number>0</number> - </property> - <property name="topMargin"> - <number>0</number> - </property> - <property name="rightMargin"> - <number>0</number> - </property> - <property name="bottomMargin"> - <number>0</number> - </property> <item> <widget class="QGroupBox" name="attributesBox"> <property name="title"> @@ -153,68 +141,104 @@ </property> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> - <widget class="QListView" name="attachmentsView"> - <property name="flow"> - <enum>QListView::LeftToRight</enum> + <widget class="EntryAttachmentsWidget" name="attachmentsWidget" native="true"> + <property name="minimumSize"> + <size> + <width>100</width> + <height>100</height> + </size> </property> - <property name="isWrapping" stdset="0"> - <bool>true</bool> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QWidget" name="colorsBox" native="true"> + <layout class="QHBoxLayout" name="horizontalLayout_4"> + <item> + <widget class="QCheckBox" name="fgColorCheckBox"> + <property name="text"> + <string>Foreground Color:</string> </property> </widget> </item> <item> - <layout class="QVBoxLayout" name="attachmentsButtonLayout"> - <item> - <widget class="QPushButton" name="addAttachmentButton"> - <property name="text"> - <string>Add</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="removeAttachmentButton"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="text"> - <string>Remove</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="openAttachmentButton"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="text"> - <string>Open</string> - </property> - </widget> - </item> - <item> - <widget class="QPushButton" name="saveAttachmentButton"> - <property name="enabled"> - <bool>false</bool> - </property> - <property name="text"> - <string>Save</string> - </property> - </widget> - </item> - <item> - <spacer name="verticalSpacer_2"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>40</height> - </size> - </property> - </spacer> - </item> - </layout> + <widget class="QPushButton" name="fgColorButton"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="maximumSize"> + <size> + <width>25</width> + <height>25</height> + </size> + </property> + <property name="text"> + <string/> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeType"> + <enum>QSizePolicy::Maximum</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>30</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QCheckBox" name="bgColorCheckBox"> + <property name="text"> + <string>Background Color:</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="bgColorButton"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="maximumSize"> + <size> + <width>25</width> + <height>25</height> + </size> + </property> + <property name="text"> + <string/> + </property> + <property name="flat"> + <bool>false</bool> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> </item> </layout> </widget> @@ -223,6 +247,12 @@ </widget> <customwidgets> <customwidget> + <class>EntryAttachmentsWidget</class> + <extends>QWidget</extends> + <header>gui/entry/EntryAttachmentsWidget.h</header> + <container>1</container> + </customwidget> + <customwidget> <class>AttributesListView</class> <extends>QListView</extends> <header>gui/entry/EditEntryWidget_p.h</header> @@ -234,11 +264,6 @@ <tabstop>addAttributeButton</tabstop> <tabstop>removeAttributeButton</tabstop> <tabstop>editAttributeButton</tabstop> - <tabstop>attachmentsView</tabstop> - <tabstop>addAttachmentButton</tabstop> - <tabstop>removeAttachmentButton</tabstop> - <tabstop>openAttachmentButton</tabstop> - <tabstop>saveAttachmentButton</tabstop> </tabstops> <resources/> <connections/> |