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

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

Definition at line 22 of file PythonActionLauncher.cpp.

Constructor & Destructor Documentation

◆ PluginListModel()

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

Definition at line 27 of file PythonActionLauncher.cpp.

Member Function Documentation

◆ data()

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

Definition at line 38 of file PythonActionLauncher.cpp.

References Runtime::RegisteredPlugin::actions.

◆ handleDoubleClick()

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

◆ rowCount()

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

Definition at line 32 of file PythonActionLauncher.cpp.

References Runtime::RegisteredPlugin::actions.


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