digiKam
Digikam::DPluginConfView Class Referenceabstract
+ Inheritance diagram for Digikam::DPluginConfView:

Signals

void signalSearchResult (int)
 

Public Member Functions

int actived () const
 
void apply ()
 
void clearAll ()
 
int count () const
 
 DPluginConfView (QWidget *const parent=nullptr)
 
QString filter () const
 
int itemsVisible () const
 
int itemsWithVisiblyProperty () const
 
DPluginplugin (QTreeWidgetItem *const item) const
 
void selectAll () override
 
void setFilter (const QString &filter, Qt::CaseSensitivity cs)
 
 ~DPluginConfView () override
 

Protected Member Functions

QTreeWidgetItem * appendPlugin (DPlugin *const)
 
virtual void loadPlugins ()=0
 

Constructor & Destructor Documentation

◆ DPluginConfView()

Digikam::DPluginConfView::DPluginConfView ( QWidget *const  parent = nullptr)
explicit

Default constructor.

◆ ~DPluginConfView()

Digikam::DPluginConfView::~DPluginConfView ( )
override

Member Function Documentation

◆ actived()

int Digikam::DPluginConfView::actived ( ) const

Return the number of plugins active in the list.

◆ appendPlugin()

QTreeWidgetItem * Digikam::DPluginConfView::appendPlugin ( DPlugin * const  plugin)
protected

◆ apply()

void Digikam::DPluginConfView::apply ( )

Apply all changes about plugins selected to be hosted in host application.

References Digikam::DPluginLoader::configGroupName(), and Digikam::DPluginLoader::instance().

◆ clearAll()

void Digikam::DPluginConfView::clearAll ( )

Clear all selected plugins in the list.

◆ count()

int Digikam::DPluginConfView::count ( ) const

Return the total number of plugins in the list.

◆ filter()

QString Digikam::DPluginConfView::filter ( ) const

Return the current string used to filter the plugins list.

Referenced by setFilter().

◆ itemsVisible()

int Digikam::DPluginConfView::itemsVisible ( ) const

Return the number of visible plugins in the list.

◆ itemsWithVisiblyProperty()

int Digikam::DPluginConfView::itemsWithVisiblyProperty ( ) const

Return the number of plugins in the list with visibly properties available.

◆ loadPlugins()

virtual void Digikam::DPluginConfView::loadPlugins ( )
protectedpure virtual

◆ plugin()

DPlugin * Digikam::DPluginConfView::plugin ( QTreeWidgetItem *const  item) const

Referenced by appendPlugin().

◆ selectAll()

void Digikam::DPluginConfView::selectAll ( )
override

Select all plugins in the list.

◆ setFilter()

void Digikam::DPluginConfView::setFilter ( const QString &  filter,
Qt::CaseSensitivity  cs 
)

Set the string used to filter the plugins list. signalSearchResult() is emitted when all is done.

References filter(), and signalSearchResult().

◆ signalSearchResult

void Digikam::DPluginConfView::signalSearchResult ( int  )
signal

Signal emitted when filtering is done through slotSetFilter(). Number of plugins found is sent when item relevant of filtering match the query.

Referenced by setFilter().


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