Public Member Functions | Protected Attributes | List of all members
qt_gui_cpp::PluginDescriptor Class Reference

#include <plugin_descriptor.h>

Public Member Functions

const QMap< QString, QString > & actionAttributes () const
 
void addGroupAttributes (const QString &label, const QString &statustip=QString(), const QString &icon=QString(), const QString &icontype=QString())
 
QMap< QString, QString > & attributes ()
 
const QMap< QString, QString > & attributes () const
 
int countGroups () const
 
QMap< QString, QString > group (int index) const
 
 PluginDescriptor (const QString &plugin_id, const QMap< QString, QString > &attributes=(QMap< QString, QString >()))
 
const QString & pluginId () const
 
void setActionAttributes (const QString &label, const QString &statustip=QString(), const QString &icon=QString(), const QString &icontype=QString())
 
QMap< QString, QString > toDictionary () const
 

Protected Attributes

QMap< QString, QString > action_attributes_
 
QMap< QString, QString > attributes_
 
QVector< QMap< QString, QString > > groups_
 
QString plugin_id_
 

Detailed Description

Definition at line 43 of file plugin_descriptor.h.

Constructor & Destructor Documentation

◆ PluginDescriptor()

qt_gui_cpp::PluginDescriptor::PluginDescriptor ( const QString &  plugin_id,
const QMap< QString, QString > &  attributes = (QMap<QString, QString>()) 
)

Definition at line 37 of file plugin_descriptor.cpp.

Member Function Documentation

◆ actionAttributes()

const QMap< QString, QString > & qt_gui_cpp::PluginDescriptor::actionAttributes ( ) const

Definition at line 58 of file plugin_descriptor.cpp.

◆ addGroupAttributes()

void qt_gui_cpp::PluginDescriptor::addGroupAttributes ( const QString &  label,
const QString &  statustip = QString(),
const QString &  icon = QString(),
const QString &  icontype = QString() 
)

Definition at line 81 of file plugin_descriptor.cpp.

◆ attributes() [1/2]

QMap<QString, QString>& qt_gui_cpp::PluginDescriptor::attributes ( )

◆ attributes() [2/2]

QMap< QString, QString > & qt_gui_cpp::PluginDescriptor::attributes ( ) const

Definition at line 48 of file plugin_descriptor.cpp.

◆ countGroups()

int qt_gui_cpp::PluginDescriptor::countGroups ( ) const

Definition at line 71 of file plugin_descriptor.cpp.

◆ group()

QMap< QString, QString > qt_gui_cpp::PluginDescriptor::group ( int  index) const

Definition at line 76 of file plugin_descriptor.cpp.

◆ pluginId()

const QString & qt_gui_cpp::PluginDescriptor::pluginId ( ) const

Definition at line 43 of file plugin_descriptor.cpp.

◆ setActionAttributes()

void qt_gui_cpp::PluginDescriptor::setActionAttributes ( const QString &  label,
const QString &  statustip = QString(),
const QString &  icon = QString(),
const QString &  icontype = QString() 
)

Definition at line 63 of file plugin_descriptor.cpp.

◆ toDictionary()

QMap< QString, QString > qt_gui_cpp::PluginDescriptor::toDictionary ( ) const

Definition at line 91 of file plugin_descriptor.cpp.

Member Data Documentation

◆ action_attributes_

QMap<QString, QString> qt_gui_cpp::PluginDescriptor::action_attributes_
protected

Definition at line 74 of file plugin_descriptor.h.

◆ attributes_

QMap<QString, QString> qt_gui_cpp::PluginDescriptor::attributes_
protected

Definition at line 72 of file plugin_descriptor.h.

◆ groups_

QVector<QMap<QString, QString> > qt_gui_cpp::PluginDescriptor::groups_
protected

Definition at line 76 of file plugin_descriptor.h.

◆ plugin_id_

QString qt_gui_cpp::PluginDescriptor::plugin_id_
protected

Definition at line 70 of file plugin_descriptor.h.


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


qt_gui_cpp
Author(s): Dirk Thomas
autogenerated on Sat Jun 25 2022 02:15:07