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

◆ ConfigItem()

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

Definition at line 37 of file config_item.cpp.

◆ ~ConfigItem()

mapviz::ConfigItem::~ConfigItem ( )

Definition at line 52 of file config_item.cpp.

Member Function Documentation

◆ Collapsed()

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

Definition at line 61 of file config_item.h.

◆ contextMenuEvent()

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

Definition at line 70 of file config_item.cpp.

◆ EditName

void mapviz::ConfigItem::EditName ( )
slot

Definition at line 96 of file config_item.cpp.

◆ Hide

void mapviz::ConfigItem::Hide ( )
slot

Definition at line 117 of file config_item.cpp.

◆ Name()

QString mapviz::ConfigItem::Name ( ) const
inline

Definition at line 62 of file config_item.h.

◆ Remove

void mapviz::ConfigItem::Remove ( )
slot

Definition at line 112 of file config_item.cpp.

◆ RemoveRequest

void mapviz::ConfigItem::RemoveRequest ( QListWidgetItem *  plugin)
signal

◆ SetListItem()

void mapviz::ConfigItem::SetListItem ( QListWidgetItem *  item)
inline

Definition at line 60 of file config_item.h.

◆ SetName()

void mapviz::ConfigItem::SetName ( QString  name)

Definition at line 78 of file config_item.cpp.

◆ SetType()

void mapviz::ConfigItem::SetType ( QString  type)

Definition at line 84 of file config_item.cpp.

◆ SetWidget()

void mapviz::ConfigItem::SetWidget ( QWidget *  widget)

Definition at line 90 of file config_item.cpp.

◆ ToggledDraw

void mapviz::ConfigItem::ToggledDraw ( QListWidgetItem *  plugin,
bool  visible 
)
signal

◆ ToggleDraw

void mapviz::ConfigItem::ToggleDraw ( bool  toggled)
slot

Definition at line 56 of file config_item.cpp.

◆ UpdateSizeHint

void mapviz::ConfigItem::UpdateSizeHint ( )
signal

Member Data Documentation

◆ edit_name_action_

QAction* mapviz::ConfigItem::edit_name_action_
protected

Definition at line 84 of file config_item.h.

◆ item_

QListWidgetItem* mapviz::ConfigItem::item_
protected

Definition at line 81 of file config_item.h.

◆ name_

QString mapviz::ConfigItem::name_
protected

Definition at line 82 of file config_item.h.

◆ remove_item_action_

QAction* mapviz::ConfigItem::remove_item_action_
protected

Definition at line 85 of file config_item.h.

◆ type_

QString mapviz::ConfigItem::type_
protected

Definition at line 83 of file config_item.h.

◆ ui_

Ui::configitem mapviz::ConfigItem::ui_

Definition at line 64 of file config_item.h.

◆ visible_

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 Dec 16 2022 03:59:30