unicodewidget.h

来自「Qt4源代码,详细介绍了Qt4编程中的范例」· C头文件 代码 · 共 24 行

H
24
字号
#ifndef UNICODEWIDGET_H_
#define UNICODEWIDGET_H_

#include <QWidget>
#include <QLineEdit>
#include <QLabel>
#include <QVBoxLayout>

class UniCodeWidget : public QWidget
{
	Q_OBJECT
public:
	UniCodeWidget();
	virtual ~UniCodeWidget();
private slots:
	void showUniCode(const QString& text);	
private:
	QLineEdit *txtEdit;
	QLabel *lblUnicode;
	QVBoxLayout *layout;
};

#endif /*UNICODEWIDGET_H_*/

⌨️ 快捷键说明

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