aimsgui  5.1.2
SelectBox Class Reference

#include <aims/selection/labelselector_p.h>

Inheritance diagram for SelectBox:
Collaboration diagram for SelectBox:

Public Slots

void clearAll ()
 

Public Member Functions

 SelectBox (aims::gui::LabelSelector *ls, QWidget *parent=0, const char *name=0)
 
virtual ~SelectBox ()
 
aims::SelectionSet selection () const
 
void addSelection (const aims::SelectionSet &)
 
void addSelection (const aims::SelectionSet &, const std::string &parent)
 
void mergeSelection (const aims::SelectionSet &)
 
- Public Member Functions inherited from aims::gui::QATreeWidget
 QATreeWidget (QWidget *parent)
 
virtual ~QATreeWidget ()
 
Qt::MouseButtons buttonsAtLastEvent () const
 mouse buttons pressed at last event. Qt doesn't provide it More...
 
Qt::KeyboardModifiers deadKeysStateAtLastEvent () const
 dead keys pressed at last event. Qt doesn't provide it More...
 

Protected Slots

void deleteSelection ()
 
void rightButtonPressed (QTreeWidgetItem *, const QPoint &pos)
 

Protected Member Functions

virtual void dragEnterEvent (QDragEnterEvent *event)
 
virtual void dragMoveEvent (QDragMoveEvent *event)
 
virtual void dropEvent (QDropEvent *event)
 
void insertUniqueItem (QTreeWidgetItem *parent, const QString &text)
 
- Protected Member Functions inherited from aims::gui::QATreeWidget
virtual bool edit (const QModelIndex &index, EditTrigger trigger, QEvent *event)
 
virtual void mousePressEvent (QMouseEvent *event)
 
virtual void mouseMoveEvent (QMouseEvent *event)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 
virtual void leaveEvent (QEvent *ev)
 

Additional Inherited Members

- Signals inherited from aims::gui::QATreeWidget
void itemRightPressed (QTreeWidgetItem *item, const QPoint &pos)
 
void dragStart (QTreeWidgetItem *, Qt::MouseButtons state, Qt::KeyboardModifiers mod)
 
void cursorMoved (QTreeWidgetItem *, int col)
 emitted when the mouse cursor moves over a different element. More...
 

Detailed Description

Definition at line 54 of file labelselector_p.h.

Constructor & Destructor Documentation

◆ SelectBox()

SelectBox::SelectBox ( aims::gui::LabelSelector ls,
QWidget *  parent = 0,
const char *  name = 0 
)

◆ ~SelectBox()

virtual SelectBox::~SelectBox ( )
virtual

Member Function Documentation

◆ addSelection() [1/2]

void SelectBox::addSelection ( const aims::SelectionSet )

◆ addSelection() [2/2]

void SelectBox::addSelection ( const aims::SelectionSet ,
const std::string &  parent 
)

◆ clearAll

void SelectBox::clearAll ( )
slot

◆ deleteSelection

void SelectBox::deleteSelection ( )
protectedslot

◆ dragEnterEvent()

virtual void SelectBox::dragEnterEvent ( QDragEnterEvent *  event)
protectedvirtual

◆ dragMoveEvent()

virtual void SelectBox::dragMoveEvent ( QDragMoveEvent *  event)
protectedvirtual

◆ dropEvent()

virtual void SelectBox::dropEvent ( QDropEvent *  event)
protectedvirtual

◆ insertUniqueItem()

void SelectBox::insertUniqueItem ( QTreeWidgetItem *  parent,
const QString &  text 
)
protected

References slots.

◆ mergeSelection()

void SelectBox::mergeSelection ( const aims::SelectionSet )

References slots.

◆ rightButtonPressed

void SelectBox::rightButtonPressed ( QTreeWidgetItem *  ,
const QPoint &  pos 
)
protectedslot

◆ selection()

aims::SelectionSet SelectBox::selection ( ) const

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