QElectroTech 0.100.0-dev
Loading...
Searching...
No Matches
compositetexteditdialog.h
Go to the documentation of this file.
1#ifndef COMPOSITETEXTEDITDIALOG_H
2#define COMPOSITETEXTEDITDIALOG_H
3
4#include <QDialog>
5
6namespace Ui {
8}
9
11
19class CompositeTextEditDialog : public QDialog
20{
21 Q_OBJECT
22
23 public:
24 explicit CompositeTextEditDialog(DynamicElementTextItem *text, QWidget *parent = nullptr);
25 explicit CompositeTextEditDialog(QString text, QWidget *parent = nullptr);
26 ~CompositeTextEditDialog() override;
27
28 QString plainText() const;
29
30 private slots:
31 void on_m_info_cb_activated(const QString &arg1);
32
33 protected:
34 void focusInEvent(QFocusEvent *event) override;
35
36 private :
37 void setUpComboBox();
38 QString infoToVar(const QString& info) const;
39
40 private:
41 Ui::CompositeTextEditDialog *ui;
44};
45
46#endif // COMPOSITETEXTEDITDIALOG_H
The CompositeTextEditDialog class CompositeTextEditDialog display a dialog use to write the complex t...
Definition compositetexteditdialog.h:20
void setUpComboBox()
CompositeTextEditDialog::setUpComboBox Add the available element information in the combo box.
Definition compositetexteditdialog.cpp:53
QString m_default_text
Definition compositetexteditdialog.h:42
void on_m_info_cb_activated(const QString &arg1)
Definition compositetexteditdialog.cpp:83
DynamicElementTextItem * m_text
Definition compositetexteditdialog.h:43
~CompositeTextEditDialog() override
Definition compositetexteditdialog.cpp:35
Ui::CompositeTextEditDialog * ui
Definition compositetexteditdialog.h:41
QString plainText() const
CompositeTextEditDialog::plainText.
Definition compositetexteditdialog.cpp:44
void focusInEvent(QFocusEvent *event) override
CompositeTextEditDialog::focusInEvent Reimplemented from QWidget::focusInEvent.
Definition compositetexteditdialog.cpp:94
QString infoToVar(const QString &info) const
The DynamicElementTextItem class This class provide a simple text field of element who can be added o...
Definition dynamicelementtextitem.h:40
Definition autonumberingdockwidget.h:26