mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-02-26 04:43:06 +01:00
* Added TomahawkStyle::stylePageWidget and remove actual frame from QFrame.
This commit is contained in:
parent
b86c179f2c
commit
90e080a55a
@ -170,6 +170,16 @@ TomahawkStyle::stylePageFrame( QFrame* frame )
|
||||
{
|
||||
frame->setStyleSheet( QString( "QFrame#%1 { background-color: transparent; border: 0px solid white; border-radius: 0px; }" )
|
||||
.arg( frame->objectName() ) );
|
||||
frame->setFrameShape( QFrame::NoFrame );
|
||||
frame->setAttribute( Qt::WA_MacShowFocusRect, 0 );
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
TomahawkStyle::stylePageWidget( QWidget* widget )
|
||||
{
|
||||
widget->setStyleSheet( QString( "QWidget%1 { background-color: transparent; }" )
|
||||
.arg( widget->objectName() ) );
|
||||
}
|
||||
|
||||
|
||||
|
@ -47,6 +47,7 @@ namespace TomahawkStyle
|
||||
DLLEXPORT void drawArrow( QStyle::PrimitiveElement, QPainter* painter, const QStyleOption* opt );
|
||||
|
||||
DLLEXPORT void stylePageFrame( QFrame* frame );
|
||||
DLLEXPORT void stylePageWidget( QWidget* widget );
|
||||
DLLEXPORT void styleScrollBar( QScrollBar* scrollBar );
|
||||
|
||||
static const QColor BORDER_LINE = QColor( "#8c8c8c" );
|
||||
|
Loading…
x
Reference in New Issue
Block a user