te::qt::widgets::DoubleListWidget Class Reference

... More...

#include <DoubleListWidget.h>

Inheritance diagram for te::qt::widgets::DoubleListWidget:
QWidget

Signals

void itemAdded (std::vector< int > ids)
 
void itemChanged ()
 
void itemRemoved (std::vector< int > ids)
 

Public Member Functions

void addItems (QList< QListWidgetItem * > list)
 
void addItems (std::vector< int > ids)
 
void clearInputValues ()
 
void clearOutputValues ()
 
 DoubleListWidget (QWidget *parent=0, Qt::WindowFlags f=0)
 
Ui::DoubleListWidgetForm * getForm () const
 
std::vector< intgetOutputDataValues ()
 
std::vector< std::string > getOutputValues ()
 
void removeItems (QList< QListWidgetItem * > list)
 
void removeItems (std::vector< int > ids)
 
void setFixedOutputValues (std::vector< std::string > values, std::string iconName)
 
void setInputDataValues (std::vector< std::string > values, std::vector< int > ids)
 
void setInputValues (std::vector< std::string > values)
 
void setLeftLabel (const QString &value)
 
void setOutputDataValues (std::vector< std::string > values, std::vector< int > ids)
 
void setOutputValues (std::vector< std::string > values)
 
void setRightLabel (const QString &value)
 
void setVisibledOrderButtons (bool state)
 
 ~DoubleListWidget ()
 

Protected Slots

void onAddAllToolButtonPressed ()
 
void onAddToolButtonPressed ()
 
void onDownToolButtonPressed ()
 
void onLeftListItemSelectionChanged ()
 
void onRemoveAllToolButtonPressed ()
 
void onRemoveToolButtonPressed ()
 
void onRightListItemSelectionChanged ()
 
void onUpToolButtonPressed ()
 

Private Member Functions

QListWidgetItem * getItemFromId (const int &id)
 

Private Attributes

std::unique_ptr< Ui::DoubleListWidgetForm > m_ui
 

Detailed Description

...

Definition at line 53 of file DoubleListWidget.h.

Constructor & Destructor Documentation

te::qt::widgets::DoubleListWidget::~DoubleListWidget ( )
default

Referenced by DoubleListWidget().

Member Function Documentation

void te::qt::widgets::DoubleListWidget::addItems ( QList< QListWidgetItem * >  list)

Definition at line 218 of file DoubleListWidget.cpp.

References itemAdded(), itemChanged(), and m_ui.

Referenced by addItems(), onAddAllToolButtonPressed(), and onAddToolButtonPressed().

void te::qt::widgets::DoubleListWidget::addItems ( std::vector< int ids)

Definition at line 243 of file DoubleListWidget.cpp.

References addItems(), and getItemFromId().

void te::qt::widgets::DoubleListWidget::clearInputValues ( )

Definition at line 196 of file DoubleListWidget.cpp.

References m_ui.

Referenced by te::sa::SkaterDialog::onInputLayerComboBoxActivated().

void te::qt::widgets::DoubleListWidget::clearOutputValues ( )

Definition at line 204 of file DoubleListWidget.cpp.

References m_ui.

Referenced by te::sa::SkaterDialog::onInputLayerComboBoxActivated().

Ui::DoubleListWidgetForm * te::qt::widgets::DoubleListWidget::getForm ( ) const
QListWidgetItem * te::qt::widgets::DoubleListWidget::getItemFromId ( const int id)
private

Definition at line 446 of file DoubleListWidget.cpp.

References m_ui.

Referenced by addItems(), and removeItems().

std::vector< int > te::qt::widgets::DoubleListWidget::getOutputDataValues ( )

Definition at line 179 of file DoubleListWidget.cpp.

References m_ui.

void te::qt::widgets::DoubleListWidget::itemAdded ( std::vector< int ids)
signal

Referenced by addItems().

void te::qt::widgets::DoubleListWidget::itemChanged ( )
signal

Referenced by addItems(), and removeItems().

void te::qt::widgets::DoubleListWidget::itemRemoved ( std::vector< int ids)
signal

Referenced by removeItems().

void te::qt::widgets::DoubleListWidget::onAddAllToolButtonPressed ( )
protectedslot

Definition at line 312 of file DoubleListWidget.cpp.

References addItems(), and m_ui.

Referenced by DoubleListWidget().

void te::qt::widgets::DoubleListWidget::onAddToolButtonPressed ( )
protectedslot

Definition at line 302 of file DoubleListWidget.cpp.

References addItems(), and m_ui.

Referenced by DoubleListWidget().

void te::qt::widgets::DoubleListWidget::onDownToolButtonPressed ( )
protectedslot

Definition at line 346 of file DoubleListWidget.cpp.

References m_ui.

Referenced by DoubleListWidget().

void te::qt::widgets::DoubleListWidget::onLeftListItemSelectionChanged ( )
protectedslot

Definition at line 414 of file DoubleListWidget.cpp.

References m_ui.

Referenced by DoubleListWidget().

void te::qt::widgets::DoubleListWidget::onRemoveAllToolButtonPressed ( )
protectedslot

Definition at line 334 of file DoubleListWidget.cpp.

References m_ui, and removeItems().

Referenced by DoubleListWidget().

void te::qt::widgets::DoubleListWidget::onRemoveToolButtonPressed ( )
protectedslot

Definition at line 324 of file DoubleListWidget.cpp.

References m_ui, and removeItems().

Referenced by DoubleListWidget().

void te::qt::widgets::DoubleListWidget::onRightListItemSelectionChanged ( )
protectedslot

Definition at line 427 of file DoubleListWidget.cpp.

References m_ui.

Referenced by DoubleListWidget().

void te::qt::widgets::DoubleListWidget::onUpToolButtonPressed ( )
protectedslot

Definition at line 380 of file DoubleListWidget.cpp.

References m_ui.

Referenced by DoubleListWidget().

void te::qt::widgets::DoubleListWidget::removeItems ( QList< QListWidgetItem * >  list)
void te::qt::widgets::DoubleListWidget::removeItems ( std::vector< int ids)

Definition at line 286 of file DoubleListWidget.cpp.

References getItemFromId(), and removeItems().

void te::qt::widgets::DoubleListWidget::setFixedOutputValues ( std::vector< std::string >  values,
std::string  iconName 
)

Definition at line 144 of file DoubleListWidget.cpp.

References m_ui.

void te::qt::widgets::DoubleListWidget::setInputDataValues ( std::vector< std::string >  values,
std::vector< int ids 
)

Definition at line 85 of file DoubleListWidget.cpp.

References m_ui.

void te::qt::widgets::DoubleListWidget::setLeftLabel ( const QString &  value)
void te::qt::widgets::DoubleListWidget::setOutputDataValues ( std::vector< std::string >  values,
std::vector< int ids 
)

Definition at line 122 of file DoubleListWidget.cpp.

References m_ui.

void te::qt::widgets::DoubleListWidget::setRightLabel ( const QString &  value)
void te::qt::widgets::DoubleListWidget::setVisibledOrderButtons ( bool  state)

Definition at line 212 of file DoubleListWidget.cpp.

References m_ui.

Member Data Documentation


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