QElectroTech
0.8-dev
|
The AddTableDialog class Provide a dialog used to edit the properties of table befor adding to a diagram. The main difference betwen 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. More... | |
~AddTableDialog () | |
AddTableDialog::~AddNomenclatureDialog. More... | |
void | setQueryWidget (QWidget *widget) |
AddTableDialog::setQueryWidget Not implemented yet. More... | |
bool | adjustTableToFolio () const |
AddTableDialog::adjustTableToFolio. More... | |
bool | addNewTableToNewDiagram () const |
AddTableDialog::addNewTableToNewDiagram. More... | |
QString | tableName () const |
AddTableDialog::tableName. More... | |
QMargins | headerMargins () const |
AddTableDialog::headerMargins. More... | |
Qt::Alignment | headerAlignment () const |
AddTableDialog::headerAlignment. More... | |
QFont | headerFont () const |
AddTableDialog::headerFont. More... | |
QMargins | tableMargins () const |
AddTableDialog::tableMargins. More... | |
Qt::Alignment | tableAlignment () const |
AddTableDialog::tableAlignment. More... | |
QFont | tableFont () const |
AddTableDialog::tableFont. More... | |
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 befor adding to a diagram. The main difference betwen 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 |