上一页 1 ··· 35 36 37 38 39 40 41 42 43 ··· 95 下一页
摘要: 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)
摘要: Wireshark是一个非常好用的抓包工具,当我们遇到一些和网络相关的问题时,可以通过这个工具进行分析,不过要说明的是,这只是一个工具,用法是非常灵活的,所以今天讲述的内容可能无法直接帮你解决问题,但是只要你有解决问题的思路,学习用这个软件就非常有用了。 Wireshark官方下载地址:htt... 阅读全文
posted @ 2013-12-06 21:28 N3verL4nd 阅读(180) 评论(0) 推荐(0)
摘要: 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)
摘要: 麻烦到不能再麻烦的实现,简单到不能再简单的思路。 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)
摘要: 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)
摘要: #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)
摘要: 修改了wd的文章: 如何使用Qt5,设置QLabel中字体的颜色。 大致有几种做法: 一是使用setPalette()方法; 二是使用样式表; 三是可以使用QStyle; 四是可以在其中使用一些简单的HTML样式。 第一种,使用setPalette()方法如下: QPalett... 阅读全文
posted @ 2013-12-03 21:11 N3verL4nd 阅读(1434) 评论(0) 推荐(0)
摘要: 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)
摘要: 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)
摘要: 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 下一页