|
ACF $AcfVersion:0$
|
#include <TPolygonBasedParamsGuiComp.h>
Classes | |
| class | TableModel |
Public Types | |
| enum | CellIndex { CI_X , CI_Y , CI_LAST = CI_Y } |
| Cell index. More... | |
| typedef iqt2d::TShapeParamsGuiCompBase< Ui::CPolygonParamsGuiComp, PolygonBasedShape, PolygonBasedModel > | BaseClass |
Public Types inherited from iqt2d::TViewExtenderCompBase< Base > | |
| typedef Base | BaseClass |
Public Types inherited from iqt2d::IViewExtender | |
| enum | SceneFlags { SF_BACKGROUND = 1 , SF_DIRECT = 2 } |
| Standard flags for items . More... | |
Public Member Functions | |
| TPolygonBasedParamsGuiComp () | |
Public Member Functions inherited from iqt2d::TViewExtenderCompBase< Base > | |
| TViewExtenderCompBase () | |
| virtual void | AddItemsToScene (IViewProvider *providerPtr, int flags) override |
| Called when items should be added to specified scene. | |
| virtual void | RemoveItemsFromScene (IViewProvider *providerPtr) override |
| Called when items should be removed from specified scene. | |
Public Member Functions inherited from istd::IPolymorphic | |
| virtual | ~IPolymorphic () |
Public Member Functions inherited from iview::IShapeFactory | |
| virtual IShape * | CreateShape (const istd::IChangeable *objectPtr, bool connectToModel=false) const =0 |
Create a graphical representation of the given 2D-object object. | |
Protected Member Functions | |
| QTableView * | GetNodeTable () |
| Get the table with the node data. | |
| virtual void | OnInsertNode () |
| virtual void | OnRemoveNode () |
| virtual void | OnCopyData () |
| virtual void | OnPasteData () |
| virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
| virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| virtual bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
| virtual QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
| virtual Qt::ItemFlags | flags (const QModelIndex &index) const |
| virtual void | OnGuiCreated () override |
| virtual void | OnGuiRetranslate () override |
| virtual void | OnGuiDesignChanged () override |
| virtual bool | PopulateActions (QWidget &host, imod::IModel *modelPtr) override |
| virtual void | OnActionTriggered (QAction *actionPtr) override |
| virtual void | UpdateGui (const istd::IChangeable::ChangeSet &changeSet) override |
Protected Member Functions inherited from iqt2d::TViewExtenderCompBase< Base > | |
| bool | IsViewIdSupported (int viewId) const |
| const ShapesMap & | GetShapesMap () const |
| void | UpdateAllViews () |
It calls Update for all used views. | |
| virtual void | CreateShapes (int viewId, Shapes &result)=0 |
| Create shapes for the view. | |
Static Protected Member Functions | |
| static bool | SetValue (const QVariant &variant, double &result) |
| static QVariant | GetValue (double value, int round=2) |
Protected Attributes | |
| QAction | m_flipHorizontalAction |
| QAction | m_flipVerticalAction |
| QAction | m_rotateCwAction |
| QAction | m_rotateCcwAction |
| QAction | m_reversePolarityAction |
Additional Inherited Members | |
Protected Types inherited from iqt2d::TViewExtenderCompBase< Base > | |
| enum | ExtenderMode { EM_COMBINE , EM_SLAVE_DIRECT_ONLY , EM_OWN_SHAPES_INDIRECT , EM_SLAVE_DIRECT_ONLY_OWN_SHAPES_INDIRECT } |
| typedef istd::TPointerVector< iview::IShape > | Shapes |
| typedef QMap< IViewProvider *, Shapes > | ShapesMap |
Definition at line 34 of file TPolygonBasedParamsGuiComp.h.
| typedef iqt2d::TShapeParamsGuiCompBase< Ui::CPolygonParamsGuiComp, PolygonBasedShape, PolygonBasedModel> iqt2d::TPolygonBasedParamsGuiComp< PolygonBasedShape, PolygonBasedModel >::BaseClass |
Definition at line 65 of file TPolygonBasedParamsGuiComp.h.
| enum iqt2d::TPolygonBasedParamsGuiComp::CellIndex |
Cell index.
| Enumerator | |
|---|---|
| CI_X | Index of the table cell for the X coordinate of the polygon node. |
| CI_Y | Index of the table cell for the X coordinate of the polygon node. |
| CI_LAST | Last used cell index. |
Definition at line 44 of file TPolygonBasedParamsGuiComp.h.
| iqt2d::TPolygonBasedParamsGuiComp< PolygonBasedShape, PolygonBasedModel >::TPolygonBasedParamsGuiComp | ( | ) |
Definition at line 163 of file TPolygonBasedParamsGuiComp.h.
|
protectedvirtual |
Reimplemented in iqt2d::CTubePolylineParamsGuiComp.
Definition at line 277 of file TPolygonBasedParamsGuiComp.h.
|
protectedvirtual |
Reimplemented in iqt2d::CTubePolylineParamsGuiComp.
Definition at line 284 of file TPolygonBasedParamsGuiComp.h.
References i2d::CPolypoint::GetNodePos(), and NULL.
|
protectedvirtual |
Definition at line 340 of file TPolygonBasedParamsGuiComp.h.
|
protected |
Get the table with the node data.
Definition at line 177 of file TPolygonBasedParamsGuiComp.h.
|
staticprotected |
Definition at line 501 of file TPolygonBasedParamsGuiComp.h.
|
protectedvirtual |
Reimplemented in iqt2d::CTubePolylineParamsGuiComp.
Definition at line 321 of file TPolygonBasedParamsGuiComp.h.
|
overrideprotectedvirtual |
Definition at line 442 of file TPolygonBasedParamsGuiComp.h.
References NULL.
|
protectedvirtual |
Definition at line 203 of file TPolygonBasedParamsGuiComp.h.
References iser::CMemoryWriteArchive::GetBuffer(), iser::CMemoryWriteArchive::GetBufferSize(), and NULL.
|
overrideprotectedvirtual |
Definition at line 349 of file TPolygonBasedParamsGuiComp.h.
|
overrideprotectedvirtual |
Definition at line 402 of file TPolygonBasedParamsGuiComp.h.
|
overrideprotectedvirtual |
Reimplemented in iqt2d::CPolylineParamsGuiComp.
Definition at line 389 of file TPolygonBasedParamsGuiComp.h.
|
protectedvirtual |
Definition at line 184 of file TPolygonBasedParamsGuiComp.h.
References i2d::CVector2d::GetZero(), i2d::CPolypoint::InsertNode(), and NULL.
|
protectedvirtual |
Definition at line 224 of file TPolygonBasedParamsGuiComp.h.
References NULL.
|
protectedvirtual |
Definition at line 245 of file TPolygonBasedParamsGuiComp.h.
References NULL.
|
overrideprotectedvirtual |
Reimplemented in iqt2d::CPolylineParamsGuiComp.
Definition at line 417 of file TPolygonBasedParamsGuiComp.h.
|
protectedvirtual |
Definition at line 263 of file TPolygonBasedParamsGuiComp.h.
References i2d::CPolypoint::GetNodesCount(), and NULL.
|
protectedvirtual |
Reimplemented in iqt2d::CTubePolylineParamsGuiComp.
Definition at line 301 of file TPolygonBasedParamsGuiComp.h.
References i2d::CPolypoint::GetNodePos(), i2d::CPolypoint::GetNodesCount(), and i2d::CPolypoint::SetNodePos().
|
staticprotected |
Definition at line 487 of file TPolygonBasedParamsGuiComp.h.
|
overrideprotectedvirtual |
Definition at line 474 of file TPolygonBasedParamsGuiComp.h.
|
protected |
Definition at line 149 of file TPolygonBasedParamsGuiComp.h.
|
protected |
Definition at line 150 of file TPolygonBasedParamsGuiComp.h.
|
protected |
Definition at line 153 of file TPolygonBasedParamsGuiComp.h.
|
protected |
Definition at line 152 of file TPolygonBasedParamsGuiComp.h.
|
protected |
Definition at line 151 of file TPolygonBasedParamsGuiComp.h.