<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>MainWindow</class>
 <widget class="QMainWindow" name="MainWindow">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>800</width>
    <height>600</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>MainWindow</string>
  </property>
  <widget class="QWidget" name="frame"/>
  <widget class="QMenuBar" name="menubar">
   <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
     <width>800</width>
     <height>25</height>
    </rect>
   </property>
   <widget class="QMenu" name="menuFile">
    <property name="title">
     <string>&amp;File</string>
    </property>
    <addaction name="actionNew"/>
    <addaction name="actionOpen"/>
    <addaction name="actionSave"/>
    <addaction name="actionSaveAs"/>
    <addaction name="separator"/>
    <addaction name="actionSaveHighlighted"/>
    <addaction name="actionSaveHighlightedAs"/>
    <addaction name="separator"/>
    <addaction name="actionOpenStyle"/>
    <addaction name="actionSaveStyle"/>
    <addaction name="actionSaveStyleAs"/>
    <addaction name="separator"/>
    <addaction name="actionExit"/>
   </widget>
   <widget class="QMenu" name="menuEdit">
    <property name="title">
     <string>&amp;Edit</string>
    </property>
    <addaction name="actionCut"/>
    <addaction name="actionCopy"/>
    <addaction name="actionPaste"/>
   </widget>
   <widget class="QMenu" name="menuHighlighting">
    <property name="title">
     <string>H&amp;ighlighting</string>
    </property>
    <addaction name="actionHighlight"/>
    <addaction name="actionHighlightSelectedLines"/>
   </widget>
   <widget class="QMenu" name="menuSettings">
    <property name="title">
     <string>&amp;Settings</string>
    </property>
    <addaction name="actionCustomizeHighlightingStyle"/>
    <addaction name="actionSourceHighlightSettings"/>
   </widget>
   <widget class="QMenu" name="menuHelp">
    <property name="title">
     <string>&amp;Help</string>
    </property>
    <addaction name="actionHelp"/>
    <addaction name="actionAbout"/>
    <addaction name="actionAboutQt"/>
   </widget>
   <addaction name="menuFile"/>
   <addaction name="menuEdit"/>
   <addaction name="menuHighlighting"/>
   <addaction name="menuSettings"/>
   <addaction name="menuHelp"/>
  </widget>
  <widget class="QStatusBar" name="statusbar"/>
  <widget class="QDockWidget" name="dockWidget">
   <property name="sizePolicy">
    <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
     <horstretch>0</horstretch>
     <verstretch>0</verstretch>
    </sizepolicy>
   </property>
   <property name="windowTitle">
    <string>Options</string>
   </property>
   <attribute name="dockWidgetArea">
    <number>1</number>
   </attribute>
   <widget class="QWidget" name="dockWidgetContents">
    <layout class="QGridLayout" name="gridLayout">
     <item row="0" column="0">
      <widget class="QToolBox" name="toolBox">
       <property name="currentIndex">
        <number>0</number>
       </property>
       <widget class="QWidget" name="page">
        <property name="geometry">
         <rect>
          <x>0</x>
          <y>0</y>
          <width>166</width>
          <height>405</height>
         </rect>
        </property>
        <attribute name="label">
         <string>Document options</string>
        </attribute>
        <layout class="QGridLayout" name="gridLayout_3">
         <item row="0" column="0">
          <widget class="QCheckBox" name="docCheckBox">
           <property name="toolTip">
            <string>generate an entire document</string>
           </property>
           <property name="text">
            <string>entire &amp;document</string>
           </property>
          </widget>
         </item>
         <item row="1" column="0">
          <layout class="QVBoxLayout" name="verticalLayout">
           <item>
            <widget class="QLabel" name="label">
             <property name="text">
              <string>document &amp;title</string>
             </property>
             <property name="buddy">
              <cstring>documentTitleLineEdit</cstring>
             </property>
            </widget>
           </item>
           <item>
            <widget class="QLineEdit" name="documentTitleLineEdit">
             <property name="enabled">
              <bool>false</bool>
             </property>
             <property name="toolTip">
              <string>title for the output document</string>
             </property>
            </widget>
           </item>
          </layout>
         </item>
         <item row="2" column="0">
          <widget class="FileChooserFrame" name="headerFrame">
           <property name="frameShape">
            <enum>QFrame::StyledPanel</enum>
           </property>
           <property name="frameShadow">
            <enum>QFrame::Raised</enum>
           </property>
          </widget>
         </item>
         <item row="3" column="0">
          <widget class="FileChooserFrame" name="footerFrame">
           <property name="frameShape">
            <enum>QFrame::StyledPanel</enum>
           </property>
           <property name="frameShadow">
            <enum>QFrame::Raised</enum>
           </property>
          </widget>
         </item>
         <item row="4" column="0">
          <widget class="QCheckBox" name="tabToSpacesCheckBox">
           <property name="toolTip">
            <string>convert tab characters to spaces</string>
           </property>
           <property name="text">
            <string>&amp;tabs to spaces</string>
           </property>
          </widget>
         </item>
         <item row="5" column="0">
          <widget class="QSpinBox" name="tabSpacesSpinBox">
           <property name="enabled">
            <bool>false</bool>
           </property>
           <property name="toolTip">
            <string>tab characters are converted to the specified
