📄 option.cc
字号:
/** @file Option - class for widget containing one editable setting<br> Abstract class, must be subclassed for editing specific option types (integer, string ...)<br> @author Martin Petricek*/#include "option.h"#include <QString>namespace gui {/** Default constructor of option item @param parent parent Option Editor containing this control @param _key Key in settings for this option */Option::Option(const QString &_key/*=0*/,QWidget *parent/*=0*/) : QWidget (parent){ key=_key; changed=false;}/** return name of this option (key in settings that is edited by this option) @return name of option*/QString Option::getName() { return key;}/** default destructor */Option::~Option() {}} // namespace gui
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -