Developer Documentation
Loading...
Searching...
No Matches
VSI::ObjectPickDialog Class Reference

#include <Plugin-VSI/types/objectId/objectPickDialog.hh>

Inheritance diagram for VSI::ObjectPickDialog:

Public Member Functions

 ObjectPickDialog (QWidget *parent, QStringList _flags, QStringList _types, bool _withGroups)
 Constructor.
 
 ~ObjectPickDialog ()
 Destructor.
 
unsigned int selectedId ()
 Current selected object.
 
void selectedId (unsigned int _id)
 Set selected object.
 

Private Slots

void activated (const QModelIndex &_index)
 
void slotMouseEventClick (QMouseEvent *_event, bool _double)
 

Private Member Functions

void setForGroup (BaseObject *_obj, QString _flag, bool _enabled)
 

Private Attributes

SimpleViewerviewer_
 
QTreeView * treeView_
 
QPushButton * okButton_
 
QPushButton * cancelButton_
 
TreeModelmodel_
 
SelectionObjectMarker marker_
 
unsigned int selectedId_
 

Detailed Description

Widget to pick a object

Definition at line 71 of file objectPickDialog.hh.

Constructor & Destructor Documentation

◆ ObjectPickDialog()

ObjectPickDialog::ObjectPickDialog ( QWidget *  parent,
QStringList  _flags,
QStringList  _types,
bool  _withGroups 
)

Constructor.

Definition at line 67 of file objectPickDialog.cc.

◆ ~ObjectPickDialog()

ObjectPickDialog::~ObjectPickDialog ( )

Destructor.

Definition at line 154 of file objectPickDialog.cc.

Member Function Documentation

◆ activated

void ObjectPickDialog::activated ( const QModelIndex &  _index)
privateslot

Definition at line 165 of file objectPickDialog.cc.

◆ selectedId() [1/2]

unsigned int ObjectPickDialog::selectedId ( )

Current selected object.

Definition at line 200 of file objectPickDialog.cc.

◆ selectedId() [2/2]

void ObjectPickDialog::selectedId ( unsigned int  _id)

Set selected object.

Definition at line 207 of file objectPickDialog.cc.

◆ setForGroup()

void ObjectPickDialog::setForGroup ( BaseObject _obj,
QString  _flag,
bool  _enabled 
)
private

Definition at line 233 of file objectPickDialog.cc.

◆ slotMouseEventClick

void ObjectPickDialog::slotMouseEventClick ( QMouseEvent *  _event,
bool  _double 
)
privateslot

Definition at line 179 of file objectPickDialog.cc.

Member Data Documentation

◆ cancelButton_

QPushButton* VSI::ObjectPickDialog::cancelButton_
private

Definition at line 100 of file objectPickDialog.hh.

◆ marker_

SelectionObjectMarker VSI::ObjectPickDialog::marker_
private

Definition at line 104 of file objectPickDialog.hh.

◆ model_

TreeModel* VSI::ObjectPickDialog::model_
private

Definition at line 102 of file objectPickDialog.hh.

◆ okButton_

QPushButton* VSI::ObjectPickDialog::okButton_
private

Definition at line 99 of file objectPickDialog.hh.

◆ selectedId_

unsigned int VSI::ObjectPickDialog::selectedId_
private

Definition at line 106 of file objectPickDialog.hh.

◆ treeView_

QTreeView* VSI::ObjectPickDialog::treeView_
private

Definition at line 98 of file objectPickDialog.hh.

◆ viewer_

SimpleViewer* VSI::ObjectPickDialog::viewer_
private

Definition at line 96 of file objectPickDialog.hh.


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