number of space characters</string>
           </property>
           <property name="minimum">
            <number>1</number>
           </property>
           <property name="value">
            <number>4</number>
           </property>
          </widget>
         </item>
         <item row="6" column="0">
          <spacer name="verticalSpacer">
           <property name="orientation">
            <enum>Qt::Vertical</enum>
           </property>
           <property name="sizeHint" stdset="0">
            <size>
             <width>20</width>
             <height>292</height>
            </size>
           </property>
          </spacer>
         </item>
        </layout>
       </widget>
       <widget class="QWidget" name="page_2">
        <property name="geometry">
         <rect>
          <x>0</x>
          <y>0</y>
          <width>177</width>
          <height>318</height>
         </rect>
        </property>
        <attribute name="label">
         <string>Line options</string>
        </attribute>
        <layout class="QGridLayout" name="gridLayout_4">
         <item row="0" column="0">
          <widget class="QCheckBox" name="lineNumbersCheckBox">
           <property name="toolTip">
            <string>Generates line numbers in the highlighted document</string>
           </property>
           <property name="text">
            <string>Line &amp;numbers</string>
           </property>
          </widget>
         </item>
         <item row="1" column="0">
          <widget class="QGroupBox" name="groupBox">
           <property name="enabled">
            <bool>false</bool>
           </property>
           <property name="title">
            <string>Line number options</string>
           </property>
           <layout class="QGridLayout" name="gridLayout_2">
            <item row="0" column="0">
             <widget class="QLabel" name="label_2">
              <property name="text">
               <string>number of &amp;digits</string>
              </property>
              <property name="buddy">
               <cstring>lineNumberDigitsSpinBox</cstring>
              </property>
             </widget>
            </item>
            <item row="1" column="0">
             <widget class="QSpinBox" name="lineNumberDigitsSpinBox">
              <property name="toolTip">
               <string>Specify the number of digits for the line numbers.
If not specified, the number of digits is computed
automatically according to the number of lines
in the text editor.</string>
              </property>
             </widget>
            </item>
            <item row="2" column="0">
             <layout class="QHBoxLayout" name="horizontalLayout">
              <item>
               <widget class="QLabel" name="label_3">
                <property name="text">
                 <string>&amp;pad</string>
                </property>
                <property name="buddy">
                 <cstring>padCharLineEdit</cstring>
                </property>
               </widget>
              </item>
              <item>
               <widget class="QLineEdit" name="padCharLineEdit">
                <property name="toolTip">
                 <string>The padding character for line numbers
