#include <config_item.h>
Public Slots | |
void | EditName () |
void | Hide () |
void | Remove () |
void | ToggleDraw (bool toggled) |
Signals | |
void | RemoveRequest (QListWidgetItem *plugin) |
void | ToggledDraw (QListWidgetItem *plugin, bool visible) |
void | UpdateSizeHint () |
Public Member Functions | |
bool | Collapsed () const |
ConfigItem (QWidget *parent=0, Qt::WFlags flags=0) | |
QString | Name () const |
void | SetListItem (QListWidgetItem *item) |
void | SetName (QString name) |
void | SetType (QString type) |
void | SetWidget (QWidget *widget) |
~ConfigItem () | |
Public Attributes | |
Ui::configitem | ui_ |
Protected Attributes | |
QAction * | edit_name_action_ |
QListWidgetItem * | item_ |
QString | name_ |
QAction * | remove_item_action_ |
QString | type_ |
bool | visible_ |
Private Member Functions | |
virtual void | contextMenuEvent (QContextMenuEvent *event) override |
Definition at line 48 of file config_item.h.
mapviz::ConfigItem::ConfigItem | ( | QWidget * | parent = 0 , |
Qt::WFlags | flags = 0 |
||
) | [explicit] |
Definition at line 37 of file config_item.cpp.
Definition at line 52 of file config_item.cpp.
bool mapviz::ConfigItem::Collapsed | ( | ) | const [inline] |
Definition at line 61 of file config_item.h.
void mapviz::ConfigItem::contextMenuEvent | ( | QContextMenuEvent * | event | ) | [override, private, virtual] |
Definition at line 70 of file config_item.cpp.
void mapviz::ConfigItem::EditName | ( | ) | [slot] |
Definition at line 96 of file config_item.cpp.
void mapviz::ConfigItem::Hide | ( | ) | [slot] |
Definition at line 117 of file config_item.cpp.
QString mapviz::ConfigItem::Name | ( | ) | const [inline] |
Definition at line 62 of file config_item.h.
void mapviz::ConfigItem::Remove | ( | ) | [slot] |
Definition at line 112 of file config_item.cpp.
void mapviz::ConfigItem::RemoveRequest | ( | QListWidgetItem * | plugin | ) | [signal] |
void mapviz::ConfigItem::SetListItem | ( | QListWidgetItem * | item | ) | [inline] |
Definition at line 60 of file config_item.h.
void mapviz::ConfigItem::SetName | ( | QString | name | ) |
Definition at line 78 of file config_item.cpp.
void mapviz::ConfigItem::SetType | ( | QString | type | ) |
Definition at line 84 of file config_item.cpp.
void mapviz::ConfigItem::SetWidget | ( | QWidget * | widget | ) |
Definition at line 90 of file config_item.cpp.
void mapviz::ConfigItem::ToggledDraw | ( | QListWidgetItem * | plugin, |
bool | visible | ||
) | [signal] |
void mapviz::ConfigItem::ToggleDraw | ( | bool | toggled | ) | [slot] |
Definition at line 56 of file config_item.cpp.
void mapviz::ConfigItem::UpdateSizeHint | ( | ) | [signal] |
QAction* mapviz::ConfigItem::edit_name_action_ [protected] |
Definition at line 84 of file config_item.h.
QListWidgetItem* mapviz::ConfigItem::item_ [protected] |
Definition at line 81 of file config_item.h.
QString mapviz::ConfigItem::name_ [protected] |
Definition at line 82 of file config_item.h.
QAction* mapviz::ConfigItem::remove_item_action_ [protected] |
Definition at line 85 of file config_item.h.
QString mapviz::ConfigItem::type_ [protected] |
Definition at line 83 of file config_item.h.
Ui::configitem mapviz::ConfigItem::ui_ |
Definition at line 64 of file config_item.h.
bool mapviz::ConfigItem::visible_ [protected] |
Definition at line 86 of file config_item.h.