|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef GRAPHICSTABLEPROPERTIESEDITOR_H
19 #define GRAPHICSTABLEPROPERTIESEDITOR_H
23 #include <QButtonGroup>
30 class QAbstractItemModel;
47 virtual void apply()
override;
67 Ui::GraphicsTablePropertiesEditor *
ui;
79 #endif // GRAPHICSTABLEPROPERTIESEDITOR_H
QPointer< QetGraphicsTableItem > m_table_item
Definition: graphicstablepropertieseditor.h:68
The GraphicsTablePropertiesEditor class This widget is used to edit the property of both QetGraphicsT...
Definition: graphicstablepropertieseditor.h:39
Q_DECLARE_METATYPE(NamesList)
void on_m_next_pb_clicked()
Definition: graphicstablepropertieseditor.cpp:403
void on_m_previous_pb_clicked()
Definition: graphicstablepropertieseditor.cpp:394
Definition: elementprovider.h:37
QUndoCommand * associatedUndo() const override
GraphicsTablePropertiesEditor::associatedUndo.
Definition: graphicstablepropertieseditor.cpp:119
The QetGraphicsTableItem class This item display a table destined to represent the content of a QAbst...
Definition: qetgraphicstableitem.h:43
void on_m_previous_table_cb_activated(int index)
Definition: graphicstablepropertieseditor.cpp:385
QWidget * m_current_model_editor
Definition: graphicstablepropertieseditor.h:73
virtual void updateUi() override
GraphicsTablePropertiesEditor::updateUi.
Definition: graphicstablepropertieseditor.cpp:246
The ModelHeaderDataCommand class Change the data of a header.
Definition: itemmodelcommand.h:53
void on_m_table_name_le_textEdited(const QString &arg1)
Definition: graphicstablepropertieseditor.cpp:381
void updateInfoLabel()
Definition: graphicstablepropertieseditor.cpp:313
void on_m_apply_geometry_to_linked_table_pb_clicked()
GraphicsTablePropertiesEditor::on_m_apply_geometry_to_linked_table_pb_clicked.
Definition: graphicstablepropertieseditor.cpp:425
The ModelIndexCommand class Change a data of an index of QAbstractItemModel.
Definition: itemmodelcommand.h:32
Ui::GraphicsTablePropertiesEditor * ui
Definition: graphicstablepropertieseditor.h:67
~GraphicsTablePropertiesEditor() override
GraphicsTablePropertiesEditor::~GraphicsTablePropertiesEditor.
Definition: graphicstablepropertieseditor.cpp:62
static void adjustTableToFolio(QetGraphicsTableItem *table, QMargins margins=QMargins(20, 20, 20, 0))
QetGraphicsTableItem::adjustTableToFolio Adjust the table to fit at best the folio.
Definition: qetgraphicstableitem.cpp:42
void on_m_header_font_pb_clicked()
GraphicsTablePropertiesEditor::on_m_header_font_pb_clicked.
Definition: graphicstablepropertieseditor.cpp:203
QString marginsToString(const QMargins &margins)
QETUtils::marginsToString.
Definition: qetutils.cpp:27
QButtonGroup * m_header_button_group
Definition: graphicstablepropertieseditor.h:71
QList< QMetaObject::Connection > m_edit_connection
Definition: graphicstablepropertieseditor.h:70
GraphicsTablePropertiesEditor(QetGraphicsTableItem *table=nullptr, QWidget *parent=nullptr)
GraphicsTablePropertiesEditor::GraphicsTablePropertiesEditor.
Definition: graphicstablepropertieseditor.cpp:37
Definition: autonumberingdockwidget.h:25
void setUpEditConnection()
GraphicsTablePropertiesEditor::setUpEditConnection.
Definition: graphicstablepropertieseditor.cpp:348
QButtonGroup * m_table_button_group
Definition: graphicstablepropertieseditor.h:72
QMargins marginsFromString(const QString &string)
QETUtils::marginsFromString.
Definition: qetutils.cpp:46
virtual bool setLiveEdit(bool live_edit) override
PropertiesEditorWidget::setLiveEdit Set the editor in live edit mode. When an editor is in live edit ...
Definition: graphicstablepropertieseditor.cpp:189
QVector< QetGraphicsTableItem * > table(QetGraphicsTableItem *table=nullptr, QAbstractItemModel *model=nullptr)
ElementProvider::table.
Definition: elementprovider.cpp:120
QAbstractItemModel * model() const
QetGraphicsTableItem::model.
Definition: qetgraphicstableitem.cpp:187
void setTable(QetGraphicsTableItem *table)
GraphicsTablePropertiesEditor::setTable Set the table to be edited.
Definition: graphicstablepropertieseditor.cpp:71
QList< QMetaObject::Connection > m_connect_list
Definition: graphicstablepropertieseditor.h:69
QVector< QetGraphicsTableItem * > m_other_table_vector
Definition: graphicstablepropertieseditor.h:74
void on_m_auto_geometry_pb_clicked()
GraphicsTablePropertiesEditor::on_m_auto_geometry_pb_clicked.
Definition: graphicstablepropertieseditor.cpp:415
void on_m_table_font_pb_clicked()
GraphicsTablePropertiesEditor::on_m_table_font_pb_clicked.
Definition: graphicstablepropertieseditor.cpp:224
@ Horizontal
Horizontal segment.
Definition: qet.h:89
PropertiesEditorWidget * propertiesEditor(QAbstractItemModel *model, PropertiesEditorWidget *editor=nullptr, QWidget *parent=nullptr)
PropertiesEditorFactory::propertiesEditor.
Definition: propertieseditorfactory.cpp:47
The QPropertyUndoCommand class This undo command manage QProperty of a QObject. This undo command can...
Definition: qpropertyundocommand.h:34
virtual void apply() override
GraphicsTablePropertiesEditor::apply Apply the current edition.
Definition: graphicstablepropertieseditor.cpp:103
QIcon tr
Definition: qeticons.cpp:206