Changeset View
Changeset View
Standalone View
Standalone View
src/settings/ProfileSettings.ui
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
---|---|---|---|---|---|
2 | <ui version="4.0"> | 2 | <ui version="4.0"> | ||
3 | <class>ProfileSettings</class> | 3 | <class>ProfileSettings</class> | ||
4 | <widget class="QWidget" name="ProfileSettings"> | 4 | <widget class="QWidget" name="ProfileSettings"> | ||
5 | <property name="geometry"> | 5 | <property name="geometry"> | ||
6 | <rect> | 6 | <rect> | ||
7 | <x>0</x> | 7 | <x>0</x> | ||
8 | <y>0</y> | 8 | <y>0</y> | ||
9 | <width>645</width> | 9 | <width>384</width> | ||
10 | <height>315</height> | 10 | <height>384</height> | ||
11 | </rect> | 11 | </rect> | ||
12 | </property> | 12 | </property> | ||
13 | <layout class="QGridLayout" name="gridLayout"> | 13 | <layout class="QVBoxLayout" name="verticalLayout_2"> | ||
14 | <item row="0" column="0" rowspan="5"> | 14 | <property name="leftMargin"> | ||
15 | <widget class="QTableView" name="sessionTable"> | 15 | <number>0</number> | ||
16 | <property name="alternatingRowColors"> | | |||
17 | <bool>true</bool> | | |||
18 | </property> | 16 | </property> | ||
19 | <property name="selectionMode"> | 17 | <property name="topMargin"> | ||
20 | <enum>QAbstractItemView::ExtendedSelection</enum> | 18 | <number>0</number> | ||
21 | </property> | 19 | </property> | ||
22 | <property name="selectionBehavior"> | 20 | <property name="rightMargin"> | ||
23 | <enum>QAbstractItemView::SelectRows</enum> | 21 | <number>0</number> | ||
24 | </property> | 22 | </property> | ||
25 | <property name="verticalScrollMode"> | 23 | <property name="bottomMargin"> | ||
26 | <enum>QAbstractItemView::ScrollPerPixel</enum> | 24 | <number>0</number> | ||
27 | </property> | 25 | </property> | ||
28 | <property name="horizontalScrollMode"> | 26 | <item> | ||
29 | <enum>QAbstractItemView::ScrollPerPixel</enum> | 27 | <widget class="QLabel" name="label"> | ||
28 | <property name="text"> | ||||
29 | <string>Profiles marked as visible will appear in context and File menu. A shortcut for switching current terminal's profile can be assigned to each entry. However, only shortcuts of visible profiles will work.</string> | ||||
30 | </property> | 30 | </property> | ||
31 | <property name="showGrid"> | 31 | <property name="wordWrap"> | ||
32 | <bool>false</bool> | 32 | <bool>true</bool> | ||
33 | </property> | 33 | </property> | ||
34 | </widget> | 34 | </widget> | ||
35 | </item> | 35 | </item> | ||
36 | <item> | ||||
37 | <layout class="QGridLayout" name="gridLayout_2" rowstretch="0,1"> | ||||
38 | <property name="verticalSpacing"> | ||||
39 | <number>0</number> | ||||
40 | </property> | ||||
36 | <item row="0" column="1"> | 41 | <item row="0" column="1"> | ||
42 | <layout class="QVBoxLayout" name="verticalLayout"> | ||||
43 | <property name="spacing"> | ||||
44 | <number>6</number> | ||||
45 | </property> | ||||
46 | <item> | ||||
37 | <widget class="QPushButton" name="newProfileButton"> | 47 | <widget class="QPushButton" name="newProfileButton"> | ||
38 | <property name="toolTip"> | 48 | <property name="toolTip"> | ||
39 | <string>Create a new profile based upon the selected profile</string> | 49 | <string>Create a new profile based upon the selected profile</string> | ||
40 | </property> | 50 | </property> | ||
41 | <property name="text"> | 51 | <property name="text"> | ||
42 | <string>&New Profile...</string> | 52 | <string>&New...</string> | ||
43 | </property> | 53 | </property> | ||
44 | </widget> | 54 | </widget> | ||
45 | </item> | 55 | </item> | ||
46 | <item row="1" column="1"> | 56 | <item> | ||
47 | <widget class="QPushButton" name="editProfileButton"> | 57 | <widget class="QPushButton" name="editProfileButton"> | ||
48 | <property name="enabled"> | 58 | <property name="enabled"> | ||
49 | <bool>false</bool> | 59 | <bool>false</bool> | ||
50 | </property> | 60 | </property> | ||
51 | <property name="toolTip"> | 61 | <property name="toolTip"> | ||
52 | <string>Edit the selected profile(s)</string> | 62 | <string>Edit the selected profile(s)</string> | ||
53 | </property> | 63 | </property> | ||
54 | <property name="text"> | 64 | <property name="text"> | ||
55 | <string>&Edit Profile...</string> | 65 | <string>&Edit...</string> | ||
56 | </property> | 66 | </property> | ||
57 | </widget> | 67 | </widget> | ||
58 | </item> | 68 | </item> | ||
59 | <item row="2" column="1"> | 69 | <item> | ||
60 | <widget class="QPushButton" name="deleteProfileButton"> | 70 | <widget class="QPushButton" name="deleteProfileButton"> | ||
61 | <property name="enabled"> | 71 | <property name="enabled"> | ||
62 | <bool>false</bool> | 72 | <bool>false</bool> | ||
63 | </property> | 73 | </property> | ||
64 | <property name="toolTip"> | 74 | <property name="toolTip"> | ||
65 | <string>Delete the selected profile(s)</string> | 75 | <string>Delete the selected profile(s)</string> | ||
66 | </property> | 76 | </property> | ||
67 | <property name="text"> | 77 | <property name="text"> | ||
68 | <string>&Delete Profile</string> | 78 | <string>&Remove</string> | ||
69 | </property> | 79 | </property> | ||
70 | </widget> | 80 | </widget> | ||
71 | </item> | 81 | </item> | ||
72 | <item row="3" column="1"> | 82 | <item> | ||
73 | <widget class="QPushButton" name="setAsDefaultButton"> | 83 | <widget class="QPushButton" name="setAsDefaultButton"> | ||
74 | <property name="enabled"> | 84 | <property name="enabled"> | ||
75 | <bool>false</bool> | 85 | <bool>false</bool> | ||
76 | </property> | 86 | </property> | ||
77 | <property name="toolTip"> | 87 | <property name="toolTip"> | ||
78 | <string>Set the selected profile as the default for new terminal sessions</string> | 88 | <string>Set the selected profile as the default for new terminal sessions</string> | ||
79 | </property> | 89 | </property> | ||
80 | <property name="text"> | 90 | <property name="text"> | ||
81 | <string>&Set as Default</string> | 91 | <string>&Set as Default</string> | ||
82 | </property> | 92 | </property> | ||
83 | </widget> | 93 | </widget> | ||
84 | </item> | 94 | </item> | ||
85 | <item row="4" column="1"> | 95 | </layout> | ||
96 | </item> | ||||
97 | <item row="1" column="1"> | ||||
86 | <spacer> | 98 | <spacer> | ||
87 | <property name="orientation"> | 99 | <property name="orientation"> | ||
88 | <enum>Qt::Vertical</enum> | 100 | <enum>Qt::Vertical</enum> | ||
89 | </property> | 101 | </property> | ||
90 | <property name="sizeHint" stdset="0"> | 102 | <property name="sizeHint" stdset="0"> | ||
91 | <size> | 103 | <size> | ||
92 | <width>20</width> | 104 | <width>20</width> | ||
93 | <height>40</height> | 105 | <height>40</height> | ||
94 | </size> | 106 | </size> | ||
95 | </property> | 107 | </property> | ||
96 | </spacer> | 108 | </spacer> | ||
97 | </item> | 109 | </item> | ||
98 | <item row="5" column="0" colspan="2"> | 110 | <item row="0" column="0" rowspan="2"> | ||
99 | <widget class="QLabel" name="shortcutInfoLabel"> | 111 | <widget class="QTreeView" name="profilesList"> | ||
100 | <property name="text"> | 112 | <property name="alternatingRowColors"> | ||
101 | <string>The 'Show' column must be checked for these shortcuts to work.</string> | 113 | <bool>true</bool> | ||
102 | </property> | 114 | </property> | ||
103 | <property name="wordWrap"> | 115 | <property name="selectionMode"> | ||
116 | <enum>QAbstractItemView::ExtendedSelection</enum> | ||||
117 | </property> | ||||
118 | <property name="rootIsDecorated"> | ||||
119 | <bool>false</bool> | ||||
120 | </property> | ||||
121 | <property name="uniformRowHeights"> | ||||
104 | <bool>true</bool> | 122 | <bool>true</bool> | ||
105 | </property> | 123 | </property> | ||
124 | <property name="itemsExpandable"> | ||||
125 | <bool>false</bool> | ||||
126 | </property> | ||||
127 | <property name="expandsOnDoubleClick"> | ||||
128 | <bool>false</bool> | ||||
129 | </property> | ||||
130 | <attribute name="headerMinimumSectionSize"> | ||||
131 | <number>8</number> | ||||
132 | </attribute> | ||||
133 | <attribute name="headerStretchLastSection"> | ||||
134 | <bool>true</bool> | ||||
135 | </attribute> | ||||
106 | </widget> | 136 | </widget> | ||
107 | </item> | 137 | </item> | ||
108 | </layout> | 138 | </layout> | ||
139 | </item> | ||||
140 | </layout> | ||||
109 | </widget> | 141 | </widget> | ||
110 | <resources/> | 142 | <resources/> | ||
111 | <connections/> | 143 | <connections/> | ||
112 | </ui> | 144 | </ui> |