mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 10:25:36 +08:00
refs #303 Simulator table view
* Simulator component * Name / variant pair object / view / model
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#define BLACKGUI_SIMULATORCOMPONENT_H
|
||||
|
||||
#include "runtimebasedcomponent.h"
|
||||
#include "blackmisc/icon.h"
|
||||
#include <QTabWidget>
|
||||
|
||||
namespace Ui { class CSimulatorComponent; }
|
||||
@@ -34,6 +35,18 @@ namespace BlackGui
|
||||
//! Destructor
|
||||
~CSimulatorComponent();
|
||||
|
||||
//! Simple add or update name / value pair
|
||||
void addOrUpdateByName(const QString &name, const QString &value, const BlackMisc::CIcon &icon);
|
||||
|
||||
//! Simple add or update name / value pair
|
||||
void addOrUpdateByName(const QString &name, const QString &value, BlackMisc::CIcons::IconIndexes iconIndex);
|
||||
|
||||
//! Number of entries
|
||||
int rowCount() const;
|
||||
|
||||
//! Clear
|
||||
void clear();
|
||||
|
||||
private:
|
||||
Ui::CSimulatorComponent *ui;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user