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
8a7513fe
Commit
8a7513fe
authored
Nov 30, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: SearchLineEdit: rename function to match Qt4.7 names
parent
5f47703c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
modules/gui/qt4/util/searchlineedit.cpp
modules/gui/qt4/util/searchlineedit.cpp
+5
-2
modules/gui/qt4/util/searchlineedit.hpp
modules/gui/qt4/util/searchlineedit.hpp
+2
-2
No files found.
modules/gui/qt4/util/searchlineedit.cpp
View file @
8a7513fe
...
...
@@ -43,10 +43,10 @@
ClickLineEdit
::
ClickLineEdit
(
const
QString
&
msg
,
QWidget
*
parent
)
:
QLineEdit
(
parent
)
{
mDrawClickMsg
=
true
;
set
ClickMessage
(
msg
);
set
PlaceholderText
(
msg
);
}
void
ClickLineEdit
::
set
ClickMessage
(
const
QString
&
msg
)
void
ClickLineEdit
::
set
PlaceholderText
(
const
QString
&
msg
)
{
mClickMessage
=
msg
;
repaint
();
...
...
@@ -100,6 +100,9 @@ void ClickLineEdit::focusOutEvent( QFocusEvent *ev )
QLineEdit
::
focusOutEvent
(
ev
);
}
SearchLineEdit
::
SearchLineEdit
(
QWidget
*
parent
)
:
QLineEdit
(
parent
)
{
clearButton
=
new
QVLCFramelessButton
(
this
);
...
...
modules/gui/qt4/util/searchlineedit.hpp
View file @
8a7513fe
...
...
@@ -39,10 +39,10 @@
class
ClickLineEdit
:
public
QLineEdit
{
Q_OBJECT
Q_PROPERTY
(
QString
clickMessage
READ
clickMessage
WRITE
set
ClickMessage
)
Q_PROPERTY
(
QString
clickMessage
READ
clickMessage
WRITE
set
PlaceholderText
)
public:
ClickLineEdit
(
const
QString
&
msg
,
QWidget
*
parent
);
void
set
ClickMessage
(
const
QString
&
msg
);
void
set
PlaceholderText
(
const
QString
&
msg
);
const
QString
&
clickMessage
()
const
{
return
mClickMessage
;
}
virtual
void
setText
(
const
QString
&
txt
);
protected:
...
...
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