#include <pyqtpluginsettings.h>
Definition at line 19 of file pyqtpluginsettings.h.
◆ PyQtPluginSettings()
| PyQtPluginSettings::PyQtPluginSettings |
( |
PythonPluginManager * | pluginManager, |
|
|
QWidget * | parent = nullptr ) |
Definition at line 20 of file pyqtpluginsettings.cpp.
23 ,
m_page(
new Ui::ManagerPage)
24{
26
27 QSortFilterProxyModel* const proxy_model = new QSortFilterProxyModel(this);
29 m_page->pluginsList->setModel(proxy_model);
30 m_page->pluginsList->resizeColumnToContents(0);
31 m_page->pluginsList->sortByColumn(0, Qt::AscendingOrder);
32
33 const bool is_enabled = bool(pluginManager);
34 const bool is_visible = !is_enabled;
35 m_page->errorLabel->setVisible(is_visible);
36 m_page->pluginsList->setEnabled(is_enabled);
37 m_page->textBrowser->setEnabled(is_enabled);
38
40}
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
KisPreferenceSet(QWidget *parent=0)
PythonPluginManager * m_pluginManager
void updateManual(const QModelIndex &index)
PythonPluginsModel * model()
PythonPluginManager * pluginManager()
References connect(), m_page, PythonPluginManager::model(), and updateManual().
◆ ~PyQtPluginSettings()
| PyQtPluginSettings::~PyQtPluginSettings |
( |
| ) |
|
|
override |
◆ header()
| QString PyQtPluginSettings::header |
( |
| ) |
|
|
overridevirtual |
◆ icon()
| QIcon PyQtPluginSettings::icon |
( |
| ) |
|
|
overridevirtual |
◆ id()
| QString PyQtPluginSettings::id |
( |
| ) |
|
|
overridevirtual |
◆ loadDefaultPreferences
| void PyQtPluginSettings::loadDefaultPreferences |
( |
| ) |
|
|
overrideslot |
◆ loadPreferences
| void PyQtPluginSettings::loadPreferences |
( |
| ) |
|
|
overrideslot |
◆ name()
| QString PyQtPluginSettings::name |
( |
| ) |
|
|
overridevirtual |
◆ savePreferences
| void PyQtPluginSettings::savePreferences |
( |
| ) |
const |
|
overrideslot |
◆ settingsChanged
| void PyQtPluginSettings::settingsChanged |
( |
| ) |
const |
|
signal |
◆ updateManual
| void PyQtPluginSettings::updateManual |
( |
const QModelIndex & | index | ) |
|
|
privateslot |
◆ m_page
| Ui::ManagerPage* PyQtPluginSettings::m_page |
|
private |
◆ m_pluginManager
The documentation for this class was generated from the following files: