setting states without clearing others

This commit is contained in:
Uwe Rathmann 2021-09-01 08:34:59 +02:00
parent eea001f831
commit 2bed344f52
3 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ MenuBar::MenuBar( QQuickItem* parent )
m_entries.append( entry );
}
m_entries.at( m_activeEntry )->setSkinState( MenuItem::Active );
m_entries.at( m_activeEntry )->setSkinStateFlag( MenuItem::Active );
addSpacer( 0, 1 ); // fill the space at the bottom

View File

@ -17,7 +17,7 @@ RoundedIcon::RoundedIcon( bool isBright, QQuickItem* parent )
setFillMode( QskGraphicLabel::Pad );
if( isBright )
setSkinState( Bright );
setSkinStateFlag( Bright );
setPanel( true );
setPale( false );

View File

@ -34,7 +34,7 @@ namespace
auto symbol = new QskBox( true );
symbol->setSubcontrolProxy( QskBox::Panel, UsageDiagramLegend::Symbol );
symbol->setSizePolicy( QskSizePolicy::Fixed, QskSizePolicy::Fixed );
symbol->setSkinState( state );
symbol->setSkinStateFlag( state );
QString text;