Class ConfigItem

Inheritance Relationships

Base Type

  • public QWidget

Class Documentation

class ConfigItem : public QWidget

Public Functions

explicit ConfigItem(QWidget *parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags())
~ConfigItem() override = default
void SetName(QString name)
void SetType(QString type)
void SetWidget(QWidget *widget)
inline void SetListItem(QListWidgetItem *item)
inline bool Collapsed() const
inline QString Name() const

Public Members

Ui::configitem ui_

Public Slots

void Hide()
void EditName()
void Remove()
void ToggleDraw(bool toggled)

Signals

void UpdateSizeHint()
void ToggledDraw(QListWidgetItem *plugin, bool visible)
void RemoveRequest(QListWidgetItem *plugin)

Protected Attributes

QListWidgetItem *item_
QString name_
QString type_
QAction *edit_name_action_
QAction *remove_item_action_
bool visible_