use astyle
This commit is contained in:
parent
640cfd17d7
commit
10018cdabf
|
@ -39,7 +39,9 @@ MenuItem::MenuItem( const QString& name, QQuickItem* parent ) : QskLinearBox( Qt
|
|||
QskAspect::Subcontrol MenuItem::effectiveSubcontrol( QskAspect::Subcontrol subControl ) const
|
||||
{
|
||||
if( subControl == QskBox::Panel )
|
||||
{
|
||||
return MenuItem::Panel;
|
||||
}
|
||||
|
||||
return subControl;
|
||||
}
|
||||
|
@ -48,12 +50,16 @@ void MenuItem::setActive(bool active)
|
|||
{
|
||||
QColor color;
|
||||
|
||||
if(active) {
|
||||
if( active )
|
||||
{
|
||||
color = Qt::white;
|
||||
color.setAlphaF( 0.14 );
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
color = Qt::transparent;
|
||||
}
|
||||
|
||||
setBackgroundColor( color );
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,8 @@ TopBar::TopBar(QQuickItem *parent) : QskLinearBox(Qt::Horizontal, parent)
|
|||
"#6776FF", "#6100FF",
|
||||
"#FFCE50", "#FF3122",
|
||||
// "#00ff00", "#ffffff", // ### remove
|
||||
"#6776FF", "#6100FF"};
|
||||
"#6776FF", "#6100FF"
|
||||
};
|
||||
|
||||
int progressValues[] = {25, 45, 15, 86};
|
||||
int values[] = {175, 205, 115, 289};
|
||||
|
|
Loading…
Reference in New Issue