Gui::Dialog::ButtonModel Class Reference

#include <DlgCustomizeSpaceball.h>

Public Member Functions

 ButtonModel (QObject *parent)
virtual QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
void goButtonPress (int number)
void goClear ()
void goMacroRemoved (const QByteArray &macroName)
void insertButtonRows (int number)
void loadConfig (const char *RequiredDeviceName)
virtual int rowCount (const QModelIndex &parent=QModelIndex()) const
void setCommand (int row, QString command)

Constructor & Destructor Documentation

◆ ButtonModel()

ButtonModel::ButtonModel ( QObject parent)

Member Function Documentation

◆ data()

◆ goButtonPress()

void ButtonModel::goButtonPress ( int  number)

◆ goClear()

void ButtonModel::goClear ( )

References ParameterGrp::Clear(), and rowCount().

Referenced by loadConfig().

◆ goMacroRemoved()

void ButtonModel::goMacroRemoved ( const QByteArray &  macroName)

◆ insertButtonRows()

void ButtonModel::insertButtonRows ( int  number)

◆ loadConfig()

void ButtonModel::loadConfig ( const char *  RequiredDeviceName)

References goClear().

◆ rowCount()

int ButtonModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const

◆ setCommand()

void ButtonModel::setCommand ( int  row,
QString  command 

The documentation for this class was generated from the following files: