QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
EllipseEditor Class Reference

The EllipseEditor class This class provide a widget used to edit the properties of a @PartEllipse. More...

#include <ellipseeditor.h>

Inheritance diagram for EllipseEditor:
Inheritance graph
Collaboration diagram for EllipseEditor:
Collaboration graph

Public Member Functions

 EllipseEditor (QETElementEditor *editor, PartEllipse *part=nullptr, QWidget *parent=nullptr)
 EllipseEditor::EllipseEditor.
 
 ~EllipseEditor () override
 EllipseEditor::~EllipseEditor.
 
bool setPart (CustomElementPart *part) override
 EllipseEditor::setPart.
 
bool setParts (QList< CustomElementPart * > parts) override
 EllipseEditor::setParts.
 
CustomElementPartcurrentPart () const override
 EllipseEditor::currentPart.
 
QList< CustomElementPart * > currentParts () const override
 EllipseEditor::currentParts.
 
void updateForm () override
 EllipseEditor::updateForm.
 
- Public Member Functions inherited from ElementItemEditor
 ElementItemEditor (QETElementEditor *, QWidget *=nullptr)
 
 ~ElementItemEditor () override
 
virtual QETElementEditorelementEditor () const
 
virtual ElementSceneelementScene () const
 
virtual QUndoStack & undoStack () const
 
virtual QString elementTypeName () const
 
virtual void setElementTypeName (const QString &)
 
virtual void detach ()
 

Private Slots

void on_m_x_sb_editingFinished ()
 
void on_m_y_sb_editingFinished ()
 
void on_m_horizontal_diameter_sb_editingFinished ()
 
void on_m_vertical_diameter_sb_editingFinished ()
 

Private Member Functions

void updateRect ()
 EllipseEditor::updateRect.
 
void setUpChangeConnections ()
 EllipseEditor::setUpChangeConnections.
 
void disconnectChangeConnections ()
 EllipseEditor::disconnectChangeConnections.
 

Private Attributes

Ui::EllipseEditor * ui
 
PartEllipsem_part = nullptr
 
StyleEditorm_style = nullptr
 
QList< QMetaObject::Connection > m_change_connections
 

Detailed Description

The EllipseEditor class This class provide a widget used to edit the properties of a @PartEllipse.

Constructor & Destructor Documentation

◆ EllipseEditor()

EllipseEditor::EllipseEditor ( QETElementEditor editor,
PartEllipse part = nullptr,
QWidget *  parent = nullptr 
)
explicit

EllipseEditor::EllipseEditor.

Parameters
editor
part
parent
Here is the call graph for this function:

◆ ~EllipseEditor()

EllipseEditor::~EllipseEditor ( )
override

Member Function Documentation

◆ currentPart()

CustomElementPart * EllipseEditor::currentPart ( ) const
overridevirtual

◆ currentParts()

QList< CustomElementPart * > EllipseEditor::currentParts ( ) const
overridevirtual

EllipseEditor::currentParts.

Returns

Implements ElementItemEditor.

Here is the call graph for this function:

◆ disconnectChangeConnections()

void EllipseEditor::disconnectChangeConnections ( )
private

EllipseEditor::disconnectChangeConnections.

Here is the caller graph for this function:

◆ on_m_horizontal_diameter_sb_editingFinished

void EllipseEditor::on_m_horizontal_diameter_sb_editingFinished ( )
privateslot
Here is the call graph for this function:

◆ on_m_vertical_diameter_sb_editingFinished

void EllipseEditor::on_m_vertical_diameter_sb_editingFinished ( )
privateslot
Here is the call graph for this function:

◆ on_m_x_sb_editingFinished

void EllipseEditor::on_m_x_sb_editingFinished ( )
privateslot
Here is the call graph for this function:

◆ on_m_y_sb_editingFinished

void EllipseEditor::on_m_y_sb_editingFinished ( )
privateslot
Here is the call graph for this function:

◆ setPart()

bool EllipseEditor::setPart ( CustomElementPart part)
overridevirtual

EllipseEditor::setPart.

Parameters
part
Returns

Implements ElementItemEditor.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setParts()

bool EllipseEditor::setParts ( QList< CustomElementPart * >  parts)
overridevirtual

EllipseEditor::setParts.

Parameters
parts
Returns

Reimplemented from ElementItemEditor.

Here is the call graph for this function:

◆ setUpChangeConnections()

void EllipseEditor::setUpChangeConnections ( )
private

EllipseEditor::setUpChangeConnections.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateForm()

void EllipseEditor::updateForm ( )
overridevirtual

EllipseEditor::updateForm.

Implements ElementItemEditor.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateRect()

void EllipseEditor::updateRect ( )
private

EllipseEditor::updateRect.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_change_connections

QList<QMetaObject::Connection> EllipseEditor::m_change_connections
private

◆ m_part

PartEllipse* EllipseEditor::m_part = nullptr
private

◆ m_style

StyleEditor* EllipseEditor::m_style = nullptr
private

◆ ui

Ui::EllipseEditor* EllipseEditor::ui
private

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