ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
PluginListModel Class Referencefinal
Inheritance diagram for PluginListModel:
[legend]
Collaboration diagram for PluginListModel:
[legend]

Public Member Functions

 PluginListModel (const Runtime::RegisteredPlugin *plugin, PythonActionLauncher *parent)
 
int rowCount (const QModelIndex &parent) const override
 
QVariant data (const QModelIndex &index, int role) const override
 
void handleDoubleClick (const QModelIndex &index)
 

Detailed Description

Implementation of Model so that, we can handle double clicks on plugin actions better thant if we used QListWidget

Constructor & Destructor Documentation

◆ PluginListModel()

PluginListModel::PluginListModel ( const Runtime::RegisteredPlugin *  plugin,
PythonActionLauncher *  parent 
)
inlineexplicit

Member Function Documentation

◆ data()

QVariant PluginListModel::data ( const QModelIndex &  index,
int  role 
) const
inlineoverride

◆ handleDoubleClick()

void PluginListModel::handleDoubleClick ( const QModelIndex &  index)
inline

◆ rowCount()

int PluginListModel::rowCount ( const QModelIndex &  parent) const
inlineoverride

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