refs #303 Simulator table view

* Simulator component
* Name / variant pair object / view / model
This commit is contained in:
Klaus Basan
2014-08-02 22:15:15 +02:00
parent 42f89ebeca
commit 9afc9024ca
9 changed files with 159 additions and 12 deletions

View File

@@ -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;
};