/[svn]/qsampler/trunk/src/qsamplerPaletteForm.ui
ViewVC logotype

Contents of /qsampler/trunk/src/qsamplerPaletteForm.ui

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3648 - (show annotations) (download)
Tue Dec 10 10:34:06 2019 UTC (4 years, 3 months ago) by capela
File size: 7880 byte(s)
- Custom color (palette) theme editor introduced; color
  (palette) theme changes are now effective immediately,
  except on default. (EXPERIMENTAL)
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <author>rncbc aka Rui Nuno Capela</author>
4 <comment>qsampler - A LinuxSampler Qt GUI Interface.
5
6 Copyright (C) 2005-2019, rncbc aka Rui Nuno Capela. All rights reserved.
7 Copyright (C) 2007, Christian Schoenebeck
8
9 This program is free software; you can redistribute it and/or
10 modify it under the terms of the GNU General Public License
11 as published by the Free Software Foundation; either version 2
12 of the License, or (at your option) any later version.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License along
20 with this program; if not, write to the Free Software Foundation, Inc.,
21 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22
23 </comment>
24 <class>qsamplerPaletteForm</class>
25 <widget class="QDialog" name="qsamplerPaletteForm">
26 <property name="geometry">
27 <rect>
28 <x>0</x>
29 <y>0</y>
30 <width>534</width>
31 <height>640</height>
32 </rect>
33 </property>
34 <property name="sizePolicy">
35 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
36 <horstretch>0</horstretch>
37 <verstretch>0</verstretch>
38 </sizepolicy>
39 </property>
40 <property name="windowTitle">
41 <string>Color Themes</string>
42 </property>
43 <layout class="QVBoxLayout">
44 <item>
45 <widget class="QGroupBox" name="nameBox">
46 <property name="title">
47 <string>Name</string>
48 </property>
49 <layout class="QHBoxLayout">
50 <item>
51 <widget class="QComboBox" name="nameCombo">
52 <property name="sizePolicy">
53 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
54 <horstretch>0</horstretch>
55 <verstretch>0</verstretch>
56 </sizepolicy>
57 </property>
58 <property name="minimumSize">
59 <size>
60 <width>320</width>
61 <height>0</height>
62 </size>
63 </property>
64 <property name="toolTip">
65 <string>Current color palette name</string>
66 </property>
67 <property name="editable">
68 <bool>true</bool>
69 </property>
70 <property name="insertPolicy">
71 <enum>QComboBox::NoInsert</enum>
72 </property>
73 </widget>
74 </item>
75 <item>
76 <widget class="QPushButton" name="saveButton">
77 <property name="toolTip">
78 <string>Save current color palette name</string>
79 </property>
80 <property name="text">
81 <string>Save</string>
82 </property>
83 <property name="icon">
84 <iconset resource="qsampler.qrc">:/images/formSave.png</iconset>
85 </property>
86 </widget>
87 </item>
88 <item>
89 <widget class="QPushButton" name="deleteButton">
90 <property name="toolTip">
91 <string>Delete current color palette name</string>
92 </property>
93 <property name="text">
94 <string>Delete</string>
95 </property>
96 <property name="icon">
97 <iconset resource="qsampler.qrc">:/images/formRemove.png</iconset>
98 </property>
99 </widget>
100 </item>
101 </layout>
102 </widget>
103 </item>
104 <item>
105 <widget class="QGroupBox" name="paletteBox">
106 <property name="title">
107 <string>Palette</string>
108 </property>
109 <layout class="QGridLayout">
110 <item row="0" column="0" colspan="8">
111 <widget class="QTreeView" name="paletteView">
112 <property name="minimumSize">
113 <size>
114 <width>280</width>
115 <height>360</height>
116 </size>
117 </property>
118 <property name="toolTip">
119 <string>Current color palette</string>
120 </property>
121 <property name="alternatingRowColors">
122 <bool>true</bool>
123 </property>
124 </widget>
125 </item>
126 <item row="1" column="0">
127 <widget class="QLabel" name="generateLabel">
128 <property name="text">
129 <string>Generate:</string>
130 </property>
131 </widget>
132 </item>
133 <item row="1" column="1">
134 <widget class="QSampler::PaletteForm::ColorButton" name="generateButton" native="true">
135 <property name="sizePolicy">
136 <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
137 <horstretch>0</horstretch>
138 <verstretch>0</verstretch>
139 </sizepolicy>
140 </property>
141 <property name="focusPolicy">
142 <enum>Qt::StrongFocus</enum>
143 </property>
144 <property name="toolTip">
145 <string>Base color to generate palette</string>
146 </property>
147 </widget>
148 </item>
149 <item row="1" column="2">
150 <widget class="QPushButton" name="resetButton">
151 <property name="toolTip">
152 <string>Reset all current palette colors</string>
153 </property>
154 <property name="text">
155 <string> Reset</string>
156 </property>
157 <property name="icon">
158 <iconset resource="qsampler.qrc">:/images/itemReset.png</iconset>
159 </property>
160 </widget>
161 </item>
162 <item row="1" column="3">
163 <spacer>
164 <property name="orientation">
165 <enum>Qt::Horizontal</enum>
166 </property>
167 <property name="sizeHint">
168 <size>
169 <width>8</width>
170 <height>20</height>
171 </size>
172 </property>
173 </spacer>
174 </item>
175 <item row="1" column="4">
176 <widget class="QPushButton" name="importButton">
177 <property name="toolTip">
178 <string>Import a custom color theme (palette) from file</string>
179 </property>
180 <property name="text">
181 <string>Import...</string>
182 </property>
183 <property name="icon">
184 <iconset resource="qsampler.qrc">:/images/formOpen.png</iconset>
185 </property>
186 </widget>
187 </item>
188 <item row="1" column="5">
189 <widget class="QPushButton" name="exportButton">
190 <property name="toolTip">
191 <string>Export a custom color theme (palette) to file</string>
192 </property>
193 <property name="text">
194 <string>Export...</string>
195 </property>
196 <property name="icon">
197 <iconset resource="qsampler.qrc">:/images/formSave.png</iconset>
198 </property>
199 </widget>
200 </item>
201 <item row="1" column="6">
202 <spacer>
203 <property name="orientation">
204 <enum>Qt::Horizontal</enum>
205 </property>
206 <property name="sizeHint">
207 <size>
208 <width>8</width>
209 <height>20</height>
210 </size>
211 </property>
212 </spacer>
213 </item>
214 <item row="1" column="7">
215 <widget class="QCheckBox" name="detailsCheck">
216 <property name="text">
217 <string>Show Details</string>
218 </property>
219 </widget>
220 </item>
221 </layout>
222 </widget>
223 </item>
224 <item>
225 <widget class="QDialogButtonBox" name="dialogButtons">
226 <property name="orientation">
227 <enum>Qt::Horizontal</enum>
228 </property>
229 <property name="standardButtons">
230 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
231 </property>
232 </widget>
233 </item>
234 </layout>
235 </widget>
236 <customwidgets>
237 <customwidget>
238 <class>QSampler::PaletteForm::ColorButton</class>
239 </customwidget>
240 </customwidgets>
241 <tabstops>
242 <tabstop>nameCombo</tabstop>
243 <tabstop>saveButton</tabstop>
244 <tabstop>deleteButton</tabstop>
245 <tabstop>paletteView</tabstop>
246 <tabstop>generateButton</tabstop>
247 <tabstop>resetButton</tabstop>
248 <tabstop>importButton</tabstop>
249 <tabstop>exportButton</tabstop>
250 <tabstop>detailsCheck</tabstop>
251 <tabstop>dialogButtons</tabstop>
252 </tabstops>
253 <resources>
254 <include location="qsampler.qrc"/>
255 </resources>
256 <connections/>
257 </ui>

  ViewVC Help
Powered by ViewVC