📄 kcombo.h
字号:
#ifndef _KCOMBO_H_#define _KCOMBO_H_#include <qcombobox.h>class KCombo : public QComboBox { Q_OBJECTpublic: KCombo( QWidget* parent = 0, const char* name = 0, WFlags f = 0 ); KCombo( bool readWrite, QWidget* parent = 0, const char* name = 0, WFlags f = 0 ); virtual ~KCombo(){}; /* the following functions are there for compatibility with * the former KCombo. Most of them are dummies now. * Their functionality will soon be available in QComboBox */ void setLabelFlags( int) {}; int labelFlags() const {return 0;}; void cursorAtEnd(){}; void setText( const char *text ); void setCompletion( bool){}; private: bool set_text_called; };#endif // _KCOMBO_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -