Mercurial > hg > forks > UniversalIndentGUI
changeset 680:eb771b0bcaae
Updated the ui files using the Qt Designer version 4.5.0
git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@948 59b1889a-e5ac-428c-b0c7-476e01d41282
author | thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282> |
---|---|
date | Wed, 13 May 2009 09:02:06 +0000 |
parents | 15d6826330bb |
children | aba040a4acd5 |
files | src/AboutDialog.ui src/MainWindow.ui src/ToolBarWidget.ui src/UiGuiSettingsDialog.ui src/UpdateCheckDialog.ui |
diffstat | 5 files changed, 470 insertions(+), 459 deletions(-) [+] |
line wrap: on
line diff
--- a/src/AboutDialog.ui Wed Apr 22 11:03:37 2009 +0000 +++ b/src/AboutDialog.ui Wed May 13 09:02:06 2009 +0000 @@ -1,7 +1,8 @@ -<ui version="4.0" > +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> <class>AboutDialog</class> - <widget class="QDialog" name="AboutDialog" > - <property name="geometry" > + <widget class="QDialog" name="AboutDialog"> + <property name="geometry"> <rect> <x>0</x> <y>0</y> @@ -9,147 +10,147 @@ <height>512</height> </rect> </property> - <property name="sizePolicy" > - <sizepolicy vsizetype="Preferred" hsizetype="Fixed" > + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize" > + <property name="minimumSize"> <size> <width>588</width> <height>333</height> </size> </property> - <property name="windowTitle" > + <property name="windowTitle"> <string>About UniversalIndentGUI</string> </property> - <property name="windowIcon" > - <iconset resource="../resources/Icons.qrc" > + <property name="windowIcon"> + <iconset resource="../resources/Icons.qrc"> <normaloff>:/mainWindow/info.png</normaloff>:/mainWindow/info.png</iconset> </property> - <layout class="QVBoxLayout" > - <property name="margin" > + <layout class="QVBoxLayout"> + <property name="margin"> <number>0</number> </property> <item> - <widget class="QFrame" name="frame" > - <property name="styleSheet" > - <string notr="true" >QFrame#frame { background-color: qlineargradient( x1:0, y1:0, x2:0, y2:1, stop:0 #FFFF60, stop:0.5 #D8C304, stop:1 #FFFF60 ); border: 2px solid #A89C57; border-radius: 4px;}</string> + <widget class="QFrame" name="frame"> + <property name="styleSheet"> + <string notr="true">QFrame#frame { background-color: qlineargradient( x1:0, y1:0, x2:0, y2:1, stop:0 #FFFF60, stop:0.5 #D8C304, stop:1 #FFFF60 ); border: 2px solid #A89C57; border-radius: 4px;}</string> </property> - <property name="frameShape" > + <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> - <layout class="QVBoxLayout" > + <layout class="QVBoxLayout"> <item> - <widget class="QLabel" name="bannerLabel" > - <property name="sizePolicy" > - <sizepolicy vsizetype="Fixed" hsizetype="Fixed" > + <widget class="QLabel" name="bannerLabel"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> - <property name="minimumSize" > + <property name="minimumSize"> <size> <width>570</width> <height>87</height> </size> </property> - <property name="maximumSize" > + <property name="maximumSize"> <size> <width>570</width> <height>87</height> </size> </property> - <property name="text" > + <property name="text"> <string/> </property> - <property name="pixmap" > - <pixmap resource="../resources/Icons.qrc" >:/aboutDialog/banner.png</pixmap> + <property name="pixmap"> + <pixmap resource="../resources/Icons.qrc">:/aboutDialog/banner.png</pixmap> </property> </widget> </item> <item> - <widget class="QTextBrowser" name="versionTextBrowser" > - <property name="sizePolicy" > - <sizepolicy vsizetype="Preferred" hsizetype="Expanding" > + <widget class="QTextBrowser" name="versionTextBrowser"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> - <property name="maximumSize" > + <property name="maximumSize"> <size> <width>16777215</width> <height>25</height> </size> </property> - <property name="frameShape" > + <property name="frameShape"> <enum>QFrame::NoFrame</enum> </property> - <property name="verticalScrollBarPolicy" > + <property name="verticalScrollBarPolicy"> <enum>Qt::ScrollBarAlwaysOff</enum> </property> - <property name="html" > - <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> + <property name="html"> + <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:12pt;">Version %1 rev.%2, %3 </p></body></html></string> +</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:12pt;">Version %1 rev.%2, %3 </span></p></body></html></string> </property> </widget> </item> <item> - <widget class="QTextBrowser" name="authorTextBrowser" > - <property name="sizePolicy" > - <sizepolicy vsizetype="MinimumExpanding" hsizetype="Expanding" > + <widget class="QTextBrowser" name="authorTextBrowser"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> - <property name="acceptDrops" > + <property name="acceptDrops"> <bool>false</bool> </property> - <property name="frameShape" > + <property name="frameShape"> <enum>QFrame::NoFrame</enum> </property> - <property name="verticalScrollBarPolicy" > + <property name="verticalScrollBarPolicy"> <enum>Qt::ScrollBarAlwaysOff</enum> </property> - <property name="html" > - <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> -<html><head><meta name="qrichtext" content="1" /><style type="text/css"> + <property name="html"> + <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } -</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;"><span style=" font-family:'MS Shell Dlg 2';">... is a cross platform compatible GUI for several code formatter, beautifier and indenter like GreatCode, AStyle (Artistic Styler), GNU Indent, BCPP and so on. Main feature is a live preview to directly see how the selected formatting option affects the source code.</span></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:9pt;"><br />Written by : <a href="http://www.thomas-schweitzer.de"><span style=" text-decoration: underline; color:#0000ff;">Thomas Schweitzer</span></a></p> -<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:9pt;">Project Homepage : <a href="http://universalindent.sourceforge.net"><span style=" text-decoration: underline; color:#0000ff;">http://universalindent.sourceforge.net</span></a></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:9pt;">License: UniversalIndentGui is released under the GPL 2. For details read the included file LICENSE.GPL visit <a href="http://www.gnu.org/licenses/gpl.html"><span style=" text-decoration: underline; color:#0000ff;">http://www.gnu.org/licenses/gpl.html</span></a>.</p> -<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:9pt;"></p> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:9pt;">Credits:</p></body></html></string> +</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:9pt;">... is a cross platform compatible GUI for several code formatter, beautifier and indenter like GreatCode, AStyle (Artistic Styler), GNU Indent, BCPP and so on. Main feature is a live preview to directly see how the selected formatting option affects the source code.</span></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:9pt;"><br />Written by : </span><a href="http://www.thomas-schweitzer.de"><span style=" font-family:'MS Shell Dlg 2'; font-size:9pt; text-decoration: underline; color:#0000ff;">Thomas Schweitzer</span></a></p> +<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:9pt;">Project Homepage : </span><a href="http://universalindent.sourceforge.net"><span style=" font-family:'MS Shell Dlg 2'; font-size:9pt; text-decoration: underline; color:#0000ff;">http://universalindent.sourceforge.net</span></a></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:9pt;">License: UniversalIndentGui is released under the GPL 2. For details read the included file LICENSE.GPL visit </span><a href="http://www.gnu.org/licenses/gpl.html"><span style=" font-family:'MS Shell Dlg 2'; font-size:9pt; text-decoration: underline; color:#0000ff;">http://www.gnu.org/licenses/gpl.html</span></a><span style=" font-family:'MS Shell Dlg 2'; font-size:9pt;">.</span></p> +<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:9pt;"></p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'MS Shell Dlg 2'; font-size:9pt;">Credits:</span></p></body></html></string> </property> </widget> </item> <item> - <widget class="QTextBrowser" name="creditsTextBrowser" > - <property name="verticalScrollBarPolicy" > + <widget class="QTextBrowser" name="creditsTextBrowser"> + <property name="verticalScrollBarPolicy"> <enum>Qt::ScrollBarAlwaysOff</enum> </property> </widget> </item> <item> - <layout class="QHBoxLayout" > - <property name="spacing" > + <layout class="QHBoxLayout"> + <property name="spacing"> <number>6</number> </property> - <property name="margin" > + <property name="margin"> <number>0</number> </property> <item> <spacer> - <property name="orientation" > + <property name="orientation"> <enum>Qt::Horizontal</enum> </property> - <property name="sizeHint" stdset="0" > + <property name="sizeHint" stdset="0"> <size> <width>131</width> <height>31</height> @@ -158,21 +159,21 @@ </spacer> </item> <item> - <widget class="QPushButton" name="okButton" > - <property name="styleSheet" > - <string notr="true" >QPushButton#okButton { background-color: qlineargradient( x1:0, y1:0, x2:0, y2:1, stop:0 #DCB28A, stop:0.5 #B8784B, stop:1 #DCB28A ); border: 2px solid #A89C57; border-radius: 4px;} QPushButton:hover#okButton { background-color: qlineargradient( x1:0, y1:0, x2:0, y2:1, stop:0 #B8784B, stop:0.5 #DCB28A, stop:1 #B8784B ); } QPushButton:pressed#okButton{ border: 2px solid #D8CB75 }</string> + <widget class="QPushButton" name="okButton"> + <property name="styleSheet"> + <string notr="true">QPushButton#okButton { background-color: qlineargradient( x1:0, y1:0, x2:0, y2:1, stop:0 #DCB28A, stop:0.5 #B8784B, stop:1 #DCB28A ); border: 2px solid #A89C57; border-radius: 4px;} QPushButton:hover#okButton { background-color: qlineargradient( x1:0, y1:0, x2:0, y2:1, stop:0 #B8784B, stop:0.5 #DCB28A, stop:1 #B8784B ); } QPushButton:pressed#okButton{ border: 2px solid #D8CB75 }</string> </property> - <property name="text" > + <property name="text"> <string> OK </string> </property> </widget> </item> <item> <spacer> - <property name="orientation" > + <property name="orientation"> <enum>Qt::Horizontal</enum> </property> - <property name="sizeHint" stdset="0" > + <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> @@ -188,7 +189,7 @@ </layout> </widget> <resources> - <include location="../resources/Icons.qrc" /> + <include location="../resources/Icons.qrc"/> </resources> <connections> <connection> @@ -197,11 +198,11 @@ <receiver>AboutDialog</receiver> <slot>accept()</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>278</x> <y>253</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>96</x> <y>254</y> </hint>
--- a/src/MainWindow.ui Wed Apr 22 11:03:37 2009 +0000 +++ b/src/MainWindow.ui Wed May 13 09:02:06 2009 +0000 @@ -1,8 +1,9 @@ -<ui version="4.0" > +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> <author>Thomas_-_S</author> <class>MainWindowUi</class> - <widget class="QMainWindow" name="MainWindowUi" > - <property name="geometry" > + <widget class="QMainWindow" name="MainWindowUi"> + <property name="geometry"> <rect> <x>0</x> <y>0</y> @@ -10,150 +11,150 @@ <height>633</height> </rect> </property> - <property name="windowTitle" > + <property name="windowTitle"> <string>UniversalIndentGUI</string> </property> - <property name="windowIcon" > - <iconset resource="../resources/Icons.qrc" > + <property name="windowIcon"> + <iconset resource="../resources/Icons.qrc"> <normaloff>:/mainWindow/universalIndentGUI.svg</normaloff>:/mainWindow/universalIndentGUI.svg</iconset> </property> - <widget class="QWidget" name="centralwidget" > - <layout class="QHBoxLayout" > - <property name="spacing" > + <widget class="QWidget" name="centralwidget"> + <layout class="QHBoxLayout"> + <property name="spacing"> <number>6</number> </property> - <property name="margin" > + <property name="margin"> <number>0</number> </property> <item> - <layout class="QHBoxLayout" > - <property name="spacing" > + <layout class="QHBoxLayout"> + <property name="spacing"> <number>0</number> </property> - <property name="margin" > + <property name="margin"> <number>2</number> </property> </layout> </item> </layout> </widget> - <widget class="QStatusBar" name="statusbar" /> - <widget class="QMenuBar" name="menuBar" > - <property name="geometry" > + <widget class="QStatusBar" name="statusbar"/> + <widget class="QMenuBar" name="menuBar"> + <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>949</width> - <height>21</height> + <height>25</height> </rect> </property> - <widget class="QMenu" name="menuIndenter" > - <property name="title" > + <widget class="QMenu" name="menuIndenter"> + <property name="title"> <string>Indenter</string> </property> </widget> - <widget class="QMenu" name="menuFile" > - <property name="title" > + <widget class="QMenu" name="menuFile"> + <property name="title"> <string>File</string> </property> - <widget class="QMenu" name="menuExport" > - <property name="title" > + <widget class="QMenu" name="menuExport"> + <property name="title"> <string>Export</string> </property> - <addaction name="actionExportPDF" /> - <addaction name="actionExportHTML" /> + <addaction name="actionExportPDF"/> + <addaction name="actionExportHTML"/> </widget> - <widget class="QMenu" name="menuRecently_Opened_Files" > - <property name="title" > + <widget class="QMenu" name="menuRecently_Opened_Files"> + <property name="title"> <string>Recently Opened Files</string> </property> - <addaction name="separator" /> - <addaction name="actionClear_Recently_Opened_List" /> + <addaction name="separator"/> + <addaction name="actionClear_Recently_Opened_List"/> </widget> - <widget class="QMenu" name="encodingMenu" > - <property name="title" > + <widget class="QMenu" name="encodingMenu"> + <property name="title"> <string>Reopen File with other Encoding</string> </property> </widget> - <widget class="QMenu" name="saveEncodedMenu" > - <property name="title" > + <widget class="QMenu" name="saveEncodedMenu"> + <property name="title"> <string>Save Source File As with other Encoding</string> </property> </widget> - <addaction name="actionOpen_Source_File" /> - <addaction name="menuRecently_Opened_Files" /> - <addaction name="encodingMenu" /> - <addaction name="separator" /> - <addaction name="actionSave_Source_File" /> - <addaction name="actionSave_Source_File_As" /> - <addaction name="saveEncodedMenu" /> - <addaction name="separator" /> - <addaction name="menuExport" /> - <addaction name="actionExit" /> + <addaction name="actionOpen_Source_File"/> + <addaction name="menuRecently_Opened_Files"/> + <addaction name="encodingMenu"/> + <addaction name="separator"/> + <addaction name="actionSave_Source_File"/> + <addaction name="actionSave_Source_File_As"/> + <addaction name="saveEncodedMenu"/> + <addaction name="separator"/> + <addaction name="menuExport"/> + <addaction name="actionExit"/> </widget> - <widget class="QMenu" name="menuSettings" > - <property name="title" > + <widget class="QMenu" name="menuSettings"> + <property name="title"> <string>Settings</string> </property> - <widget class="QMenu" name="highlighterMenu" > - <property name="title" > + <widget class="QMenu" name="highlighterMenu"> + <property name="title"> <string>Set Syntax Highlighter</string> </property> </widget> - <addaction name="actionLive_Indent_Preview" /> - <addaction name="enableSyntaxHighlightningAction" /> - <addaction name="whiteSpaceIsVisibleAction" /> - <addaction name="highlighterMenu" /> - <addaction name="indenterParameterTooltipsEnabledAction" /> - <addaction name="loadLastOpenedFileOnStartupAction" /> - <addaction name="actionShowSettings" /> + <addaction name="actionLive_Indent_Preview"/> + <addaction name="enableSyntaxHighlightningAction"/> + <addaction name="whiteSpaceIsVisibleAction"/> + <addaction name="highlighterMenu"/> + <addaction name="indenterParameterTooltipsEnabledAction"/> + <addaction name="loadLastOpenedFileOnStartupAction"/> + <addaction name="actionShowSettings"/> </widget> - <widget class="QMenu" name="menuHelp" > - <property name="title" > + <widget class="QMenu" name="menuHelp"> + <property name="title"> <string>Help</string> </property> - <addaction name="actionCheck_for_update" /> - <addaction name="separator" /> - <addaction name="actionAbout_UniversalIndentGUI" /> + <addaction name="actionCheck_for_update"/> + <addaction name="separator"/> + <addaction name="actionAbout_UniversalIndentGUI"/> </widget> - <addaction name="menuFile" /> - <addaction name="menuIndenter" /> - <addaction name="menuSettings" /> - <addaction name="menuHelp" /> + <addaction name="menuFile"/> + <addaction name="menuIndenter"/> + <addaction name="menuSettings"/> + <addaction name="menuHelp"/> </widget> - <widget class="QDockWidget" name="dockWidget" > - <property name="sizePolicy" > - <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" > + <widget class="QDockWidget" name="dockWidget"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> - <property name="features" > + <property name="features"> <set>QDockWidget::DockWidgetFloatable|QDockWidget::DockWidgetMovable</set> </property> - <property name="allowedAreas" > + <property name="allowedAreas"> <set>Qt::LeftDockWidgetArea|Qt::RightDockWidgetArea</set> </property> - <property name="windowTitle" > + <property name="windowTitle"> <string>Indenter Settings</string> </property> - <attribute name="dockWidgetArea" > + <attribute name="dockWidgetArea"> <number>1</number> </attribute> - <widget class="QWidget" name="dockWidgetContents" > - <layout class="QHBoxLayout" > - <property name="spacing" > + <widget class="QWidget" name="dockWidgetContents"> + <layout class="QHBoxLayout"> + <property name="spacing"> <number>6</number> </property> - <property name="margin" > + <property name="margin"> <number>0</number> </property> <item> - <layout class="QVBoxLayout" > - <property name="spacing" > + <layout class="QVBoxLayout"> + <property name="spacing"> <number>0</number> </property> - <property name="margin" > + <property name="margin"> <number>0</number> </property> </layout> @@ -161,288 +162,294 @@ </layout> </widget> </widget> - <widget class="QToolBar" name="toolBar" > - <property name="contextMenuPolicy" > + <widget class="QToolBar" name="toolBar"> + <property name="contextMenuPolicy"> <enum>Qt::PreventContextMenu</enum> </property> - <property name="windowTitle" > + <property name="windowTitle"> <string>Main Toolbar</string> </property> - <property name="orientation" > + <property name="orientation"> <enum>Qt::Horizontal</enum> </property> - <property name="iconSize" > + <property name="iconSize"> <size> <width>16</width> <height>16</height> </size> </property> - <property name="toolButtonStyle" > + <property name="toolButtonStyle"> <enum>Qt::ToolButtonTextBesideIcon</enum> </property> - <attribute name="toolBarArea" > + <attribute name="toolBarArea"> <enum>TopToolBarArea</enum> </attribute> - <attribute name="toolBarBreak" > + <attribute name="toolBarBreak"> <bool>false</bool> </attribute> </widget> - <action name="actionOpen_Source_File" > - <property name="icon" > - <iconset resource="../resources/Icons.qrc" > + <action name="actionOpen_Source_File"> + <property name="icon"> + <iconset resource="../resources/Icons.qrc"> <normaloff>:/mainWindow/document-open.png</normaloff>:/mainWindow/document-open.png</iconset> </property> - <property name="text" > + <property name="text"> <string>Open Source File</string> </property> - <property name="statusTip" > + <property name="statusTip"> <string>Opens a dialog for selecting a source code file.</string> </property> - <property name="shortcut" > + <property name="shortcut"> <string>Ctrl+O</string> </property> </action> - <action name="actionSave_Source_File" > - <property name="icon" > - <iconset resource="../resources/Icons.qrc" > + <action name="actionSave_Source_File"> + <property name="icon"> + <iconset resource="../resources/Icons.qrc"> <normaloff>:/mainWindow/document-save.png</normaloff>:/mainWindow/document-save.png</iconset> </property> - <property name="text" > + <property name="text"> <string>Save Source File</string> </property> - <property name="statusTip" > + <property name="statusTip"> <string>Saves the currently shown source code to the last opened or saved source file.</string> </property> - <property name="shortcut" > + <property name="shortcut"> <string>Ctrl+S</string> </property> </action> - <action name="actionSave_Source_File_As" > - <property name="icon" > - <iconset resource="../resources/Icons.qrc" > + <action name="actionSave_Source_File_As"> + <property name="icon"> + <iconset resource="../resources/Icons.qrc"> <normaloff>:/mainWindow/document-save-as.png</normaloff>:/mainWindow/document-save-as.png</iconset> </property> - <property name="text" > - <string>Save Source File As</string> + <property name="text"> + <string>Save Source File As...</string> </property> - <property name="statusTip" > + <property name="iconText"> + <string>Save Source File As...</string> + </property> + <property name="toolTip"> + <string>Save Source File As...</string> + </property> + <property name="statusTip"> <string>Opens a file dialog to save the currently shown source code.</string> </property> - <property name="shortcut" > + <property name="shortcut"> <string>Ctrl+Shift+S</string> </property> </action> - <action name="actionAbout_UniversalIndentGUI" > - <property name="icon" > - <iconset resource="../resources/Icons.qrc" > + <action name="actionAbout_UniversalIndentGUI"> + <property name="icon"> + <iconset resource="../resources/Icons.qrc"> <normaloff>:/mainWindow/info.png</normaloff>:/mainWindow/info.png</iconset> </property> - <property name="text" > + <property name="text"> <string>About UniversalIndentGUI</string> </property> - <property name="statusTip" > + <property name="statusTip"> <string>Shows info about UniversalIndentGUI.</string> </property> </action> - <action name="actionExit" > - <property name="icon" > - <iconset resource="../resources/Icons.qrc" > + <action name="actionExit"> + <property name="icon"> + <iconset resource="../resources/Icons.qrc"> <normaloff>:/mainWindow/system-log-out.png</normaloff>:/mainWindow/system-log-out.png</iconset> </property> - <property name="text" > + <property name="text"> <string>Exit</string> </property> - <property name="statusTip" > + <property name="statusTip"> <string>Quits the UniversalIndentGUI.</string> </property> - <property name="shortcut" > + <property name="shortcut"> <string>Ctrl+Q</string> </property> </action> - <action name="actionExportPDF" > - <property name="icon" > - <iconset resource="../resources/Icons.qrc" > + <action name="actionExportPDF"> + <property name="icon"> + <iconset resource="../resources/Icons.qrc"> <normaloff>:/mainWindow/exportpdf.png</normaloff>:/mainWindow/exportpdf.png</iconset> </property> - <property name="text" > + <property name="text"> <string>PDF</string> </property> - <property name="statusTip" > + <property name="statusTip"> <string>Export the currently visible source code as PDF document</string> </property> </action> - <action name="actionExportHTML" > - <property name="icon" > - <iconset resource="../resources/Icons.qrc" > + <action name="actionExportHTML"> + <property name="icon"> + <iconset resource="../resources/Icons.qrc"> <normaloff>:/mainWindow/exporthtml.png</normaloff>:/mainWindow/exporthtml.png</iconset> </property> - <property name="text" > + <property name="text"> <string>HTML</string> </property> - <property name="statusTip" > + <property name="statusTip"> <string>Export the currently visible source code as HTML document</string> </property> </action> - <action name="indenterParameterTooltipsEnabledAction" > - <property name="checkable" > + <action name="indenterParameterTooltipsEnabledAction"> + <property name="checkable"> <bool>true</bool> </property> - <property name="checked" > + <property name="checked"> <bool>true</bool> </property> - <property name="icon" > - <iconset resource="../resources/Icons.qrc" > + <property name="icon"> + <iconset resource="../resources/Icons.qrc"> <normaloff>:/mainWindow/tooltip.png</normaloff>:/mainWindow/tooltip.png</iconset> </property> - <property name="text" > + <property name="text"> <string>Parameter Tooltips</string> </property> - <property name="statusTip" > + <property name="statusTip"> <string>If checked, tool tips will show up if the mouse cursor remains over an indenter parameter for a while.</string> </property> - <property name="connectedSettingName" stdset="0" > + <property name="connectedSettingName" stdset="0"> <string>DONOTTRANSLATE:IndenterParameterTooltipsEnabled</string> </property> </action> - <action name="actionLive_Indent_Preview" > - <property name="checkable" > + <action name="actionLive_Indent_Preview"> + <property name="checkable"> <bool>true</bool> </property> - <property name="icon" > - <iconset resource="../resources/Icons.qrc" > + <property name="icon"> + <iconset resource="../resources/Icons.qrc"> <normaloff>:/mainWindow/live-preview.png</normaloff>:/mainWindow/live-preview.png</iconset> </property> - <property name="text" > + <property name="text"> <string>Live Indent Preview</string> </property> - <property name="shortcut" > + <property name="shortcut"> <string>Ctrl+L</string> </property> - <property name="visible" > + <property name="visible"> <bool>false</bool> </property> </action> - <action name="enableSyntaxHighlightningAction" > - <property name="checkable" > + <action name="enableSyntaxHighlightningAction"> + <property name="checkable"> <bool>true</bool> </property> - <property name="checked" > + <property name="checked"> <bool>true</bool> </property> - <property name="icon" > - <iconset resource="../resources/Icons.qrc" > + <property name="icon"> + <iconset resource="../resources/Icons.qrc"> <normaloff>:/mainWindow/syntax-highlight.png</normaloff>:/mainWindow/syntax-highlight.png</iconset> </property> - <property name="text" > + <property name="text"> <string>Syntax Highlighting</string> </property> - <property name="iconText" > + <property name="iconText"> <string>Syntax Highlighting</string> </property> - <property name="toolTip" > + <property name="toolTip"> <string>Enables or disables syntax highlighting for the source code.</string> </property> - <property name="statusTip" > + <property name="statusTip"> <string>By enabling special key words of the source code are highlighted.</string> </property> - <property name="shortcut" > + <property name="shortcut"> <string>Ctrl+H</string> </property> - <property name="connectedSettingName" stdset="0" > + <property name="connectedSettingName" stdset="0"> <string>DONOTTRANSLATE:SyntaxHighlightningEnabled</string> </property> </action> - <action name="whiteSpaceIsVisibleAction" > - <property name="checkable" > + <action name="whiteSpaceIsVisibleAction"> + <property name="checkable"> <bool>true</bool> </property> - <property name="text" > + <property name="text"> <string>White Space Visible</string> </property> - <property name="iconText" > + <property name="iconText"> <string>White Space Visible</string> </property> - <property name="toolTip" > + <property name="toolTip"> <string>Set white space visible</string> </property> - <property name="statusTip" > + <property name="statusTip"> <string>Enables or disables diplaying of white space characters in the editor.</string> </property> - <property name="visible" > + <property name="visible"> <bool>false</bool> </property> - <property name="connectedSettingName" stdset="0" > + <property name="connectedSettingName" stdset="0"> <string>DONOTTRANSLATE:WhiteSpaceIsVisible</string> </property> </action> - <action name="loadLastOpenedFileOnStartupAction" > - <property name="checkable" > + <action name="loadLastOpenedFileOnStartupAction"> + <property name="checkable"> <bool>true</bool> </property> - <property name="checked" > + <property name="checked"> <bool>true</bool> </property> - <property name="text" > + <property name="text"> <string>Auto Open Last File</string> </property> - <property name="toolTip" > + <property name="toolTip"> <string>Auto open last source file on startup</string> </property> - <property name="statusTip" > + <property name="statusTip"> <string>If selected opens last source code file on startup</string> </property> - <property name="visible" > + <property name="visible"> <bool>false</bool> </property> - <property name="connectedSettingName" stdset="0" > + <property name="connectedSettingName" stdset="0"> <string>DONOTTRANSLATE:LoadLastOpenedFileOnStartup</string> </property> </action> - <action name="actionShowSettings" > - <property name="icon" > - <iconset resource="../resources/Icons.qrc" > + <action name="actionShowSettings"> + <property name="icon"> + <iconset resource="../resources/Icons.qrc"> <normaloff>:/mainWindow/preferences-system.png</normaloff>:/mainWindow/preferences-system.png</iconset> </property> - <property name="text" > + <property name="text"> <string>Settings</string> </property> - <property name="iconText" > + <property name="iconText"> <string>Settings</string> </property> - <property name="toolTip" > + <property name="toolTip"> <string>Opens the settings dialog</string> </property> - <property name="statusTip" > + <property name="statusTip"> <string>Opens the settings dialog, to set language etc.</string> </property> </action> - <action name="actionCheck_for_update" > - <property name="icon" > - <iconset resource="../resources/Icons.qrc" > + <action name="actionCheck_for_update"> + <property name="icon"> + <iconset resource="../resources/Icons.qrc"> <normaloff>:/mainWindow/system-software-update.png</normaloff>:/mainWindow/system-software-update.png</iconset> </property> - <property name="text" > + <property name="text"> <string>Check for update</string> </property> - <property name="toolTip" > + <property name="toolTip"> <string>Checks online whether a new version of UniversalIndentGUI is available.</string> </property> - <property name="statusTip" > + <property name="statusTip"> <string>Checks online whether a new version of UniversalIndentGUI is available.</string> </property> </action> - <action name="actionClear_Recently_Opened_List" > - <property name="icon" > - <iconset resource="../resources/Icons.qrc" > + <action name="actionClear_Recently_Opened_List"> + <property name="icon"> + <iconset resource="../resources/Icons.qrc"> <normaloff>:/mainWindow/edit-clear.png</normaloff>:/mainWindow/edit-clear.png</iconset> </property> - <property name="text" > + <property name="text"> <string>Clear Recently Opened List</string> </property> </action> </widget> <resources> - <include location="../resources/Icons.qrc" /> + <include location="../resources/Icons.qrc"/> </resources> <connections> <connection> @@ -451,11 +458,11 @@ <receiver>MainWindowUi</receiver> <slot>close()</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>-1</x> <y>-1</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>399</x> <y>299</y> </hint>
--- a/src/ToolBarWidget.ui Wed Apr 22 11:03:37 2009 +0000 +++ b/src/ToolBarWidget.ui Wed May 13 09:02:06 2009 +0000 @@ -1,84 +1,85 @@ -<ui version="4.0" > - <class>ToolBarWidget</class> - <widget class="QWidget" name="toolBarWidget" > - <property name="geometry" > +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>toolBarWidget</class> + <widget class="QWidget" name="toolBarWidget"> + <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>775</width> - <height>32</height> + <height>34</height> </rect> </property> - <property name="windowTitle" > + <property name="windowTitle"> <string>Form</string> </property> - <layout class="QHBoxLayout" > - <property name="spacing" > + <layout class="QHBoxLayout"> + <property name="spacing"> <number>6</number> </property> - <property name="margin" > + <property name="margin"> <number>0</number> </property> <item> - <widget class="QPushButton" name="pbOpen_Source_File" > - <property name="toolTip" > - <string><html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Opens a dialog for selecting a source code file.</span></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;">This file will be used to show what the indent tool changes.</p></body></html></string> + <widget class="QPushButton" name="pbOpen_Source_File"> + <property name="toolTip"> + <string><html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Opens a dialog for selecting a source code file.</span></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;">This file will be used to show what the indent tool changes.</p></body></html></string> </property> - <property name="text" > - <string> Open Source File </string> + <property name="text"> + <string>Open Source File </string> </property> - <property name="icon" > - <iconset resource="../resources/Icons.qrc" > + <property name="icon"> + <iconset resource="../resources/Icons.qrc"> <normaloff>:/mainWindow/document-open.png</normaloff>:/mainWindow/document-open.png</iconset> </property> </widget> </item> <item> - <widget class="QCheckBox" name="cbLivePreview" > - <property name="toolTip" > - <string><html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:MS Shell Dlg; font-size:8pt;">Turns the preview of the reformatted source code on and off.</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:MS Shell Dlg; font-size:8pt;">In other words it switches between formatted and nonformatted code. (Ctrl+L)</p></body></html></string> + <widget class="QCheckBox" name="cbLivePreview"> + <property name="toolTip"> + <string><html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:MS Shell Dlg; font-size:8pt;">Turns the preview of the reformatted source code on and off.</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:MS Shell Dlg; font-size:8pt;">In other words it switches between formatted and nonformatted code. (Ctrl+L)</p></body></html></string> </property> - <property name="text" > + <property name="text"> <string>Live Indent Preview</string> </property> - <property name="icon" > - <iconset resource="../resources/Icons.qrc" > + <property name="icon"> + <iconset resource="../resources/Icons.qrc"> <normaloff>:/mainWindow/live-preview.png</normaloff>:/mainWindow/live-preview.png</iconset> </property> - <property name="shortcut" > + <property name="shortcut"> <string>Ctrl+L</string> </property> </widget> </item> <item> - <widget class="QCheckBox" name="enableSyntaxHighlightningCheckBox" > - <property name="toolTip" > - <string><html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:MS Shell Dlg; font-size:8pt;">Enables and disables the highlightning of the source</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:MS Shell Dlg; font-size:8pt;">code shown below. (Still needs some performance improvements) (Ctrl+H)</p></body></html></string> + <widget class="QCheckBox" name="enableSyntaxHighlightningCheckBox"> + <property name="toolTip"> + <string><html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:MS Shell Dlg; font-size:8pt;">Enables and disables the highlightning of the source</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:MS Shell Dlg; font-size:8pt;">code shown below. (Still needs some performance improvements) (Ctrl+H)</p></body></html></string> </property> - <property name="text" > + <property name="text"> <string>Syntax Highlight</string> </property> - <property name="icon" > - <iconset resource="../resources/Icons.qrc" > + <property name="icon"> + <iconset resource="../resources/Icons.qrc"> <normaloff>:/mainWindow/syntax-highlight.png</normaloff>:/mainWindow/syntax-highlight.png</iconset> </property> - <property name="shortcut" > + <property name="shortcut"> <string>Ctrl+H</string> </property> - <property name="checked" > + <property name="checked"> <bool>true</bool> </property> - <property name="connectedSettingName" stdset="0" > + <property name="connectedSettingName" stdset="0"> <string>DONOTTRANSLATE:SyntaxHighlightningEnabled</string> </property> </widget> </item> <item> <spacer> - <property name="orientation" > + <property name="orientation"> <enum>Qt::Horizontal</enum> </property> - <property name="sizeHint" stdset="0" > + <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> @@ -87,29 +88,29 @@ </spacer> </item> <item> - <widget class="QPushButton" name="pbAbout" > - <property name="toolTip" > - <string><html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Shows info about UniversalIndentGUI</p></body></html></string> + <widget class="QPushButton" name="pbAbout"> + <property name="toolTip"> + <string><html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Shows info about UniversalIndentGUI</p></body></html></string> </property> - <property name="text" > + <property name="text"> <string>About</string> </property> - <property name="icon" > - <iconset resource="../resources/Icons.qrc" > + <property name="icon"> + <iconset resource="../resources/Icons.qrc"> <normaloff>:/mainWindow/info.png</normaloff>:/mainWindow/info.png</iconset> </property> </widget> </item> <item> - <widget class="QPushButton" name="pbExit" > - <property name="toolTip" > - <string><html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Quits the UniversalIndentGUI</p></body></html></string> + <widget class="QPushButton" name="pbExit"> + <property name="toolTip"> + <string><html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Quits the UniversalIndentGUI</p></body></html></string> </property> - <property name="text" > + <property name="text"> <string>Exit</string> </property> - <property name="icon" > - <iconset resource="../resources/Icons.qrc" > + <property name="icon"> + <iconset resource="../resources/Icons.qrc"> <normaloff>:/mainWindow/system-log-out.png</normaloff>:/mainWindow/system-log-out.png</iconset> </property> </widget> @@ -117,7 +118,7 @@ </layout> </widget> <resources> - <include location="../resources/Icons.qrc" /> + <include location="../resources/Icons.qrc"/> </resources> <connections/> </ui>
--- a/src/UiGuiSettingsDialog.ui Wed Apr 22 11:03:37 2009 +0000 +++ b/src/UiGuiSettingsDialog.ui Wed May 13 09:02:06 2009 +0000 @@ -1,10 +1,11 @@ -<ui version="4.0" > +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> <class>SettingsDialog</class> - <widget class="QDialog" name="SettingsDialog" > - <property name="windowModality" > + <widget class="QDialog" name="SettingsDialog"> + <property name="windowModality"> <enum>Qt::ApplicationModal</enum> </property> - <property name="geometry" > + <property name="geometry"> <rect> <x>0</x> <y>0</y> @@ -12,83 +13,83 @@ <height>285</height> </rect> </property> - <property name="windowTitle" > + <property name="windowTitle"> <string>Settings</string> </property> - <property name="windowIcon" > - <iconset resource="../resources/Icons.qrc" > + <property name="windowIcon"> + <iconset resource="../resources/Icons.qrc"> <normaloff>:/mainWindow/preferences-system.png</normaloff>:/mainWindow/preferences-system.png</iconset> </property> - <layout class="QVBoxLayout" > - <property name="spacing" > + <layout class="QVBoxLayout"> + <property name="spacing"> <number>6</number> </property> - <property name="margin" > + <property name="margin"> <number>9</number> </property> <item> - <widget class="QTabWidget" name="tabWidget" > - <property name="currentIndex" > + <widget class="QTabWidget" name="tabWidget"> + <property name="currentIndex"> <number>0</number> </property> - <widget class="QWidget" name="tab" > - <attribute name="title" > + <widget class="QWidget" name="tab"> + <attribute name="icon"> + <iconset resource="../resources/Icons.qrc"> + <normaloff>:/settingsDialog/applications-system.png</normaloff>:/settingsDialog/applications-system.png</iconset> + </attribute> + <attribute name="title"> <string>Common</string> </attribute> - <attribute name="icon" > - <iconset resource="../resources/Icons.qrc" > - <normaloff>:/settingsDialog/applications-system.png</normaloff>:/settingsDialog/applications-system.png</iconset> - </attribute> - <layout class="QVBoxLayout" > - <property name="spacing" > + <layout class="QVBoxLayout"> + <property name="spacing"> <number>6</number> </property> - <property name="margin" > + <property name="margin"> <number>9</number> </property> <item> - <layout class="QHBoxLayout" > - <property name="spacing" > + <layout class="QHBoxLayout"> + <property name="spacing"> <number>6</number> </property> - <property name="margin" > + <property name="margin"> <number>0</number> </property> <item> - <widget class="QLabel" name="label" > - <property name="toolTip" > + <widget class="QLabel" name="label"> + <property name="toolTip"> <string>Displays all available translations for UniversalIndentGui and lets you choose one.</string> </property> - <property name="text" > + <property name="text"> <string>Application language</string> </property> - <property name="buddy" > + <property name="buddy"> <cstring>uiGuiLanguageSelectionComboBox</cstring> </property> </widget> </item> <item> - <widget class="QComboBox" name="uiGuiLanguageSelectionComboBox" > - <property name="sizePolicy" > - <sizepolicy vsizetype="Fixed" hsizetype="Fixed" > + <widget class="QComboBox" name="uiGuiLanguageSelectionComboBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> - <property name="toolTip" > + <property name="toolTip"> <string>Displays all available translations for UniversalIndentGui and lets you choose one.</string> </property> - <property name="connectedSettingName" stdset="0" > + <property name="connectedSettingName" stdset="0"> <string>DONOTTRANSLATE:Language</string> </property> </widget> </item> <item> <spacer> - <property name="orientation" > + <property name="orientation"> <enum>Qt::Horizontal</enum> </property> - <property name="sizeHint" stdset="0" > + <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> @@ -99,80 +100,80 @@ </layout> </item> <item> - <widget class="QCheckBox" name="uiGuiLoadLastOpenedFileOnStartupComboBox" > - <property name="toolTip" > + <widget class="QCheckBox" name="uiGuiLoadLastOpenedFileOnStartupComboBox"> + <property name="toolTip"> <string>If selected opens the source code file on startup that was opened last time.</string> </property> - <property name="text" > + <property name="text"> <string>Automatically open last file on startup</string> </property> - <property name="connectedSettingName" stdset="0" > + <property name="connectedSettingName" stdset="0"> <string>DONOTTRANSLATE:LoadLastOpenedFileOnStartup</string> </property> </widget> </item> <item> - <widget class="QCheckBox" name="uiGuiEnableIndenterParameterTooltipsCheckBox" > - <property name="toolTip" > + <widget class="QCheckBox" name="uiGuiEnableIndenterParameterTooltipsCheckBox"> + <property name="toolTip"> <string>If checked, tool tips will show up if the mouse cursor remains over an indenter parameter for a while.</string> </property> - <property name="text" > + <property name="text"> <string>Enable Parameter Tooltips</string> </property> - <property name="connectedSettingName" stdset="0" > + <property name="connectedSettingName" stdset="0"> <string>DONOTTRANSLATE:IndenterParameterTooltipsEnabled</string> </property> </widget> </item> <item> - <layout class="QHBoxLayout" > - <property name="spacing" > + <layout class="QHBoxLayout"> + <property name="spacing"> <number>6</number> </property> - <property name="margin" > + <property name="margin"> <number>0</number> </property> <item> - <widget class="QLabel" name="labelRecentlyOpenedListSize" > - <property name="toolTip" > + <widget class="QLabel" name="labelRecentlyOpenedListSize"> + <property name="toolTip"> <string>Sets how many files should be remembered in the list of recently opened files.</string> </property> - <property name="text" > + <property name="text"> <string>Number of files in recently opened list</string> </property> </widget> </item> <item> - <widget class="QSpinBox" name="uiGuiRecentlyOpenedListSizeSpinBox" > - <property name="sizePolicy" > - <sizepolicy vsizetype="Fixed" hsizetype="Fixed" > + <widget class="QSpinBox" name="uiGuiRecentlyOpenedListSizeSpinBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> - <property name="toolTip" > + <property name="toolTip"> <string>Sets how many files should be remembered in the list of recently opened files.</string> </property> - <property name="minimum" > + <property name="minimum"> <number>1</number> </property> - <property name="maximum" > + <property name="maximum"> <number>30</number> </property> - <property name="value" > + <property name="value"> <number>1</number> </property> - <property name="connectedSettingName" stdset="0" > + <property name="connectedSettingName" stdset="0"> <string>DONOTTRANSLATE:RecentlyOpenedListSize</string> </property> </widget> </item> <item> <spacer> - <property name="orientation" > + <property name="orientation"> <enum>Qt::Horizontal</enum> </property> - <property name="sizeHint" stdset="0" > + <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> @@ -183,24 +184,24 @@ </layout> </item> <item> - <widget class="QCheckBox" name="uiGuiCheckForUpdateCheckBox" > - <property name="toolTip" > + <widget class="QCheckBox" name="uiGuiCheckForUpdateCheckBox"> + <property name="toolTip"> <string>Checks whether a new version of UniversalIndentGUI exists on program start, but only once a day.</string> </property> - <property name="text" > + <property name="text"> <string>Check online for update on program start</string> </property> - <property name="connectedSettingName" stdset="0" > + <property name="connectedSettingName" stdset="0"> <string>DONOTTRANSLATE:CheckForUpdate</string> </property> </widget> </item> <item> <spacer> - <property name="orientation" > + <property name="orientation"> <enum>Qt::Vertical</enum> </property> - <property name="sizeHint" stdset="0" > + <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> @@ -210,86 +211,86 @@ </item> </layout> </widget> - <widget class="QWidget" name="tab_2" > - <attribute name="title" > + <widget class="QWidget" name="tab_2"> + <attribute name="icon"> + <iconset resource="../resources/Icons.qrc"> + <normaloff>:/settingsDialog/accessories-text-editor.png</normaloff>:/settingsDialog/accessories-text-editor.png</iconset> + </attribute> + <attribute name="title"> <string>Editor</string> </attribute> - <attribute name="icon" > - <iconset resource="../resources/Icons.qrc" > - <normaloff>:/settingsDialog/accessories-text-editor.png</normaloff>:/settingsDialog/accessories-text-editor.png</iconset> - </attribute> - <layout class="QVBoxLayout" > - <property name="spacing" > + <layout class="QVBoxLayout"> + <property name="spacing"> <number>6</number> </property> - <property name="margin" > + <property name="margin"> <number>9</number> </property> <item> - <widget class="QCheckBox" name="uiGuiWhiteSpaceIsVisibleCheckBox" > - <property name="toolTip" > + <widget class="QCheckBox" name="uiGuiWhiteSpaceIsVisibleCheckBox"> + <property name="toolTip"> <string>Enables or disables displaying of white space characters in the editor.</string> </property> - <property name="text" > + <property name="text"> <string>Display white space character (tabs, spaces, etc.)</string> </property> - <property name="connectedSettingName" stdset="0" > + <property name="connectedSettingName" stdset="0"> <string>DONOTTRANSLATE:WhiteSpaceIsVisible</string> </property> </widget> </item> <item> - <layout class="QHBoxLayout" > - <property name="spacing" > + <layout class="QHBoxLayout"> + <property name="spacing"> <number>6</number> </property> - <property name="margin" > + <property name="margin"> <number>0</number> </property> <item> - <widget class="QLabel" name="labelTabWidth" > - <property name="toolTip" > + <widget class="QLabel" name="labelTabWidth"> + <property name="toolTip"> <string>Sets width in single spaces used for tabs</string> </property> - <property name="statusTip" > + <property name="statusTip"> <string>Defines how many spaces should be displayed in the editor for one tab.</string> </property> - <property name="text" > + <property name="text"> <string>Displayed width of tabs</string> </property> </widget> </item> <item> - <widget class="QSpinBox" name="uiGuiTabWidthSpinBox" > - <property name="sizePolicy" > - <sizepolicy vsizetype="Fixed" hsizetype="Fixed" > + <widget class="QSpinBox" name="uiGuiTabWidthSpinBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> - <property name="toolTip" > + <property name="toolTip"> <string>Defines how many spaces should be displayed in the editor for one tab character.</string> </property> - <property name="minimum" > + <property name="minimum"> <number>1</number> </property> - <property name="maximum" > + <property name="maximum"> <number>99</number> </property> - <property name="value" > + <property name="value"> <number>1</number> </property> - <property name="connectedSettingName" stdset="0" > + <property name="connectedSettingName" stdset="0"> <string>DONOTTRANSLATE:TabWidth</string> </property> </widget> </item> <item> <spacer> - <property name="orientation" > + <property name="orientation"> <enum>Qt::Horizontal</enum> </property> - <property name="sizeHint" stdset="0" > + <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> @@ -301,10 +302,10 @@ </item> <item> <spacer> - <property name="orientation" > + <property name="orientation"> <enum>Qt::Vertical</enum> </property> - <property name="sizeHint" stdset="0" > + <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> @@ -314,100 +315,100 @@ </item> </layout> </widget> - <widget class="QWidget" name="tab_3" > - <attribute name="title" > + <widget class="QWidget" name="tab_3"> + <attribute name="icon"> + <iconset resource="../resources/Icons.qrc"> + <normaloff>:/settingsDialog/syntax-highlight.png</normaloff>:/settingsDialog/syntax-highlight.png</iconset> + </attribute> + <attribute name="title"> <string>Syntax Highlighting</string> </attribute> - <attribute name="icon" > - <iconset resource="../resources/Icons.qrc" > - <normaloff>:/settingsDialog/syntax-highlight.png</normaloff>:/settingsDialog/syntax-highlight.png</iconset> - </attribute> - <layout class="QVBoxLayout" > - <property name="spacing" > + <layout class="QVBoxLayout"> + <property name="spacing"> <number>6</number> </property> - <property name="margin" > + <property name="margin"> <number>9</number> </property> <item> - <widget class="QCheckBox" name="uiGuiEnableSyntaxHighlightningCheckBox" > - <property name="toolTip" > + <widget class="QCheckBox" name="uiGuiEnableSyntaxHighlightningCheckBox"> + <property name="toolTip"> <string>By enabling special key words of the source code are highlighted.</string> </property> - <property name="text" > + <property name="text"> <string>Enable syntax highlighting</string> </property> - <property name="connectedSettingName" stdset="0" > + <property name="connectedSettingName" stdset="0"> <string>DONOTTRANSLATE:SyntaxHighlightningEnabled</string> </property> </widget> </item> <item> - <widget class="QGroupBox" name="groupBoxSyntaxHighlighterProperties" > - <property name="enabled" > + <widget class="QGroupBox" name="groupBoxSyntaxHighlighterProperties"> + <property name="enabled"> <bool>false</bool> </property> - <property name="toolTip" > + <property name="toolTip"> <string>Lets you make settings for all properties of the available syntax highlighters, like font and color.</string> </property> - <property name="title" > + <property name="title"> <string>Highlighter settings</string> </property> - <layout class="QHBoxLayout" > - <property name="spacing" > + <layout class="QHBoxLayout"> + <property name="spacing"> <number>6</number> </property> - <property name="margin" > + <property name="margin"> <number>9</number> </property> <item> - <widget class="QListWidget" name="listWidget" > - <property name="currentRow" > + <widget class="QListWidget" name="listWidget"> + <property name="currentRow"> <number>-1</number> </property> </widget> </item> <item> - <widget class="QListWidget" name="listWidget_2" > - <property name="currentRow" > + <widget class="QListWidget" name="listWidget_2"> + <property name="currentRow"> <number>-1</number> </property> </widget> </item> <item> - <layout class="QVBoxLayout" > - <property name="spacing" > + <layout class="QVBoxLayout"> + <property name="spacing"> <number>6</number> </property> - <property name="margin" > + <property name="margin"> <number>0</number> </property> <item> - <widget class="QPushButton" name="pushButton_2" > - <property name="toolTip" > + <widget class="QPushButton" name="pushButton_2"> + <property name="toolTip"> <string>Set the font for the current selected highlighter property.</string> </property> - <property name="text" > + <property name="text"> <string>Set Font</string> </property> </widget> </item> <item> - <widget class="QPushButton" name="pushButton" > - <property name="toolTip" > + <widget class="QPushButton" name="pushButton"> + <property name="toolTip"> <string>Set the color for the current selected highlighter property.</string> </property> - <property name="text" > + <property name="text"> <string>Set Color</string> </property> </widget> </item> <item> <spacer> - <property name="orientation" > + <property name="orientation"> <enum>Qt::Vertical</enum> </property> - <property name="sizeHint" stdset="0" > + <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> @@ -422,10 +423,10 @@ </item> <item> <spacer> - <property name="orientation" > + <property name="orientation"> <enum>Qt::Vertical</enum> </property> - <property name="sizeHint" stdset="0" > + <property name="sizeHint" stdset="0"> <size> <width>20</width> <height>40</height> @@ -438,11 +439,11 @@ </widget> </item> <item> - <widget class="QDialogButtonBox" name="buttonBox" > - <property name="orientation" > + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="orientation"> <enum>Qt::Horizontal</enum> </property> - <property name="standardButtons" > + <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> @@ -450,7 +451,7 @@ </layout> </widget> <resources> - <include location="../resources/Icons.qrc" /> + <include location="../resources/Icons.qrc"/> </resources> <connections> <connection> @@ -459,11 +460,11 @@ <receiver>SettingsDialog</receiver> <slot>accept()</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>244</x> <y>224</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>153</x> <y>236</y> </hint> @@ -475,11 +476,11 @@ <receiver>SettingsDialog</receiver> <slot>reject()</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>321</x> <y>227</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>282</x> <y>236</y> </hint>
--- a/src/UpdateCheckDialog.ui Wed Apr 22 11:03:37 2009 +0000 +++ b/src/UpdateCheckDialog.ui Wed May 13 09:02:06 2009 +0000 @@ -1,44 +1,45 @@ -<ui version="4.0" > +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> <class>UpdateCheckDialog</class> - <widget class="QDialog" name="UpdateCheckDialog" > - <property name="windowModality" > + <widget class="QDialog" name="UpdateCheckDialog"> + <property name="windowModality"> <enum>Qt::WindowModal</enum> </property> - <property name="geometry" > + <property name="geometry"> <rect> <x>0</x> <y>0</y> - <width>317</width> - <height>91</height> + <width>322</width> + <height>108</height> </rect> </property> - <property name="windowTitle" > + <property name="windowTitle"> <string>Checking for update...</string> </property> - <layout class="QVBoxLayout" > + <layout class="QVBoxLayout"> <item> - <widget class="QLabel" name="label" > - <property name="text" > + <widget class="QLabel" name="label"> + <property name="text"> <string>Checking whether a newer version is available</string> </property> </widget> </item> <item> - <widget class="QProgressBar" name="progressBar" > - <property name="value" > + <widget class="QProgressBar" name="progressBar"> + <property name="value"> <number>0</number> </property> - <property name="textVisible" > + <property name="textVisible"> <bool>false</bool> </property> </widget> </item> <item> - <widget class="QDialogButtonBox" name="buttonBox" > - <property name="standardButtons" > + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="standardButtons"> <set>QDialogButtonBox::Cancel</set> </property> - <property name="centerButtons" > + <property name="centerButtons"> <bool>true</bool> </property> </widget>