#include "dialog.h" #include "ui_dialog.h" #include #include #include Dialog::Dialog(QWidget *parent) : QDialog(parent), ui(new Ui::Dialog) { ui->setupUi(this); for(int i = 0; i... Read More
posted @ 2016-11-29 10:55 mCat Views(194) Comments(0) Diggs(0) Edit
#include "dialog.h" #include "ui_dialog.h" #include #include #include Dialog::Dialog(QWidget *parent) : QDialog(parent), ui(new Ui::Dialog) { ui->setupUi(this); for(int i = 0; i... Read More
posted @ 2016-11-29 10:42 mCat Views(118) Comments(0) Diggs(0) Edit
#include "dialog.h" #include "ui_dialog.h" #include #include #include Dialog::Dialog(QWidget *parent) : QDialog(parent), ui(new Ui::Dialog) { ui->setupUi(this); } Dialog::~Dialog()... Read More
posted @ 2016-11-29 10:33 mCat Views(163) Comments(0) Diggs(0) Edit
#include "dialog.h" #include "ui_dialog.h" #include #include #include Dialog::Dialog(QWidget *parent) : QDialog(parent), ui(new Ui::Dialog) { ui->setupUi(this); ui->checkBox->set... Read More
posted @ 2016-11-29 10:25 mCat Views(156) Comments(0) Diggs(0) Edit
#include #include #include #include #include void Write(QString Filename) { QFile mFile(Filename); if(!mFile.open(QFile::WriteOnly | QFile::Text)) { qDebug()<<"Could not open f... Read More
posted @ 2016-11-29 09:14 mCat Views(397) Comments(0) Diggs(0) Edit
#include #include #include #include int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); //测试文件路径是否存在 QDir mDir("E:/Testa"); qDebug()<<mDir.exists(); //测试有几个分区 ... Read More
posted @ 2016-11-29 08:42 mCat Views(2029) Comments(0) Diggs(0) Edit