qCC version 2.13.alpha (Qt) - 31 May 2022
Main CloudCompare application (GUI & command line)
Public Types | Signals | Public Member Functions | List of all members
ccPropertiesTreeDelegate Class Reference

GUI properties list dialog element. More...

#include <ccPropertiesTreeDelegate.h>

Inheritance diagram for ccPropertiesTreeDelegate:
Inheritance graph
[legend]
Collaboration diagram for ccPropertiesTreeDelegate:
Collaboration graph
[legend]

Public Types

enum  CC_PROPERTY_ROLE {
  OBJECT_NO_PROPERTY = 0 , OBJECT_NAME , OBJECT_VISIBILITY , OBJECT_CURRENT_DISPLAY ,
  OBJECT_NORMALS_SHOWN , OBJECT_COLOR_SOURCE , OBJECT_POLYLINE_WIDTH , OBJECT_SENSOR_DRAW_FRUSTUM ,
  OBJECT_SENSOR_DRAW_FRUSTUM_PLANES , OBJECT_SF_SHOW_SCALE , OBJECT_OCTREE_LEVEL , OBJECT_OCTREE_TYPE ,
  OBJECT_MESH_WIRE , OBJECT_MESH_STIPPLING , OBJECT_CURRENT_SCALAR_FIELD , OBJECT_CURRENT_COLOR_RAMP ,
  OBJECT_IMAGE_ALPHA , OBJECT_APPLY_IMAGE_VIEWPORT , OBJECT_APPLY_SENSOR_VIEWPORT , OBJECT_CLOUD_SF_EDITOR ,
  OBJECT_SENSOR_MATRIX_EDITOR , OBJECT_SENSOR_DISPLAY_SCALE , OBJECT_SENSOR_UNCERTAINTY , OBJECT_COLOR_RAMP_STEPS ,
  OBJECT_MATERIALS , OBJECT_APPLY_LABEL_VIEWPORT , OBJECT_UPDATE_LABEL_VIEWPORT , OBJECT_LABEL_DISP_2D ,
  OBJECT_LABEL_POINT_LEGEND , OBJECT_PRIMITIVE_PRECISION , OBJECT_SPHERE_RADIUS , OBJECT_CONE_HEIGHT ,
  OBJECT_CONE_BOTTOM_RADIUS , OBJECT_CONE_TOP_RADIUS , OBJECT_CLOUD_POINT_SIZE , OBJECT_NAME_IN_3D ,
  OBJECT_FACET_CONTOUR , OBJECT_FACET_MESH , OBJECT_PLANE_NORMAL_VECTOR , OBJECT_SENSOR_INDEX ,
  OBJECT_SHOW_TRANS_BUFFER_PATH , OBJECT_SHOW_TRANS_BUFFER_TRIHDERONS , OBJECT_TRANS_BUFFER_TRIHDERONS_SCALE , OBJECT_HISTORY_MATRIX_EDITOR ,
  OBJECT_GLTRANS_MATRIX_EDITOR , OBJECT_COORDINATE_SYSTEM_DISP_PLANES , OBJECT_COORDINATE_SYSTEM_DISP_AXES , OBJECT_COORDINATE_SYSTEM_AXES_WIDTH ,
  OBJECT_COORDINATE_SYSTEM_DISP_SCALE , TREE_VIEW_HEADER
}
 Delegate items roles.
 

Signals

void ccObjectPropertiesChanged (ccHObject *hObject) const
 
void ccObjectAppearanceChanged (ccHObject *hObject) const
 
void ccObjectAndChildrenAppearanceChanged (ccHObject *hObject) const
 

Public Member Functions

 ccPropertiesTreeDelegate (QStandardItemModel *_model, QAbstractItemView *_view, QObject *parent=nullptr)
 Default constructor.
 
 ~ccPropertiesTreeDelegate () override
 Default destructor.
 
QSize sizeHint (const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
void updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
void setEditorData (QWidget *editor, const QModelIndex &index) const override
 
void unbind ()
 
void fillModel (ccHObject *hObject)
 Fill property view with QItems corresponding to object's type.
 
ccHObject * getCurrentObject ()
 Returns currently bound object.
 

Detailed Description

GUI properties list dialog element.


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