mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 20:40:29 +08:00
Ref T189, context menu "Clear highlighting" only if there are highlighted rows
* added customMenu in template * added hasHighlightedRows
This commit is contained in:
@@ -71,9 +71,12 @@ namespace BlackGui
|
||||
//! The highlight color
|
||||
void setHighlightModelStringsColor(const QBrush &brush) { m_highlightColor = brush; }
|
||||
|
||||
//! \copydoc CListModelBase::clearHighlighting
|
||||
//! \copydoc CListModelBaseNonTemplate::clearHighlighting
|
||||
virtual void clearHighlighting() override;
|
||||
|
||||
//! \copydoc CListModelBaseNonTemplate::hasHighlightedRows
|
||||
virtual bool hasHighlightedRows() const override;
|
||||
|
||||
//! Model strings
|
||||
QStringList getModelStrings(bool sort) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user