mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 12:35:43 +08:00
refs #303 Simulator table view
* Simulator component * Name / variant pair object / view / model
This commit is contained in:
@@ -31,10 +31,19 @@ namespace BlackGui
|
||||
public:
|
||||
|
||||
//! Constructor
|
||||
explicit CNameVariantPairModel(QObject *parent = nullptr);
|
||||
explicit CNameVariantPairModel(bool withIcon, QObject *parent = nullptr);
|
||||
|
||||
//! Constructor
|
||||
explicit CNameVariantPairModel(const BlackMisc::CNameVariantPairList &nameValues, QObject *parent = nullptr);
|
||||
//! Icon on / off
|
||||
void setIconMode(bool withIcon);
|
||||
|
||||
//! Remove by given name
|
||||
void removeByName(const QString &name);
|
||||
|
||||
//! Add our update a value
|
||||
void addOrUpdateByName(const QString &name, const QString &value, const BlackMisc::CIcon &icon);
|
||||
|
||||
//! Current row index of given name
|
||||
int getNameRowIndex(const QString &name);
|
||||
|
||||
//! Destructor
|
||||
virtual ~CNameVariantPairModel() {}
|
||||
|
||||
Reference in New Issue
Block a user