資源簡(jiǎn)介
使用qt4開發(fā)的數(shù)字軟鍵盤,有數(shù)字,正負(fù)號(hào),返回,確認(rèn),刪除,小數(shù)點(diǎn)的功能。具體的開發(fā)文檔,請(qǐng)看我的博客Qt實(shí)戰(zhàn)開發(fā)-數(shù)字然鍵盤。
代碼片段和文件信息
#include?“keywidget.h“
KeyWidget::KeyWidget(QWidget?*parent)
????:?QWidget(parent)
{
????????this->resize(400??300);
????????lineEdit?=?new?SoftKeyLineEdit(this);
????????lineEdit->setGeometry(QRect(132?70?121?27));
}
KeyWidget::~KeyWidget()
{
????
}
評(píng)論
共有 條評(píng)論