view src/toolBarWidget.ui @ 468:61ae1529b238

Limited the size of the combobox showing the indenters because with the supported programming languages in the name, the comobox was to large in width. git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@705 59b1889a-e5ac-428c-b0c7-476e01d41282
author thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
date Mon, 26 May 2008 12:26:19 +0000
parents b565c309f215
children e9038a8e8e1f
line wrap: on
line source

<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>
   </rect>
  </property>
  <property name="windowTitle" >
   <string>Form</string>
  </property>
  <layout class="QHBoxLayout" >
   <property name="spacing" >
    <number>6</number>
   </property>
   <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="QPushButton" name="pbOpen_Source_File" >
     <property name="toolTip" >
      <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-size:8pt;">Opens a dialog for selecting a source code file.&lt;/span>&lt;/p>&lt;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.&lt;/p>&lt;/body>&lt;/html></string>
     </property>
     <property name="text" >
      <string> Open Source File </string>
     </property>
     <property name="icon" >
      <iconset resource="../resources/Icons.qrc" >:/mainWindow/document-open.png</iconset>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QComboBox" name="cmbBoxIndenters" >
     <property name="toolTip" >
      <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Shows the currently chosen indenters name and lets you choose other available indenters&lt;/p>&lt;/body>&lt;/html></string>
     </property>
     <property name="sizeAdjustPolicy" >
      <enum>QComboBox::AdjustToMinimumContentsLengthWithIcon</enum>
     </property>
     <property name="minimumContentsLength" >
      <number>20</number>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QToolButton" name="indenterManualButton" >
     <property name="toolTip" >
      <string>Brings you to the online manual of the currently selected indenter, where you can get further help on the possible parameters.</string>
     </property>
     <property name="icon" >
      <iconset resource="../resources/Icons.qrc" >:/mainWindow/help.png</iconset>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QCheckBox" name="cbLivePreview" >
     <property name="toolTip" >
      <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;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;">&lt;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.&lt;/p>&lt;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)&lt;/p>&lt;/body>&lt;/html></string>
     </property>
     <property name="text" >
      <string>Live Indent Preview</string>
     </property>
     <property name="icon" >
      <iconset resource="../resources/Icons.qrc" >:/mainWindow/live-preview.png</iconset>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QCheckBox" name="uiGuiSyntaxHighlightningEnabled" >
     <property name="toolTip" >
      <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;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;">&lt;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&lt;/p>&lt;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) (Strg+H)&lt;/p>&lt;/body>&lt;/html></string>
     </property>
     <property name="text" >
      <string>Syntax Highlight</string>
     </property>
     <property name="icon" >
      <iconset resource="../resources/Icons.qrc" >:/mainWindow/syntax-highlight.png</iconset>
     </property>
     <property name="shortcut" >
      <string>Ctrl+H</string>
     </property>
     <property name="checked" >
      <bool>true</bool>
     </property>
    </widget>
   </item>
   <item>
    <spacer>
     <property name="orientation" >
      <enum>Qt::Horizontal</enum>
     </property>
     <property name="sizeHint" >
      <size>
       <width>40</width>
       <height>20</height>
      </size>
     </property>
    </spacer>
   </item>
   <item>
    <widget class="QPushButton" name="pbAbout" >
     <property name="toolTip" >
      <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;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&lt;/p>&lt;/body>&lt;/html></string>
     </property>
     <property name="text" >
      <string>About</string>
     </property>
     <property name="icon" >
      <iconset resource="../resources/Icons.qrc" >:/mainWindow/info.png</iconset>
     </property>
    </widget>
   </item>
   <item>
    <widget class="QPushButton" name="pbExit" >
     <property name="toolTip" >
      <string>&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;/head>&lt;body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-size:8.25pt; font-weight:400; font-style:normal; text-decoration:none;">&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Quits the UniversalIndentGUI&lt;/p>&lt;/body>&lt;/html></string>
     </property>
     <property name="text" >
      <string>Exit</string>
     </property>
     <property name="icon" >
      <iconset resource="../resources/Icons.qrc" >:/mainWindow/system-log-out.png</iconset>
     </property>
    </widget>
   </item>
  </layout>
 </widget>
 <resources>
  <include location="../resources/Icons.qrc" />
 </resources>
 <connections/>
</ui>