54 QString family =
"Arial";
56 QColor
color = QColor(255, 255, 255);
61 QString horizontalJustification =
"Left";
62 QString verticalJustification =
"Bottom";
101 void setBold(
bool bold,
bool blockSignal =
false);
105 bool blockSignal =
false);
107 bool blockSignal =
false);
133 void onFontFamilyChanged(
int index);
134 void onFontSizeChanged(
int size);
135 void onFontColorClicked();
136 void onFontOpacityChanged(
double opacity);
137 void onBoldToggled(
bool checked);
138 void onItalicToggled(
bool checked);
139 void onShadowToggled(
bool checked);
140 void onHorizontalJustificationTriggered(QAction* action);
141 void onVerticalJustificationTriggered(QAction* action);
147 void setupConnections();
148 void updateColorButtonAppearance();
149 void setupHorizontalJustificationButton();
150 void setupVerticalJustificationButton();
151 void updateJustificationButtonIcon(
const QString& justification,
152 QToolButton* button);
154 Ui::ecvFontPropertyWidget* ui;
160 QString m_horizontalJustification =
"Left";
161 QString m_verticalJustification =
"Bottom";
164 bool m_blockSignals =
false;