(default is '0')</string>
                </property>
                <property name="text">
                 <string>0</string>
                </property>
                <property name="maxLength">
                 <number>1</number>
                </property>
               </widget>
              </item>
             </layout>
            </item>
            <item row="3" column="0">
             <widget class="QCheckBox" name="lineNumberAnchorsCheckBox">
              <property name="toolTip">
               <string>Generates line number anchors (that can be referenced)
in the highlighted document</string>
              </property>
              <property name="text">
               <string>Line &amp;anchors</string>
              </property>
             </widget>
            </item>
            <item row="4" column="0">
             <widget class="QLabel" name="label_4">
              <property name="text">
               <string>anchor &amp;prefix</string>
              </property>
              <property name="buddy">
               <cstring>anchorPrefixLineEdit</cstring>
              </property>
             </widget>
            </item>
            <item row="5" column="0">
             <widget class="QLineEdit" name="anchorPrefixLineEdit">
              <property name="enabled">
               <bool>false</bool>
              </property>
              <property name="toolTip">
               <string>the prefix in each generated line number anchor
(default is empty)</string>
              </property>
             </widget>
            </item>
           </layout>
          </widget>
         </item>
         <item row="2" column="0">
          <widget class="QLabel" name="label_5">
           <property name="text">
            <string>&amp;Context lines</string>
           </property>
           <property name="buddy">
            <cstring>contextLineSpinBox</cstring>
           </property>
          </widget>
         </item>
         <item row="3" column="0">
          <widget class="QSpinBox" name="contextLineSpinBox">
           <property name="enabled">
            <bool>false</bool>
           </property>
           <property name="toolTip">
            <string>The number of lines of surrounding context
