mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-06-06 18:13:14 +02:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 411fb3c4dc | |||
| 07a07a5719 |
@@ -170,7 +170,7 @@ void DynamicTextFieldEditor::setupWidget()
|
|||||||
m_color_kpb->setObjectName(QString::fromUtf8("m_color_kpb"));
|
m_color_kpb->setObjectName(QString::fromUtf8("m_color_kpb"));
|
||||||
|
|
||||||
connect(m_color_kpb, &ColorButton::changed,
|
connect(m_color_kpb, &ColorButton::changed,
|
||||||
this, &DynamicTextFieldEditor::on_m_color_kpb_changed);
|
this, &DynamicTextFieldEditor::m_color_kpb_changed);
|
||||||
|
|
||||||
ui->m_main_grid_layout->addWidget(m_color_kpb, 6, 1, 1, 2);
|
ui->m_main_grid_layout->addWidget(m_color_kpb, 6, 1, 1, 2);
|
||||||
}
|
}
|
||||||
@@ -306,8 +306,8 @@ void DynamicTextFieldEditor::on_m_width_sb_editingFinished()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void DynamicTextFieldEditor::on_m_elmt_info_cb_activated(const QString &arg1) {
|
void DynamicTextFieldEditor::on_m_elmt_info_cb_activated(int index) {
|
||||||
Q_UNUSED(arg1)
|
Q_UNUSED(index)
|
||||||
|
|
||||||
QString info = ui -> m_elmt_info_cb -> currentData().toString();
|
QString info = ui -> m_elmt_info_cb -> currentData().toString();
|
||||||
for (int i = 0; i < m_parts.length(); i++) {
|
for (int i = 0; i < m_parts.length(); i++) {
|
||||||
@@ -408,7 +408,7 @@ void DynamicTextFieldEditor::on_m_font_pb_clicked()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void DynamicTextFieldEditor::on_m_color_kpb_changed(const QColor &newColor) {
|
void DynamicTextFieldEditor::m_color_kpb_changed(QColor newColor) {
|
||||||
if (!newColor.isValid()) {
|
if (!newColor.isValid()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -58,13 +58,13 @@ class DynamicTextFieldEditor : public ElementItemEditor {
|
|||||||
void on_m_size_sb_editingFinished();
|
void on_m_size_sb_editingFinished();
|
||||||
void on_m_frame_cb_clicked();
|
void on_m_frame_cb_clicked();
|
||||||
void on_m_width_sb_editingFinished();
|
void on_m_width_sb_editingFinished();
|
||||||
void on_m_elmt_info_cb_activated(const QString &arg1);
|
void on_m_elmt_info_cb_activated(int index);
|
||||||
void on_m_text_from_cb_activated(int index);
|
void on_m_text_from_cb_activated(int index);
|
||||||
void on_m_composite_text_pb_clicked();
|
void on_m_composite_text_pb_clicked();
|
||||||
void on_m_alignment_pb_clicked();
|
void on_m_alignment_pb_clicked();
|
||||||
void on_m_font_pb_clicked();
|
void on_m_font_pb_clicked();
|
||||||
|
|
||||||
void on_m_color_kpb_changed(const QColor &newColor);
|
void m_color_kpb_changed(QColor newColor);
|
||||||
|
|
||||||
void on_m_keep_visual_rotation_cb_clicked();
|
void on_m_keep_visual_rotation_cb_clicked();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user