implemented all field UIs

This commit is contained in:
itsmattkc
2019-03-13 08:43:46 +11:00
parent b7b9c866a8
commit e82b0e4914
26 changed files with 256 additions and 131 deletions
+7 -7
View File
@@ -22,19 +22,19 @@
#include <QFontDatabase>
FontCombobox::FontCombobox(QWidget* parent) : ComboBoxEx(parent) {
addItems(QFontDatabase().families());
FontCombobox::FontCombobox(QWidget* parent) : QComboBox(parent) {
addItems(QFontDatabase().families());
value = currentText();
value = currentText();
connect(this, SIGNAL(currentTextChanged(QString)), this, SLOT(updateInternals()));
connect(this, SIGNAL(currentTextChanged(QString)), this, SLOT(updateInternals()));
}
const QString& FontCombobox::getPreviousValue() {
return previousValue;
return previousValue;
}
void FontCombobox::updateInternals() {
previousValue = value;
value = currentText();
previousValue = value;
value = currentText();
}