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

The AddTableDialog class Provide a dialog used to edit the properties of table before adding to a diagram. The main difference between this dialog and the widget used to edit the properties of table is that the dialog have two extra check box. One for adjust the size of the table to diagram Second for add new tables on new folios if the table can't fit into diagram. More...

#include <addtabledialog.h>

Inherits QDialog.

Collaboration diagram for AddTableDialog:
Collaboration graph

Public Member Functions

 AddTableDialog (QWidget *content_widget, QWidget *parent=nullptr)
 AddTableDialog::AddTableDialog.
 
 ~AddTableDialog ()
 AddTableDialog::~AddNomenclatureDialog.
 
void setQueryWidget (QWidget *widget)
 AddTableDialog::setQueryWidget Not implemented yet.
 
bool adjustTableToFolio () const
 AddTableDialog::adjustTableToFolio.
 
bool addNewTableToNewDiagram () const
 AddTableDialog::addNewTableToNewDiagram.
 
QString tableName () const
 AddTableDialog::tableName.
 
QMargins headerMargins () const
 AddTableDialog::headerMargins.
 
Qt::Alignment headerAlignment () const
 AddTableDialog::headerAlignment.
 
QFont headerFont () const
 AddTableDialog::headerFont.
 
QMargins tableMargins () const
 AddTableDialog::tableMargins.
 
Qt::Alignment tableAlignment () const
 AddTableDialog::tableAlignment.
 
QFont tableFont () const
 AddTableDialog::tableFont.
 
QWidget * contentWidget () const
 

Private Slots

void on_m_header_font_pb_clicked ()
 
void on_m_table_font_pb_clicked ()
 
void on_m_edit_header_margins_pb_clicked ()
 
void on_m_table_margins_pb_clicked ()
 
void saveConfig ()
 
void loadConfig ()
 
void fillSavedQuery ()
 

Private Attributes

Ui::AddTableDialog * ui
 
QWidget * m_content_widget = nullptr
 
QMargins m_header_margins = QMargins(5,5,10,5)
 
QMargins m_table_margins = QMargins(5,5,10,5)
 
QFont m_header_font = QETApp::diagramTextsFont()
 
QFont m_table_font = QETApp::diagramTextsFont()
 
QString m_identifier
 

Detailed Description

The AddTableDialog class Provide a dialog used to edit the properties of table before adding to a diagram. The main difference between this dialog and the widget used to edit the properties of table is that the dialog have two extra check box. One for adjust the size of the table to diagram Second for add new tables on new folios if the table can't fit into diagram.

Constructor & Destructor Documentation

◆ AddTableDialog()

AddTableDialog::AddTableDialog ( QWidget *  content_widget,
QWidget *  parent = nullptr 
)
explicit

AddTableDialog::AddTableDialog.

Parameters
content_widget: the widget to display in the "content" tab. This dialog take ownership of content_widget.
parent: parent widget.
Here is the call graph for this function:

◆ ~AddTableDialog()

AddTableDialog::~AddTableDialog ( )

AddTableDialog::~AddNomenclatureDialog.

Member Function Documentation

◆ addNewTableToNewDiagram()

bool AddTableDialog::addNewTableToNewDiagram ( ) const

AddTableDialog::addNewTableToNewDiagram.

Returns
Here is the caller graph for this function:

◆ adjustTableToFolio()

bool AddTableDialog::adjustTableToFolio ( ) const

AddTableDialog::adjustTableToFolio.

Returns
Here is the caller graph for this function:

◆ contentWidget()

QWidget * AddTableDialog::contentWidget ( ) const
Here is the caller graph for this function:

◆ fillSavedQuery

void AddTableDialog::fillSavedQuery ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ headerAlignment()

Qt::Alignment AddTableDialog::headerAlignment ( ) const

AddTableDialog::headerAlignment.

Returns
Here is the caller graph for this function:

◆ headerFont()

QFont AddTableDialog::headerFont ( ) const

AddTableDialog::headerFont.

Returns
Here is the caller graph for this function:

◆ headerMargins()

QMargins AddTableDialog::headerMargins ( ) const

AddTableDialog::headerMargins.

Returns
Here is the caller graph for this function:

◆ loadConfig

void AddTableDialog::loadConfig ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_m_edit_header_margins_pb_clicked

void AddTableDialog::on_m_edit_header_margins_pb_clicked ( )
privateslot
Here is the call graph for this function:

◆ on_m_header_font_pb_clicked

void AddTableDialog::on_m_header_font_pb_clicked ( )
privateslot

◆ on_m_table_font_pb_clicked

void AddTableDialog::on_m_table_font_pb_clicked ( )
privateslot

◆ on_m_table_margins_pb_clicked

void AddTableDialog::on_m_table_margins_pb_clicked ( )
privateslot
Here is the call graph for this function:

◆ saveConfig

void AddTableDialog::saveConfig ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setQueryWidget()

void AddTableDialog::setQueryWidget ( QWidget *  widget)

AddTableDialog::setQueryWidget Not implemented yet.

Parameters
widget

◆ tableAlignment()

Qt::Alignment AddTableDialog::tableAlignment ( ) const

AddTableDialog::tableAlignment.

Returns
Here is the caller graph for this function:

◆ tableFont()

QFont AddTableDialog::tableFont ( ) const

AddTableDialog::tableFont.

Returns
Here is the caller graph for this function:

◆ tableMargins()

QMargins AddTableDialog::tableMargins ( ) const

AddTableDialog::tableMargins.

Returns
Here is the caller graph for this function:

◆ tableName()

QString AddTableDialog::tableName ( ) const

AddTableDialog::tableName.

Returns
Here is the caller graph for this function:

Member Data Documentation

◆ m_content_widget

QWidget* AddTableDialog::m_content_widget = nullptr
private

◆ m_header_font

QFont AddTableDialog::m_header_font = QETApp::diagramTextsFont()
private

◆ m_header_margins

QMargins AddTableDialog::m_header_margins = QMargins(5,5,10,5)
private

◆ m_identifier

QString AddTableDialog::m_identifier
private

◆ m_table_font

QFont AddTableDialog::m_table_font = QETApp::diagramTextsFont()
private

◆ m_table_margins

QMargins AddTableDialog::m_table_margins = QMargins(5,5,10,5)
private

◆ ui

Ui::AddTableDialog* AddTableDialog::ui
private

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