[Grandmas-svn-commit] SF.net SVN: grandmas-svn: [57] trunk/ui/mainwindow.ui
Brought to you by:
matthiasmiller
From: <mat...@us...> - 2006-10-26 03:23:56
|
Revision: 57 http://svn.sourceforge.net/grandmas-svn/?rev=57&view=rev Author: matthiasmiller Date: 2006-10-25 20:23:52 -0700 (Wed, 25 Oct 2006) Log Message: ----------- make main window's buttons the same width as the logo to improve overall appearance on Windows and Mac Modified Paths: -------------- trunk/ui/mainwindow.ui Modified: trunk/ui/mainwindow.ui =================================================================== --- trunk/ui/mainwindow.ui 2006-10-26 03:09:28 UTC (rev 56) +++ trunk/ui/mainwindow.ui 2006-10-26 03:23:52 UTC (rev 57) @@ -32,38 +32,34 @@ <number>6</number> </property> <item> - <widget class="QLabel" name="logLabel" > + <widget class="QPushButton" name="updateButton" > <property name="sizePolicy" > <sizepolicy> - <hsizetype>5</hsizetype> + <hsizetype>0</hsizetype> <vsizetype>5</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text" > - <string>Commit Log Entry:</string> + <string>&Update</string> </property> - <property name="alignment" > - <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> - </property> - <property name="buddy" > - <cstring>logEdit</cstring> - </property> </widget> </item> <item> - <spacer> - <property name="orientation" > - <enum>Qt::Horizontal</enum> + <widget class="QPushButton" name="commitButton" > + <property name="sizePolicy" > + <sizepolicy> + <hsizetype>0</hsizetype> + <vsizetype>5</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> </property> - <property name="sizeHint" > - <size> - <width>40</width> - <height>20</height> - </size> + <property name="text" > + <string>&Commit...</string> </property> - </spacer> + </widget> </item> <item> <spacer> @@ -82,64 +78,57 @@ </spacer> </item> <item> - <widget class="QPushButton" name="updateButton" > - <property name="sizePolicy" > - <sizepolicy> - <hsizetype>0</hsizetype> - <vsizetype>5</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> + <spacer> + <property name="orientation" > + <enum>Qt::Horizontal</enum> </property> - <property name="text" > - <string>&Update</string> + <property name="sizeHint" > + <size> + <width>40</width> + <height>20</height> + </size> </property> - </widget> + </spacer> </item> - <item> - <widget class="QPushButton" name="commitButton" > - <property name="sizePolicy" > - <sizepolicy> - <hsizetype>0</hsizetype> - <vsizetype>5</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text" > - <string>&Commit...</string> - </property> - </widget> - </item> </layout> </item> <item> - <layout class="QHBoxLayout" > + <widget class="QLabel" name="logLabel" > + <property name="sizePolicy" > + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text" > + <string>Commit Log Entry:</string> + </property> + <property name="buddy" > + <cstring>logEdit</cstring> + </property> + </widget> + </item> + <item> + <layout class="QGridLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> - <item> - <widget class="QTextEdit" name="logEdit" > - <property name="sizePolicy" > - <sizepolicy> - <hsizetype>7</hsizetype> - <vsizetype>13</vsizetype> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> + <item row="1" column="0" > + <widget class="QLabel" name="changesLabel" > + <property name="text" > + <string>Changes:</string> </property> - <property name="tabChangesFocus" > - <bool>true</bool> + <property name="buddy" > + <cstring>changesTreeView</cstring> </property> - <property name="acceptRichText" > - <bool>false</bool> - </property> </widget> </item> - <item> + <item row="0" column="1" > <widget class="QLabel" name="label" > <property name="sizePolicy" > <sizepolicy> @@ -160,27 +149,25 @@ </property> </widget> </item> - </layout> - </item> - <item> - <widget class="QLabel" name="changesLabel" > - <property name="text" > - <string>Changes:</string> - </property> - <property name="buddy" > - <cstring>changesTreeView</cstring> - </property> - </widget> - </item> - <item> - <layout class="QHBoxLayout" > - <property name="margin" > - <number>0</number> - </property> - <property name="spacing" > - <number>6</number> - </property> - <item> + <item row="0" column="0" > + <widget class="QTextEdit" name="logEdit" > + <property name="sizePolicy" > + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>13</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="tabChangesFocus" > + <bool>true</bool> + </property> + <property name="acceptRichText" > + <bool>false</bool> + </property> + </widget> + </item> + <item row="2" column="0" > <widget class="QTreeView" name="changesTreeView" > <property name="indentation" > <number>0</number> @@ -190,7 +177,7 @@ </property> </widget> </item> - <item> + <item row="2" column="1" > <layout class="QVBoxLayout" > <property name="margin" > <number>0</number> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |