但行好事,莫问前程

上一页 1 2 3 4 5 6 7 8 ··· 10 下一页
摘要: QLCDNumber The QLCDNumber widget displays a number with LCD-like digits Header:QLCDNumber qmake: QT += widgets属性设置 函数 描述 ... 阅读全文
posted @ 2018-08-07 17:31 专业路过 阅读(719) 评论(0) 推荐(0)
摘要: QLabel The QLabel widget provides a text or image display.可以显示的文本void clear()void setMovie(QMovie *movie)void setNum(in... 阅读全文
posted @ 2018-08-07 16:34 专业路过 阅读(1182) 评论(0) 推荐(0)
摘要: QWidgets 所有用户界面对象的基类。 Header: #include qmake: QT += widgets 内容 函数名 窗口函数 show(),hide(),raise()//顶层,lower()//底层,close() ... 阅读全文
posted @ 2018-08-07 14:25 专业路过 阅读(1199) 评论(0) 推荐(0)
摘要: Sets/Multisets:内部的元素依据其值自动排序,Set内的相同数值的元素只能出现一次,Multisets内可包含多个数值相同的元素,内部由二叉树实现(实际上基于红黑树(RB-tree)实现),便于查找; map和multisets也一样1... 阅读全文
posted @ 2018-08-07 08:54 专业路过 阅读(252) 评论(0) 推荐(0)
摘要: map1 生成构造// constructing maps#include #include bool fncomp (char lhs, char rhs) {return lhs first; first['a']=10; first['b']=30... 阅读全文
posted @ 2018-08-06 17:39 专业路过 阅读(235) 评论(0) 推荐(0)
摘要: list 双向列表,链式存储1 生成构造// constructing lists#include #include int main (){ // constructors used in the same order as described abo... 阅读全文
posted @ 2018-08-06 16:12 专业路过 阅读(240) 评论(0) 推荐(0)
摘要: queue 单向队列,从一端存,从列一段取1 生成构造2 操作2.1 大小和容量2.2 比较2.3 find2.4 截取部分2.5 增,插,删,改/* * use QQueue on qt,but c++ is queue * constructor ... 阅读全文
posted @ 2018-08-06 15:30 专业路过 阅读(240) 评论(0) 推荐(0)
摘要: deque1 生成构造// constructing deques#include #include int main (){ unsigned int i; // constructors used in the same order as descr... 阅读全文
posted @ 2018-08-06 14:50 专业路过 阅读(253) 评论(0) 推荐(0)
摘要: vector1 生成构造// constructing vectors#include #include int main (){ // constructors used in the same order as described above: st... 阅读全文
posted @ 2018-08-06 11:20 专业路过 阅读(142) 评论(0) 推荐(0)
摘要: 对象树销毁 当创建一个object对象时,如果使用了其他对象作为父对象,如果父对象被销毁,其被销毁.构造和销毁的顺序 和c++一样,基类构造,子类构造,子类析构,基类析构,,但是在qt中,父类销毁了也就意味子类被销毁,soint main(){ Q... 阅读全文
posted @ 2018-08-06 08:52 专业路过 阅读(208) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 10 下一页