Warning, /office/kile/src/dialogs/usermenu/usermenudialog_base.ui is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <ui version="4.0">
0003  <class>UserMenuDialog</class>
0004  <widget class="QWidget" name="UserMenuDialog">
0005   <property name="geometry">
0006    <rect>
0007     <x>0</x>
0008     <y>0</y>
0009     <width>879</width>
0010     <height>645</height>
0011    </rect>
0012   </property>
0013   <property name="sizePolicy">
0014    <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
0015     <horstretch>0</horstretch>
0016     <verstretch>0</verstretch>
0017    </sizepolicy>
0018   </property>
0019   <property name="minimumSize">
0020    <size>
0021     <width>0</width>
0022     <height>0</height>
0023    </size>
0024   </property>
0025   <property name="windowTitle">
0026    <string>Configure</string>
0027   </property>
0028   <layout class="QHBoxLayout" name="horizontalLayout_4">
0029    <item>
0030     <widget class="QSplitter" name="splitter">
0031      <property name="orientation">
0032       <enum>Qt::Horizontal</enum>
0033      </property>
0034      <property name="childrenCollapsible">
0035       <bool>false</bool>
0036      </property>
0037      <widget class="QGroupBox" name="m_gbUserMenu">
0038       <property name="sizePolicy">
0039        <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
0040         <horstretch>0</horstretch>
0041         <verstretch>0</verstretch>
0042        </sizepolicy>
0043       </property>
0044       <property name="title">
0045        <string>LaTeX Usermenu</string>
0046       </property>
0047       <layout class="QVBoxLayout" name="verticalLayout">
0048        <item>
0049         <widget class="KileMenu::UserMenuTree" name="m_twUserMenu">
0050          <property name="sizePolicy">
0051           <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
0052            <horstretch>0</horstretch>
0053            <verstretch>0</verstretch>
0054           </sizepolicy>
0055          </property>
0056          <property name="minimumSize">
0057           <size>
0058            <width>0</width>
0059            <height>0</height>
0060           </size>
0061          </property>
0062          <property name="contextMenuPolicy">
0063           <enum>Qt::NoContextMenu</enum>
0064          </property>
0065          <property name="whatsThis">
0066           <string>The user-defined menu tree, which can be modified with the six buttons below the tree (and their shortcuts). More actions are available in the context menu of selected items. You can also rearrange items with drag and drop.</string>
0067          </property>
0068          <property name="verticalScrollBarPolicy">
0069           <enum>Qt::ScrollBarAsNeeded</enum>
0070          </property>
0071          <property name="showDropIndicator" stdset="0">
0072           <bool>true</bool>
0073          </property>
0074          <property name="uniformRowHeights">
0075           <bool>true</bool>
0076          </property>
0077          <property name="allColumnsShowFocus">
0078           <bool>true</bool>
0079          </property>
0080          <property name="columnCount">
0081           <number>2</number>
0082          </property>
0083          <column>
0084           <property name="text">
0085            <string notr="true">1</string>
0086           </property>
0087          </column>
0088          <column>
0089           <property name="text">
0090            <string notr="true">2</string>
0091           </property>
0092          </column>
0093         </widget>
0094        </item>
0095        <item>
0096         <layout class="QGridLayout" name="m_glButton">
0097          <item row="1" column="0">
0098           <widget class="QPushButton" name="m_pbInsertSeparator">
0099            <property name="whatsThis">
0100             <string>Insert a new separator below the selected item.</string>
0101            </property>
0102            <property name="text">
0103             <string>Separator</string>
0104            </property>
0105           </widget>
0106          </item>
0107          <item row="1" column="1">
0108           <widget class="QPushButton" name="m_pbDelete">
0109            <property name="whatsThis">
0110             <string>Delete the selected item.</string>
0111            </property>
0112            <property name="text">
0113             <string>Delete</string>
0114            </property>
0115           </widget>
0116          </item>
0117          <item row="1" column="3">
0118           <widget class="QPushButton" name="m_pbDown">
0119            <property name="whatsThis">
0120             <string>Move the selected item down.</string>
0121            </property>
0122            <property name="text">
0123             <string>Down</string>
0124            </property>
0125           </widget>
0126          </item>
0127          <item row="0" column="0">
0128           <widget class="QPushButton" name="m_pbInsertBelow">
0129            <property name="whatsThis">
0130             <string>Insert a new menu item below the selected item.</string>
0131            </property>
0132            <property name="text">
0133             <string>Insert</string>
0134            </property>
0135           </widget>
0136          </item>
0137          <item row="0" column="1">
0138           <widget class="QPushButton" name="m_pbInsertSubmenu">
0139            <property name="whatsThis">
0140             <string>Insert a new submenu item below the selected item.</string>
0141            </property>
0142            <property name="text">
0143             <string>Submenu</string>
0144            </property>
0145           </widget>
0146          </item>
0147          <item row="0" column="2">
0148           <spacer name="horizontalSpacer_2">
0149            <property name="orientation">
0150             <enum>Qt::Horizontal</enum>
0151            </property>
0152            <property name="sizeType">
0153             <enum>QSizePolicy::Fixed</enum>
0154            </property>
0155            <property name="sizeHint" stdset="0">
0156             <size>
0157              <width>40</width>
0158              <height>20</height>
0159             </size>
0160            </property>
0161           </spacer>
0162          </item>
0163          <item row="0" column="3">
0164           <widget class="QPushButton" name="m_pbUp">
0165            <property name="whatsThis">
0166             <string>Move the selected item up.</string>
0167            </property>
0168            <property name="text">
0169             <string>Up</string>
0170            </property>
0171           </widget>
0172          </item>
0173         </layout>
0174        </item>
0175       </layout>
0176      </widget>
0177      <widget class="QWidget" name="m_widgetParameter" native="true">
0178       <property name="sizePolicy">
0179        <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
0180         <horstretch>0</horstretch>
0181         <verstretch>0</verstretch>
0182        </sizepolicy>
0183       </property>
0184       <layout class="QVBoxLayout" name="verticalLayout_2">
0185        <property name="topMargin">
0186         <number>0</number>
0187        </property>
0188        <property name="rightMargin">
0189         <number>0</number>
0190        </property>
0191        <property name="bottomMargin">
0192         <number>0</number>
0193        </property>
0194        <item>
0195         <widget class="QGroupBox" name="groupBox">
0196          <property name="title">
0197           <string>Menu File</string>
0198          </property>
0199          <layout class="QVBoxLayout" name="verticalLayout_5">
0200           <item>
0201            <layout class="QHBoxLayout" name="horizontalLayout">
0202             <item>
0203              <spacer name="horizontalSpacer_4">
0204               <property name="orientation">
0205                <enum>Qt::Horizontal</enum>
0206               </property>
0207               <property name="sizeType">
0208                <enum>QSizePolicy::Fixed</enum>
0209               </property>
0210               <property name="sizeHint" stdset="0">
0211                <size>
0212                 <width>30</width>
0213                 <height>20</height>
0214                </size>
0215               </property>
0216              </spacer>
0217             </item>
0218             <item>
0219              <widget class="QPushButton" name="m_pbInstall">
0220               <property name="whatsThis">
0221                <string>Install an unmodified and saved menu tree as user-defined menu.</string>
0222               </property>
0223               <property name="text">
0224                <string>Install</string>
0225               </property>
0226              </widget>
0227             </item>
0228             <item>
0229              <spacer name="horizontalSpacer_3">
0230               <property name="orientation">
0231                <enum>Qt::Horizontal</enum>
0232               </property>
0233               <property name="sizeType">
0234                <enum>QSizePolicy::MinimumExpanding</enum>
0235               </property>
0236               <property name="sizeHint" stdset="0">
0237                <size>
0238                 <width>40</width>
0239                 <height>20</height>
0240                </size>
0241               </property>
0242              </spacer>
0243             </item>
0244             <item>
0245              <widget class="QPushButton" name="m_pbLoad">
0246               <property name="whatsThis">
0247                <string>Load an xml file, which describes the user-defined menu.</string>
0248               </property>
0249               <property name="text">
0250                <string>Load</string>
0251               </property>
0252              </widget>
0253             </item>
0254             <item>
0255              <spacer name="horizontalSpacer_10">
0256               <property name="orientation">
0257                <enum>Qt::Horizontal</enum>
0258               </property>
0259               <property name="sizeType">
0260                <enum>QSizePolicy::Fixed</enum>
0261               </property>
0262               <property name="sizeHint" stdset="0">
0263                <size>
0264                 <width>30</width>
0265                 <height>20</height>
0266                </size>
0267               </property>
0268              </spacer>
0269             </item>
0270             <item>
0271              <widget class="QPushButton" name="m_pbSave">
0272               <property name="whatsThis">
0273                <string>Save a modified menu tree, which describes the user-defined menu, to an xml file into the local directory of Kile.</string>
0274               </property>
0275               <property name="text">
0276                <string>Save</string>
0277               </property>
0278              </widget>
0279             </item>
0280             <item>
0281              <widget class="QPushButton" name="m_pbSaveAs">
0282               <property name="whatsThis">
0283                <string>Save a modified menu tree, which describes the user-defined menu, to an xml file into the local directory of Kile and choose a new name for this file.</string>
0284               </property>
0285               <property name="text">
0286                <string>Save as</string>
0287               </property>
0288              </widget>
0289             </item>
0290             <item>
0291              <spacer name="horizontalSpacer_7">
0292               <property name="orientation">
0293                <enum>Qt::Horizontal</enum>
0294               </property>
0295               <property name="sizeType">
0296                <enum>QSizePolicy::Fixed</enum>
0297               </property>
0298               <property name="sizeHint" stdset="0">
0299                <size>
0300                 <width>30</width>
0301                 <height>20</height>
0302                </size>
0303               </property>
0304              </spacer>
0305             </item>
0306            </layout>
0307           </item>
0308           <item>
0309            <layout class="QHBoxLayout" name="horizontalLayout_5">
0310             <item>
0311              <spacer name="horizontalSpacer_11">
0312               <property name="orientation">
0313                <enum>Qt::Horizontal</enum>
0314               </property>
0315               <property name="sizeType">
0316                <enum>QSizePolicy::Fixed</enum>
0317               </property>
0318               <property name="sizeHint" stdset="0">
0319                <size>
0320                 <width>30</width>
0321                 <height>20</height>
0322                </size>
0323               </property>
0324              </spacer>
0325             </item>
0326             <item>
0327              <widget class="QLabel" name="m_lbXmlFile">
0328               <property name="text">
0329                <string>File:</string>
0330               </property>
0331              </widget>
0332             </item>
0333             <item>
0334              <spacer name="horizontalSpacer_14">
0335               <property name="orientation">
0336                <enum>Qt::Horizontal</enum>
0337               </property>
0338               <property name="sizeType">
0339                <enum>QSizePolicy::Fixed</enum>
0340               </property>
0341               <property name="sizeHint" stdset="0">
0342                <size>
0343                 <width>16</width>
0344                 <height>20</height>
0345                </size>
0346               </property>
0347              </spacer>
0348             </item>
0349             <item>
0350              <widget class="QLabel" name="m_lbXmlInstalled">
0351               <property name="text">
0352                <string>(installed)</string>
0353               </property>
0354              </widget>
0355             </item>
0356             <item>
0357              <spacer name="horizontalSpacer_13">
0358               <property name="orientation">
0359                <enum>Qt::Horizontal</enum>
0360               </property>
0361               <property name="sizeType">
0362                <enum>QSizePolicy::MinimumExpanding</enum>
0363               </property>
0364               <property name="sizeHint" stdset="0">
0365                <size>
0366                 <width>40</width>
0367                 <height>20</height>
0368                </size>
0369               </property>
0370              </spacer>
0371             </item>
0372             <item>
0373              <widget class="QPushButton" name="m_pbNew">
0374               <property name="whatsThis">
0375                <string>Delete current menu tree and start a new one.</string>
0376               </property>
0377               <property name="text">
0378                <string>New</string>
0379               </property>
0380              </widget>
0381             </item>
0382             <item>
0383              <spacer name="horizontalSpacer_12">
0384               <property name="orientation">
0385                <enum>Qt::Horizontal</enum>
0386               </property>
0387               <property name="sizeType">
0388                <enum>QSizePolicy::Fixed</enum>
0389               </property>
0390               <property name="sizeHint" stdset="0">
0391                <size>
0392                 <width>30</width>
0393                 <height>20</height>
0394                </size>
0395               </property>
0396              </spacer>
0397             </item>
0398            </layout>
0399           </item>
0400          </layout>
0401         </widget>
0402        </item>
0403        <item>
0404         <widget class="QGroupBox" name="m_gbMenuEntry">
0405          <property name="sizePolicy">
0406           <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
0407            <horstretch>0</horstretch>
0408            <verstretch>0</verstretch>
0409           </sizepolicy>
0410          </property>
0411          <property name="title">
0412           <string>Menu Entry</string>
0413          </property>
0414          <layout class="QVBoxLayout" name="verticalLayout_3">
0415           <item>
0416            <layout class="QGridLayout" name="m_glMenuEntry">
0417             <item row="5" column="0">
0418              <widget class="QLabel" name="m_lbText">
0419               <property name="text">
0420                <string>Text:</string>
0421               </property>
0422               <property name="alignment">
0423                <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
0424               </property>
0425              </widget>
0426             </item>
0427             <item row="5" column="2">
0428              <widget class="QPlainTextEdit" name="m_teText">
0429               <property name="sizePolicy">
0430                <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
0431                 <horstretch>0</horstretch>
0432                 <verstretch>0</verstretch>
0433                </sizepolicy>
0434               </property>
0435               <property name="font">
0436                <font>
0437                 <family>Monospace</family>
0438                </font>
0439               </property>
0440              </widget>
0441             </item>
0442             <item row="6" column="0">
0443              <widget class="QLabel" name="m_lbIcon">
0444               <property name="text">
0445                <string>Icon:</string>
0446               </property>
0447              </widget>
0448             </item>
0449             <item row="7" column="0">
0450              <widget class="QLabel" name="m_lbShortcut">
0451               <property name="text">
0452                <string>Shortcut:</string>
0453               </property>
0454              </widget>
0455             </item>
0456             <item row="3" column="0">
0457              <widget class="QLabel" name="m_lbFile">
0458               <property name="text">
0459                <string>File:</string>
0460               </property>
0461              </widget>
0462             </item>
0463             <item row="1" column="0">
0464              <widget class="QLabel" name="m_lbType">
0465               <property name="text">
0466                <string>Type:</string>
0467               </property>
0468              </widget>
0469             </item>
0470             <item row="3" column="2">
0471              <widget class="KUrlRequester" name="m_urlRequester">
0472               <property name="whatsThis">
0473                <string>Filename of the corresponding file.</string>
0474               </property>
0475              </widget>
0476             </item>
0477             <item row="6" column="2">
0478              <layout class="QHBoxLayout" name="horizontalLayout_2">
0479               <item>
0480                <widget class="QPushButton" name="m_pbIcon">
0481                 <property name="whatsThis">
0482                  <string>Choose an icon for this action.</string>
0483                 </property>
0484                 <property name="text">
0485                  <string>Choose</string>
0486                 </property>
0487                </widget>
0488               </item>
0489               <item>
0490                <widget class="QLabel" name="m_lbIconChosen">
0491                 <property name="text">
0492                  <string>Icon</string>
0493                 </property>
0494                </widget>
0495               </item>
0496               <item>
0497                <spacer name="horizontalSpacer_6">
0498                 <property name="orientation">
0499                  <enum>Qt::Horizontal</enum>
0500                 </property>
0501                 <property name="sizeType">
0502                  <enum>QSizePolicy::Fixed</enum>
0503                 </property>
0504                 <property name="sizeHint" stdset="0">
0505                  <size>
0506                   <width>20</width>
0507                   <height>20</height>
0508                  </size>
0509                 </property>
0510                </spacer>
0511               </item>
0512               <item>
0513                <widget class="QPushButton" name="m_pbIconDelete">
0514                 <property name="whatsThis">
0515                  <string>Remove the icon for this action.</string>
0516                 </property>
0517                </widget>
0518               </item>
0519               <item>
0520                <spacer name="horizontalSpacer_8">
0521                 <property name="orientation">
0522                  <enum>Qt::Horizontal</enum>
0523                 </property>
0524                 <property name="sizeHint" stdset="0">
0525                  <size>
0526                   <width>40</width>
0527                   <height>20</height>
0528                  </size>
0529                 </property>
0530                </spacer>
0531               </item>
0532              </layout>
0533             </item>
0534             <item row="1" column="2">
0535              <layout class="QHBoxLayout" name="horizontalLayout_3">
0536               <item>
0537                <widget class="QLabel" name="m_lbMenuentryType">
0538                 <property name="text">
0539                  <string>Text</string>
0540                 </property>
0541                </widget>
0542               </item>
0543               <item>
0544                <spacer name="horizontalSpacer_9">
0545                 <property name="orientation">
0546                  <enum>Qt::Horizontal</enum>
0547                 </property>
0548                 <property name="sizeHint" stdset="0">
0549                  <size>
0550                   <width>40</width>
0551                   <height>20</height>
0552                  </size>
0553                 </property>
0554                </spacer>
0555               </item>
0556               <item>
0557                <widget class="QPushButton" name="m_pbMenuentryType">
0558                 <property name="whatsThis">
0559                  <string>Change the type of a menu item.</string>
0560                 </property>
0561                 <property name="text">
0562                  <string>Change</string>
0563                 </property>
0564                </widget>
0565               </item>
0566              </layout>
0567             </item>
0568             <item row="2" column="2">
0569              <widget class="KLineEdit" name="m_leMenuEntry">
0570               <property name="whatsThis">
0571                <string>The label of the selected menu item.</string>
0572               </property>
0573              </widget>
0574             </item>
0575             <item row="2" column="0">
0576              <widget class="QLabel" name="m_lbMenuEntry">
0577               <property name="sizePolicy">
0578                <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
0579                 <horstretch>0</horstretch>
0580                 <verstretch>0</verstretch>
0581                </sizepolicy>
0582               </property>
0583               <property name="text">
0584                <string>Entry:</string>
0585               </property>
0586              </widget>
0587             </item>
0588             <item row="1" column="1">
0589              <spacer name="horizontalSpacer">
0590               <property name="orientation">
0591                <enum>Qt::Horizontal</enum>
0592               </property>
0593               <property name="sizeType">
0594                <enum>QSizePolicy::Fixed</enum>
0595               </property>
0596               <property name="sizeHint" stdset="0">
0597                <size>
0598                 <width>20</width>
0599                 <height>20</height>
0600                </size>
0601               </property>
0602              </spacer>
0603             </item>
0604             <item row="4" column="0">
0605              <widget class="QLabel" name="m_lbParameter">
0606               <property name="text">
0607                <string>Parameter:</string>
0608               </property>
0609              </widget>
0610             </item>
0611             <item row="4" column="2">
0612              <widget class="KLineEdit" name="m_leParameter">
0613               <property name="whatsThis">
0614                <string>Commandline parameter for an executable program.</string>
0615               </property>
0616              </widget>
0617             </item>
0618             <item row="7" column="2">
0619              <widget class="KKeySequenceWidget" name="m_keyChooser">
0620               <property name="whatsThis">
0621                <string>Choose or clear a shortcut for this action.</string>
0622               </property>
0623              </widget>
0624             </item>
0625            </layout>
0626           </item>
0627          </layout>
0628         </widget>
0629        </item>
0630        <item>
0631         <widget class="QGroupBox" name="m_gbParameter">
0632          <property name="sizePolicy">
0633           <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
0634            <horstretch>0</horstretch>
0635            <verstretch>0</verstretch>
0636           </sizepolicy>
0637          </property>
0638          <property name="title">
0639           <string>Parameter</string>
0640          </property>
0641          <layout class="QVBoxLayout" name="verticalLayout_4">
0642           <item>
0643            <layout class="QGridLayout" name="m_glParameter">
0644             <item row="3" column="1">
0645              <widget class="QCheckBox" name="m_cbSelectInsertion">
0646               <property name="whatsThis">
0647                <string>Select, if inserted text should be selected.</string>
0648               </property>
0649               <property name="text">
0650                <string>Select inserted text</string>
0651               </property>
0652              </widget>
0653             </item>
0654             <item row="2" column="1">
0655              <widget class="QCheckBox" name="m_cbReplaceSelection">
0656               <property name="whatsThis">
0657                <string>Select, if the action should replace selected text.</string>
0658               </property>
0659               <property name="text">
0660                <string>Replace selected text</string>
0661               </property>
0662              </widget>
0663             </item>
0664             <item row="0" column="1">
0665              <widget class="QCheckBox" name="m_cbNeedsSelection">
0666               <property name="sizePolicy">
0667                <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
0668                 <horstretch>0</horstretch>
0669                 <verstretch>0</verstretch>
0670                </sizepolicy>
0671               </property>
0672               <property name="whatsThis">
0673                <string>Select, if the action needs selected text. </string>
0674               </property>
0675               <property name="text">
0676                <string>Needs selected text</string>
0677               </property>
0678              </widget>
0679             </item>
0680             <item row="0" column="0">
0681              <spacer name="horizontalSpacer_5">
0682               <property name="orientation">
0683                <enum>Qt::Horizontal</enum>
0684               </property>
0685               <property name="sizeType">
0686                <enum>QSizePolicy::Fixed</enum>
0687               </property>
0688               <property name="sizeHint" stdset="0">
0689                <size>
0690                 <width>12</width>
0691                 <height>20</height>
0692                </size>
0693               </property>
0694              </spacer>
0695             </item>
0696             <item row="4" column="1">
0697              <widget class="QCheckBox" name="m_cbInsertOutput">
0698               <property name="whatsThis">
0699                <string>Select, if the output of an executable program should be inserted.</string>
0700               </property>
0701               <property name="text">
0702                <string>Insert the output of the chosen program</string>
0703               </property>
0704              </widget>
0705             </item>
0706             <item row="1" column="1">
0707              <widget class="QCheckBox" name="m_cbContextMenu">
0708               <property name="whatsThis">
0709                <string>Select, if the action should be added to the context menu of a selection.</string>
0710               </property>
0711               <property name="text">
0712                <string>Add to the context menu of selected text</string>
0713               </property>
0714              </widget>
0715             </item>
0716            </layout>
0717           </item>
0718          </layout>
0719         </widget>
0720        </item>
0721       </layout>
0722      </widget>
0723     </widget>
0724    </item>
0725   </layout>
0726  </widget>
0727  <customwidgets>
0728   <customwidget>
0729    <class>KLineEdit</class>
0730    <extends>QLineEdit</extends>
0731    <header>klineedit.h</header>
0732   </customwidget>
0733   <customwidget>
0734    <class>KKeySequenceWidget</class>
0735    <extends>QWidget</extends>
0736    <header>kkeysequencewidget.h</header>
0737   </customwidget>
0738   <customwidget>
0739    <class>KUrlRequester</class>
0740    <extends>QWidget</extends>
0741    <header>kurlrequester.h</header>
0742    <container>1</container>
0743   </customwidget>
0744   <customwidget>
0745    <class>KileMenu::UserMenuTree</class>
0746    <extends>QTreeWidget</extends>
0747    <header>dialogs/usermenu/usermenutree.h</header>
0748   </customwidget>
0749  </customwidgets>
0750  <tabstops>
0751   <tabstop>m_twUserMenu</tabstop>
0752   <tabstop>m_pbInsertBelow</tabstop>
0753   <tabstop>m_pbInsertSubmenu</tabstop>
0754   <tabstop>m_pbUp</tabstop>
0755   <tabstop>m_pbInsertSeparator</tabstop>
0756   <tabstop>m_pbDelete</tabstop>
0757   <tabstop>m_pbDown</tabstop>
0758  </tabstops>
0759  <resources/>
0760  <connections/>
0761 </ui>