fontoption.h

来自「c++的guiQt做的开发」· C头文件 代码 · 共 27 行

H
27
字号
#ifndef __FONTOPTION_H__#define __FONTOPTION_H__#include "dialogoption.h"class QString;namespace gui {/** FontOption - class for widget containing one editable string setting, while allowing to either type (allowing things like copy/paste) the font description (name and parameters), or use dialog to pick it. User's choice<br> Used as one item type in option window<br> \brief Widget to edit option by typing or picking a font*/class FontOption : public DialogOption { Q_OBJECTpublic: FontOption(const QString &_key=0,QWidget *parent=0,const QString &defValue=0); virtual void dialog(QString &value); virtual ~FontOption();};} // namespace gui#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?