Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
David Planella
juk
Commits
d152834f
Commit
d152834f
authored
Apr 10, 2007
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Q3Frame--
svn path=/trunk/KDE/kdemultimedia/juk/; revision=652376
parent
e89a1bea
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
13 deletions
+13
-13
coverinfo.cpp
coverinfo.cpp
+2
-2
filerenamer.cpp
filerenamer.cpp
+3
-3
nowplaying.cpp
nowplaying.cpp
+3
-3
statuslabel.cpp
statuslabel.cpp
+2
-2
systemtray.cpp
systemtray.cpp
+3
-3
No files found.
coverinfo.cpp
View file @
d152834f
...
...
@@ -25,7 +25,7 @@
#include <QPixmap>
#include <QMouseEvent>
#include <Q
3
Frame>
#include <QFrame>
#include <QHBoxLayout>
#include <QEvent>
#include <QDesktopWidget>
...
...
@@ -45,7 +45,7 @@ struct CoverPopup : public QWidget
QLabel
*
label
=
new
QLabel
(
this
);
layout
->
addWidget
(
label
);
label
->
setFrameStyle
(
Q
3
Frame
::
Box
|
Q
3
Frame
::
Raised
);
label
->
setFrameStyle
(
QFrame
::
Box
|
QFrame
::
Raised
);
label
->
setLineWidth
(
1
);
label
->
setPixmap
(
image
);
...
...
filerenamer.cpp
View file @
d152834f
...
...
@@ -50,7 +50,7 @@
#include <qpalette.h>
#include <QPixmap>
#include <Q
3
Frame>
#include <QFrame>
#include <Q3ValueList>
#include <kconfiggroup.h>
...
...
@@ -363,14 +363,14 @@ int FileRenamerWidget::addRowCategory(TagType category)
frame
->
setPalette
(
palette
);
row
.
widget
=
frame
;
frame
->
setFrameShape
(
Q
3
Frame
::
Box
);
frame
->
setFrameShape
(
QFrame
::
Box
);
frame
->
setLineWidth
(
1
);
frame
->
setMargin
(
3
);
m_mainFrame
->
setStretchFactor
(
frame
,
1
);
KVBox
*
buttons
=
new
KVBox
(
frame
);
buttons
->
setFrameStyle
(
Q
3
Frame
::
Plain
|
Q
3
Frame
::
Box
);
buttons
->
setFrameStyle
(
QFrame
::
Plain
|
QFrame
::
Box
);
buttons
->
setLineWidth
(
1
);
row
.
upButton
=
new
KPushButton
(
buttons
);
...
...
nowplaying.cpp
View file @
d152834f
...
...
@@ -26,7 +26,7 @@
#include <QTimer>
#include <QPoint>
#include <Q
3
Frame>
#include <QFrame>
#include <QDropEvent>
#include <QLabel>
#include <Q3ValueList>
...
...
@@ -48,9 +48,9 @@
static
const
int
imageSize
=
64
;
struct
Line
:
public
Q
3
Frame
struct
Line
:
public
QFrame
{
Line
(
QWidget
*
parent
)
:
Q
3
Frame
(
parent
)
{
setFrameShape
(
VLine
);
}
Line
(
QWidget
*
parent
)
:
QFrame
(
parent
)
{
setFrameShape
(
VLine
);
}
};
////////////////////////////////////////////////////////////////////////////////
...
...
statuslabel.cpp
View file @
d152834f
...
...
@@ -24,7 +24,7 @@
#include <QLayout>
#include <QMouseEvent>
#include <QLabel>
#include <Q
3
Frame>
#include <QFrame>
#include <QHBoxLayout>
#include <QEvent>
...
...
@@ -45,7 +45,7 @@ StatusLabel::StatusLabel(PlaylistInterface *playlist, QWidget *parent) :
PlaylistObserver
(
playlist
),
m_showTimeRemaining
(
false
)
{
Q
3
Frame
*
trackAndPlaylist
=
new
Q
3
Frame
(
this
);
QFrame
*
trackAndPlaylist
=
new
QFrame
(
this
);
trackAndPlaylist
->
setFrameStyle
(
Box
|
Sunken
);
trackAndPlaylist
->
setSizePolicy
(
QSizePolicy
::
Expanding
,
QSizePolicy
::
Expanding
);
...
...
systemtray.cpp
View file @
d152834f
...
...
@@ -40,7 +40,7 @@
#include <QPixmap>
#include <QEvent>
#include <Q3MimeSourceFactory>
#include <Q
3
Frame>
#include <QFrame>
#include <QLabel>
#include <QMouseEvent>
...
...
@@ -508,8 +508,8 @@ void SystemTray::slotForward()
void
SystemTray
::
addSeparatorLine
(
QWidget
*
parent
)
{
Q
3
Frame
*
line
=
new
Q
3
Frame
(
parent
);
line
->
setFrameShape
(
Q
3
Frame
::
VLine
);
QFrame
*
line
=
new
QFrame
(
parent
);
line
->
setFrameShape
(
QFrame
::
VLine
);
// Cover art takes up 80 pixels, make sure we take up at least 80 pixels
// even if we don't show the cover art for consistency.
...
...
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