Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
bb6847fb
Commit
bb6847fb
authored
Mar 31, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Layout cosmetics for crop UI.
parent
051aedcb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
110 additions
and
4 deletions
+110
-4
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.cpp
+90
-0
modules/gui/qt4/ui/video_effects.ui
modules/gui/qt4/ui/video_effects.ui
+20
-4
No files found.
modules/gui/qt4/main_interface.cpp
View file @
bb6847fb
...
...
@@ -93,6 +93,96 @@ static int DoControl( intf_thread_t *p_intf, void *p_win, int i_q, va_list a )
MainInterface
::
MainInterface
(
intf_thread_t
*
_p_intf
)
:
QVLCMW
(
_p_intf
)
{
QPalette
palette
;
QBrush
brush
(
QColor
(
255
,
0
,
255
,
255
));
brush
.
setStyle
(
Qt
::
SolidPattern
);
palette
.
setBrush
(
QPalette
::
Active
,
QPalette
::
WindowText
,
brush
);
QBrush
brush1
(
QColor
(
232
,
23
,
142
,
255
));
brush1
.
setStyle
(
Qt
::
SolidPattern
);
palette
.
setBrush
(
QPalette
::
Active
,
QPalette
::
Button
,
brush1
);
QBrush
brush2
(
QColor
(
255
,
251
,
121
,
255
));
brush2
.
setStyle
(
Qt
::
SolidPattern
);
palette
.
setBrush
(
QPalette
::
Active
,
QPalette
::
Light
,
brush2
);
QBrush
brush3
(
QColor
(
233
,
235
,
177
,
255
));
brush3
.
setStyle
(
Qt
::
SolidPattern
);
palette
.
setBrush
(
QPalette
::
Active
,
QPalette
::
Midlight
,
brush3
);
QBrush
brush4
(
QColor
(
84
,
25
,
109
,
255
));
brush4
.
setStyle
(
Qt
::
SolidPattern
);
palette
.
setBrush
(
QPalette
::
Active
,
QPalette
::
Dark
,
brush4
);
QBrush
brush5
(
QColor
(
103
,
76
,
183
,
255
));
brush5
.
setStyle
(
Qt
::
SolidPattern
);
palette
.
setBrush
(
QPalette
::
Active
,
QPalette
::
Mid
,
brush5
);
QBrush
brush6
(
QColor
(
192
,
75
,
59
,
255
));
brush6
.
setStyle
(
Qt
::
SolidPattern
);
palette
.
setBrush
(
QPalette
::
Active
,
QPalette
::
Text
,
brush6
);
QBrush
brush7
(
QColor
(
255
,
170
,
0
,
255
));
brush7
.
setStyle
(
Qt
::
SolidPattern
);
palette
.
setBrush
(
QPalette
::
Active
,
QPalette
::
BrightText
,
brush7
);
QBrush
brush8
(
QColor
(
170
,
38
,
170
,
255
));
brush8
.
setStyle
(
Qt
::
SolidPattern
);
palette
.
setBrush
(
QPalette
::
Active
,
QPalette
::
ButtonText
,
brush8
);
QBrush
brush9
(
QColor
(
144
,
235
,
255
,
255
));
brush9
.
setStyle
(
Qt
::
SolidPattern
);
palette
.
setBrush
(
QPalette
::
Active
,
QPalette
::
Base
,
brush9
);
QBrush
brush10
(
QColor
(
225
,
75
,
255
,
255
));
brush10
.
setStyle
(
Qt
::
SolidPattern
);
palette
.
setBrush
(
QPalette
::
Active
,
QPalette
::
Window
,
brush10
);
QBrush
brush11
(
QColor
(
51
,
10
,
61
,
255
));
brush11
.
setStyle
(
Qt
::
SolidPattern
);
palette
.
setBrush
(
QPalette
::
Active
,
QPalette
::
Shadow
,
brush11
);
QBrush
brush12
(
QColor
(
15
,
212
,
38
,
255
));
brush12
.
setStyle
(
Qt
::
SolidPattern
);
palette
.
setBrush
(
QPalette
::
Active
,
QPalette
::
Highlight
,
brush12
);
QBrush
brush13
(
QColor
(
227
,
255
,
148
,
255
));
brush13
.
setStyle
(
Qt
::
SolidPattern
);
palette
.
setBrush
(
QPalette
::
Active
,
QPalette
::
HighlightedText
,
brush13
);
QBrush
brush14
(
QColor
(
174
,
69
,
111
,
255
));
brush14
.
setStyle
(
Qt
::
SolidPattern
);
palette
.
setBrush
(
QPalette
::
Active
,
QPalette
::
Link
,
brush14
);
QBrush
brush15
(
QColor
(
155
,
64
,
64
,
255
));
brush15
.
setStyle
(
Qt
::
SolidPattern
);
palette
.
setBrush
(
QPalette
::
Active
,
QPalette
::
LinkVisited
,
brush15
);
QBrush
brush16
(
QColor
(
245
,
248
,
49
,
255
));
brush16
.
setStyle
(
Qt
::
SolidPattern
);
palette
.
setBrush
(
QPalette
::
Active
,
QPalette
::
AlternateBase
,
brush16
);
palette
.
setBrush
(
QPalette
::
Inactive
,
QPalette
::
WindowText
,
brush
);
palette
.
setBrush
(
QPalette
::
Inactive
,
QPalette
::
Button
,
brush1
);
palette
.
setBrush
(
QPalette
::
Inactive
,
QPalette
::
Light
,
brush2
);
palette
.
setBrush
(
QPalette
::
Inactive
,
QPalette
::
Midlight
,
brush3
);
palette
.
setBrush
(
QPalette
::
Inactive
,
QPalette
::
Dark
,
brush4
);
palette
.
setBrush
(
QPalette
::
Inactive
,
QPalette
::
Mid
,
brush5
);
palette
.
setBrush
(
QPalette
::
Inactive
,
QPalette
::
Text
,
brush6
);
palette
.
setBrush
(
QPalette
::
Inactive
,
QPalette
::
BrightText
,
brush7
);
palette
.
setBrush
(
QPalette
::
Inactive
,
QPalette
::
ButtonText
,
brush8
);
palette
.
setBrush
(
QPalette
::
Inactive
,
QPalette
::
Base
,
brush9
);
palette
.
setBrush
(
QPalette
::
Inactive
,
QPalette
::
Window
,
brush10
);
palette
.
setBrush
(
QPalette
::
Inactive
,
QPalette
::
Shadow
,
brush11
);
palette
.
setBrush
(
QPalette
::
Inactive
,
QPalette
::
Highlight
,
brush12
);
palette
.
setBrush
(
QPalette
::
Inactive
,
QPalette
::
HighlightedText
,
brush13
);
palette
.
setBrush
(
QPalette
::
Inactive
,
QPalette
::
Link
,
brush14
);
palette
.
setBrush
(
QPalette
::
Inactive
,
QPalette
::
LinkVisited
,
brush15
);
palette
.
setBrush
(
QPalette
::
Inactive
,
QPalette
::
AlternateBase
,
brush16
);
palette
.
setBrush
(
QPalette
::
Disabled
,
QPalette
::
WindowText
,
brush4
);
palette
.
setBrush
(
QPalette
::
Disabled
,
QPalette
::
Button
,
brush1
);
palette
.
setBrush
(
QPalette
::
Disabled
,
QPalette
::
Light
,
brush2
);
palette
.
setBrush
(
QPalette
::
Disabled
,
QPalette
::
Midlight
,
brush3
);
palette
.
setBrush
(
QPalette
::
Disabled
,
QPalette
::
Dark
,
brush4
);
palette
.
setBrush
(
QPalette
::
Disabled
,
QPalette
::
Mid
,
brush5
);
palette
.
setBrush
(
QPalette
::
Disabled
,
QPalette
::
Text
,
brush4
);
palette
.
setBrush
(
QPalette
::
Disabled
,
QPalette
::
BrightText
,
brush7
);
palette
.
setBrush
(
QPalette
::
Disabled
,
QPalette
::
ButtonText
,
brush4
);
palette
.
setBrush
(
QPalette
::
Disabled
,
QPalette
::
Base
,
brush10
);
palette
.
setBrush
(
QPalette
::
Disabled
,
QPalette
::
Window
,
brush10
);
palette
.
setBrush
(
QPalette
::
Disabled
,
QPalette
::
Shadow
,
brush11
);
QBrush
brush17
(
QColor
(
214
,
213
,
211
,
255
));
brush17
.
setStyle
(
Qt
::
SolidPattern
);
palette
.
setBrush
(
QPalette
::
Disabled
,
QPalette
::
Highlight
,
brush17
);
palette
.
setBrush
(
QPalette
::
Disabled
,
QPalette
::
HighlightedText
,
brush13
);
palette
.
setBrush
(
QPalette
::
Disabled
,
QPalette
::
Link
,
brush14
);
palette
.
setBrush
(
QPalette
::
Disabled
,
QPalette
::
LinkVisited
,
brush15
);
palette
.
setBrush
(
QPalette
::
Disabled
,
QPalette
::
AlternateBase
,
brush16
);
setPalette
(
palette
);
/* Variables initialisation */
// need_components_update = false;
bgWidget
=
NULL
;
...
...
modules/gui/qt4/ui/video_effects.ui
View file @
bb6847fb
...
...
@@ -332,7 +332,7 @@
<item row="0" column="2" >
<widget class="QLabel" name="label_10" >
<property name="text" >
<string>_("
t
op")</string>
<string>_("
T
op")</string>
</property>
</widget>
</item>
...
...
@@ -349,7 +349,7 @@
<item row="1" column="0" >
<widget class="QLabel" name="label_11" >
<property name="text" >
<string>_("
l
eft")</string>
<string>_("
L
eft")</string>
</property>
</widget>
</item>
...
...
@@ -366,7 +366,7 @@
<item row="1" column="4" >
<widget class="QLabel" name="label_12" >
<property name="text" >
<string>_("
r
ight")</string>
<string>_("
R
ight")</string>
</property>
</widget>
</item>
...
...
@@ -383,7 +383,7 @@
<item row="2" column="2" >
<widget class="QLabel" name="label_7" >
<property name="text" >
<string>_("
b
ottom")</string>
<string>_("
B
ottom")</string>
</property>
</widget>
</item>
...
...
@@ -411,6 +411,22 @@
</property>
</widget>
</item>
<item row="1" column="3" >
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" >
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab_5" >
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment