Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
c92f962f
Commit
c92f962f
authored
Oct 15, 2007
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qt4 preferences: the label is not mandatory in object constructor
parent
1359fbd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
modules/gui/qt4/components/preferences_widgets.hpp
modules/gui/qt4/components/preferences_widgets.hpp
+16
-16
No files found.
modules/gui/qt4/components/preferences_widgets.hpp
View file @
c92f962f
...
...
@@ -117,8 +117,8 @@ public:
QLabel
*
,
QSlider
*
);
virtual
~
IntegerConfigControl
()
{};
virtual
int
getValue
();
virtual
void
show
()
{
spin
->
show
();
label
->
show
();
}
virtual
void
hide
()
{
spin
->
hide
();
label
->
hide
();
}
virtual
void
show
()
{
spin
->
show
();
if
(
label
)
label
->
show
();
}
virtual
void
hide
()
{
spin
->
hide
();
if
(
label
)
label
->
hide
();
}
protected:
QSpinBox
*
spin
;
...
...
@@ -161,8 +161,8 @@ public:
QComboBox
*
,
bool
);
virtual
~
IntegerListConfigControl
()
{};
virtual
int
getValue
();
virtual
void
hide
()
{
combo
->
hide
();
label
->
hide
();
}
virtual
void
show
()
{
combo
->
show
();
label
->
show
();
}
virtual
void
hide
()
{
combo
->
hide
();
if
(
label
)
label
->
hide
();
}
virtual
void
show
()
{
combo
->
show
();
if
(
label
)
label
->
show
();
}
private:
void
finish
(
bool
);
QLabel
*
label
;
...
...
@@ -211,8 +211,8 @@ public:
QLabel
*
,
QDoubleSpinBox
*
);
virtual
~
FloatConfigControl
()
{};
virtual
float
getValue
();
virtual
void
show
()
{
spin
->
show
();
label
->
show
();
}
virtual
void
hide
()
{
spin
->
hide
();
label
->
hide
();
}
virtual
void
show
()
{
spin
->
show
();
if
(
label
)
label
->
show
();
}
virtual
void
hide
()
{
spin
->
hide
();
if
(
label
)
label
->
hide
();
}
protected:
QDoubleSpinBox
*
spin
;
...
...
@@ -260,8 +260,8 @@ public:
QLineEdit
*
,
bool
pwd
);
virtual
~
StringConfigControl
()
{};
virtual
QString
getValue
()
{
return
text
->
text
();
};
virtual
void
show
()
{
text
->
show
();
label
->
show
();
}
virtual
void
hide
()
{
text
->
hide
();
label
->
hide
();
}
virtual
void
show
()
{
text
->
show
();
if
(
label
)
label
->
show
();
}
virtual
void
hide
()
{
text
->
hide
();
if
(
label
)
label
->
hide
();
}
private:
void
finish
();
QLineEdit
*
text
;
...
...
@@ -278,8 +278,8 @@ public:
QLineEdit
*
,
QPushButton
*
,
bool
pwd
);
virtual
~
FileConfigControl
()
{};
virtual
QString
getValue
()
{
return
text
->
text
();
};
virtual
void
show
()
{
text
->
show
();
label
->
show
();
browse
->
show
();
}
virtual
void
hide
()
{
text
->
hide
();
label
->
hide
();
browse
->
hide
();
}
virtual
void
show
()
{
text
->
show
();
if
(
label
)
label
->
show
();
browse
->
show
();
}
virtual
void
hide
()
{
text
->
hide
();
if
(
label
)
label
->
hide
();
browse
->
hide
();
}
public
slots
:
virtual
void
updateField
();
protected:
...
...
@@ -324,8 +324,8 @@ public:
QComboBox
*
,
bool
);
virtual
~
ModuleConfigControl
()
{};
virtual
QString
getValue
();
virtual
void
hide
()
{
combo
->
hide
();
label
->
hide
();
}
virtual
void
show
()
{
combo
->
show
();
label
->
show
();
}
virtual
void
hide
()
{
combo
->
hide
();
if
(
label
)
label
->
hide
();
}
virtual
void
show
()
{
combo
->
show
();
if
(
label
)
label
->
show
();
}
private:
void
finish
(
bool
);
QLabel
*
label
;
...
...
@@ -367,8 +367,8 @@ public:
QComboBox
*
,
bool
);
virtual
~
StringListConfigControl
()
{};
virtual
QString
getValue
();
virtual
void
hide
()
{
combo
->
hide
();
label
->
hide
();
}
virtual
void
show
()
{
combo
->
show
();
label
->
show
();
}
virtual
void
hide
()
{
if
(
combo
)
combo
->
hide
();
if
(
label
)
label
->
hide
();
}
virtual
void
show
()
{
if
(
combo
)
combo
->
show
();
if
(
label
)
label
->
show
();
}
private:
void
finish
(
bool
);
QLabel
*
label
;
...
...
@@ -422,8 +422,8 @@ public:
QGridLayout
*
,
int
&
);
virtual
int
getType
()
{
return
4
;
}
virtual
~
KeySelectorControl
()
{};
virtual
void
hide
()
{
table
->
hide
();
label
->
hide
();
}
virtual
void
show
()
{
table
->
show
();
label
->
show
();
}
virtual
void
hide
()
{
table
->
hide
();
if
(
label
)
label
->
hide
();
}
virtual
void
show
()
{
table
->
show
();
if
(
label
)
label
->
show
();
}
void
doApply
();
private:
void
finish
();
...
...
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