first commit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
#ifndef FFONTSETTING_H
|
||||
#define FFONTSETTING_H
|
||||
|
||||
#include "qspinbox.h"
|
||||
#include <QWidget>
|
||||
#include <QFontComboBox>
|
||||
#include <QComboBox>
|
||||
|
||||
namespace Ui {
|
||||
class FFontSetting;
|
||||
}
|
||||
|
||||
class FFontSetting : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit FFontSetting(QWidget *parent = nullptr);
|
||||
~FFontSetting();
|
||||
QFontComboBox *cbFontStyle;
|
||||
QComboBox *cbFontColor;
|
||||
QSpinBox *sbFontSize;
|
||||
|
||||
private:
|
||||
Ui::FFontSetting *ui;
|
||||
|
||||
void setupColorComboBox(QComboBox* comboBox);
|
||||
void loadFonts(); // Убедитесь, что метод объявлен как public или private
|
||||
};
|
||||
|
||||
#endif // FFONTSETTING_H
|
||||
Reference in New Issue
Block a user