Add a button in config page for open Qfontdialog widget

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5168 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2017-12-11 00:52:33 +00:00
parent 2d20fb3081
commit 925b54920e
2 changed files with 26 additions and 9 deletions

View File

@@ -18,6 +18,7 @@
#ifndef CONFIG_PAGES_H
#define CONFIG_PAGES_H
#include <QtWidgets>
#include <QDialog>
#include "configpage.h"
#include "projectpropertiesdialog.h"
#include "titleblockpropertieswidget.h"
@@ -90,6 +91,9 @@ class GeneralConfigurationPage : public ConfigPage {
private:
void fillLang(QSettings &);
public slots:
void setFont();
// attributes
private:
QLabel *title_label_;
@@ -112,6 +116,7 @@ class GeneralConfigurationPage : public ConfigPage {
QGroupBox *lang_group_box;
QComboBox *lang_combo_box;
QLabel *lang_label;
QPushButton *fontButton;
};
/**