07 2020 档案
摘要:继承关系:QLabel—>QFrame—>QWidget void setText(const QString &) [slots] 设置标签显示的内容,也可以使用构造函数设置。 QLabel *label=new QLabel("标签内容"); /*********/ QLabel *xxx=ne
阅读全文
摘要:①、QSplitter(QWidget* parent = Q_NULLPTR); //构造函数 QSplitter(Qt::Orientation orientation , QWidget* parent = Q_NULLPTR); ②、void addWidget(QWidget* widge
阅读全文
摘要:queue.h #ifndef QUEUE_H_ #define QUEUE_H_ #include<iostream> template<class T> struct Node { T data; Node<T>* next; }; template<class T> class Queue {
阅读全文
摘要:stack.h #ifndef STACK_H_ #define STACK_H_ #include<iostream> template<class T> struct Node { T data; Node<T>* next; }; template<class T> class Stack {
阅读全文
摘要:LinkList.h #ifndef LINKLIST_H_ #define LINKLIST_H_ #include<stdio.h> template<class T> struct Node { T data; struct Node<T>* next; }; template<class T
阅读全文