資源簡介
使用qt4開發的數字軟鍵盤,有數字,正負號,返回,確認,刪除,小數點的功能。具體的開發文檔,請看我的博客Qt實戰開發-數字然鍵盤。
代碼片段和文件信息
#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()
{
????
}
- 上一篇:Qt編寫的速度儀表盤
- 下一篇:基于LabVIEW的智能車監控系統
評論
共有 條評論