Set Object name to graphical elements to thematize by qss
This commit is contained in:
parent
4c6f42ecfa
commit
1636f665c3
@ -61,7 +61,7 @@ PartitionLabelsView::PartitionLabelsView( QWidget* parent )
|
|||||||
setFrameStyle( QFrame::NoFrame );
|
setFrameStyle( QFrame::NoFrame );
|
||||||
setSelectionBehavior( QAbstractItemView::SelectRows );
|
setSelectionBehavior( QAbstractItemView::SelectRows );
|
||||||
setSelectionMode( QAbstractItemView::SingleSelection );
|
setSelectionMode( QAbstractItemView::SingleSelection );
|
||||||
|
this->setObjectName("partitionLabel");
|
||||||
// Debug
|
// Debug
|
||||||
connect( this, &PartitionLabelsView::clicked,
|
connect( this, &PartitionLabelsView::clicked,
|
||||||
this, [=]( const QModelIndex& index )
|
this, [=]( const QModelIndex& index )
|
||||||
|
Loading…
Reference in New Issue
Block a user