会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
晚晴小筑
Talk is cheap. Show me the code.
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
35
36
37
38
39
40
41
42
43
···
95
下一页
2013年12月8日
qt QDockWidget QStackWidget的简单使用
摘要: stackdlg.h #ifndef STACKDLG_H#define STACKDLG_H#include #include #include #include #include "ui_stackdlg.h"class StackDlg : public QDialog{ Q_OBJE...
阅读全文
posted @ 2013-12-08 15:21 N3verL4nd
阅读(1143)
评论(0)
推荐(0)
2013年12月6日
Wireshark抓包工具使用教程以及常用抓包规则
摘要: Wireshark是一个非常好用的抓包工具,当我们遇到一些和网络相关的问题时,可以通过这个工具进行分析,不过要说明的是,这只是一个工具,用法是非常灵活的,所以今天讲述的内容可能无法直接帮你解决问题,但是只要你有解决问题的思路,学习用这个软件就非常有用了。 Wireshark官方下载地址:htt...
阅读全文
posted @ 2013-12-06 21:28 N3verL4nd
阅读(180)
评论(0)
推荐(0)
2013年12月5日
Eclipse报错:Setting property 'source' to 'org.eclipse.jst.jee.server:test1' did no
摘要: http://chenzhou123520.iteye.com/blog/1836961 最近把Eclipse的maven插件从m2eclipse更新到m2e后出了一些莫名其妙的的问题。今天又出了一个,就是Eclipse新建的Maven Web project在tomcat里启动后报错,具...
阅读全文
posted @ 2013-12-05 21:46 N3verL4nd
阅读(210)
评论(0)
推荐(0)
Qt实现简易计算器
摘要: 麻烦到不能再麻烦的实现,简单到不能再简单的思路。 calc.h #ifndef CALC_H#define CALC_H#include #include "ui_calc.h"class calc : public QMainWindow{ Q_OBJECTpublic: calc(QWid...
阅读全文
posted @ 2013-12-05 15:08 N3verL4nd
阅读(528)
评论(1)
推荐(0)
2013年12月4日
qt QTreeWidget使用
摘要: itemwidget.h #ifndef ITEMWIDGET_H#define ITEMWIDGET_H#include #include #include "ui_itemwidget.h"class itemWidget : public QWidget{ Q_OBJECTpublic:...
阅读全文
posted @ 2013-12-04 21:08 N3verL4nd
阅读(305)
评论(0)
推荐(0)
qt QSplitter分割窗口
摘要: #include #include #include #include int main(int argc, char *argv[]){ QApplication a(argc, argv); QSplitter *splitterMain = new QSplitter(Qt::Horizo...
阅读全文
posted @ 2013-12-04 21:04 N3verL4nd
阅读(303)
评论(0)
推荐(0)
2013年12月3日
QT5如何设置QLabel中字体的颜色
摘要: 修改了wd的文章: 如何使用Qt5,设置QLabel中字体的颜色。 大致有几种做法: 一是使用setPalette()方法; 二是使用样式表; 三是可以使用QStyle; 四是可以在其中使用一些简单的HTML样式。 第一种,使用setPalette()方法如下: QPalett...
阅读全文
posted @ 2013-12-03 21:11 N3verL4nd
阅读(1434)
评论(0)
推荐(0)
2013年12月2日
Qt QDateTime QTimer的简单实用
摘要: qttimer.h #ifndef QTTIMER_H#define QTTIMER_H#include #include "ui_qttimer.h"class qttimer : public QDialog{ Q_OBJECTpublic: qttimer(QWidget *parent...
阅读全文
posted @ 2013-12-02 21:12 N3verL4nd
阅读(371)
评论(0)
推荐(0)
Qt qApp
摘要: qApp A global pointer referring to the unique application object. It is equivalent to the pointer returned by the QCoreApplication::instance() funct...
阅读全文
posted @ 2013-12-02 21:06 N3verL4nd
阅读(348)
评论(0)
推荐(0)
QtGui实现计算圆的面积
摘要: dialog.h #ifndef DIALOG_H#define DIALOG_H#include #include #include #include #include const static double PI = 3.1416;class Dialog : public QDialog...
阅读全文
posted @ 2013-12-02 20:54 N3verL4nd
阅读(581)
评论(0)
推荐(0)
上一页
1
···
35
36
37
38
39
40
41
42
43
···
95
下一页
公告