QElectroTech 0.100.0-dev
|
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.
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 |
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.
|
explicit |
AddTableDialog::AddTableDialog.
content_widget | : the widget to display in the "content" tab. This dialog take ownership of content_widget. |
parent | : parent widget. |
AddTableDialog::~AddTableDialog | ( | ) |
AddTableDialog::~AddNomenclatureDialog.
bool AddTableDialog::addNewTableToNewDiagram | ( | ) | const |
bool AddTableDialog::adjustTableToFolio | ( | ) | const |
QWidget * AddTableDialog::contentWidget | ( | ) | const |
|
privateslot |
Qt::Alignment AddTableDialog::headerAlignment | ( | ) | const |
QFont AddTableDialog::headerFont | ( | ) | const |
QMargins AddTableDialog::headerMargins | ( | ) | const |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
void AddTableDialog::setQueryWidget | ( | QWidget * | widget | ) |
AddTableDialog::setQueryWidget Not implemented yet.
widget |
Qt::Alignment AddTableDialog::tableAlignment | ( | ) | const |
QFont AddTableDialog::tableFont | ( | ) | const |
QMargins AddTableDialog::tableMargins | ( | ) | const |
QString AddTableDialog::tableName | ( | ) | const |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |