Remove "What's This?" leftovers (#5173)
This commit is contained in:
@@ -897,7 +897,4 @@ LmmsPalette {
|
||||
qproperty-brightText: #4afd85;
|
||||
qproperty-highlight: #202020;
|
||||
qproperty-highlightedText: #ffffff;
|
||||
/* the next two are used for whatsthis dialogs */
|
||||
qproperty-toolTipText: #000;
|
||||
qproperty-toolTipBase: #c9c9c9;
|
||||
}
|
||||
|
||||
@@ -920,7 +920,4 @@ LmmsPalette {
|
||||
qproperty-brightText: #d1d8e4;
|
||||
qproperty-highlight: #262b30;
|
||||
qproperty-highlightedText: #d1d8e4;
|
||||
/* the next two are used for whatsthis dialogs */
|
||||
qproperty-toolTipText: #d1d8e4;
|
||||
qproperty-toolTipBase: #101213;
|
||||
}
|
||||
|
||||
@@ -43,8 +43,6 @@ class LMMS_EXPORT LmmsPalette : public QWidget
|
||||
Q_PROPERTY( QColor brightText READ brightText WRITE setBrightText )
|
||||
Q_PROPERTY( QColor highlight READ highlight WRITE setHighlight )
|
||||
Q_PROPERTY( QColor highlightedText READ highlightedText WRITE setHighlightedText )
|
||||
Q_PROPERTY( QColor toolTipText READ toolTipText WRITE setToolTipText )
|
||||
Q_PROPERTY( QColor toolTipBase READ toolTipBase WRITE setToolTipBase )
|
||||
|
||||
public:
|
||||
LmmsPalette( QWidget * parent, QStyle * stylearg );
|
||||
@@ -65,8 +63,6 @@ public:
|
||||
ACCESSMET( brightText, setBrightText )
|
||||
ACCESSMET( highlight, setHighlight )
|
||||
ACCESSMET( highlightedText, setHighlightedText )
|
||||
ACCESSMET( toolTipText, setToolTipText )
|
||||
ACCESSMET( toolTipBase, setToolTipBase )
|
||||
|
||||
#undef ACCESSMET
|
||||
|
||||
@@ -83,8 +79,6 @@ private:
|
||||
QColor m_brightText;
|
||||
QColor m_highlight;
|
||||
QColor m_highlightedText;
|
||||
QColor m_toolTipText;
|
||||
QColor m_toolTipBase;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -42,9 +42,7 @@ LmmsPalette::LmmsPalette( QWidget * parent, QStyle * stylearg ) :
|
||||
m_buttonText( 0,0,0 ),
|
||||
m_brightText( 74, 253, 133 ),
|
||||
m_highlight( 100, 100, 100 ),
|
||||
m_highlightedText( 255, 255, 255 ),
|
||||
m_toolTipText( 0, 0, 0 ),
|
||||
m_toolTipBase( 128, 128, 128 )
|
||||
m_highlightedText( 255, 255, 255 )
|
||||
{
|
||||
setStyle( stylearg );
|
||||
stylearg->polish( this );
|
||||
@@ -72,8 +70,6 @@ LmmsPalette::~LmmsPalette()
|
||||
ACCESSMET( brightText, setBrightText )
|
||||
ACCESSMET( highlight, setHighlight )
|
||||
ACCESSMET( highlightedText, setHighlightedText )
|
||||
ACCESSMET( toolTipText, setToolTipText )
|
||||
ACCESSMET( toolTipBase, setToolTipBase )
|
||||
|
||||
|
||||
QPalette LmmsPalette::palette() const
|
||||
@@ -90,8 +86,6 @@ QPalette LmmsPalette::palette() const
|
||||
pal.setColor( QPalette::Shadow, shadow() );
|
||||
pal.setColor( QPalette::Highlight, highlight() );
|
||||
pal.setColor( QPalette::HighlightedText, highlightedText() );
|
||||
pal.setBrush( QPalette::ToolTipText, QBrush( toolTipText() ) );
|
||||
pal.setBrush( QPalette::ToolTipBase, QBrush( toolTipBase() ) );
|
||||
return pal;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user