mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-20 04:40:30 +00:00
1991488377
- Enter in the textfield adds the branch, - Make sure the dialog is not closed when pressing enter, - Pressing Ctrl+Enter or the Enter on the numpad closes the dialog. Patch based on a patch from Scott Kostyshak. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40839 a592a061-630c-0410-9148-cb99ea01b6c8
169 lines
4.5 KiB
XML
169 lines
4.5 KiB
XML
<ui version="4.0" >
|
|
<class>BranchesUi</class>
|
|
<widget class="QWidget" name="BranchesUi" >
|
|
<property name="geometry" >
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>401</width>
|
|
<height>327</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle" >
|
|
<string/>
|
|
</property>
|
|
<layout class="QGridLayout" >
|
|
<property name="margin" >
|
|
<number>9</number>
|
|
</property>
|
|
<property name="spacing" >
|
|
<number>6</number>
|
|
</property>
|
|
<item row="0" column="0" >
|
|
<widget class="QLabel" name="newBranchLA" >
|
|
<property name="text" >
|
|
<string>&New:[[branch]]</string>
|
|
</property>
|
|
<property name="buddy" >
|
|
<cstring>newBranchLE</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="3" >
|
|
<widget class="QPushButton" name="suffixPB" >
|
|
<property name="toolTip" >
|
|
<string>Append the name of this branch to the output filename, given the branch is active.</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string>Filename &Suffix</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="3" >
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeType" >
|
|
<enum>QSizePolicy::Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>83</width>
|
|
<height>51</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="8" column="2" colspan="2" >
|
|
<widget class="QPushButton" name="unknownPB" >
|
|
<property name="toolTip" >
|
|
<string>Show undefined branches used in this document.</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string>&Undefined Branches</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="8" column="0" colspan="2" >
|
|
<spacer>
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" >
|
|
<size>
|
|
<width>251</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="1" column="0" colspan="3" >
|
|
<widget class="QLabel" name="availableLB" >
|
|
<property name="text" >
|
|
<string>A&vailable Branches:</string>
|
|
</property>
|
|
<property name="buddy" >
|
|
<cstring>branchesTW</cstring>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="3" >
|
|
<widget class="QPushButton" name="activatePB" >
|
|
<property name="toolTip" >
|
|
<string>Toggle the selected branch</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string>(&De)activate</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item rowspan="6" row="2" column="0" colspan="3" >
|
|
<widget class="QTreeWidget" name="branchesTW" />
|
|
</item>
|
|
<item row="0" column="3" >
|
|
<widget class="QPushButton" name="addBranchPB" >
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip" >
|
|
<string>Add a new branch to the list</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string>&Add</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1" colspan="2" >
|
|
<widget class="QLineEdit" name="newBranchLE" />
|
|
</item>
|
|
<item row="4" column="3" >
|
|
<widget class="QPushButton" name="colorPB" >
|
|
<property name="toolTip" >
|
|
<string>Define or change background color</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string>Alter Co&lor...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="3" >
|
|
<widget class="QPushButton" name="removePB" >
|
|
<property name="toolTip" >
|
|
<string>Remove the selected branch</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string>&Remove</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="3" >
|
|
<widget class="QPushButton" name="renamePB" >
|
|
<property name="toolTip" >
|
|
<string>Change the name of the selected branch</string>
|
|
</property>
|
|
<property name="text" >
|
|
<string>Re&name...</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<tabstops>
|
|
<tabstop>newBranchLE</tabstop>
|
|
<tabstop>addBranchPB</tabstop>
|
|
<tabstop>branchesTW</tabstop>
|
|
<tabstop>removePB</tabstop>
|
|
<tabstop>renamePB</tabstop>
|
|
<tabstop>colorPB</tabstop>
|
|
<tabstop>suffixPB</tabstop>
|
|
<tabstop>activatePB</tabstop>
|
|
<tabstop>unknownPB</tabstop>
|
|
</tabstops>
|
|
<includes>
|
|
<include location="local" >qt_i18n.h</include>
|
|
</includes>
|
|
<resources/>
|
|
<connections/>
|
|
</ui>
|