Companion hardware internal module continued (#1342)
* Add ability to undo hardware internal module change * Add internal module protocol check on model edit * Event driven check and update of all models * Fix model edit dialog searches * Add OFF to list of internal modules * Fix internal module protocol list issue #1382
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
class CompoundItemModelFactory;
|
||||
class FilteredItemModelFactory;
|
||||
class QGridLayout;
|
||||
class AutoComboBox;
|
||||
|
||||
class HardwarePanel : public GeneralPanel
|
||||
{
|
||||
@@ -34,11 +35,19 @@ class HardwarePanel : public GeneralPanel
|
||||
HardwarePanel(QWidget * parent, GeneralSettings & generalSettings, Firmware * firmware, CompoundItemModelFactory * editorItemModels);
|
||||
virtual ~HardwarePanel();
|
||||
|
||||
signals:
|
||||
void internalModuleChanged();
|
||||
|
||||
private slots:
|
||||
void on_internalModuleChanged();
|
||||
|
||||
private:
|
||||
Board::Type board;
|
||||
CompoundItemModelFactory *editorItemModels;
|
||||
FilteredItemModelFactory *tabFilteredModels;
|
||||
QGridLayout *grid;
|
||||
AutoComboBox *internalModule;
|
||||
unsigned int m_internalModule = 0;
|
||||
|
||||
void addStick(int index, int & row);
|
||||
void addPot(int index, int & row);
|
||||
|
||||
Reference in New Issue
Block a user