44 lines
837 B
C++
44 lines
837 B
C++
#ifndef DIALOGFONTSIZE_H
|
|
#define DIALOGFONTSIZE_H
|
|
|
|
#include <QDialog>
|
|
|
|
namespace Ui {
|
|
class DialogFontSize;
|
|
}
|
|
|
|
class DialogFontSize : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit DialogFontSize(QWidget *parent = 0);
|
|
~DialogFontSize();
|
|
void getValue(int *size);
|
|
void setValue(int value);
|
|
QFont font;
|
|
QString getFontFamily();
|
|
QFont getFont();
|
|
|
|
void GetFileInfo();//String fileName, String fileDate
|
|
|
|
public slots:
|
|
void ChangeFont(QString fontFamily);
|
|
void Button7HoriL(bool ok);
|
|
void Button7HoriR(bool ok);
|
|
|
|
private slots:
|
|
void on_pushButton_pressed();
|
|
|
|
void on_checkBox_Left_clicked();
|
|
|
|
void on_checkBox_Right_clicked();
|
|
|
|
private:
|
|
Ui::DialogFontSize *ui;
|
|
bool flagOfLeft;
|
|
bool flagOfRight;
|
|
};
|
|
|
|
#endif // DIALOGFONTSIZE_H
|