when highlighting only the selected lines.</string>
           </property>
          </widget>
         </item>
         <item row="4" column="0">
          <spacer name="verticalSpacer_2">
           <property name="orientation">
            <enum>Qt::Vertical</enum>
           </property>
           <property name="sizeHint" stdset="0">
            <size>
             <width>20</width>
             <height>382</height>
            </size>
           </property>
          </spacer>
         </item>
        </layout>
       </widget>
      </widget>
     </item>
    </layout>
   </widget>
  </widget>
  <widget class="QToolBar" name="fileToolBar">
   <property name="windowTitle">
    <string>File</string>
   </property>
   <attribute name="toolBarArea">
    <enum>TopToolBarArea</enum>
   </attribute>
   <attribute name="toolBarBreak">
    <bool>false</bool>
   </attribute>
   <addaction name="actionNew"/>
   <addaction name="actionOpen"/>
   <addaction name="actionOpenStyle"/>
   <addaction name="actionSave"/>
   <addaction name="actionSaveHighlighted"/>
   <addaction name="actionSaveStyle"/>
  </widget>
  <widget class="QToolBar" name="editToolBar">
   <property name="windowTitle">
    <string>Edit</string>
   </property>
   <attribute name="toolBarArea">
    <enum>TopToolBarArea</enum>
   </attribute>
   <attribute name="toolBarBreak">
    <bool>false</bool>
   </attribute>
   <addaction name="actionCut"/>
   <addaction name="actionCopy"/>
   <addaction name="actionPaste"/>
  </widget>
  <widget class="QToolBar" name="highlightToolBar">
   <property name="windowTitle">
    <string>Highlight</string>
   </property>
   <attribute name="toolBarArea">
    <enum>TopToolBarArea</enum>
   </attribute>
   <attribute name="toolBarBreak">
    <bool>false</bool>
   </attribute>
   <addaction name="actionHighlight"/>
   <addaction name="actionHighlightSelectedLines"/>
  </widget>
  <action name="actionNew">
   <property name="icon">
    <iconset resource="application.qrc">
     <normaloff>:/filenew.xpm</normaloff>:/filenew.xpm</iconset>
   </property>
   <property name="text">
    <string>&amp;New</string>
   </property>
   <property name="toolTip">
    <string>Create a new file</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+N</string>
   </property>
  </action>
  <action name="actionOpen">
   <property name="icon">
    <iconset resource="application.qrc">
     <normaloff>:/fileopen.xpm</normaloff>:/fileopen.xpm</iconset>
   </property>
   <property name="text">
    <string>&amp;Open...</string>
   </property>
   <property name="toolTip">
    <string>Open an existing file</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+O</string>
   </property>
  </action>
  <action name="actionSave">
   <property name="enabled">
    <bool>false</bool>
   </property>
   <property name="icon">
    <iconset resource="application.qrc">
     <normaloff>:/filesave.xpm</normaloff>:/filesave.xpm</iconset>
   </property>
   <property name="text">
    <string>&amp;Save</string>
   </property>
   <property name="toolTip">
    <string>Save the document to disk</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+S</string>
   </property>
  </action>
  <action name="actionSaveAs">
   <property name="enabled">
    <bool>true</bool>
   </property>
   <property name="text">
    <string>Save &amp;As...</string>
   </property>
   <property name="toolTip">
    <string>Save the document under a new name</string>
   </property>
  </action>
  <action name="actionSaveHighlighted">
   <property name="enabled">
    <bool>false</bool>
   </property>
   <property name="icon">
    <iconset resource="application.qrc">
     <normaloff>:/filesavehighlighted.xpm</normaloff>:/filesavehighlighted.xpm</iconset>
   </property>
   <property name="text">
    <string>Save &amp;Highlighted</string>
   </property>
   <property name="toolTip">
    <string>Save the highlighted document to disk</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+Alt+S</string>
   </property>
  </action>
  <action name="actionSaveHighlightedAs">
   <property name="enabled">
    <bool>true</bool>
   </property>
   <property name="text">
    <string>Save H&amp;ighlighted As...</string>
   </property>
   <property name="toolTip">
    <string>Save the highlighted document under a new name</string>
   </property>
  </action>
  <action name="actionOpenStyle">
   <property name="icon">
    <iconset resource="application.qrc">
     <normaloff>:/fileopenstyle.xpm</normaloff>:/fileopenstyle.xpm</iconset>
   </property>
   <property name="text">
    <string>Open Sty&amp;le...</string>
   </property>
   <property name="toolTip">
    <string>Open an existing style file</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+Alt+O</string>
   </property>
  </action>
  <action name="actionSaveStyle">
   <property name="icon">
    <iconset resource="application.qrc">
     <normaloff>:/filesavestyle.xpm</normaloff>:/filesavestyle.xpm</iconset>
   </property>
   <property name="text">
    <string>Save S&amp;tyle</string>
   </property>
   <property name="toolTip">
    <string>Save the current style to disk</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+Shift+S</string>
   </property>
  </action>
  <action name="actionSaveStyleAs">
   <property name="text">
    <string>Save St&amp;yle As...</string>
   </property>
   <property name="toolTip">
    <string>Save the current style under a new name</string>
   </property>
  </action>
  <action name="actionExit">
   <property name="text">
    <string>E&amp;xit</string>
   </property>
   <property name="toolTip">
    <string>Exit the application</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+Q</string>
   </property>
  </action>
  <action name="actionCut">
   <property name="enabled">
    <bool>false</bool>
   </property>
   <property name="icon">
    <iconset resource="application.qrc">
     <normaloff>:/editcut.xpm</normaloff>:/editcut.xpm</iconset>
   </property>
   <property name="text">
    <string>Cu&amp;t</string>
   </property>
   <property name="toolTip">
    <string>Cut the current selection's contents to the clipboard</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+X</string>
   </property>
  </action>
  <action name="actionCopy">
   <property name="enabled">
    <bool>false</bool>
   </property>
   <property name="icon">
    <iconset resource="application.qrc">
     <normaloff>:/editcopy.xpm</normaloff>:/editcopy.xpm</iconset>
   </property>
   <property name="text">
    <string>&amp;Copy</string>
   </property>
   <property name="toolTip">
    <string>Copy the current selection's contents to the clipboard</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+C</string>
   </property>
  </action>
  <action name="actionPaste">
   <property name="icon">
    <iconset resource="application.qrc">
     <normaloff>:/editpaste.xpm</normaloff>:/editpaste.xpm</iconset>
   </property>
   <property name="text">
    <string>&amp;Paste</string>
   </property>
   <property name="toolTip">
    <string>Paste the clipboard's contents into the current selection</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+V</string>
   </property>
  </action>
  <action name="actionHighlight">
   <property name="enabled">
    <bool>true</bool>
   </property>
   <property name="icon">
    <iconset resource="application.qrc">
     <normaloff>:/highlight.xpm</normaloff>:/highlight.xpm</iconset>
   </property>
   <property name="text">
    <string>&amp;Highlight</string>
   </property>
   <property name="toolTip">
    <string>Generates the highlighted output</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+H</string>
   </property>
  </action>
  <action name="actionHighlightSelectedLines">
   <property name="enabled">
    <bool>false</bool>
   </property>
   <property name="icon">
    <iconset resource="application.qrc">
     <normaloff>:/highlightselected.xpm</normaloff>:/highlightselected.xpm</iconset>
   </property>
   <property name="text">
    <string>Highlight &amp;Selected Lines</string>
   </property>
   <property name="toolTip">
    <string>Generates the highlighted output of the selected lines</string>
   </property>
   <property name="shortcut">
    <string>Ctrl+Alt+H</string>
   </property>
  </action>
  <action name="actionCustomizeHighlightingStyle">
   <property name="text">
    <string>&amp;Customize Highlighting Style...</string>
   </property>
   <property name="toolTip">
    <string>Customize the highlighting style</string>
   </property>
  </action>
  <action name="actionAbout">
   <property name="text">
    <string>&amp;About</string>
   </property>
   <property name="toolTip">
    <string>Show the application's About box</string>
   </property>
  </action>
  <action name="actionAboutQt">
   <property name="text">
    <string>About &amp;Qt</string>
   </property>
   <property name="toolTip">
    <string>Show the Qt library's About box</string>
   </property>
  </action>
  <action name="actionSourceHighlightSettings">
   <property name="text">
    <string>Source-Highlight settings...</string>
   </property>
  </action>
  <action name="actionHelp">
   <property name="text">
    <string>&amp;Help</string>
   </property>
   <property name="toolTip">
    <string>Show the help documentation</string>
   </property>
   <property name="shortcut">
    <string>F1</string>
   </property>
  </action>
 </widget>
 <customwidgets>
  <customwidget>
   <class>FileChooserFrame</class>
   <extends>QFrame</extends>
   <header>filechooserframe.h</header>
   <container>1</container>
  </customwidget>
 </customwidgets>
 <resources>
  <include location="application.qrc"/>
 </resources>
 <connections>
  <connection>
   <sender>docCheckBox</sender>
   <signal>toggled(bool)</signal>
   <receiver>documentTitleLineEdit</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>99</x>
     <y>160</y>
    </hint>
    <hint type="destinationlabel">
     <x>100</x>
     <y>217</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>lineNumbersCheckBox</sender>
   <signal>toggled(bool)</signal>
   <receiver>groupBox</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>94</x>
     <y>192</y>
    </hint>
    <hint type="destinationlabel">
     <x>91</x>
     <y>321</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>lineNumberAnchorsCheckBox</sender>
   <signal>toggled(bool)</signal>
   <receiver>anchorPrefixLineEdit</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>93</x>
     <y>338</y>
    </hint>
    <hint type="destinationlabel">
     <x>103</x>
     <y>394</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>tabToSpacesCheckBox</sender>
   <signal>toggled(bool)</signal>
   <receiver>tabSpacesSpinBox</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>53</x>
     <y>279</y>
    </hint>
    <hint type="destinationlabel">
     <x>52</x>
     <y>313</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>
