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

The BorderPropertiesWidget class this widget edit the properties of a border. More...

#include <borderpropertieswidget.h>

Inherits QWidget.

Collaboration diagram for BorderPropertiesWidget:
Collaboration graph

Public Member Functions

 BorderPropertiesWidget (const BorderProperties &bp, QWidget *parent=nullptr)
 BorderPropertiesWidget::BorderPropertiesWidget default constructor.
 
 ~BorderPropertiesWidget () override
 BorderPropertiesWidget::~BorderPropertiesWidget default destructor.
 
void setProperties (const BorderProperties &bp)
 BorderPropertiesWidget::setProperties Set the current properties to edit.
 
const BorderPropertiesproperties ()
 BorderPropertiesWidget::properties.
 
void setReadOnly (const bool &ro)
 BorderPropertiesWidget::setReadOnly Enable or disable this widget.
 

Private Attributes

Ui::BorderPropertiesWidget * ui
 
BorderProperties m_properties
 

Detailed Description

The BorderPropertiesWidget class this widget edit the properties of a border.

Constructor & Destructor Documentation

◆ BorderPropertiesWidget()

BorderPropertiesWidget::BorderPropertiesWidget ( const BorderProperties bp,
QWidget *  parent = nullptr 
)
explicit

BorderPropertiesWidget::BorderPropertiesWidget default constructor.

Parameters
bpproperties
parentparetn widget
Here is the call graph for this function:

◆ ~BorderPropertiesWidget()

BorderPropertiesWidget::~BorderPropertiesWidget ( )
override

Member Function Documentation

◆ properties()

const BorderProperties & BorderPropertiesWidget::properties ( )

BorderPropertiesWidget::properties.

Returns
the edited border properties

◆ setProperties()

void BorderPropertiesWidget::setProperties ( const BorderProperties bp)

BorderPropertiesWidget::setProperties Set the current properties to edit.

Parameters
bpproperties to edit
Here is the caller graph for this function:

◆ setReadOnly()

void BorderPropertiesWidget::setReadOnly ( const bool &  ro)

BorderPropertiesWidget::setReadOnly Enable or disable this widget.

Parameters
rotrue-disable / false-enable

Member Data Documentation

◆ m_properties

BorderProperties BorderPropertiesWidget::m_properties
private

◆ ui

Ui::BorderPropertiesWidget* BorderPropertiesWidget::ui
private

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