ACF $AcfVersion:0$
Public Types | Public Member Functions | Protected Slots | List of all members
iqt2d::CPolygonParamsGuiComp Class Reference

#include <CPolygonParamsGuiComp.h>

Inheritance diagram for iqt2d::CPolygonParamsGuiComp:
iqt2d::TPolygonBasedParamsGuiComp< iview::CPolygonShape, i2d::CPolygon > iqt2d::TShapeParamsGuiCompBase< Ui, Shape, ShapeModel > iqt2d::TViewExtenderCompBase< iqtgui::TWheelFocusEvent< iqtgui::TDesignerGuiObserverCompBase< Ui, ShapeModel > > > iview::IShapeFactory iqtgui::TWheelFocusEvent< iqtgui::TDesignerGuiObserverCompBase< Ui, ShapeModel > > iqt2d::IViewExtender istd::IPolymorphic iqtgui::TDesignerGuiObserverCompBase< Ui, ShapeModel > istd::IPolymorphic ibase::TModelObserverCompBaseWrap< ObserverComponent >

Public Types

typedef TPolygonBasedParamsGuiComp< iview::CPolygonShape, i2d::CPolygonBaseClass
 
- Public Types inherited from iqt2d::TPolygonBasedParamsGuiComp< iview::CPolygonShape, i2d::CPolygon >
enum  CellIndex
 Cell index. More...
 
typedef iqt2d::TShapeParamsGuiCompBase< Ui::CPolygonParamsGuiComp, iview::CPolygonShape, i2d::CPolygonBaseClass
 
- Public Types inherited from iqt2d::TShapeParamsGuiCompBase< Ui, Shape, ShapeModel >
typedef iqt2d::TViewExtenderCompBase< iqtgui::TWheelFocusEvent< iqtgui::TDesignerGuiObserverCompBase< Ui, ShapeModel > > > BaseClass
 
- Public Types inherited from ibase::TModelObserverCompBaseWrap< ObserverComponent >
typedef ObserverComponent BaseClass
 
- Public Types inherited from iqt2d::IViewExtender
enum  SceneFlags { SF_BACKGROUND = 1 , SF_DIRECT = 2 }
 Standard flags for items . More...
 

Public Member Functions

 CPolygonParamsGuiComp ()
 
- Public Member Functions inherited from iqt2d::TPolygonBasedParamsGuiComp< iview::CPolygonShape, i2d::CPolygon >
 TPolygonBasedParamsGuiComp ()
 
- Public Member Functions inherited from iqt2d::TShapeParamsGuiCompBase< Ui, Shape, ShapeModel >
 TShapeParamsGuiCompBase ()
 
virtual bool OnModelAttached (imod::IModel *modelPtr, istd::IChangeable::ChangeSet &changeMask) override
 
virtual bool OnModelDetached (imod::IModel *modelPtr) override
 
virtual iview::IShapeCreateShape (const istd::IChangeable *objectPtr, bool connectToModel=false) const override
 Create a graphical representation of the given 2D-object object.
 
- Public Member Functions inherited from iqt2d::IViewExtender
virtual void AddItemsToScene (IViewProvider *providerPtr, int flags)=0
 Called when items should be added to specified scene.
 
virtual void RemoveItemsFromScene (IViewProvider *providerPtr)=0
 Called when items should be removed from specified scene.
 
- Public Member Functions inherited from istd::IPolymorphic
virtual ~IPolymorphic ()
 

Protected Slots

void OnParamsChanged ()
 
void OnActionTriggered (QAction *actionPtr)
 
void on_InsertButton_clicked ()
 
void on_RemoveButton_clicked ()
 
void on_CopyButton_clicked ()
 
void on_PasteButton_clicked ()
 

Additional Inherited Members

- Protected Types inherited from iqt2d::TShapeParamsGuiCompBase< Ui, Shape, ShapeModel >
typedef BaseClass::Shapes Shapes
 
typedef BaseClass::ShapesMap ShapesMap
 
- Protected Member Functions inherited from iqt2d::TPolygonBasedParamsGuiComp< iview::CPolygonShape, i2d::CPolygon >
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::TShapeParamsGuiCompBase< Ui, Shape, ShapeModel >
QString GetUnitName () const
 
bool IsPositionFixed () const
 
bool IsToolsMenuAllowed () const
 
QToolBar * GetToolBar () const
 
virtual void CreateToolsMenu (QAbstractButton *buttonPtr)
 Maintenance of the tools actions.
 
virtual void OnModelAttachedAndGuiShown (imod::IModel *modelPtr)
 
virtual void OnModelDetachedOrGuiHidden (imod::IModel *modelPtr)
 
virtual iview::CInteractiveShapeBaseCreateShapeInstance () const
 Simple creation of shape instance.
 
virtual void CreateShapes (int sceneId, Shapes &result) override
 
virtual void OnGuiDestroyed () override
 
virtual void OnGuiShown () override
 
virtual void OnGuiHidden () override
 
virtual void OnGuiModelAttached () override
 
virtual void OnGuiModelDetached () override
 
- Protected Member Functions inherited from ibase::TModelObserverCompBaseWrap< ObserverComponent >
virtual void OnComponentCreated () override
 
virtual void OnComponentDestroyed () override
 
- Static Protected Member Functions inherited from iqt2d::TPolygonBasedParamsGuiComp< iview::CPolygonShape, i2d::CPolygon >
static bool SetValue (const QVariant &variant, double &result)
 
static QVariant GetValue (double value, int round=2)
 
- Protected Attributes inherited from iqt2d::TPolygonBasedParamsGuiComp< iview::CPolygonShape, i2d::CPolygon >
QAction m_flipHorizontalAction
 
QAction m_flipVerticalAction
 
QAction m_rotateCwAction
 
QAction m_rotateCcwAction
 
QAction m_reversePolarityAction
 

Detailed Description

Definition at line 15 of file CPolygonParamsGuiComp.h.

Member Typedef Documentation

◆ BaseClass

Definition at line 20 of file CPolygonParamsGuiComp.h.

Constructor & Destructor Documentation

◆ CPolygonParamsGuiComp()

iqt2d::CPolygonParamsGuiComp::CPolygonParamsGuiComp ( )

Member Function Documentation

◆ on_CopyButton_clicked

void iqt2d::CPolygonParamsGuiComp::on_CopyButton_clicked ( )
protectedslot

◆ on_InsertButton_clicked

void iqt2d::CPolygonParamsGuiComp::on_InsertButton_clicked ( )
protectedslot

◆ on_PasteButton_clicked

void iqt2d::CPolygonParamsGuiComp::on_PasteButton_clicked ( )
protectedslot

◆ on_RemoveButton_clicked

void iqt2d::CPolygonParamsGuiComp::on_RemoveButton_clicked ( )
protectedslot

◆ OnActionTriggered

void iqt2d::CPolygonParamsGuiComp::OnActionTriggered ( QAction *  actionPtr)
protectedslot

◆ OnParamsChanged

void iqt2d::CPolygonParamsGuiComp::OnParamsChanged ( )
protectedslot

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