keyboard skins: remove commented lines
This commit is contained in:
parent
3d584beee2
commit
c1945a00ec
@ -526,7 +526,7 @@ void QskMaterialSkin::initInputPanelHints()
|
|||||||
const ColorPalette& pal = m_data->palette;
|
const ColorPalette& pal = m_data->palette;
|
||||||
|
|
||||||
// key panel
|
// key panel
|
||||||
// setMargins( Q::KeyPanel | Margin, 2 );
|
setMargins( QskInputPanel::Panel | Margin, 2 );
|
||||||
|
|
||||||
setBoxShape( Q::Panel, 20.0, Qt::RelativeSize );
|
setBoxShape( Q::Panel, 20.0, Qt::RelativeSize );
|
||||||
setBoxBorderMetrics( Q::Panel, 2 );
|
setBoxBorderMetrics( Q::Panel, 2 );
|
||||||
@ -540,13 +540,6 @@ void QskMaterialSkin::initInputPanelHints()
|
|||||||
setAnimation( Q::Panel | Color, qskDuration );
|
setAnimation( Q::Panel | Color, qskDuration );
|
||||||
setAnimation( Q::Panel | Metric, qskDuration );
|
setAnimation( Q::Panel | Metric, qskDuration );
|
||||||
|
|
||||||
// glyph
|
|
||||||
// setSkinHint( Q::KeyGlyph | Alignment, Qt::AlignCenter );
|
|
||||||
// setFontRole( Q::KeyGlyph, QskSkin::TinyFont );
|
|
||||||
|
|
||||||
// setColor( Q::KeyGlyph, pal.textColor );
|
|
||||||
// setColor( Q::KeyGlyph | Q::Disabled, pal.darker200 );
|
|
||||||
|
|
||||||
// panel
|
// panel
|
||||||
setBoxShape( Q::Panel, 0 );
|
setBoxShape( Q::Panel, 0 );
|
||||||
setBoxBorderMetrics( Q::Panel, 0 );
|
setBoxBorderMetrics( Q::Panel, 0 );
|
||||||
|
@ -566,25 +566,9 @@ void QskSquiekSkin::initInputPanelHints()
|
|||||||
setButton( Q::Panel | Q::Pressed, Sunken );
|
setButton( Q::Panel | Q::Pressed, Sunken );
|
||||||
|
|
||||||
setAnimation( Q::Panel | Color, qskDuration );
|
setAnimation( Q::Panel | Color, qskDuration );
|
||||||
#if 0
|
|
||||||
// crashes because animations are started from updateNode
|
|
||||||
// TODO ...
|
|
||||||
|
|
||||||
setAnimation( Q::Panel | Metric, qskDuration );
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// glyph
|
|
||||||
// setSkinHint( Q::Text | Alignment, Qt::AlignCenter );
|
|
||||||
// setFontRole( Q::Text, QskSkin::TinyFont );
|
|
||||||
|
|
||||||
setColor( Q::Text, pal.themeForeground );
|
setColor( Q::Text, pal.themeForeground );
|
||||||
setColor( Q::Text | Q::Disabled, pal.darker200 );
|
setColor( Q::Text | Q::Disabled, pal.darker200 );
|
||||||
|
|
||||||
// // panel
|
|
||||||
|
|
||||||
// setMargins( Q::Panel | Padding, 5 );
|
|
||||||
// setMargins( Q::Panel | Spacing, 5 );
|
|
||||||
// setPanel( Q::Panel, Raised );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void QskSquiekSkin::initScrollViewHints()
|
void QskSquiekSkin::initScrollViewHints()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user