会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
红莲教主
博客园
首页
新随笔
联系
订阅
管理
1
2
下一页
[置顶]
QT5-控件-QCheckBox
摘要: #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QButtonGroup> #include <QCheckBox> class MainWindow : public QMainWindow {
阅读全文
posted @ 2016-02-21 20:00 红莲教主
阅读(3861)
评论(0)
推荐(0)
2016年5月16日
QT-Demo-Colck-01
摘要: 1 QT += widgets 2 QT += core 3 4 HEADERS += \ 5 mainwindow.h 6 7 SOURCES += \ 8 mainwindow.cpp \ 9 main.cpp #ifndef MAINWINDOW_H #define MAINWINDOW_H #include class Clock : pub...
阅读全文
posted @ 2016-05-16 14:29 红莲教主
阅读(936)
评论(0)
推荐(0)
2016年2月22日
QT5-控件-QScrollArea-可以用于把一个窗口分割为多个-比如根据图片大小显示滚动条
摘要: #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QLabel> #include <QPixmap> #include <QImage> #include <QScrollArea> class M
阅读全文
posted @ 2016-02-22 22:40 红莲教主
阅读(5820)
评论(0)
推荐(0)
Qt5-控件-QRadioButton-单选按钮-用于从多个选项中选取一个-单选神器
摘要: #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QRadioButton> #include <QButtonGroup> class MainWindow : public QMainWindow
阅读全文
posted @ 2016-02-22 22:22 红莲教主
阅读(13670)
评论(0)
推荐(0)
QT5-控件-QProgressBar-进度条-用来做下载进度,文件读取进度还不错
摘要: #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QProgressBar> class MainWindow : public QMainWindow { Q_OBJECT public: Main
阅读全文
posted @ 2016-02-22 21:50 红莲教主
阅读(6552)
评论(0)
推荐(0)
Qt5-控件-QMenu,QMenuBar-菜单栏详解-菜单热键-菜单校验功能
摘要: #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QMenu> #include <QMenuBar> #include <QStatusBar> class MainWindow : public
阅读全文
posted @ 2016-02-22 21:37 红莲教主
阅读(31863)
评论(0)
推荐(0)
QT5-控件-QLineEdit-文本输入控件,用来输入密码什么的还不错,可以和Linux登录一样不移动光标哦
摘要: #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QLineEdit> #include <QLabel> class MainWindow : public QMainWindow { Q_OBJE
阅读全文
posted @ 2016-02-22 20:39 红莲教主
阅读(4093)
评论(0)
推荐(0)
QT5-控件-QLabel和QLCDNumber-标签显示图片或者视频,LCD用于上位机不错
摘要: #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QLabel> #include <QLCDNumber> #include <QPixmap> class MainWindow : public
阅读全文
posted @ 2016-02-22 19:10 红莲教主
阅读(3746)
评论(0)
推荐(0)
QT5-控件-QFontComboBox-字体选择下拉列表,使用一个标签查看效果
摘要: #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QFontComboBox> #include <QFont> #include <QLabel> class MainWindow : public
阅读全文
posted @ 2016-02-22 18:30 红莲教主
阅读(10668)
评论(0)
推荐(0)
QT5控件-QPushButton和QFocusFrame(按钮和焦点框)
摘要: #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QPushButton> #include <QFocusFrame> class MainWindow : public QMainWindow {
阅读全文
posted @ 2016-02-22 17:27 红莲教主
阅读(4837)
评论(0)
推荐(0)
QT5-控件-QSpinBox和QDoubleSpinBox(用于通过控件调整整数和小数)
摘要: #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QSpinBox> #include <QDoubleSpinBox> class MainWindow : public QMainWindow {
阅读全文
posted @ 2016-02-22 16:59 红莲教主
阅读(5410)
评论(0)
推荐(0)
1
2
下一页
公告