Public Slots | Signals | Public Member Functions | Public Attributes | Protected Attributes | Private Member Functions | List of all members
mapviz::ConfigItem Class Reference

#include <config_item.h>

Inheritance diagram for mapviz::ConfigItem:
Inheritance graph
[legend]

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::WindowFlags 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
 

Detailed Description

Definition at line 48 of file config_item.h.

Constructor & Destructor Documentation

mapviz::ConfigItem::ConfigItem ( QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)
explicit

Definition at line 37 of file config_item.cpp.

mapviz::ConfigItem::~ConfigItem ( )

Definition at line 52 of file config_item.cpp.

Member Function Documentation

bool mapviz::ConfigItem::Collapsed ( ) const
inline

Definition at line 61 of file config_item.h.

void mapviz::ConfigItem::contextMenuEvent ( QContextMenuEvent *  event)
overrideprivatevirtual

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

Member Data Documentation

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.


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


mapviz
Author(s): Marc Alban
autogenerated on Fri Mar 19 2021 02:44:25