Compare commits
No commits in common. 'master' and 'master' have entirely different histories.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,86 +1,86 @@
|
||||
#include "book.h"
|
||||
#include "ui_book.h"
|
||||
#include "home.h"
|
||||
#include "cat_book.h"
|
||||
#include "dog_book.h"
|
||||
#include "rabbit.h"
|
||||
Book::Book(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::Book)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
QPixmap myPix(":/image/按键边框_book.png");
|
||||
ui->label_cat->setPixmap(myPix);
|
||||
ui->label_cat->setScaledContents(true);
|
||||
ui->label_cat->show();
|
||||
|
||||
QPixmap myPix2(":/image/按键边框_book.png");
|
||||
ui->label_dog->setPixmap(myPix2);
|
||||
ui->label_dog->setScaledContents(true);
|
||||
ui->label_dog->show();
|
||||
|
||||
QPixmap myPix3(":/image/按键边框_book.png");
|
||||
ui->label_rabbit->setPixmap(myPix3);
|
||||
ui->label_rabbit->setScaledContents(true);
|
||||
ui->label_rabbit->show();
|
||||
|
||||
|
||||
}
|
||||
|
||||
Book::~Book()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void Book::book_set_background()
|
||||
{
|
||||
this->setWindowTitle("阅览界面");
|
||||
// ui->label->setStyleSheet("background-color:red");//背景色
|
||||
|
||||
this->setMinimumSize(1280,720);
|
||||
this->setMaximumSize(1280,720);
|
||||
|
||||
this->setAutoFillBackground(true);
|
||||
QPalette palette;
|
||||
QPixmap pixmap = QPixmap(":/image/背景_book.png").scaled(this->size());
|
||||
palette.setBrush(QPalette::Window, QBrush(pixmap));
|
||||
this->setPalette(palette);
|
||||
|
||||
}
|
||||
|
||||
void Book::on_book_to_home_clicked()
|
||||
{
|
||||
Home* from_book_to_home = new Home;
|
||||
from_book_to_home->set_background();
|
||||
from_book_to_home->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void Book::on_cat_clicked()
|
||||
{
|
||||
Cat_book *to_cat = new Cat_book;
|
||||
to_cat->cat_book_set_background();
|
||||
to_cat->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void Book::on_dog_clicked()
|
||||
{
|
||||
Dog_book *to_dog = new Dog_book;
|
||||
to_dog->dog_set_background();
|
||||
to_dog->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void Book::on_rabbit_clicked()
|
||||
{
|
||||
Rabbit *to_rabbit = new Rabbit;
|
||||
to_rabbit->rabbit_set_background();
|
||||
to_rabbit->show();
|
||||
delete this;
|
||||
}
|
||||
#include "book.h"
|
||||
#include "ui_book.h"
|
||||
#include "home.h"
|
||||
#include "cat_book.h"
|
||||
#include "dog_book.h"
|
||||
#include "rabbit.h"
|
||||
Book::Book(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::Book)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
QPixmap myPix(":/image/按键边框_book.png");
|
||||
ui->label_cat->setPixmap(myPix);
|
||||
ui->label_cat->setScaledContents(true);
|
||||
ui->label_cat->show();
|
||||
|
||||
QPixmap myPix2(":/image/按键边框_book.png");
|
||||
ui->label_dog->setPixmap(myPix2);
|
||||
ui->label_dog->setScaledContents(true);
|
||||
ui->label_dog->show();
|
||||
|
||||
QPixmap myPix3(":/image/按键边框_book.png");
|
||||
ui->label_rabbit->setPixmap(myPix3);
|
||||
ui->label_rabbit->setScaledContents(true);
|
||||
ui->label_rabbit->show();
|
||||
|
||||
|
||||
}
|
||||
|
||||
Book::~Book()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void Book::book_set_background()
|
||||
{
|
||||
this->setWindowTitle("阅览界面");
|
||||
// ui->label->setStyleSheet("background-color:red");//背景色
|
||||
|
||||
this->setMinimumSize(1280,720);
|
||||
this->setMaximumSize(1280,720);
|
||||
|
||||
this->setAutoFillBackground(true);
|
||||
QPalette palette;
|
||||
QPixmap pixmap = QPixmap(":/image/背景_book.png").scaled(this->size());
|
||||
palette.setBrush(QPalette::Window, QBrush(pixmap));
|
||||
this->setPalette(palette);
|
||||
|
||||
}
|
||||
|
||||
void Book::on_book_to_home_clicked()
|
||||
{
|
||||
Home* from_book_to_home = new Home;
|
||||
from_book_to_home->set_background();
|
||||
from_book_to_home->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void Book::on_cat_clicked()
|
||||
{
|
||||
Cat_book *to_cat = new Cat_book;
|
||||
to_cat->cat_book_set_background();
|
||||
to_cat->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void Book::on_dog_clicked()
|
||||
{
|
||||
Dog_book *to_dog = new Dog_book;
|
||||
to_dog->dog_set_background();
|
||||
to_dog->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void Book::on_rabbit_clicked()
|
||||
{
|
||||
Rabbit *to_rabbit = new Rabbit;
|
||||
to_rabbit->rabbit_set_background();
|
||||
to_rabbit->show();
|
||||
delete this;
|
||||
}
|
||||
|
@ -1,35 +1,35 @@
|
||||
#ifndef BOOK_H
|
||||
#define BOOK_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class Book;
|
||||
}
|
||||
|
||||
class Book : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Book(QWidget *parent = 0);
|
||||
~Book();
|
||||
void book_set_background();
|
||||
|
||||
private slots:
|
||||
|
||||
void on_book_to_home_clicked();
|
||||
|
||||
void on_cat_clicked();
|
||||
|
||||
|
||||
|
||||
void on_dog_clicked();
|
||||
|
||||
void on_rabbit_clicked();
|
||||
|
||||
private:
|
||||
Ui::Book *ui;
|
||||
};
|
||||
|
||||
#endif // BOOK_H
|
||||
#ifndef BOOK_H
|
||||
#define BOOK_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class Book;
|
||||
}
|
||||
|
||||
class Book : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Book(QWidget *parent = 0);
|
||||
~Book();
|
||||
void book_set_background();
|
||||
|
||||
private slots:
|
||||
|
||||
void on_book_to_home_clicked();
|
||||
|
||||
void on_cat_clicked();
|
||||
|
||||
|
||||
|
||||
void on_dog_clicked();
|
||||
|
||||
void on_rabbit_clicked();
|
||||
|
||||
private:
|
||||
Ui::Book *ui;
|
||||
};
|
||||
|
||||
#endif // BOOK_H
|
||||
|
@ -1,232 +1,232 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Book</class>
|
||||
<widget class="QWidget" name="Book">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1080</width>
|
||||
<height>720</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
</font>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QPushButton" name="book_to_home">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>9</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/房子.png</normaloff>:/image/房子.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>73</width>
|
||||
<height>73</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>110</x>
|
||||
<y>130</y>
|
||||
<width>531</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>请选择你想要了解的宠物:</string>
|
||||
</property>
|
||||
<property name="textFormat">
|
||||
<enum>Qt::PlainText</enum>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="cat">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>160</x>
|
||||
<y>240</y>
|
||||
<width>270</width>
|
||||
<height>270</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/资料阅览-1-猫猫.png</normaloff>:/image/资料阅览-1-猫猫.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>270</width>
|
||||
<height>270</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_cat">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>190</x>
|
||||
<y>530</y>
|
||||
<width>211</width>
|
||||
<height>81</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="on_label_cat">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>270</x>
|
||||
<y>550</y>
|
||||
<width>71</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>25</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>猫</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="dog">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>460</x>
|
||||
<y>240</y>
|
||||
<width>270</width>
|
||||
<height>270</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/资料阅览-1-狗勾.png</normaloff>:/image/资料阅览-1-狗勾.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>270</width>
|
||||
<height>270</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_dog">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>500</x>
|
||||
<y>530</y>
|
||||
<width>211</width>
|
||||
<height>81</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="on_label_dog">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>590</x>
|
||||
<y>550</y>
|
||||
<width>91</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>25</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>狗</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="rabbit">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>760</x>
|
||||
<y>240</y>
|
||||
<width>270</width>
|
||||
<height>270</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/资料阅览-1-兔兔.png</normaloff>:/image/资料阅览-1-兔兔.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>270</width>
|
||||
<height>270</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_rabbit">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>800</x>
|
||||
<y>530</y>
|
||||
<width>211</width>
|
||||
<height>81</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="on_label_rabbit">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>890</x>
|
||||
<y>550</y>
|
||||
<width>101</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>25</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>兔</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="resource.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Book</class>
|
||||
<widget class="QWidget" name="Book">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1080</width>
|
||||
<height>720</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
</font>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QPushButton" name="book_to_home">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>9</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/房子.png</normaloff>:/image/房子.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>73</width>
|
||||
<height>73</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>110</x>
|
||||
<y>130</y>
|
||||
<width>531</width>
|
||||
<height>31</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>请选择你想要了解的宠物:</string>
|
||||
</property>
|
||||
<property name="textFormat">
|
||||
<enum>Qt::PlainText</enum>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="cat">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>160</x>
|
||||
<y>240</y>
|
||||
<width>270</width>
|
||||
<height>270</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/资料阅览-1-猫猫.png</normaloff>:/image/资料阅览-1-猫猫.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>270</width>
|
||||
<height>270</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_cat">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>190</x>
|
||||
<y>530</y>
|
||||
<width>211</width>
|
||||
<height>81</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="on_label_cat">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>270</x>
|
||||
<y>550</y>
|
||||
<width>71</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>25</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>猫</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="dog">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>460</x>
|
||||
<y>240</y>
|
||||
<width>270</width>
|
||||
<height>270</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/资料阅览-1-狗勾.png</normaloff>:/image/资料阅览-1-狗勾.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>270</width>
|
||||
<height>270</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_dog">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>500</x>
|
||||
<y>530</y>
|
||||
<width>211</width>
|
||||
<height>81</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="on_label_dog">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>590</x>
|
||||
<y>550</y>
|
||||
<width>91</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>25</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>狗</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="rabbit">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>760</x>
|
||||
<y>240</y>
|
||||
<width>270</width>
|
||||
<height>270</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/资料阅览-1-兔兔.png</normaloff>:/image/资料阅览-1-兔兔.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>270</width>
|
||||
<height>270</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label_rabbit">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>800</x>
|
||||
<y>530</y>
|
||||
<width>211</width>
|
||||
<height>81</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="on_label_rabbit">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>890</x>
|
||||
<y>550</y>
|
||||
<width>101</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>25</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>兔</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="resource.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
@ -1,37 +1,37 @@
|
||||
#include "canada_cat_content.h"
|
||||
#include "ui_canada_cat_content.h"
|
||||
#include "canadian_hairless.h"
|
||||
Canada_cat_content::Canada_cat_content(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::Canada_cat_content)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
}
|
||||
|
||||
Canada_cat_content::~Canada_cat_content()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void Canada_cat_content::on_back_clicked()
|
||||
{
|
||||
Canadian_hairless *back = new Canadian_hairless;
|
||||
back->canadian_book_set_background();
|
||||
back->show();
|
||||
delete this;
|
||||
}
|
||||
void Canada_cat_content::canadian_book_set_background()
|
||||
{
|
||||
this->setWindowTitle("阅览界面-猫");
|
||||
// ui->label->setStyleSheet("background-color:red");//背景色
|
||||
|
||||
this->setMinimumSize(1280,720);
|
||||
this->setMaximumSize(1280,720);
|
||||
|
||||
this->setAutoFillBackground(true);
|
||||
QPalette palette;
|
||||
QPixmap pixmap = QPixmap(":/image/背景_book.png").scaled(this->size());
|
||||
palette.setBrush(QPalette::Window, QBrush(pixmap));
|
||||
this->setPalette(palette);
|
||||
|
||||
}
|
||||
#include "canada_cat_content.h"
|
||||
#include "ui_canada_cat_content.h"
|
||||
#include "canadian_hairless.h"
|
||||
Canada_cat_content::Canada_cat_content(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::Canada_cat_content)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
}
|
||||
|
||||
Canada_cat_content::~Canada_cat_content()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void Canada_cat_content::on_back_clicked()
|
||||
{
|
||||
Canadian_hairless *back = new Canadian_hairless;
|
||||
back->canadian_book_set_background();
|
||||
back->show();
|
||||
delete this;
|
||||
}
|
||||
void Canada_cat_content::canadian_book_set_background()
|
||||
{
|
||||
this->setWindowTitle("阅览界面-猫");
|
||||
// ui->label->setStyleSheet("background-color:red");//背景色
|
||||
|
||||
this->setMinimumSize(1280,720);
|
||||
this->setMaximumSize(1280,720);
|
||||
|
||||
this->setAutoFillBackground(true);
|
||||
QPalette palette;
|
||||
QPixmap pixmap = QPixmap(":/image/背景_book.png").scaled(this->size());
|
||||
palette.setBrush(QPalette::Window, QBrush(pixmap));
|
||||
this->setPalette(palette);
|
||||
|
||||
}
|
||||
|
@ -1,27 +1,27 @@
|
||||
#ifndef CANADA_CAT_CONTENT_H
|
||||
#define CANADA_CAT_CONTENT_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class Canada_cat_content;
|
||||
}
|
||||
|
||||
class Canada_cat_content : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Canada_cat_content(QWidget *parent = 0);
|
||||
~Canada_cat_content();
|
||||
Ui::Canada_cat_content *ui;
|
||||
void canadian_book_set_background();
|
||||
|
||||
private slots:
|
||||
void on_back_clicked();
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif // CANADA_CAT_CONTENT_H
|
||||
#ifndef CANADA_CAT_CONTENT_H
|
||||
#define CANADA_CAT_CONTENT_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class Canada_cat_content;
|
||||
}
|
||||
|
||||
class Canada_cat_content : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Canada_cat_content(QWidget *parent = 0);
|
||||
~Canada_cat_content();
|
||||
Ui::Canada_cat_content *ui;
|
||||
void canadian_book_set_background();
|
||||
|
||||
private slots:
|
||||
void on_back_clicked();
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif // CANADA_CAT_CONTENT_H
|
||||
|
@ -1,54 +1,54 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Canada_cat_content</class>
|
||||
<widget class="QWidget" name="Canada_cat_content">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1280</width>
|
||||
<height>720</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QPushButton" name="back">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>30</x>
|
||||
<y>20</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/房子.png</normaloff>:/image/房子.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QTextBrowser" name="textBrowser">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>80</x>
|
||||
<y>140</y>
|
||||
<width>1100</width>
|
||||
<height>441</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="resource.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Canada_cat_content</class>
|
||||
<widget class="QWidget" name="Canada_cat_content">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1280</width>
|
||||
<height>720</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QPushButton" name="back">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>30</x>
|
||||
<y>20</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/房子.png</normaloff>:/image/房子.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QTextBrowser" name="textBrowser">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>80</x>
|
||||
<y>140</y>
|
||||
<width>1100</width>
|
||||
<height>441</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="resource.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
@ -1,32 +1,32 @@
|
||||
#ifndef CANADIAN_HAIRLESS_H
|
||||
#define CANADIAN_HAIRLESS_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class Canadian_hairless;
|
||||
}
|
||||
|
||||
class Canadian_hairless : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Canadian_hairless(QWidget *parent = 0);
|
||||
~Canadian_hairless();
|
||||
void canadian_book_set_background();
|
||||
|
||||
private slots:
|
||||
void on_back_clicked();
|
||||
void button1();
|
||||
void button2();
|
||||
void button3();
|
||||
void button4();
|
||||
void button5();
|
||||
void button6();
|
||||
|
||||
private:
|
||||
Ui::Canadian_hairless *ui;
|
||||
};
|
||||
|
||||
#endif // CANADIAN_HAIRLESS_H
|
||||
#ifndef CANADIAN_HAIRLESS_H
|
||||
#define CANADIAN_HAIRLESS_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class Canadian_hairless;
|
||||
}
|
||||
|
||||
class Canadian_hairless : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Canadian_hairless(QWidget *parent = 0);
|
||||
~Canadian_hairless();
|
||||
void canadian_book_set_background();
|
||||
|
||||
private slots:
|
||||
void on_back_clicked();
|
||||
void button1();
|
||||
void button2();
|
||||
void button3();
|
||||
void button4();
|
||||
void button5();
|
||||
void button6();
|
||||
|
||||
private:
|
||||
Ui::Canadian_hairless *ui;
|
||||
};
|
||||
|
||||
#endif // CANADIAN_HAIRLESS_H
|
||||
|
@ -1,158 +1,158 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Canadian_hairless</class>
|
||||
<widget class="QWidget" name="Canadian_hairless">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1280</width>
|
||||
<height>720</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QPushButton" name="back">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>20</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/房子.png</normaloff>:/image/房子.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>560</x>
|
||||
<y>120</y>
|
||||
<width>171</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>外形特征</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>420</x>
|
||||
<y>180</y>
|
||||
<width>161</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>起源历史</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>340</x>
|
||||
<y>240</y>
|
||||
<width>151</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>生活习性</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_4">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>720</x>
|
||||
<y>180</y>
|
||||
<width>161</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>生长环境</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_5">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>850</x>
|
||||
<y>240</y>
|
||||
<width>161</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>生活环境</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_6">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>570</x>
|
||||
<y>300</y>
|
||||
<width>161</width>
|
||||
<height>61</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>种群现状</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="resource.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Canadian_hairless</class>
|
||||
<widget class="QWidget" name="Canadian_hairless">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1280</width>
|
||||
<height>720</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QPushButton" name="back">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>20</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/房子.png</normaloff>:/image/房子.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>560</x>
|
||||
<y>120</y>
|
||||
<width>171</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>外形特征</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>420</x>
|
||||
<y>180</y>
|
||||
<width>161</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>起源历史</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>340</x>
|
||||
<y>240</y>
|
||||
<width>151</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>生活习性</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_4">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>720</x>
|
||||
<y>180</y>
|
||||
<width>161</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>生长环境</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_5">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>850</x>
|
||||
<y>240</y>
|
||||
<width>161</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>生活环境</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_6">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>570</x>
|
||||
<y>300</y>
|
||||
<width>161</width>
|
||||
<height>61</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>种群现状</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="resource.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
@ -1,102 +1,102 @@
|
||||
#include "cat_book.h"
|
||||
#include "ui_cat_book.h"
|
||||
#include "book.h"
|
||||
#include "puppet_cat.h"
|
||||
#include "li_cat.h"
|
||||
#include "english_short_blue_cat.h"
|
||||
#include "silver_gradient.h"
|
||||
#include "canadian_hairless.h"
|
||||
#include "siamese_cat.h"
|
||||
Cat_book::Cat_book(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::Cat_book)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
QPixmap myPix(":/image/资料阅览-2-猫猫背景.png");
|
||||
ui->cat_sample->setPixmap(myPix);
|
||||
ui->cat_sample->setScaledContents(true);
|
||||
ui->cat_sample->show();
|
||||
|
||||
ui->puppet_cat->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
|
||||
ui->Li_cat->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
|
||||
ui->silver_gradient->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
|
||||
ui->Siamese_cat->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
|
||||
ui->English_blue_short_cat->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
|
||||
ui->Canadian_hairless->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
|
||||
}
|
||||
|
||||
Cat_book::~Cat_book()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
void Cat_book::cat_book_set_background()
|
||||
{
|
||||
this->setWindowTitle("阅览界面-猫");
|
||||
// ui->label->setStyleSheet("background-color:red");//背景色
|
||||
|
||||
this->setMinimumSize(1280,720);
|
||||
this->setMaximumSize(1280,720);
|
||||
|
||||
this->setAutoFillBackground(true);
|
||||
QPalette palette;
|
||||
QPixmap pixmap = QPixmap(":/image/背景_book.png").scaled(this->size());
|
||||
palette.setBrush(QPalette::Window, QBrush(pixmap));
|
||||
this->setPalette(palette);
|
||||
|
||||
}
|
||||
|
||||
void Cat_book::on_go_back_clicked()
|
||||
{
|
||||
Book* to_book1 = new Book;
|
||||
to_book1->book_set_background();
|
||||
to_book1->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void Cat_book::on_puppet_cat_clicked()
|
||||
{
|
||||
Puppet_cat *to_puppet = new Puppet_cat;
|
||||
to_puppet->puppet_cat_set_background();
|
||||
to_puppet->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void Cat_book::on_Li_cat_clicked()
|
||||
{
|
||||
Li_cat *to_li_cat = new Li_cat;
|
||||
to_li_cat->li_cat_set_background();
|
||||
to_li_cat->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void Cat_book::on_English_blue_short_cat_clicked()
|
||||
{
|
||||
English_short_blue_cat *new_cat = new English_short_blue_cat;
|
||||
new_cat->set_background();
|
||||
new_cat->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void Cat_book::on_silver_gradient_clicked()
|
||||
{
|
||||
Silver_gradient *new_silver = new Silver_gradient;
|
||||
new_silver->silver_book_set_background();
|
||||
new_silver->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void Cat_book::on_Canadian_hairless_clicked()
|
||||
{
|
||||
Canadian_hairless *new_canadian = new Canadian_hairless;
|
||||
new_canadian->canadian_book_set_background();
|
||||
new_canadian->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void Cat_book::on_Siamese_cat_clicked()
|
||||
{
|
||||
Siamese_cat *new_Cat = new Siamese_cat;
|
||||
new_Cat->siamese_book_set_background();
|
||||
new_Cat->show();
|
||||
delete this;
|
||||
}
|
||||
#include "cat_book.h"
|
||||
#include "ui_cat_book.h"
|
||||
#include "book.h"
|
||||
#include "puppet_cat.h"
|
||||
#include "li_cat.h"
|
||||
#include "english_short_blue_cat.h"
|
||||
#include "silver_gradient.h"
|
||||
#include "canadian_hairless.h"
|
||||
#include "siamese_cat.h"
|
||||
Cat_book::Cat_book(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::Cat_book)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
QPixmap myPix(":/image/资料阅览-2-猫猫背景.png");
|
||||
ui->cat_sample->setPixmap(myPix);
|
||||
ui->cat_sample->setScaledContents(true);
|
||||
ui->cat_sample->show();
|
||||
|
||||
ui->puppet_cat->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
|
||||
ui->Li_cat->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
|
||||
ui->silver_gradient->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
|
||||
ui->Siamese_cat->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
|
||||
ui->English_blue_short_cat->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
|
||||
ui->Canadian_hairless->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
|
||||
}
|
||||
|
||||
Cat_book::~Cat_book()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
void Cat_book::cat_book_set_background()
|
||||
{
|
||||
this->setWindowTitle("阅览界面-猫");
|
||||
// ui->label->setStyleSheet("background-color:red");//背景色
|
||||
|
||||
this->setMinimumSize(1280,720);
|
||||
this->setMaximumSize(1280,720);
|
||||
|
||||
this->setAutoFillBackground(true);
|
||||
QPalette palette;
|
||||
QPixmap pixmap = QPixmap(":/image/背景_book.png").scaled(this->size());
|
||||
palette.setBrush(QPalette::Window, QBrush(pixmap));
|
||||
this->setPalette(palette);
|
||||
|
||||
}
|
||||
|
||||
void Cat_book::on_go_back_clicked()
|
||||
{
|
||||
Book* to_book1 = new Book;
|
||||
to_book1->book_set_background();
|
||||
to_book1->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void Cat_book::on_puppet_cat_clicked()
|
||||
{
|
||||
Puppet_cat *to_puppet = new Puppet_cat;
|
||||
to_puppet->puppet_cat_set_background();
|
||||
to_puppet->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void Cat_book::on_Li_cat_clicked()
|
||||
{
|
||||
Li_cat *to_li_cat = new Li_cat;
|
||||
to_li_cat->li_cat_set_background();
|
||||
to_li_cat->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void Cat_book::on_English_blue_short_cat_clicked()
|
||||
{
|
||||
English_short_blue_cat *new_cat = new English_short_blue_cat;
|
||||
new_cat->set_background();
|
||||
new_cat->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void Cat_book::on_silver_gradient_clicked()
|
||||
{
|
||||
Silver_gradient *new_silver = new Silver_gradient;
|
||||
new_silver->silver_book_set_background();
|
||||
new_silver->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void Cat_book::on_Canadian_hairless_clicked()
|
||||
{
|
||||
Canadian_hairless *new_canadian = new Canadian_hairless;
|
||||
new_canadian->canadian_book_set_background();
|
||||
new_canadian->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void Cat_book::on_Siamese_cat_clicked()
|
||||
{
|
||||
Siamese_cat *new_Cat = new Siamese_cat;
|
||||
new_Cat->siamese_book_set_background();
|
||||
new_Cat->show();
|
||||
delete this;
|
||||
}
|
||||
|
@ -1,38 +1,38 @@
|
||||
#ifndef CAT_BOOK_H
|
||||
#define CAT_BOOK_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class Cat_book;
|
||||
}
|
||||
|
||||
class Cat_book : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Cat_book(QWidget *parent = 0);
|
||||
~Cat_book();
|
||||
void cat_book_set_background();
|
||||
|
||||
private slots:
|
||||
void on_go_back_clicked();
|
||||
|
||||
void on_puppet_cat_clicked();
|
||||
|
||||
void on_Li_cat_clicked();
|
||||
|
||||
void on_English_blue_short_cat_clicked();
|
||||
|
||||
void on_silver_gradient_clicked();
|
||||
|
||||
void on_Canadian_hairless_clicked();
|
||||
|
||||
void on_Siamese_cat_clicked();
|
||||
|
||||
private:
|
||||
Ui::Cat_book *ui;
|
||||
};
|
||||
|
||||
#endif // CAT_BOOK_H
|
||||
#ifndef CAT_BOOK_H
|
||||
#define CAT_BOOK_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class Cat_book;
|
||||
}
|
||||
|
||||
class Cat_book : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Cat_book(QWidget *parent = 0);
|
||||
~Cat_book();
|
||||
void cat_book_set_background();
|
||||
|
||||
private slots:
|
||||
void on_go_back_clicked();
|
||||
|
||||
void on_puppet_cat_clicked();
|
||||
|
||||
void on_Li_cat_clicked();
|
||||
|
||||
void on_English_blue_short_cat_clicked();
|
||||
|
||||
void on_silver_gradient_clicked();
|
||||
|
||||
void on_Canadian_hairless_clicked();
|
||||
|
||||
void on_Siamese_cat_clicked();
|
||||
|
||||
private:
|
||||
Ui::Cat_book *ui;
|
||||
};
|
||||
|
||||
#endif // CAT_BOOK_H
|
||||
|
@ -1,171 +1,171 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Cat_book</class>
|
||||
<widget class="QWidget" name="Cat_book">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1280</width>
|
||||
<height>720</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QPushButton" name="go_back">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>10</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/房子.png</normaloff>:/image/房子.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="cat_sample">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>820</x>
|
||||
<y>79</y>
|
||||
<width>441</width>
|
||||
<height>391</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>TextLabel</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="puppet_cat">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>70</x>
|
||||
<y>170</y>
|
||||
<width>181</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>布偶猫</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="Li_cat">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>250</x>
|
||||
<y>240</y>
|
||||
<width>131</width>
|
||||
<height>61</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>加菲猫</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="English_blue_short_cat">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>380</x>
|
||||
<y>300</y>
|
||||
<width>201</width>
|
||||
<height>101</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>英短蓝猫</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="silver_gradient">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>580</x>
|
||||
<y>400</y>
|
||||
<width>131</width>
|
||||
<height>61</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>银渐层</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="Canadian_hairless">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>140</x>
|
||||
<y>400</y>
|
||||
<width>241</width>
|
||||
<height>121</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>加拿大无毛猫</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="Siamese_cat">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>450</x>
|
||||
<y>460</y>
|
||||
<width>131</width>
|
||||
<height>61</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>暹罗猫</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="resource.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Cat_book</class>
|
||||
<widget class="QWidget" name="Cat_book">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1280</width>
|
||||
<height>720</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QPushButton" name="go_back">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>10</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/房子.png</normaloff>:/image/房子.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="cat_sample">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>820</x>
|
||||
<y>79</y>
|
||||
<width>441</width>
|
||||
<height>391</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>TextLabel</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="puppet_cat">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>70</x>
|
||||
<y>170</y>
|
||||
<width>181</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>布偶猫</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="Li_cat">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>250</x>
|
||||
<y>240</y>
|
||||
<width>131</width>
|
||||
<height>61</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>加菲猫</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="English_blue_short_cat">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>380</x>
|
||||
<y>300</y>
|
||||
<width>201</width>
|
||||
<height>101</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>英短蓝猫</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="silver_gradient">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>580</x>
|
||||
<y>400</y>
|
||||
<width>131</width>
|
||||
<height>61</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>银渐层</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="Canadian_hairless">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>140</x>
|
||||
<y>400</y>
|
||||
<width>241</width>
|
||||
<height>121</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>加拿大无毛猫</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="Siamese_cat">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>450</x>
|
||||
<y>460</y>
|
||||
<width>131</width>
|
||||
<height>61</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>暹罗猫</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="resource.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
@ -1,144 +1,144 @@
|
||||
#include "communication.h"
|
||||
#include "ui_communication.h"
|
||||
#include "home.h"
|
||||
#include <QVBoxLayout>
|
||||
#include <QLabel>
|
||||
#include "data_base.h"
|
||||
#include <QDebug>
|
||||
#include "login.h"
|
||||
#include "communication_question.h"
|
||||
#include "ui_communication_question.h"
|
||||
#include <QPushButton>
|
||||
#include <QFont>
|
||||
|
||||
QGridLayout *pLayout = new QGridLayout();//网格布局
|
||||
QString question = "hello";
|
||||
int i=0;
|
||||
int index = 0;
|
||||
int total_number = 0;
|
||||
bool a[1000] = {0};
|
||||
|
||||
Communication::Communication(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::Communication)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
ui->pushButton->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
|
||||
ui->back_to_home->setStyleSheet("QPushButton{border-radius:5px;background:rgb(254,179,10);color:black;}");
|
||||
//ui->back_to_home->setStyleSheet("QPushButton{border-radius:5px;background:rgb(255,43,89);color:black;}");
|
||||
ui->scrollArea->setFrameShape(QFrame::NoFrame);
|
||||
qDebug()<<username1;
|
||||
QSqlQuery to_query;
|
||||
QString s = QString("SELECT * FROM COMMUNICATION ");
|
||||
to_query.exec(s);
|
||||
|
||||
while(to_query.next())
|
||||
{
|
||||
QString content = to_query.value(0).toString();
|
||||
QString user_name = to_query.value(1).toString();
|
||||
|
||||
|
||||
|
||||
QTextEdit *ss=new QTextEdit;
|
||||
//ss->setFont(font);
|
||||
ss->move(100,100);
|
||||
ss->resize(100,90);
|
||||
ss->setText(content);
|
||||
|
||||
/*
|
||||
QLabel *new_label = new QLabel;
|
||||
QFont font;
|
||||
font.setPointSize(14);
|
||||
new_label->setFont(font);
|
||||
new_label->setText(content);
|
||||
*/
|
||||
pLayout->addWidget(ss,i,0);
|
||||
|
||||
QString the_show = QString("from %1").arg(user_name);
|
||||
QPushButton *new_button = new QPushButton;
|
||||
question = content;
|
||||
new_button->setText(the_show);
|
||||
new_button->setStyleSheet("background:rgb(250,234,142);color:black;");
|
||||
|
||||
connect(new_button,SIGNAL(clicked(bool)),this,SLOT(change_clicked()));
|
||||
//QLabel *new_label = new QLabel;
|
||||
//new_label->setText(the_show);
|
||||
pLayout->addWidget(new_button,i,1);
|
||||
i++;
|
||||
}
|
||||
total_number = i;
|
||||
|
||||
ui->scrollArea->widget()->setLayout(pLayout);
|
||||
|
||||
}
|
||||
|
||||
Communication::~Communication()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void Communication::on_back_to_home_clicked()
|
||||
{
|
||||
Home *to_home = new Home;
|
||||
to_home->set_background();
|
||||
to_home->show();
|
||||
this->hide();
|
||||
}
|
||||
|
||||
void Communication::set_background()
|
||||
{
|
||||
this->setWindowTitle("社区界面");
|
||||
this->setMinimumSize(1280,720);
|
||||
this->setMaximumSize(1280,720);
|
||||
this->setAutoFillBackground(true);
|
||||
QPalette palette;
|
||||
QPixmap pixmap = QPixmap(":/image/社区背景2.png").scaled(this->size());
|
||||
palette.setBrush(QPalette::Window, QBrush(pixmap));
|
||||
this->setPalette(palette);
|
||||
}
|
||||
|
||||
void Communication::on_publish_clicked()
|
||||
{
|
||||
QString the_text = ui->textEdit->toHtml();
|
||||
QString the_user = username1;
|
||||
|
||||
QSqlQuery communication_table;
|
||||
communication_table.prepare("INSERT INTO COMMUNICATION (the_content,the_user) "
|
||||
"VALUES (?,?)");
|
||||
communication_table.addBindValue(the_text);
|
||||
communication_table.addBindValue(the_user);
|
||||
communication_table.exec();
|
||||
qDebug() << "insert successfully";
|
||||
|
||||
QTextEdit *ss2=new QTextEdit;
|
||||
ss2->move(100,100);
|
||||
ss2->resize(520,90);
|
||||
ss2->setText(the_text);
|
||||
|
||||
pLayout->addWidget(ss2,i,0);
|
||||
QString the_show2 = QString("from %1").arg(the_user);
|
||||
//QLabel *new_label2 = new QLabel;
|
||||
//new_label2->setText(the_show2);
|
||||
QPushButton *new_button2 = new QPushButton;
|
||||
new_button2->setText(the_show2);
|
||||
new_button2->setStyleSheet("background:rgb(250,234,142);color:black;");
|
||||
connect(new_button2,SIGNAL(clicked(bool)),this,SLOT(change_clicked()));
|
||||
pLayout->addWidget(new_button2,i,1);
|
||||
i++;
|
||||
ui->scrollArea->widget()->setLayout(pLayout);
|
||||
|
||||
}
|
||||
void Communication::change_clicked()
|
||||
{
|
||||
Communication_question *change = new Communication_question;
|
||||
change->ui->question_label->setText(question);
|
||||
|
||||
QPalette pa;
|
||||
pa.setColor(QPalette::WindowText,Qt::red);
|
||||
change->ui->question_label->setPalette(pa);
|
||||
|
||||
change->set_background2();
|
||||
change->show();
|
||||
this->hide();
|
||||
}
|
||||
|
||||
#include "communication.h"
|
||||
#include "ui_communication.h"
|
||||
#include "home.h"
|
||||
#include <QVBoxLayout>
|
||||
#include <QLabel>
|
||||
#include "data_base.h"
|
||||
#include <QDebug>
|
||||
#include "login.h"
|
||||
#include "communication_question.h"
|
||||
#include "ui_communication_question.h"
|
||||
#include <QPushButton>
|
||||
#include <QFont>
|
||||
|
||||
QGridLayout *pLayout = new QGridLayout();//网格布局
|
||||
QString question = "hello";
|
||||
int i=0;
|
||||
int index = 0;
|
||||
int total_number = 0;
|
||||
bool a[1000] = {0};
|
||||
|
||||
Communication::Communication(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::Communication)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
ui->pushButton->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
|
||||
ui->back_to_home->setStyleSheet("QPushButton{border-radius:5px;background:rgb(254,179,10);color:black;}");
|
||||
//ui->back_to_home->setStyleSheet("QPushButton{border-radius:5px;background:rgb(255,43,89);color:black;}");
|
||||
ui->scrollArea->setFrameShape(QFrame::NoFrame);
|
||||
qDebug()<<username1;
|
||||
QSqlQuery to_query;
|
||||
QString s = QString("SELECT * FROM COMMUNICATION ");
|
||||
to_query.exec(s);
|
||||
|
||||
while(to_query.next())
|
||||
{
|
||||
QString content = to_query.value(0).toString();
|
||||
QString user_name = to_query.value(1).toString();
|
||||
|
||||
|
||||
|
||||
QTextEdit *ss=new QTextEdit;
|
||||
//ss->setFont(font);
|
||||
ss->move(100,100);
|
||||
ss->resize(100,90);
|
||||
ss->setText(content);
|
||||
|
||||
/*
|
||||
QLabel *new_label = new QLabel;
|
||||
QFont font;
|
||||
font.setPointSize(14);
|
||||
new_label->setFont(font);
|
||||
new_label->setText(content);
|
||||
*/
|
||||
pLayout->addWidget(ss,i,0);
|
||||
|
||||
QString the_show = QString("from %1").arg(user_name);
|
||||
QPushButton *new_button = new QPushButton;
|
||||
question = content;
|
||||
new_button->setText(the_show);
|
||||
new_button->setStyleSheet("background:rgb(250,234,142);color:black;");
|
||||
|
||||
connect(new_button,SIGNAL(clicked(bool)),this,SLOT(change_clicked()));
|
||||
//QLabel *new_label = new QLabel;
|
||||
//new_label->setText(the_show);
|
||||
pLayout->addWidget(new_button,i,1);
|
||||
i++;
|
||||
}
|
||||
total_number = i;
|
||||
|
||||
ui->scrollArea->widget()->setLayout(pLayout);
|
||||
|
||||
}
|
||||
|
||||
Communication::~Communication()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void Communication::on_back_to_home_clicked()
|
||||
{
|
||||
Home *to_home = new Home;
|
||||
to_home->set_background();
|
||||
to_home->show();
|
||||
this->hide();
|
||||
}
|
||||
|
||||
void Communication::set_background()
|
||||
{
|
||||
this->setWindowTitle("社区界面");
|
||||
this->setMinimumSize(1280,720);
|
||||
this->setMaximumSize(1280,720);
|
||||
this->setAutoFillBackground(true);
|
||||
QPalette palette;
|
||||
QPixmap pixmap = QPixmap(":/image/社区背景2.png").scaled(this->size());
|
||||
palette.setBrush(QPalette::Window, QBrush(pixmap));
|
||||
this->setPalette(palette);
|
||||
}
|
||||
|
||||
void Communication::on_publish_clicked()
|
||||
{
|
||||
QString the_text = ui->textEdit->toHtml();
|
||||
QString the_user = username1;
|
||||
|
||||
QSqlQuery communication_table;
|
||||
communication_table.prepare("INSERT INTO COMMUNICATION (the_content,the_user) "
|
||||
"VALUES (?,?)");
|
||||
communication_table.addBindValue(the_text);
|
||||
communication_table.addBindValue(the_user);
|
||||
communication_table.exec();
|
||||
qDebug() << "insert successfully";
|
||||
|
||||
QTextEdit *ss2=new QTextEdit;
|
||||
ss2->move(100,100);
|
||||
ss2->resize(520,90);
|
||||
ss2->setText(the_text);
|
||||
|
||||
pLayout->addWidget(ss2,i,0);
|
||||
QString the_show2 = QString("from %1").arg(the_user);
|
||||
//QLabel *new_label2 = new QLabel;
|
||||
//new_label2->setText(the_show2);
|
||||
QPushButton *new_button2 = new QPushButton;
|
||||
new_button2->setText(the_show2);
|
||||
new_button2->setStyleSheet("background:rgb(250,234,142);color:black;");
|
||||
connect(new_button2,SIGNAL(clicked(bool)),this,SLOT(change_clicked()));
|
||||
pLayout->addWidget(new_button2,i,1);
|
||||
i++;
|
||||
ui->scrollArea->widget()->setLayout(pLayout);
|
||||
|
||||
}
|
||||
void Communication::change_clicked()
|
||||
{
|
||||
Communication_question *change = new Communication_question;
|
||||
change->ui->question_label->setText(question);
|
||||
|
||||
QPalette pa;
|
||||
pa.setColor(QPalette::WindowText,Qt::red);
|
||||
change->ui->question_label->setPalette(pa);
|
||||
|
||||
change->set_background2();
|
||||
change->show();
|
||||
this->hide();
|
||||
}
|
||||
|
||||
|
@ -1,30 +1,30 @@
|
||||
#ifndef COMMUNICATION_H
|
||||
#define COMMUNICATION_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
|
||||
namespace Ui {
|
||||
class Communication;
|
||||
}
|
||||
|
||||
class Communication : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Communication(QWidget *parent = 0);
|
||||
~Communication();
|
||||
void set_background();
|
||||
|
||||
private slots:
|
||||
void on_back_to_home_clicked();
|
||||
|
||||
void on_publish_clicked();
|
||||
void change_clicked();
|
||||
|
||||
private:
|
||||
Ui::Communication *ui;
|
||||
};
|
||||
|
||||
#endif // COMMUNICATION_H
|
||||
#ifndef COMMUNICATION_H
|
||||
#define COMMUNICATION_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
|
||||
namespace Ui {
|
||||
class Communication;
|
||||
}
|
||||
|
||||
class Communication : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Communication(QWidget *parent = 0);
|
||||
~Communication();
|
||||
void set_background();
|
||||
|
||||
private slots:
|
||||
void on_back_to_home_clicked();
|
||||
|
||||
void on_publish_clicked();
|
||||
void change_clicked();
|
||||
|
||||
private:
|
||||
Ui::Communication *ui;
|
||||
};
|
||||
|
||||
#endif // COMMUNICATION_H
|
||||
|
@ -1,35 +1,35 @@
|
||||
#include "communication_question.h"
|
||||
#include "ui_communication_question.h"
|
||||
#include "communication.h"
|
||||
Communication_question::Communication_question(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::Communication_question)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
ui->back->setStyleSheet("QPushButton{border-radius:5px;background:rgb(255,43,89);color:black;}");
|
||||
}
|
||||
|
||||
Communication_question::~Communication_question()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void Communication_question::on_back_clicked()
|
||||
{
|
||||
Communication *back = new Communication;
|
||||
back->set_background();
|
||||
back->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void Communication_question::set_background2()
|
||||
{
|
||||
this->setWindowTitle("社区界面");
|
||||
this->setMinimumSize(1480,880);
|
||||
this->setMaximumSize(1480,880);
|
||||
this->setAutoFillBackground(true);
|
||||
QPalette palette;
|
||||
QPixmap pixmap = QPixmap(":/image/背景_home.png").scaled(this->size());
|
||||
palette.setBrush(QPalette::Window, QBrush(pixmap));
|
||||
this->setPalette(palette);
|
||||
}
|
||||
#include "communication_question.h"
|
||||
#include "ui_communication_question.h"
|
||||
#include "communication.h"
|
||||
Communication_question::Communication_question(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::Communication_question)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
ui->back->setStyleSheet("QPushButton{border-radius:5px;background:rgb(255,43,89);color:black;}");
|
||||
}
|
||||
|
||||
Communication_question::~Communication_question()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void Communication_question::on_back_clicked()
|
||||
{
|
||||
Communication *back = new Communication;
|
||||
back->set_background();
|
||||
back->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void Communication_question::set_background2()
|
||||
{
|
||||
this->setWindowTitle("社区界面");
|
||||
this->setMinimumSize(1480,880);
|
||||
this->setMaximumSize(1480,880);
|
||||
this->setAutoFillBackground(true);
|
||||
QPalette palette;
|
||||
QPixmap pixmap = QPixmap(":/image/背景_home.png").scaled(this->size());
|
||||
palette.setBrush(QPalette::Window, QBrush(pixmap));
|
||||
this->setPalette(palette);
|
||||
}
|
||||
|
@ -1,18 +1,18 @@
|
||||
#ifndef DATA_BASE_H
|
||||
#define DATA_BASE_H
|
||||
#include <QSqlDatabase>
|
||||
#include <QSqlError>
|
||||
#include <QSqlQuery>
|
||||
#include <QDebug>
|
||||
#include <QVariant>
|
||||
class Data_base
|
||||
{
|
||||
public:
|
||||
void static set_database();
|
||||
void static creat_table();
|
||||
void static delete_table();
|
||||
|
||||
bool static check_user(QString Username,QString Password);
|
||||
};
|
||||
|
||||
#endif // DATA_BASE_H
|
||||
#ifndef DATA_BASE_H
|
||||
#define DATA_BASE_H
|
||||
#include <QSqlDatabase>
|
||||
#include <QSqlError>
|
||||
#include <QSqlQuery>
|
||||
#include <QDebug>
|
||||
#include <QVariant>
|
||||
class Data_base
|
||||
{
|
||||
public:
|
||||
void static set_database();
|
||||
void static creat_table();
|
||||
void static delete_table();
|
||||
|
||||
bool static check_user(QString Username,QString Password);
|
||||
};
|
||||
|
||||
#endif // DATA_BASE_H
|
||||
|
@ -1,50 +1,50 @@
|
||||
#include "dog_book.h"
|
||||
#include "ui_dog_book.h"
|
||||
#include "book.h"
|
||||
#include "dog_concret.h"
|
||||
Dog_book::Dog_book(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::Dog_book)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
ui->go_book_concrete->setStyleSheet("QPushButton{border-radius:5px;background:rgb(255,43,89);color:black;}");
|
||||
}
|
||||
|
||||
Dog_book::~Dog_book()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void Dog_book::dog_set_background()
|
||||
{
|
||||
this->setWindowTitle("阅览界面");
|
||||
// ui->label->setStyleSheet("background-color:red");//背景色
|
||||
|
||||
this->setMinimumSize(1280,720);
|
||||
this->setMaximumSize(1280,720);
|
||||
|
||||
this->setAutoFillBackground(true);
|
||||
QPalette palette;
|
||||
QPixmap pixmap = QPixmap(":/image/背景_book.png").scaled(this->size());
|
||||
palette.setBrush(QPalette::Window, QBrush(pixmap));
|
||||
this->setPalette(palette);
|
||||
|
||||
}
|
||||
|
||||
void Dog_book::on_pushButton_clicked()
|
||||
{
|
||||
Book* to_book1 = new Book;
|
||||
to_book1->book_set_background();
|
||||
to_book1->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void Dog_book::on_go_book_concrete_clicked()
|
||||
{
|
||||
dog_concret *to_dog = new dog_concret;
|
||||
to_dog->set_background();
|
||||
|
||||
|
||||
to_dog->show();
|
||||
delete this;
|
||||
}
|
||||
#include "dog_book.h"
|
||||
#include "ui_dog_book.h"
|
||||
#include "book.h"
|
||||
#include "dog_concret.h"
|
||||
Dog_book::Dog_book(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::Dog_book)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
ui->go_book_concrete->setStyleSheet("QPushButton{border-radius:5px;background:rgb(255,43,89);color:black;}");
|
||||
}
|
||||
|
||||
Dog_book::~Dog_book()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void Dog_book::dog_set_background()
|
||||
{
|
||||
this->setWindowTitle("阅览界面");
|
||||
// ui->label->setStyleSheet("background-color:red");//背景色
|
||||
|
||||
this->setMinimumSize(1280,720);
|
||||
this->setMaximumSize(1280,720);
|
||||
|
||||
this->setAutoFillBackground(true);
|
||||
QPalette palette;
|
||||
QPixmap pixmap = QPixmap(":/image/背景_book.png").scaled(this->size());
|
||||
palette.setBrush(QPalette::Window, QBrush(pixmap));
|
||||
this->setPalette(palette);
|
||||
|
||||
}
|
||||
|
||||
void Dog_book::on_pushButton_clicked()
|
||||
{
|
||||
Book* to_book1 = new Book;
|
||||
to_book1->book_set_background();
|
||||
to_book1->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void Dog_book::on_go_book_concrete_clicked()
|
||||
{
|
||||
dog_concret *to_dog = new dog_concret;
|
||||
to_dog->set_background();
|
||||
|
||||
|
||||
to_dog->show();
|
||||
delete this;
|
||||
}
|
||||
|
@ -1,28 +1,28 @@
|
||||
#ifndef DOG_BOOK_H
|
||||
#define DOG_BOOK_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class Dog_book;
|
||||
}
|
||||
|
||||
class Dog_book : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Dog_book(QWidget *parent = 0);
|
||||
~Dog_book();
|
||||
void dog_set_background();
|
||||
|
||||
private slots:
|
||||
void on_pushButton_clicked();
|
||||
|
||||
void on_go_book_concrete_clicked();
|
||||
|
||||
private:
|
||||
Ui::Dog_book *ui;
|
||||
};
|
||||
|
||||
#endif // DOG_BOOK_H
|
||||
#ifndef DOG_BOOK_H
|
||||
#define DOG_BOOK_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class Dog_book;
|
||||
}
|
||||
|
||||
class Dog_book : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Dog_book(QWidget *parent = 0);
|
||||
~Dog_book();
|
||||
void dog_set_background();
|
||||
|
||||
private slots:
|
||||
void on_pushButton_clicked();
|
||||
|
||||
void on_go_book_concrete_clicked();
|
||||
|
||||
private:
|
||||
Ui::Dog_book *ui;
|
||||
};
|
||||
|
||||
#endif // DOG_BOOK_H
|
||||
|
@ -1,62 +1,62 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Dog_book</class>
|
||||
<widget class="QWidget" name="Dog_book">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1280</width>
|
||||
<height>720</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>10</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/房子.png</normaloff>:/image/房子.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="go_book_concrete">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>110</x>
|
||||
<y>180</y>
|
||||
<width>141</width>
|
||||
<height>61</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>哈士奇</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="resource.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Dog_book</class>
|
||||
<widget class="QWidget" name="Dog_book">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1280</width>
|
||||
<height>720</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>10</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/房子.png</normaloff>:/image/房子.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="go_book_concrete">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>110</x>
|
||||
<y>180</y>
|
||||
<width>141</width>
|
||||
<height>61</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>哈士奇</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="resource.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
@ -1,36 +0,0 @@
|
||||
#include "dog_concret.h"
|
||||
#include "ui_dog_concret.h"
|
||||
#include"dog_book.h"
|
||||
dog_concret::dog_concret(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::dog_concret)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
}
|
||||
|
||||
dog_concret::~dog_concret()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
void dog_concret::set_background(){
|
||||
this->setWindowTitle("阅览界面");
|
||||
// ui->label->setStyleSheet("background-color:red");//背景色
|
||||
|
||||
this->setMinimumSize(1280,720);
|
||||
this->setMaximumSize(1280,720);
|
||||
|
||||
this->setAutoFillBackground(true);
|
||||
QPalette palette;
|
||||
QPixmap pixmap = QPixmap(":/image/背景_book.png").scaled(this->size());
|
||||
palette.setBrush(QPalette::Window, QBrush(pixmap));
|
||||
this->setPalette(palette);
|
||||
}
|
||||
|
||||
void dog_concret::on_back_clicked()
|
||||
{
|
||||
Dog_book *go_back = new Dog_book;
|
||||
go_back->dog_set_background();
|
||||
go_back->show();
|
||||
delete this;
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
#ifndef DOG_CONCRET_H
|
||||
#define DOG_CONCRET_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class dog_concret;
|
||||
}
|
||||
|
||||
class dog_concret : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit dog_concret(QWidget *parent = 0);
|
||||
~dog_concret();
|
||||
void set_background();
|
||||
|
||||
private slots:
|
||||
void on_back_clicked();
|
||||
|
||||
private:
|
||||
Ui::dog_concret *ui;
|
||||
};
|
||||
|
||||
#endif // DOG_CONCRET_H
|
@ -1,37 +0,0 @@
|
||||
#include "english_blue_content.h"
|
||||
#include "ui_english_blue_content.h"
|
||||
#include "english_short_blue_cat.h"
|
||||
English_blue_content::English_blue_content(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::English_blue_content)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
}
|
||||
|
||||
English_blue_content::~English_blue_content()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void English_blue_content::on_pushButton_clicked()
|
||||
{
|
||||
English_short_blue_cat *cat = new English_short_blue_cat;
|
||||
cat->set_background();
|
||||
cat->show();
|
||||
delete this;
|
||||
}
|
||||
void English_blue_content::set_background()
|
||||
{
|
||||
this->setWindowTitle("阅览界面-猫");
|
||||
// ui->label->setStyleSheet("background-color:red");//背景色
|
||||
|
||||
this->setMinimumSize(1280,720);
|
||||
this->setMaximumSize(1280,720);
|
||||
|
||||
this->setAutoFillBackground(true);
|
||||
QPalette palette;
|
||||
QPixmap pixmap = QPixmap(":/image/背景_book.png").scaled(this->size());
|
||||
palette.setBrush(QPalette::Window, QBrush(pixmap));
|
||||
this->setPalette(palette);
|
||||
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
#ifndef ENGLISH_BLUE_CONTENT_H
|
||||
#define ENGLISH_BLUE_CONTENT_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class English_blue_content;
|
||||
}
|
||||
|
||||
class English_blue_content : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit English_blue_content(QWidget *parent = 0);
|
||||
~English_blue_content();
|
||||
void set_background();
|
||||
Ui::English_blue_content *ui;
|
||||
|
||||
private slots:
|
||||
void on_pushButton_clicked();
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif // ENGLISH_BLUE_CONTENT_H
|
@ -1,82 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>English_short_blue_cat</class>
|
||||
<widget class="QWidget" name="English_short_blue_cat">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1280</width>
|
||||
<height>720</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QPushButton" name="back">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>20</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/房子.png</normaloff>:/image/房子.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>90</x>
|
||||
<y>180</y>
|
||||
<width>271</width>
|
||||
<height>101</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>体型特征</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>360</x>
|
||||
<y>280</y>
|
||||
<width>251</width>
|
||||
<height>131</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>历史起源</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="resource.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
@ -1,37 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
@author: dell
|
||||
"""
|
||||
with open("namelist.txt","r",encoding = "UTF-8") as namelist:
|
||||
names = namelist.readlines()
|
||||
for i in range(len(names)):
|
||||
with open("tmp//"+str(names[i])[2:-1:]+".txt","r",encoding = "UTF-8") as f:
|
||||
lines = f.readlines()
|
||||
l = eval(lines[0])
|
||||
context = ''
|
||||
for j in range(len(l)):
|
||||
context += l[j][0]
|
||||
if l[j][0]:
|
||||
context += ":"
|
||||
context += l[j][1]
|
||||
c1 = context.replace("\t","")
|
||||
c2 = c1.replace("\n","")
|
||||
c3 = c2.replace(" ","")
|
||||
if "狗" in str(names[i]):
|
||||
with open("狗狗//"+str(names[i])[2:-1:]+".txt","w",encoding = "UTF-8") as f1:
|
||||
f1.write(c3)
|
||||
f1.close()
|
||||
f.close()
|
||||
else:
|
||||
if "猫" in str(names[i]):
|
||||
with open("猫猫//"+str(names[i])[2:-1:]+".txt","w",encoding = "UTF-8") as f1:
|
||||
f1.write(c3)
|
||||
f1.close()
|
||||
f.close()
|
||||
else:
|
||||
with open("其他//"+str(names[i])[2:-1:]+".txt","w",encoding = "UTF-8") as f1:
|
||||
f1.write(c3)
|
||||
f1.close()
|
||||
f.close()
|
||||
namelist.close()
|
||||
|
@ -1,38 +0,0 @@
|
||||
#include "gafei_content.h"
|
||||
#include "ui_gafei_content.h"
|
||||
#include "li_cat.h"
|
||||
|
||||
Gafei_content::Gafei_content(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::Gafei_content)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
}
|
||||
|
||||
Gafei_content::~Gafei_content()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void Gafei_content::on_pushButton_clicked()
|
||||
{
|
||||
Li_cat *back = new Li_cat;
|
||||
back->li_cat_set_background();
|
||||
back->show();
|
||||
delete this;
|
||||
}
|
||||
void Gafei_content::set_background()
|
||||
{
|
||||
this->setWindowTitle("加菲猫");
|
||||
// ui->label->setStyleSheet("background-color:red");//背景色
|
||||
|
||||
this->setMinimumSize(1280,720);
|
||||
this->setMaximumSize(1280,720);
|
||||
|
||||
this->setAutoFillBackground(true);
|
||||
QPalette palette;
|
||||
QPixmap pixmap = QPixmap(":/image/背景_book.png").scaled(this->size());
|
||||
palette.setBrush(QPalette::Window, QBrush(pixmap));
|
||||
this->setPalette(palette);
|
||||
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
#ifndef GAFEI_CONTENT_H
|
||||
#define GAFEI_CONTENT_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class Gafei_content;
|
||||
}
|
||||
|
||||
class Gafei_content : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Gafei_content(QWidget *parent = 0);
|
||||
~Gafei_content();
|
||||
void set_background();
|
||||
Ui::Gafei_content *ui;
|
||||
|
||||
private slots:
|
||||
void on_pushButton_clicked();
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif // GAFEI_CONTENT_H
|
@ -1,54 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Gafei_content</class>
|
||||
<widget class="QWidget" name="Gafei_content">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1280</width>
|
||||
<height>720</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>20</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/房子.png</normaloff>:/image/房子.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QTextBrowser" name="textBrowser">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>80</x>
|
||||
<y>140</y>
|
||||
<width>1100</width>
|
||||
<height>441</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="resource.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
@ -1,236 +1,236 @@
|
||||
#include "home.h"
|
||||
#include "ui_home.h"
|
||||
#include "login.h"
|
||||
#include "book.h"
|
||||
#include "search.h"
|
||||
#include "recommend.h"
|
||||
#include "person.h"
|
||||
#include "communication.h"
|
||||
|
||||
|
||||
|
||||
Home::Home(QWidget *parent) :
|
||||
QMainWindow(parent),
|
||||
ui(new Ui::Home)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
/*
|
||||
QPixmap myPix(":/image/猫猫狗勾.png");
|
||||
ui->cat_and_dog->setPixmap(myPix);
|
||||
ui->cat_and_dog->setScaledContents(true);
|
||||
ui->cat_and_dog->show();
|
||||
|
||||
QPixmap myPix2(":/image/框.png");
|
||||
ui->option->setPixmap(myPix2);
|
||||
ui->option->setScaledContents(true);
|
||||
ui->option->show();
|
||||
|
||||
QPixmap myPix3(":/image/框里的背景.png");
|
||||
ui->option2->setPixmap(myPix3);
|
||||
ui->option2->setScaledContents(true);
|
||||
ui->option2->show();
|
||||
|
||||
// 对单个控件;
|
||||
ui->button_to_book->setStyleSheet("QPushButton{border-radius:5px;background:rgb(255,167,43);color:black;}");
|
||||
ui->button_to_search->setStyleSheet("QPushButton{border-radius:5px;background:rgb(255,167,43);color:black;}");
|
||||
ui->button_to_recommdend->setStyleSheet("QPushButton{border-radius:5px;background:rgb(255,167,43);color:black;}");
|
||||
ui->button_to_person->setStyleSheet("QPushButton{border-radius:5px;background:rgb(255,167,43);color:black;}");
|
||||
ui->button_to_log->setStyleSheet("QPushButton{border-radius:5px;background:rgb(255,167,43);color:black;}");
|
||||
*/
|
||||
ui->button_to_book->setStyleSheet("QPushButton{background:rgb(250,234,142);}");
|
||||
ui->button_to_book->setAttribute(Qt::WA_Hover,true);
|
||||
ui->button_to_book->installEventFilter(this); //安装事件过滤器
|
||||
|
||||
ui->button_to_recommdend->setStyleSheet("QPushButton{background:rgb(250,234,142);}");
|
||||
ui->button_to_recommdend->setAttribute(Qt::WA_Hover,true);
|
||||
ui->button_to_recommdend->installEventFilter(this); //安装事件过滤器
|
||||
|
||||
ui->button_to_person->setStyleSheet("QPushButton{background:rgb(250,234,142);}");
|
||||
ui->button_to_person->setAttribute(Qt::WA_Hover,true);
|
||||
ui->button_to_person->installEventFilter(this);
|
||||
|
||||
ui->to_communication->setStyleSheet("QPushButton{background:rgb(250,234,142);}");
|
||||
ui->to_communication->setAttribute(Qt::WA_Hover,true);
|
||||
ui->to_communication->installEventFilter(this);
|
||||
|
||||
ui->button_to_log->setStyleSheet("QPushButton{background:rgb(250,234,142);}");
|
||||
ui->button_to_log->setAttribute(Qt::WA_Hover,true);
|
||||
ui->button_to_log->installEventFilter(this);
|
||||
}
|
||||
|
||||
bool Home::eventFilter(QObject *obj, QEvent *event)
|
||||
{
|
||||
if(obj == ui->button_to_book) {
|
||||
if(event->type() == QEvent::HoverEnter) {
|
||||
|
||||
QPixmap icon1(tr(":/image/阅览-悬浮框.png"));
|
||||
ui->button_to_book->setStyleSheet("QPushButton{background:rgb(250,234,142);}");
|
||||
ui->button_to_book->setIcon(icon1);
|
||||
ui->button_to_book->setIconSize(QSize(260, 130));
|
||||
ui->button_to_book->setFixedSize(icon1.size());
|
||||
return true;
|
||||
}
|
||||
if(event->type() == QEvent::HoverLeave) {
|
||||
QPixmap icon2(tr(":/image/阅览-图标.png"));
|
||||
ui->button_to_book->setIcon(icon2);
|
||||
ui->button_to_book->setFixedSize(61,51);
|
||||
ui->button_to_book->setIconSize(QSize(90,90));
|
||||
ui->button_to_book->setFixedSize(icon2.size());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if(obj == ui->button_to_recommdend) {
|
||||
if(event->type() == QEvent::HoverEnter) {
|
||||
|
||||
QPixmap icon1(tr(":/image/测试-悬浮框.png"));
|
||||
ui->button_to_recommdend->setStyleSheet("QPushButton{background:rgb(250,234,142);}");
|
||||
ui->button_to_recommdend->setIcon(icon1);
|
||||
ui->button_to_recommdend->setIconSize(QSize(260, 130));
|
||||
ui->button_to_recommdend->setFixedSize(icon1.size());
|
||||
return true;
|
||||
}
|
||||
if(event->type() == QEvent::HoverLeave) {
|
||||
QPixmap icon2(tr(":/image/测试-图标.png"));
|
||||
ui->button_to_recommdend->setIcon(icon2);
|
||||
ui->button_to_recommdend->setFixedSize(61,51);
|
||||
ui->button_to_recommdend->setIconSize(QSize(90,90));
|
||||
ui->button_to_recommdend->setFixedSize(icon2.size());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if(obj == ui->button_to_person) {
|
||||
if(event->type() == QEvent::HoverEnter) {
|
||||
|
||||
QPixmap icon1(tr(":/image/我的-悬浮框.png"));
|
||||
ui->button_to_person->setStyleSheet("QPushButton{background:rgb(250,234,142);}");
|
||||
ui->button_to_person->setIcon(icon1);
|
||||
ui->button_to_person->setIconSize(QSize(260, 130));
|
||||
ui->button_to_person->setFixedSize(icon1.size());
|
||||
return true;
|
||||
}
|
||||
if(event->type() == QEvent::HoverLeave) {
|
||||
QPixmap icon2(tr(":/image/我的-图标.png"));
|
||||
ui->button_to_person->setIcon(icon2);
|
||||
ui->button_to_person->setFixedSize(61,51);
|
||||
ui->button_to_person->setIconSize(QSize(90,90));
|
||||
ui->button_to_person->setFixedSize(icon2.size());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if(obj == ui->to_communication) {
|
||||
if(event->type() == QEvent::HoverEnter) {
|
||||
|
||||
QPixmap icon1(tr(":/image/社区-悬浮框.png"));
|
||||
ui->to_communication->setStyleSheet("QPushButton{background:rgb(250,234,142);}");
|
||||
ui->to_communication->setIcon(icon1);
|
||||
ui->to_communication->setIconSize(QSize(260, 130));
|
||||
ui->to_communication->setFixedSize(icon1.size());
|
||||
return true;
|
||||
}
|
||||
if(event->type() == QEvent::HoverLeave) {
|
||||
QPixmap icon2(tr(":/image/社区-图标.png"));
|
||||
ui->to_communication->setIcon(icon2);
|
||||
ui->to_communication->setFixedSize(61,51);
|
||||
ui->to_communication->setIconSize(QSize(90,90));
|
||||
ui->to_communication->setFixedSize(icon2.size());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if(obj == ui->button_to_log) {
|
||||
if(event->type() == QEvent::HoverEnter) {
|
||||
|
||||
QPixmap icon1(tr(":/image/退出2.png"));
|
||||
ui->button_to_log->setStyleSheet("QPushButton{background:rgb(250,234,142);}");
|
||||
ui->button_to_log->setIcon(icon1);
|
||||
ui->button_to_log->setIconSize(QSize(260, 130));
|
||||
ui->button_to_log->setFixedSize(icon1.size());
|
||||
return true;
|
||||
}
|
||||
if(event->type() == QEvent::HoverLeave) {
|
||||
QPixmap icon2(tr(":/image/退出1.png"));
|
||||
ui->button_to_log->setIcon(icon2);
|
||||
ui->button_to_log->setFixedSize(61,51);
|
||||
ui->button_to_log->setIconSize(QSize(90,90));
|
||||
ui->button_to_log->setFixedSize(icon2.size());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return QWidget::eventFilter(obj,event);
|
||||
}
|
||||
|
||||
|
||||
Home::~Home()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void Home::on_button_to_log_clicked()
|
||||
{
|
||||
login* to_log = new login;
|
||||
to_log->login_set_background();
|
||||
to_log->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void Home::set_background()
|
||||
{
|
||||
this->setWindowTitle("主界面");
|
||||
|
||||
//ui->label->setText("欢迎来到");
|
||||
//ui->label->setStyleSheet("color:red");//文本颜色
|
||||
//ui->label_2->setStyleSheet("color:red");
|
||||
|
||||
// ui->label->setStyleSheet("background-color:red");//背景色
|
||||
|
||||
this->setMinimumSize(1280,720);
|
||||
this->setMaximumSize(1280,720);
|
||||
|
||||
this->setAutoFillBackground(true);
|
||||
QPalette palette;
|
||||
QPixmap pixmap = QPixmap(":/image/背景-3.png").scaled(this->size());
|
||||
palette.setBrush(QPalette::Window, QBrush(pixmap));
|
||||
this->setPalette(palette);
|
||||
|
||||
|
||||
}
|
||||
|
||||
void Home::on_button_to_book_clicked()
|
||||
{
|
||||
Book* to_book = new Book;
|
||||
to_book->book_set_background();
|
||||
to_book->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void Home::on_button_to_recommdend_clicked()
|
||||
{
|
||||
recommend* to_recommend = new recommend;
|
||||
to_recommend->recommend_set_background();
|
||||
to_recommend->show();
|
||||
delete this;
|
||||
|
||||
}
|
||||
|
||||
void Home::on_button_to_person_clicked()
|
||||
{
|
||||
person* to_person = new person;
|
||||
to_person->person_set_background();
|
||||
to_person->show();
|
||||
delete this;
|
||||
|
||||
}
|
||||
|
||||
void Home::on_to_communication_clicked()
|
||||
{
|
||||
Communication *new_communication = new Communication;
|
||||
new_communication->set_background();
|
||||
new_communication->show();
|
||||
delete this;
|
||||
}
|
||||
#include "home.h"
|
||||
#include "ui_home.h"
|
||||
#include "login.h"
|
||||
#include "book.h"
|
||||
#include "search.h"
|
||||
#include "recommend.h"
|
||||
#include "person.h"
|
||||
#include "communication.h"
|
||||
|
||||
|
||||
|
||||
Home::Home(QWidget *parent) :
|
||||
QMainWindow(parent),
|
||||
ui(new Ui::Home)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
/*
|
||||
QPixmap myPix(":/image/猫猫狗勾.png");
|
||||
ui->cat_and_dog->setPixmap(myPix);
|
||||
ui->cat_and_dog->setScaledContents(true);
|
||||
ui->cat_and_dog->show();
|
||||
|
||||
QPixmap myPix2(":/image/框.png");
|
||||
ui->option->setPixmap(myPix2);
|
||||
ui->option->setScaledContents(true);
|
||||
ui->option->show();
|
||||
|
||||
QPixmap myPix3(":/image/框里的背景.png");
|
||||
ui->option2->setPixmap(myPix3);
|
||||
ui->option2->setScaledContents(true);
|
||||
ui->option2->show();
|
||||
|
||||
// 对单个控件;
|
||||
ui->button_to_book->setStyleSheet("QPushButton{border-radius:5px;background:rgb(255,167,43);color:black;}");
|
||||
ui->button_to_search->setStyleSheet("QPushButton{border-radius:5px;background:rgb(255,167,43);color:black;}");
|
||||
ui->button_to_recommdend->setStyleSheet("QPushButton{border-radius:5px;background:rgb(255,167,43);color:black;}");
|
||||
ui->button_to_person->setStyleSheet("QPushButton{border-radius:5px;background:rgb(255,167,43);color:black;}");
|
||||
ui->button_to_log->setStyleSheet("QPushButton{border-radius:5px;background:rgb(255,167,43);color:black;}");
|
||||
*/
|
||||
ui->button_to_book->setStyleSheet("QPushButton{background:rgb(250,234,142);}");
|
||||
ui->button_to_book->setAttribute(Qt::WA_Hover,true);
|
||||
ui->button_to_book->installEventFilter(this); //安装事件过滤器
|
||||
|
||||
ui->button_to_recommdend->setStyleSheet("QPushButton{background:rgb(250,234,142);}");
|
||||
ui->button_to_recommdend->setAttribute(Qt::WA_Hover,true);
|
||||
ui->button_to_recommdend->installEventFilter(this); //安装事件过滤器
|
||||
|
||||
ui->button_to_person->setStyleSheet("QPushButton{background:rgb(250,234,142);}");
|
||||
ui->button_to_person->setAttribute(Qt::WA_Hover,true);
|
||||
ui->button_to_person->installEventFilter(this);
|
||||
|
||||
ui->to_communication->setStyleSheet("QPushButton{background:rgb(250,234,142);}");
|
||||
ui->to_communication->setAttribute(Qt::WA_Hover,true);
|
||||
ui->to_communication->installEventFilter(this);
|
||||
|
||||
ui->button_to_log->setStyleSheet("QPushButton{background:rgb(250,234,142);}");
|
||||
ui->button_to_log->setAttribute(Qt::WA_Hover,true);
|
||||
ui->button_to_log->installEventFilter(this);
|
||||
}
|
||||
|
||||
bool Home::eventFilter(QObject *obj, QEvent *event)
|
||||
{
|
||||
if(obj == ui->button_to_book) {
|
||||
if(event->type() == QEvent::HoverEnter) {
|
||||
|
||||
QPixmap icon1(tr(":/image/阅览-悬浮框.png"));
|
||||
ui->button_to_book->setStyleSheet("QPushButton{background:rgb(250,234,142);}");
|
||||
ui->button_to_book->setIcon(icon1);
|
||||
ui->button_to_book->setIconSize(QSize(260, 130));
|
||||
ui->button_to_book->setFixedSize(icon1.size());
|
||||
return true;
|
||||
}
|
||||
if(event->type() == QEvent::HoverLeave) {
|
||||
QPixmap icon2(tr(":/image/阅览-图标.png"));
|
||||
ui->button_to_book->setIcon(icon2);
|
||||
ui->button_to_book->setFixedSize(61,51);
|
||||
ui->button_to_book->setIconSize(QSize(90,90));
|
||||
ui->button_to_book->setFixedSize(icon2.size());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if(obj == ui->button_to_recommdend) {
|
||||
if(event->type() == QEvent::HoverEnter) {
|
||||
|
||||
QPixmap icon1(tr(":/image/测试-悬浮框.png"));
|
||||
ui->button_to_recommdend->setStyleSheet("QPushButton{background:rgb(250,234,142);}");
|
||||
ui->button_to_recommdend->setIcon(icon1);
|
||||
ui->button_to_recommdend->setIconSize(QSize(260, 130));
|
||||
ui->button_to_recommdend->setFixedSize(icon1.size());
|
||||
return true;
|
||||
}
|
||||
if(event->type() == QEvent::HoverLeave) {
|
||||
QPixmap icon2(tr(":/image/测试-图标.png"));
|
||||
ui->button_to_recommdend->setIcon(icon2);
|
||||
ui->button_to_recommdend->setFixedSize(61,51);
|
||||
ui->button_to_recommdend->setIconSize(QSize(90,90));
|
||||
ui->button_to_recommdend->setFixedSize(icon2.size());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if(obj == ui->button_to_person) {
|
||||
if(event->type() == QEvent::HoverEnter) {
|
||||
|
||||
QPixmap icon1(tr(":/image/我的-悬浮框.png"));
|
||||
ui->button_to_person->setStyleSheet("QPushButton{background:rgb(250,234,142);}");
|
||||
ui->button_to_person->setIcon(icon1);
|
||||
ui->button_to_person->setIconSize(QSize(260, 130));
|
||||
ui->button_to_person->setFixedSize(icon1.size());
|
||||
return true;
|
||||
}
|
||||
if(event->type() == QEvent::HoverLeave) {
|
||||
QPixmap icon2(tr(":/image/我的-图标.png"));
|
||||
ui->button_to_person->setIcon(icon2);
|
||||
ui->button_to_person->setFixedSize(61,51);
|
||||
ui->button_to_person->setIconSize(QSize(90,90));
|
||||
ui->button_to_person->setFixedSize(icon2.size());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if(obj == ui->to_communication) {
|
||||
if(event->type() == QEvent::HoverEnter) {
|
||||
|
||||
QPixmap icon1(tr(":/image/社区-悬浮框.png"));
|
||||
ui->to_communication->setStyleSheet("QPushButton{background:rgb(250,234,142);}");
|
||||
ui->to_communication->setIcon(icon1);
|
||||
ui->to_communication->setIconSize(QSize(260, 130));
|
||||
ui->to_communication->setFixedSize(icon1.size());
|
||||
return true;
|
||||
}
|
||||
if(event->type() == QEvent::HoverLeave) {
|
||||
QPixmap icon2(tr(":/image/社区-图标.png"));
|
||||
ui->to_communication->setIcon(icon2);
|
||||
ui->to_communication->setFixedSize(61,51);
|
||||
ui->to_communication->setIconSize(QSize(90,90));
|
||||
ui->to_communication->setFixedSize(icon2.size());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if(obj == ui->button_to_log) {
|
||||
if(event->type() == QEvent::HoverEnter) {
|
||||
|
||||
QPixmap icon1(tr(":/image/退出2.png"));
|
||||
ui->button_to_log->setStyleSheet("QPushButton{background:rgb(250,234,142);}");
|
||||
ui->button_to_log->setIcon(icon1);
|
||||
ui->button_to_log->setIconSize(QSize(260, 130));
|
||||
ui->button_to_log->setFixedSize(icon1.size());
|
||||
return true;
|
||||
}
|
||||
if(event->type() == QEvent::HoverLeave) {
|
||||
QPixmap icon2(tr(":/image/退出1.png"));
|
||||
ui->button_to_log->setIcon(icon2);
|
||||
ui->button_to_log->setFixedSize(61,51);
|
||||
ui->button_to_log->setIconSize(QSize(90,90));
|
||||
ui->button_to_log->setFixedSize(icon2.size());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return QWidget::eventFilter(obj,event);
|
||||
}
|
||||
|
||||
|
||||
Home::~Home()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void Home::on_button_to_log_clicked()
|
||||
{
|
||||
login* to_log = new login;
|
||||
to_log->login_set_background();
|
||||
to_log->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void Home::set_background()
|
||||
{
|
||||
this->setWindowTitle("主界面");
|
||||
|
||||
//ui->label->setText("欢迎来到");
|
||||
//ui->label->setStyleSheet("color:red");//文本颜色
|
||||
//ui->label_2->setStyleSheet("color:red");
|
||||
|
||||
// ui->label->setStyleSheet("background-color:red");//背景色
|
||||
|
||||
this->setMinimumSize(1280,720);
|
||||
this->setMaximumSize(1280,720);
|
||||
|
||||
this->setAutoFillBackground(true);
|
||||
QPalette palette;
|
||||
QPixmap pixmap = QPixmap(":/image/背景-3.png").scaled(this->size());
|
||||
palette.setBrush(QPalette::Window, QBrush(pixmap));
|
||||
this->setPalette(palette);
|
||||
|
||||
|
||||
}
|
||||
|
||||
void Home::on_button_to_book_clicked()
|
||||
{
|
||||
Book* to_book = new Book;
|
||||
to_book->book_set_background();
|
||||
to_book->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void Home::on_button_to_recommdend_clicked()
|
||||
{
|
||||
recommend* to_recommend = new recommend;
|
||||
to_recommend->recommend_set_background();
|
||||
to_recommend->show();
|
||||
delete this;
|
||||
|
||||
}
|
||||
|
||||
void Home::on_button_to_person_clicked()
|
||||
{
|
||||
person* to_person = new person;
|
||||
to_person->person_set_background();
|
||||
to_person->show();
|
||||
delete this;
|
||||
|
||||
}
|
||||
|
||||
void Home::on_to_communication_clicked()
|
||||
{
|
||||
Communication *new_communication = new Communication;
|
||||
new_communication->set_background();
|
||||
new_communication->show();
|
||||
delete this;
|
||||
}
|
||||
|
@ -1,40 +1,40 @@
|
||||
#ifndef HOME_H
|
||||
#define HOME_H
|
||||
|
||||
#include <QMainWindow>
|
||||
#include "communication.h"
|
||||
|
||||
|
||||
|
||||
namespace Ui {
|
||||
class Home;
|
||||
}
|
||||
|
||||
class Home : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Home(QWidget *parent = 0);
|
||||
~Home();
|
||||
void set_background();
|
||||
bool eventFilter(QObject *obj, QEvent *event);
|
||||
|
||||
private slots:
|
||||
void on_button_to_log_clicked();
|
||||
|
||||
void on_button_to_book_clicked();
|
||||
|
||||
|
||||
|
||||
void on_button_to_recommdend_clicked();
|
||||
|
||||
void on_button_to_person_clicked();
|
||||
|
||||
void on_to_communication_clicked();
|
||||
|
||||
private:
|
||||
Ui::Home *ui;
|
||||
};
|
||||
|
||||
#endif // HOME_H
|
||||
#ifndef HOME_H
|
||||
#define HOME_H
|
||||
|
||||
#include <QMainWindow>
|
||||
#include "communication.h"
|
||||
|
||||
|
||||
|
||||
namespace Ui {
|
||||
class Home;
|
||||
}
|
||||
|
||||
class Home : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Home(QWidget *parent = 0);
|
||||
~Home();
|
||||
void set_background();
|
||||
bool eventFilter(QObject *obj, QEvent *event);
|
||||
|
||||
private slots:
|
||||
void on_button_to_log_clicked();
|
||||
|
||||
void on_button_to_book_clicked();
|
||||
|
||||
|
||||
|
||||
void on_button_to_recommdend_clicked();
|
||||
|
||||
void on_button_to_person_clicked();
|
||||
|
||||
void on_to_communication_clicked();
|
||||
|
||||
private:
|
||||
Ui::Home *ui;
|
||||
};
|
||||
|
||||
#endif // HOME_H
|
||||
|
@ -1,202 +1,202 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Home</class>
|
||||
<widget class="QMainWindow" name="Home">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1280</width>
|
||||
<height>720</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Home</string>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralWidget">
|
||||
<widget class="QPushButton" name="button_to_log">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>590</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>30</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/退出1.png</normaloff>:/image/退出1.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>200</width>
|
||||
<height>200</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="autoRepeatDelay">
|
||||
<number>100</number>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="button_to_book">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>120</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>30</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton{
|
||||
rgb(255, 167, 43)
|
||||
}
|
||||
</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/阅览-图标.png</normaloff>:/image/阅览-图标.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>80</width>
|
||||
<height>80</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="button_to_recommdend">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>210</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>30</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/测试-图标.png</normaloff>:/image/测试-图标.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>90</width>
|
||||
<height>90</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="button_to_person">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>310</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>30</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/我的-图标.png</normaloff>:/image/我的-图标.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>120</width>
|
||||
<height>120</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="to_communication">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>410</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/社区-图标.png</normaloff>:/image/社区-图标.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>100</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<zorder>button_to_book</zorder>
|
||||
<zorder>button_to_recommdend</zorder>
|
||||
<zorder>button_to_person</zorder>
|
||||
<zorder>button_to_log</zorder>
|
||||
<zorder>to_communication</zorder>
|
||||
</widget>
|
||||
<widget class="QMenuBar" name="menuBar">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1280</width>
|
||||
<height>17</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QToolBar" name="mainToolBar">
|
||||
<attribute name="toolBarArea">
|
||||
<enum>TopToolBarArea</enum>
|
||||
</attribute>
|
||||
<attribute name="toolBarBreak">
|
||||
<bool>false</bool>
|
||||
</attribute>
|
||||
</widget>
|
||||
<widget class="QStatusBar" name="statusBar"/>
|
||||
</widget>
|
||||
<layoutdefault spacing="6" margin="11"/>
|
||||
<resources>
|
||||
<include location="resource.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Home</class>
|
||||
<widget class="QMainWindow" name="Home">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1280</width>
|
||||
<height>720</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Home</string>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>40</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralWidget">
|
||||
<widget class="QPushButton" name="button_to_log">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>590</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>30</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/退出1.png</normaloff>:/image/退出1.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>200</width>
|
||||
<height>200</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="autoRepeatDelay">
|
||||
<number>100</number>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="button_to_book">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>120</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>30</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="styleSheet">
|
||||
<string notr="true">QPushButton{
|
||||
rgb(255, 167, 43)
|
||||
}
|
||||
</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/阅览-图标.png</normaloff>:/image/阅览-图标.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>80</width>
|
||||
<height>80</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="button_to_recommdend">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>210</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>30</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/测试-图标.png</normaloff>:/image/测试-图标.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>90</width>
|
||||
<height>90</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="button_to_person">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>310</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>30</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/我的-图标.png</normaloff>:/image/我的-图标.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>120</width>
|
||||
<height>120</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="to_communication">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>410</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/社区-图标.png</normaloff>:/image/社区-图标.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>100</width>
|
||||
<height>100</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<zorder>button_to_book</zorder>
|
||||
<zorder>button_to_recommdend</zorder>
|
||||
<zorder>button_to_person</zorder>
|
||||
<zorder>button_to_log</zorder>
|
||||
<zorder>to_communication</zorder>
|
||||
</widget>
|
||||
<widget class="QMenuBar" name="menuBar">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1280</width>
|
||||
<height>17</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QToolBar" name="mainToolBar">
|
||||
<attribute name="toolBarArea">
|
||||
<enum>TopToolBarArea</enum>
|
||||
</attribute>
|
||||
<attribute name="toolBarBreak">
|
||||
<bool>false</bool>
|
||||
</attribute>
|
||||
</widget>
|
||||
<widget class="QStatusBar" name="statusBar"/>
|
||||
</widget>
|
||||
<layoutdefault spacing="6" margin="11"/>
|
||||
<resources>
|
||||
<include location="resource.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
Before Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 16 KiB |
@ -1,36 +0,0 @@
|
||||
#ifndef LI_CAT_H
|
||||
#define LI_CAT_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class Li_cat;
|
||||
}
|
||||
|
||||
class Li_cat : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Li_cat(QWidget *parent = 0);
|
||||
~Li_cat();
|
||||
void li_cat_set_background();
|
||||
Ui::Li_cat *ui;
|
||||
|
||||
private slots:
|
||||
void on_go_back_clicked();
|
||||
void button1();
|
||||
void button2();
|
||||
void button3();
|
||||
void button4();
|
||||
void button5();
|
||||
void button6();
|
||||
void button7();
|
||||
void button8();
|
||||
void button9();
|
||||
void button10();
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif // LI_CAT_H
|
@ -1,234 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Li_cat</class>
|
||||
<widget class="QWidget" name="Li_cat">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1280</width>
|
||||
<height>720</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QPushButton" name="go_back">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>10</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/房子.png</normaloff>:/image/房子.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>70</x>
|
||||
<y>120</y>
|
||||
<width>200</width>
|
||||
<height>90</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>品种起源</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>270</x>
|
||||
<y>210</y>
|
||||
<width>200</width>
|
||||
<height>90</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>形态特征</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>470</x>
|
||||
<y>300</y>
|
||||
<width>200</width>
|
||||
<height>90</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>性格特点</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_4">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>670</x>
|
||||
<y>390</y>
|
||||
<width>200</width>
|
||||
<height>90</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>幼猫饲养</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_5">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>870</x>
|
||||
<y>480</y>
|
||||
<width>200</width>
|
||||
<height>90</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>饲养方法</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_6">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>670</x>
|
||||
<y>570</y>
|
||||
<width>200</width>
|
||||
<height>90</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>选购标准</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_7">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>470</x>
|
||||
<y>500</y>
|
||||
<width>200</width>
|
||||
<height>90</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>日常护理</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_8">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>270</x>
|
||||
<y>430</y>
|
||||
<width>200</width>
|
||||
<height>90</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>毛色分类</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_9">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>70</x>
|
||||
<y>370</y>
|
||||
<width>200</width>
|
||||
<height>90</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>病害防治</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_10">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>840</x>
|
||||
<y>220</y>
|
||||
<width>200</width>
|
||||
<height>90</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>种族遗传病</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="resource.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
@ -1,35 +0,0 @@
|
||||
#ifndef LOGIN_H
|
||||
#define LOGIN_H
|
||||
|
||||
#include <QDialog>
|
||||
#include <qdebug.h>
|
||||
#include <QSqlDatabase>
|
||||
#include <QSqlError>
|
||||
#include <QSqlQuery>
|
||||
#include <QString>
|
||||
|
||||
extern QString username1;
|
||||
|
||||
namespace Ui {
|
||||
class login;
|
||||
}
|
||||
|
||||
class login : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit login(QWidget *parent = 0);
|
||||
~login();
|
||||
void login_set_background();
|
||||
|
||||
private slots:
|
||||
void on_button_login_clicked();
|
||||
|
||||
void on_to_register_clicked();
|
||||
|
||||
private:
|
||||
Ui::login *ui;
|
||||
};
|
||||
|
||||
#endif // LOGIN_H
|
@ -1,28 +0,0 @@
|
||||
#include "home.h"
|
||||
#include <QApplication>
|
||||
#include "login.h"
|
||||
#include "data_base.h"
|
||||
#include "communication.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QApplication a(argc, argv);
|
||||
|
||||
Data_base::set_database();
|
||||
Data_base::creat_table();
|
||||
|
||||
login L;
|
||||
L.login_set_background();
|
||||
L.show();
|
||||
|
||||
/*
|
||||
Home h;
|
||||
h.set_background();
|
||||
h.show();
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
return a.exec();
|
||||
}
|
@ -1,72 +0,0 @@
|
||||
#include "person.h"
|
||||
#include "ui_person.h"
|
||||
#include "home.h"
|
||||
#include "person_change.h"
|
||||
#include "ui_person_change.h"
|
||||
|
||||
person::person(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::person)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
|
||||
QPixmap myPix(":/image/头像框.png");
|
||||
ui->person_picture->setPixmap(myPix);
|
||||
ui->person_picture->setScaledContents(true);
|
||||
ui->person_picture->show();
|
||||
|
||||
QPixmap myPix2(":/image/头像框.png");
|
||||
ui->pet_picture->setPixmap(myPix2);
|
||||
ui->pet_picture->setScaledContents(true);
|
||||
ui->pet_picture->show();
|
||||
|
||||
QPixmap myPix3(":/image/信息文本框.png");
|
||||
ui->person_information->setPixmap(myPix3);
|
||||
ui->person_information->setScaledContents(true);
|
||||
ui->person_information->show();
|
||||
|
||||
QPixmap myPix4(":/image/信息文本框.png");
|
||||
ui->pet_information->setPixmap(myPix4);
|
||||
ui->pet_information->setScaledContents(true);
|
||||
ui->pet_information->show();
|
||||
|
||||
ui->name_change->setStyleSheet("QPushButton{border-radius:5px;background:rgb(247,128,133);color:black;}");
|
||||
}
|
||||
|
||||
person::~person()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void person::on_person_to_home_clicked()
|
||||
{
|
||||
Home* person_to_home = new Home;
|
||||
person_to_home->set_background();
|
||||
person_to_home->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void person::person_set_background()
|
||||
{
|
||||
this->setWindowTitle("个人信息");
|
||||
// ui->label->setStyleSheet("background-color:red");//背景色
|
||||
|
||||
this->setMinimumSize(1280,720);
|
||||
this->setMaximumSize(1280,720);
|
||||
|
||||
this->setAutoFillBackground(true);
|
||||
QPalette palette;
|
||||
QPixmap pixmap = QPixmap(":/image/背景_book.png").scaled(this->size());
|
||||
palette.setBrush(QPalette::Window, QBrush(pixmap));
|
||||
this->setPalette(palette);
|
||||
|
||||
}
|
||||
|
||||
void person::on_name_change_clicked()
|
||||
{
|
||||
Person_change *go = new Person_change;
|
||||
go->set_background();
|
||||
go->move(300,100);
|
||||
go->show();
|
||||
delete this;
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
#ifndef PERSON_H
|
||||
#define PERSON_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class person;
|
||||
}
|
||||
|
||||
class person : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit person(QWidget *parent = 0);
|
||||
~person();
|
||||
void person_set_background();
|
||||
Ui::person *ui;
|
||||
|
||||
private slots:
|
||||
void on_person_to_home_clicked();
|
||||
|
||||
void on_name_change_clicked();
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif // PERSON_H
|
@ -1,231 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>person</class>
|
||||
<widget class="QWidget" name="person">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1080</width>
|
||||
<height>720</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QCommandLinkButton" name="person_to_home">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>10</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/房子.png</normaloff>:/image/房子.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="person_picture">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>80</x>
|
||||
<y>190</y>
|
||||
<width>120</width>
|
||||
<height>160</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="pet_picture">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>80</x>
|
||||
<y>460</y>
|
||||
<width>120</width>
|
||||
<height>160</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="person_information">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>230</x>
|
||||
<y>140</y>
|
||||
<width>831</width>
|
||||
<height>221</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>TextLabel</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="pet_information">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>230</x>
|
||||
<y>430</y>
|
||||
<width>831</width>
|
||||
<height>221</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>TextLabel</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="person_picture_literature">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>100</x>
|
||||
<y>260</y>
|
||||
<width>71</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>个人头像</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="pet_picture_literature">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>100</x>
|
||||
<y>550</y>
|
||||
<width>71</width>
|
||||
<height>41</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>宠物头像</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="person_nickname">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>250</x>
|
||||
<y>130</y>
|
||||
<width>341</width>
|
||||
<height>81</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>昵称:小李踏马</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="user_name">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>250</x>
|
||||
<y>200</y>
|
||||
<width>191</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>账号:pet</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>250</x>
|
||||
<y>270</y>
|
||||
<width>481</width>
|
||||
<height>61</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>喜欢宠物:布偶猫</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="pet_name">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>240</x>
|
||||
<y>400</y>
|
||||
<width>491</width>
|
||||
<height>141</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>宠物名:小李踏马的小可爱</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" name="pet_name2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>240</x>
|
||||
<y>540</y>
|
||||
<width>511</width>
|
||||
<height>111</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>种类: puppet cat</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="name_change">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>680</x>
|
||||
<y>240</y>
|
||||
<width>331</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>修改用户资料</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="resource.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
@ -1,58 +0,0 @@
|
||||
#include "person_change.h"
|
||||
#include "ui_person_change.h"
|
||||
#include "person.h"
|
||||
#include "ui_person.h"
|
||||
#include <QMessageBox>
|
||||
Person_change::Person_change(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::Person_change)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
ui->person_name->setPlaceholderText("请输入更改用户名");
|
||||
ui->password_old->setPlaceholderText("请输入旧密码");
|
||||
ui->password_new->setPlaceholderText("请输入新密码");
|
||||
|
||||
ui->pushButton->setStyleSheet("QPushButton{border-radius:5px;background:rgb(247,128,133);color:black;}");
|
||||
}
|
||||
|
||||
Person_change::~Person_change()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void Person_change::on_back_clicked()
|
||||
{
|
||||
person *back = new person;
|
||||
back->person_set_background();
|
||||
back->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void Person_change::set_background()
|
||||
{
|
||||
this->setWindowTitle("信息更改");
|
||||
// ui->label->setStyleSheet("background-color:red");//背景色
|
||||
|
||||
this->setMinimumSize(500,1000);
|
||||
this->setMaximumSize(500,1000);
|
||||
|
||||
this->setAutoFillBackground(true);
|
||||
QPalette palette;
|
||||
QPixmap pixmap = QPixmap(":/image/recommend_background.jpg").scaled(this->size());
|
||||
palette.setBrush(QPalette::Window, QBrush(pixmap));
|
||||
this->setPalette(palette);
|
||||
|
||||
}
|
||||
|
||||
void Person_change::on_pushButton_clicked()
|
||||
{
|
||||
QString new_name = ui->person_name->text();
|
||||
QString the_set = "用户名: " + new_name;
|
||||
QMessageBox::warning(this,"","设置成功");
|
||||
person *back = new person;
|
||||
back->person_set_background();
|
||||
back->ui->person_nickname->setText(the_set);
|
||||
back->show();
|
||||
delete this;
|
||||
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
#ifndef PERSON_CHANGE_H
|
||||
#define PERSON_CHANGE_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class Person_change;
|
||||
}
|
||||
|
||||
class Person_change : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Person_change(QWidget *parent = 0);
|
||||
~Person_change();
|
||||
void set_background();
|
||||
Ui::Person_change *ui;
|
||||
|
||||
private slots:
|
||||
void on_back_clicked();
|
||||
|
||||
void on_pushButton_clicked();
|
||||
};
|
||||
|
||||
#endif // PERSON_CHANGE_H
|
@ -1,108 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Person_change</class>
|
||||
<widget class="QWidget" name="Person_change">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>500</width>
|
||||
<height>1000</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QPushButton" name="back">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>0</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/房子.png</normaloff>:/image/房子.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="person_name">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>90</x>
|
||||
<y>120</y>
|
||||
<width>331</width>
|
||||
<height>81</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="password_old">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>90</x>
|
||||
<y>300</y>
|
||||
<width>331</width>
|
||||
<height>81</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit" name="password_new">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>90</x>
|
||||
<y>460</y>
|
||||
<width>331</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>130</x>
|
||||
<y>590</y>
|
||||
<width>251</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>Segoe Script</family>
|
||||
<pointsize>30</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Set</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="resource.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
Binary file not shown.
@ -1,122 +0,0 @@
|
||||
#-------------------------------------------------
|
||||
#
|
||||
# Project created by QtCreator 2020-12-03T17:55:50
|
||||
#
|
||||
#-------------------------------------------------
|
||||
|
||||
QT += core gui
|
||||
QT += sql
|
||||
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
|
||||
TARGET = pet_project
|
||||
TEMPLATE = app
|
||||
|
||||
RC_ICONS = image/favicon.ico
|
||||
# The following define makes your compiler emit warnings if you use
|
||||
# any feature of Qt which as been marked as deprecated (the exact warnings
|
||||
# depend on your compiler). Please consult the documentation of the
|
||||
# deprecated API in order to know how to port your code away from it.
|
||||
DEFINES += QT_DEPRECATED_WARNINGS
|
||||
|
||||
# You can also make your code fail to compile if you use deprecated APIs.
|
||||
# In order to do so, uncomment the following line.
|
||||
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
||||
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
||||
|
||||
|
||||
SOURCES += \
|
||||
main.cpp \
|
||||
home.cpp \
|
||||
login.cpp \
|
||||
book.cpp \
|
||||
search.cpp \
|
||||
recommend.cpp \
|
||||
person.cpp \
|
||||
cat_book.cpp \
|
||||
puppet_cat.cpp \
|
||||
li_cat.cpp \
|
||||
dog_book.cpp \
|
||||
rabbit.cpp \
|
||||
data_base.cpp \
|
||||
dog_concret.cpp \
|
||||
reg.cpp \
|
||||
communication.cpp \
|
||||
communication_question.cpp \
|
||||
english_short_blue_cat.cpp \
|
||||
silver_gradient.cpp \
|
||||
canadian_hairless.cpp \
|
||||
siamese_cat.cpp \
|
||||
puppet_cat_content.cpp \
|
||||
gafei_content.cpp \
|
||||
english_blue_content.cpp \
|
||||
silver_cat_content.cpp \
|
||||
canada_cat_content.cpp \
|
||||
siamse_content.cpp \
|
||||
person_change.cpp
|
||||
|
||||
|
||||
HEADERS += \
|
||||
home.h \
|
||||
login.h \
|
||||
book.h \
|
||||
search.h \
|
||||
recommend.h \
|
||||
person.h \
|
||||
cat_book.h \
|
||||
puppet_cat.h \
|
||||
li_cat.h \
|
||||
dog_book.h \
|
||||
rabbit.h \
|
||||
data_base.h \
|
||||
dog_concret.h \
|
||||
reg.h \
|
||||
communication.h \
|
||||
communication_question.h \
|
||||
english_short_blue_cat.h \
|
||||
silver_gradient.h \
|
||||
canadian_hairless.h \
|
||||
siamese_cat.h \
|
||||
puppet_cat_content.h \
|
||||
gafei_content.h \
|
||||
english_blue_content.h \
|
||||
silver_cat_content.h \
|
||||
canada_cat_content.h \
|
||||
siamse_content.h \
|
||||
person_change.h
|
||||
|
||||
|
||||
FORMS += \
|
||||
home.ui \
|
||||
login.ui \
|
||||
book.ui \
|
||||
search.ui \
|
||||
recommend.ui \
|
||||
person.ui \
|
||||
cat_book.ui \
|
||||
puppet_cat.ui \
|
||||
li_cat.ui \
|
||||
dog_book.ui \
|
||||
rabbit.ui \
|
||||
dog_concret.ui \
|
||||
reg.ui \
|
||||
communication.ui \
|
||||
communication_question.ui \
|
||||
english_short_blue_cat.ui \
|
||||
silver_gradient.ui \
|
||||
canadian_hairless.ui \
|
||||
siamese_cat.ui \
|
||||
puppet_cat_content.ui \
|
||||
gafei_content.ui \
|
||||
english_blue_content.ui \
|
||||
silver_cat_content.ui \
|
||||
canada_cat_content.ui \
|
||||
siamse_content.ui \
|
||||
person_change.ui
|
||||
|
||||
|
||||
RESOURCES += \
|
||||
resource.qrc
|
||||
|
||||
DISTFILES += \
|
||||
image/背景.png
|
@ -1,562 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE QtCreatorProject>
|
||||
<!-- Written by QtCreator 4.3.1, 2021-07-08T14:25:39. -->
|
||||
<qtcreator>
|
||||
<data>
|
||||
<variable>EnvironmentId</variable>
|
||||
<value type="QByteArray">{0c472d2e-2f2e-472c-a2a5-c44abc1d0d00}</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.ActiveTarget</variable>
|
||||
<value type="int">0</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.EditorSettings</variable>
|
||||
<valuemap type="QVariantMap">
|
||||
<value type="bool" key="EditorConfiguration.AutoIndent">true</value>
|
||||
<value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
|
||||
<value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
|
||||
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
|
||||
<value type="QString" key="language">Cpp</value>
|
||||
<valuemap type="QVariantMap" key="value">
|
||||
<value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
|
||||
</valuemap>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
|
||||
<value type="QString" key="language">QmlJS</value>
|
||||
<valuemap type="QVariantMap" key="value">
|
||||
<value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
|
||||
</valuemap>
|
||||
</valuemap>
|
||||
<value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
|
||||
<value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
|
||||
<value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
|
||||
<value type="int" key="EditorConfiguration.IndentSize">4</value>
|
||||
<value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
|
||||
<value type="int" key="EditorConfiguration.MarginColumn">80</value>
|
||||
<value type="bool" key="EditorConfiguration.MouseHiding">true</value>
|
||||
<value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
|
||||
<value type="int" key="EditorConfiguration.PaddingMode">1</value>
|
||||
<value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
|
||||
<value type="bool" key="EditorConfiguration.ShowMargin">false</value>
|
||||
<value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
|
||||
<value type="bool" key="EditorConfiguration.SmartSelectionChanging">true</value>
|
||||
<value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
|
||||
<value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
|
||||
<value type="int" key="EditorConfiguration.TabSize">8</value>
|
||||
<value type="bool" key="EditorConfiguration.UseGlobal">true</value>
|
||||
<value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
|
||||
<value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
|
||||
<value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
|
||||
<value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
|
||||
<value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.PluginSettings</variable>
|
||||
<valuemap type="QVariantMap"/>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.Target.0</variable>
|
||||
<valuemap type="QVariantMap">
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.9.0 MinGW 32bit</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.9.0 MinGW 32bit</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.59.win32_mingw53_kit</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/DELL/Desktop/pet/build-pet_project-Desktop_Qt_5_9_0_MinGW_32bit-Debug</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value>
|
||||
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">构建</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">清理</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/HUAWEI/Desktop/pet</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
|
||||
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">构建</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">清理</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2">
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/DELL/Desktop/pet/build-pet_project-Desktop_Qt_5_9_0_MinGW_32bit-Profile</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value>
|
||||
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">true</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">构建</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">清理</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Profile</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">3</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">部署</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">在本地部署</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
|
||||
<value type="bool" key="Analyzer.QmlProfiler.AggregateTraces">false</value>
|
||||
<value type="bool" key="Analyzer.QmlProfiler.FlushEnabled">false</value>
|
||||
<value type="uint" key="Analyzer.QmlProfiler.FlushInterval">1000</value>
|
||||
<value type="QString" key="Analyzer.QmlProfiler.LastTraceFile"></value>
|
||||
<value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
|
||||
<value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
|
||||
<value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
|
||||
<value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
|
||||
<value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
|
||||
<value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
|
||||
<value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
|
||||
<value type="int">0</value>
|
||||
<value type="int">1</value>
|
||||
<value type="int">2</value>
|
||||
<value type="int">3</value>
|
||||
<value type="int">4</value>
|
||||
<value type="int">5</value>
|
||||
<value type="int">6</value>
|
||||
<value type="int">7</value>
|
||||
<value type="int">8</value>
|
||||
<value type="int">9</value>
|
||||
<value type="int">10</value>
|
||||
<value type="int">11</value>
|
||||
<value type="int">12</value>
|
||||
<value type="int">13</value>
|
||||
<value type="int">14</value>
|
||||
</valuelist>
|
||||
<value type="int" key="PE.EnvironmentAspect.Base">2</value>
|
||||
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">pet_project</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:C:/Users/HUAWEI/Desktop/pet/pet_project.pro</value>
|
||||
<value type="bool" key="QmakeProjectManager.QmakeRunConfiguration.UseLibrarySearchPath">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">pet_project.pro</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory.default">C:/Users/HUAWEI/Desktop/pet</value>
|
||||
<value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
|
||||
<value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.Target.1</variable>
|
||||
<valuemap type="QVariantMap">
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.9.0 MSVC2017 64bit</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.9.0 MSVC2017 64bit</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.59.win64_msvc2017_64_kit</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/DELL/Desktop/pet/build-pet_project-Desktop_Qt_5_9_0_MSVC2017_64bit-Debug</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value>
|
||||
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">构建</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">清理</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/DELL/Desktop/pet/build-pet_project-Desktop_Qt_5_9_0_MSVC2017_64bit-Release</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
|
||||
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">构建</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">清理</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2">
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/DELL/Desktop/pet/build-pet_project-Desktop_Qt_5_9_0_MSVC2017_64bit-Profile</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value>
|
||||
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">true</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">构建</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">清理</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Profile</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">3</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">部署</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">在本地部署</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
|
||||
<value type="bool" key="Analyzer.QmlProfiler.AggregateTraces">false</value>
|
||||
<value type="bool" key="Analyzer.QmlProfiler.FlushEnabled">false</value>
|
||||
<value type="uint" key="Analyzer.QmlProfiler.FlushInterval">1000</value>
|
||||
<value type="QString" key="Analyzer.QmlProfiler.LastTraceFile"></value>
|
||||
<value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
|
||||
<value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
|
||||
<value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
|
||||
<value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
|
||||
<value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
|
||||
<value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
|
||||
<value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
|
||||
<value type="int">0</value>
|
||||
<value type="int">1</value>
|
||||
<value type="int">2</value>
|
||||
<value type="int">3</value>
|
||||
<value type="int">4</value>
|
||||
<value type="int">5</value>
|
||||
<value type="int">6</value>
|
||||
<value type="int">7</value>
|
||||
<value type="int">8</value>
|
||||
<value type="int">9</value>
|
||||
<value type="int">10</value>
|
||||
<value type="int">11</value>
|
||||
<value type="int">12</value>
|
||||
<value type="int">13</value>
|
||||
<value type="int">14</value>
|
||||
</valuelist>
|
||||
<value type="int" key="PE.EnvironmentAspect.Base">-1</value>
|
||||
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
|
||||
<value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value>
|
||||
<value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable"></value>
|
||||
<value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Custom Executable</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value>
|
||||
<value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
|
||||
<value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.TargetCount</variable>
|
||||
<value type="int">2</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.Updater.FileVersion</variable>
|
||||
<value type="int">18</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>Version</variable>
|
||||
<value type="int">18</value>
|
||||
</data>
|
||||
</qtcreator>
|
@ -1,562 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE QtCreatorProject>
|
||||
<!-- Written by QtCreator 4.3.1, 2021-01-15T11:28:17. -->
|
||||
<qtcreator>
|
||||
<data>
|
||||
<variable>EnvironmentId</variable>
|
||||
<value type="QByteArray">{f621093c-04c2-4844-a662-529690a3829f}</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.ActiveTarget</variable>
|
||||
<value type="int">0</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.EditorSettings</variable>
|
||||
<valuemap type="QVariantMap">
|
||||
<value type="bool" key="EditorConfiguration.AutoIndent">true</value>
|
||||
<value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
|
||||
<value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
|
||||
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
|
||||
<value type="QString" key="language">Cpp</value>
|
||||
<valuemap type="QVariantMap" key="value">
|
||||
<value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
|
||||
</valuemap>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
|
||||
<value type="QString" key="language">QmlJS</value>
|
||||
<valuemap type="QVariantMap" key="value">
|
||||
<value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
|
||||
</valuemap>
|
||||
</valuemap>
|
||||
<value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
|
||||
<value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
|
||||
<value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
|
||||
<value type="int" key="EditorConfiguration.IndentSize">4</value>
|
||||
<value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
|
||||
<value type="int" key="EditorConfiguration.MarginColumn">80</value>
|
||||
<value type="bool" key="EditorConfiguration.MouseHiding">true</value>
|
||||
<value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
|
||||
<value type="int" key="EditorConfiguration.PaddingMode">1</value>
|
||||
<value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
|
||||
<value type="bool" key="EditorConfiguration.ShowMargin">false</value>
|
||||
<value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
|
||||
<value type="bool" key="EditorConfiguration.SmartSelectionChanging">true</value>
|
||||
<value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
|
||||
<value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
|
||||
<value type="int" key="EditorConfiguration.TabSize">8</value>
|
||||
<value type="bool" key="EditorConfiguration.UseGlobal">true</value>
|
||||
<value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
|
||||
<value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
|
||||
<value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
|
||||
<value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
|
||||
<value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.PluginSettings</variable>
|
||||
<valuemap type="QVariantMap"/>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.Target.0</variable>
|
||||
<valuemap type="QVariantMap">
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.9.0 MinGW 32bit</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.9.0 MinGW 32bit</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.59.win32_mingw53_kit</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/DELL/Desktop/pet/build-pet_project-Desktop_Qt_5_9_0_MinGW_32bit-Debug</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value>
|
||||
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">构建</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">清理</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/DELL/Desktop/release</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
|
||||
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">构建</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">清理</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2">
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/DELL/Desktop/pet/build-pet_project-Desktop_Qt_5_9_0_MinGW_32bit-Profile</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value>
|
||||
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">true</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">构建</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">清理</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Profile</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">3</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">部署</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">在本地部署</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
|
||||
<value type="bool" key="Analyzer.QmlProfiler.AggregateTraces">false</value>
|
||||
<value type="bool" key="Analyzer.QmlProfiler.FlushEnabled">false</value>
|
||||
<value type="uint" key="Analyzer.QmlProfiler.FlushInterval">1000</value>
|
||||
<value type="QString" key="Analyzer.QmlProfiler.LastTraceFile"></value>
|
||||
<value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
|
||||
<value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
|
||||
<value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
|
||||
<value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
|
||||
<value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
|
||||
<value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
|
||||
<value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
|
||||
<value type="int">0</value>
|
||||
<value type="int">1</value>
|
||||
<value type="int">2</value>
|
||||
<value type="int">3</value>
|
||||
<value type="int">4</value>
|
||||
<value type="int">5</value>
|
||||
<value type="int">6</value>
|
||||
<value type="int">7</value>
|
||||
<value type="int">8</value>
|
||||
<value type="int">9</value>
|
||||
<value type="int">10</value>
|
||||
<value type="int">11</value>
|
||||
<value type="int">12</value>
|
||||
<value type="int">13</value>
|
||||
<value type="int">14</value>
|
||||
</valuelist>
|
||||
<value type="int" key="PE.EnvironmentAspect.Base">2</value>
|
||||
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">pet_project</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:C:/Users/DELL/Desktop/pet/pet_project/pet_project.pro</value>
|
||||
<value type="bool" key="QmakeProjectManager.QmakeRunConfiguration.UseLibrarySearchPath">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">pet_project.pro</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory.default">C:/Users/DELL/Desktop/release</value>
|
||||
<value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
|
||||
<value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.Target.1</variable>
|
||||
<valuemap type="QVariantMap">
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop Qt 5.9.0 MSVC2017 64bit</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop Qt 5.9.0 MSVC2017 64bit</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">qt.59.win64_msvc2017_64_kit</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/DELL/Desktop/pet/build-pet_project-Desktop_Qt_5_9_0_MSVC2017_64bit-Debug</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value>
|
||||
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">构建</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">清理</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/DELL/Desktop/pet/build-pet_project-Desktop_Qt_5_9_0_MSVC2017_64bit-Release</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
|
||||
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">构建</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">清理</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.2">
|
||||
<value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">C:/Users/DELL/Desktop/pet/build-pet_project-Desktop_Qt_5_9_0_MSVC2017_64bit-Profile</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">true</value>
|
||||
<value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.SeparateDebugInfo">true</value>
|
||||
<value type="bool" key="QtProjectManager.QMakeBuildStep.UseQtQuickCompiler">false</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">构建</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
|
||||
<value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
|
||||
<valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments"/>
|
||||
<value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
|
||||
<value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">清理</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
|
||||
<value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
|
||||
<valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Profile</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
|
||||
<value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
|
||||
<value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">3</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">部署</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">在本地部署</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
|
||||
<value type="bool" key="Analyzer.QmlProfiler.AggregateTraces">false</value>
|
||||
<value type="bool" key="Analyzer.QmlProfiler.FlushEnabled">false</value>
|
||||
<value type="uint" key="Analyzer.QmlProfiler.FlushInterval">1000</value>
|
||||
<value type="QString" key="Analyzer.QmlProfiler.LastTraceFile"></value>
|
||||
<value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
|
||||
<value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
|
||||
<value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
|
||||
<value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
|
||||
<value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
|
||||
<value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
|
||||
<value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
|
||||
<value type="int">0</value>
|
||||
<value type="int">1</value>
|
||||
<value type="int">2</value>
|
||||
<value type="int">3</value>
|
||||
<value type="int">4</value>
|
||||
<value type="int">5</value>
|
||||
<value type="int">6</value>
|
||||
<value type="int">7</value>
|
||||
<value type="int">8</value>
|
||||
<value type="int">9</value>
|
||||
<value type="int">10</value>
|
||||
<value type="int">11</value>
|
||||
<value type="int">12</value>
|
||||
<value type="int">13</value>
|
||||
<value type="int">14</value>
|
||||
</valuelist>
|
||||
<value type="int" key="PE.EnvironmentAspect.Base">-1</value>
|
||||
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
|
||||
<value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value>
|
||||
<value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable"></value>
|
||||
<value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Custom Executable</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value>
|
||||
<value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
|
||||
<value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.TargetCount</variable>
|
||||
<value type="int">2</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.Updater.FileVersion</variable>
|
||||
<value type="int">18</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>Version</variable>
|
||||
<value type="int">18</value>
|
||||
</data>
|
||||
</qtcreator>
|
@ -1,37 +0,0 @@
|
||||
#include <windows.h>
|
||||
|
||||
IDI_ICON1 ICON DISCARDABLE "C:\\Users\\HUAWEI\\Desktop\\pet\\image\\favicon.ico"
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 0,0,0,0
|
||||
PRODUCTVERSION 0,0,0,0
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS VS_FF_DEBUG
|
||||
#else
|
||||
FILEFLAGS 0x0L
|
||||
#endif
|
||||
FILEOS VOS__WINDOWS32
|
||||
FILETYPE VFT_DLL
|
||||
FILESUBTYPE 0x0L
|
||||
BEGIN
|
||||
BLOCK "StringFileInfo"
|
||||
BEGIN
|
||||
BLOCK "040904b0"
|
||||
BEGIN
|
||||
VALUE "CompanyName", "\0"
|
||||
VALUE "FileDescription", "\0"
|
||||
VALUE "FileVersion", "0.0.0.0\0"
|
||||
VALUE "LegalCopyright", "\0"
|
||||
VALUE "OriginalFilename", "pet_project.exe\0"
|
||||
VALUE "ProductName", "pet_project\0"
|
||||
VALUE "ProductVersion", "0.0.0.0\0"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
BEGIN
|
||||
VALUE "Translation", 0x0409, 1200
|
||||
END
|
||||
END
|
||||
/* End of Version info */
|
||||
|
@ -1,35 +0,0 @@
|
||||
#ifndef PUPPET_CAT_H
|
||||
#define PUPPET_CAT_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class Puppet_cat;
|
||||
}
|
||||
|
||||
class Puppet_cat : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Puppet_cat(QWidget *parent = 0);
|
||||
~Puppet_cat();
|
||||
void puppet_cat_set_background();
|
||||
Ui::Puppet_cat *ui;
|
||||
|
||||
|
||||
private slots:
|
||||
void on_go_back_clicked();
|
||||
void button1();
|
||||
void button2();
|
||||
void button3();
|
||||
void button4();
|
||||
void button5();
|
||||
void button6();
|
||||
void button7();
|
||||
void button8();
|
||||
void button9();
|
||||
|
||||
};
|
||||
|
||||
#endif // PUPPET_CAT_H
|
@ -1,215 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Puppet_cat</class>
|
||||
<widget class="QWidget" name="Puppet_cat">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1280</width>
|
||||
<height>720</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QPushButton" name="go_back">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>10</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/房子.png</normaloff>:/image/房子.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>390</x>
|
||||
<y>130</y>
|
||||
<width>200</width>
|
||||
<height>90</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>16</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>简介</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>190</x>
|
||||
<y>220</y>
|
||||
<width>200</width>
|
||||
<height>90</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>历史发展</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>90</x>
|
||||
<y>320</y>
|
||||
<width>200</width>
|
||||
<height>90</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>产地血统</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_4">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>190</x>
|
||||
<y>420</y>
|
||||
<width>200</width>
|
||||
<height>90</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>形态特征</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_5">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>400</x>
|
||||
<y>320</y>
|
||||
<width>200</width>
|
||||
<height>90</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>气质特征</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_6">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>590</x>
|
||||
<y>220</y>
|
||||
<width>200</width>
|
||||
<height>90</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>性格特征</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_7">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>620</x>
|
||||
<y>430</y>
|
||||
<width>200</width>
|
||||
<height>90</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>生活习性</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_8">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>390</x>
|
||||
<y>520</y>
|
||||
<width>200</width>
|
||||
<height>90</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>饮食禁忌</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_9">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>690</x>
|
||||
<y>320</y>
|
||||
<width>200</width>
|
||||
<height>90</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>12</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>适养人群</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="resource.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
@ -1,37 +0,0 @@
|
||||
#include "puppet_cat_content.h"
|
||||
#include "ui_puppet_cat_content.h"
|
||||
#include "puppet_cat.h"
|
||||
Puppet_cat_content::Puppet_cat_content(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::Puppet_cat_content)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
}
|
||||
|
||||
Puppet_cat_content::~Puppet_cat_content()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void Puppet_cat_content::on_back_clicked()
|
||||
{
|
||||
Puppet_cat *back = new Puppet_cat;
|
||||
back->puppet_cat_set_background();
|
||||
back->show();
|
||||
delete this;
|
||||
}
|
||||
void Puppet_cat_content::set_background()
|
||||
{
|
||||
this->setWindowTitle("阅览界面-布偶猫");
|
||||
// ui->label->setStyleSheet("background-color:red");//背景色
|
||||
|
||||
this->setMinimumSize(1280,720);
|
||||
this->setMaximumSize(1280,720);
|
||||
|
||||
this->setAutoFillBackground(true);
|
||||
QPalette palette;
|
||||
QPixmap pixmap = QPixmap(":/image/背景_book.png").scaled(this->size());
|
||||
palette.setBrush(QPalette::Window, QBrush(pixmap));
|
||||
this->setPalette(palette);
|
||||
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
#ifndef PUPPET_CAT_CONTENT_H
|
||||
#define PUPPET_CAT_CONTENT_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class Puppet_cat_content;
|
||||
}
|
||||
|
||||
class Puppet_cat_content : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Puppet_cat_content(QWidget *parent = 0);
|
||||
~Puppet_cat_content();
|
||||
Ui::Puppet_cat_content *ui;
|
||||
void set_background();
|
||||
private slots:
|
||||
void on_back_clicked();
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif // PUPPET_CAT_CONTENT_H
|
@ -1,54 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Puppet_cat_content</class>
|
||||
<widget class="QWidget" name="Puppet_cat_content">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1280</width>
|
||||
<height>720</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QPushButton" name="back">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>20</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/房子.png</normaloff>:/image/房子.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QTextBrowser" name="textBrowser">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>80</x>
|
||||
<y>140</y>
|
||||
<width>1100</width>
|
||||
<height>441</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="resource.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
@ -1,38 +0,0 @@
|
||||
#include "rabbit.h"
|
||||
#include "ui_rabbit.h"
|
||||
#include "book.h"
|
||||
Rabbit::Rabbit(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::Rabbit)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
}
|
||||
|
||||
Rabbit::~Rabbit()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void Rabbit::rabbit_set_background()
|
||||
{
|
||||
this->setWindowTitle("阅览界面");
|
||||
// ui->label->setStyleSheet("background-color:red");//背景色
|
||||
|
||||
this->setMinimumSize(1280,720);
|
||||
this->setMaximumSize(1280,720);
|
||||
|
||||
this->setAutoFillBackground(true);
|
||||
QPalette palette;
|
||||
QPixmap pixmap = QPixmap(":/image/背景_book.png").scaled(this->size());
|
||||
palette.setBrush(QPalette::Window, QBrush(pixmap));
|
||||
this->setPalette(palette);
|
||||
|
||||
}
|
||||
|
||||
void Rabbit::on_go_back_clicked()
|
||||
{
|
||||
Book* to_book1 = new Book;
|
||||
to_book1->book_set_background();
|
||||
to_book1->show();
|
||||
delete this;
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
#ifndef RABBIT_H
|
||||
#define RABBIT_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class Rabbit;
|
||||
}
|
||||
|
||||
class Rabbit : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Rabbit(QWidget *parent = 0);
|
||||
~Rabbit();
|
||||
void rabbit_set_background();
|
||||
|
||||
private slots:
|
||||
void on_go_back_clicked();
|
||||
|
||||
private:
|
||||
Ui::Rabbit *ui;
|
||||
};
|
||||
|
||||
#endif // RABBIT_H
|
@ -1,90 +0,0 @@
|
||||
#ifndef RECOMMEND_H
|
||||
#define RECOMMEND_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class recommend;
|
||||
}
|
||||
|
||||
class recommend : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit recommend(QWidget *parent = 0);
|
||||
~recommend();
|
||||
void recommend_set_background();
|
||||
|
||||
private slots:
|
||||
void on_commandLinkButton_clicked();
|
||||
|
||||
void on_RandomRecommend_clicked();
|
||||
|
||||
void on_change_page_clicked();
|
||||
|
||||
void on_last_page_clicked();
|
||||
void q1_A();
|
||||
void q1_B();
|
||||
void q2_A();
|
||||
void q2_B();
|
||||
void q3_A();
|
||||
void q3_B();
|
||||
void q4_A();
|
||||
void q4_B();
|
||||
void q5_A();
|
||||
void q5_B();
|
||||
void q6_A();
|
||||
void q6_B();
|
||||
void q6_C();
|
||||
|
||||
void dog1_A();
|
||||
void dog1_B();
|
||||
void dog1_C();
|
||||
void dog2_A();
|
||||
void dog2_B();
|
||||
void dog3_A();
|
||||
void dog3_B();
|
||||
void dog4_A();
|
||||
void dog4_B();
|
||||
void dog5_A();
|
||||
void dog5_B();
|
||||
void dog6_A();
|
||||
void dog6_B();
|
||||
void dog7_A();
|
||||
void dog7_B();
|
||||
void dog8_A();
|
||||
void dog8_B();
|
||||
void dog9_A();
|
||||
void dog9_B();
|
||||
void dog10_A();
|
||||
void dog10_B();
|
||||
void dog11_A();
|
||||
void dog11_B();
|
||||
|
||||
void cat1_A();
|
||||
void cat1_B();
|
||||
void cat1_C();
|
||||
void cat2_A();
|
||||
void cat2_B();
|
||||
void cat3_A();
|
||||
void cat3_B();
|
||||
void cat4_A();
|
||||
void cat4_B();
|
||||
void cat5_A();
|
||||
void cat5_B();
|
||||
void cat6_A();
|
||||
void cat6_B();
|
||||
void cat7_A();
|
||||
void cat7_B();
|
||||
void cat8_A();
|
||||
void cat8_B();
|
||||
void cat9_A();
|
||||
void cat9_B();
|
||||
void cat10_A();
|
||||
void cat10_B();
|
||||
private:
|
||||
Ui::recommend *ui;
|
||||
};
|
||||
|
||||
#endif // RECOMMEND_H
|
File diff suppressed because it is too large
Load Diff
@ -1,122 +0,0 @@
|
||||
#include "reg.h"
|
||||
#include "ui_reg.h"
|
||||
#include "login.h"
|
||||
#include<QDebug>
|
||||
#include<iostream>
|
||||
#include<QString>
|
||||
#include<QDateTime>
|
||||
#include "data_base.h"
|
||||
#include <QMessageBox>
|
||||
|
||||
//生成一个固定长度的随机字符串
|
||||
QString getRandomString(int length)
|
||||
{
|
||||
qsrand(QDateTime::currentMSecsSinceEpoch());//为随机值设定一个seed
|
||||
|
||||
const char chrs[] = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
|
||||
int chrs_size = sizeof(chrs);
|
||||
|
||||
char* ch = new char[length + 1];
|
||||
memset(ch, 0, length + 1);
|
||||
int randomx = 0;
|
||||
for (int i = 0; i < length; ++i)
|
||||
{
|
||||
randomx= rand() % (chrs_size - 1);
|
||||
ch[i] = chrs[randomx];
|
||||
}
|
||||
|
||||
QString ret(ch);
|
||||
delete[] ch;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reg::Reg(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::Reg)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
ui->send_mail->setStyleSheet("background-color: rgb(255, 248, 27);");
|
||||
|
||||
ui->username->setPlaceholderText("请输入用户名");
|
||||
ui->password->setPlaceholderText("请输入密码");
|
||||
ui->mail->setPlaceholderText("请输入邮箱");
|
||||
ui->check_sum->setPlaceholderText("请输入验证码");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reg::~Reg()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void Reg::on_to_log_clicked()
|
||||
{
|
||||
login *new_log = new login;
|
||||
new_log->login_set_background();
|
||||
new_log->show();
|
||||
delete this;
|
||||
}
|
||||
void Reg::register_set_background()
|
||||
{
|
||||
this->setWindowTitle("注册界面");
|
||||
// ui->label->setStyleSheet("background-color:red");//背景色
|
||||
|
||||
this->setMinimumSize(1280,720);
|
||||
this->setMaximumSize(1280,720);
|
||||
|
||||
this->setAutoFillBackground(true);
|
||||
QPalette palette;
|
||||
QPixmap pixmap = QPixmap(":/image/reg_bacground.png").scaled(this->size());
|
||||
palette.setBrush(QPalette::Window, QBrush(pixmap));
|
||||
this->setPalette(palette);
|
||||
}
|
||||
|
||||
QString send_check_sum;
|
||||
void Reg::on_send_mail_clicked()
|
||||
{
|
||||
send_check_sum = getRandomString(6);
|
||||
|
||||
}
|
||||
|
||||
void Reg::on_register_now_clicked()
|
||||
{
|
||||
QSqlQuery register_to_database;
|
||||
QString user_name = ui->username->text();
|
||||
QString password = ui->password->text();
|
||||
qDebug() << user_name;
|
||||
qDebug() << password;
|
||||
|
||||
QString s = QString("SELECT * FROM USER where user_name='%1' ").arg(user_name);
|
||||
register_to_database.exec(s);
|
||||
|
||||
int num=0;
|
||||
while(register_to_database.next())
|
||||
{
|
||||
num++;
|
||||
}
|
||||
if(num!=0)
|
||||
{
|
||||
QMessageBox::warning(this,"","用户名已被注册!");
|
||||
qDebug() << "用户名已被注册";
|
||||
}
|
||||
else{
|
||||
qDebug() << "注册成功";
|
||||
register_to_database.prepare("INSERT INTO USER (user_name,password) "
|
||||
"VALUES (?,?)");
|
||||
register_to_database.addBindValue(user_name);
|
||||
register_to_database.addBindValue(password);
|
||||
register_to_database.exec();
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1,32 +0,0 @@
|
||||
#ifndef REG_H
|
||||
#define REG_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class Reg;
|
||||
}
|
||||
|
||||
class Reg : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Reg(QWidget *parent = 0);
|
||||
~Reg();
|
||||
void register_set_background();
|
||||
|
||||
private slots:
|
||||
void on_to_log_clicked();
|
||||
|
||||
void on_send_mail_clicked();
|
||||
|
||||
void on_register_now_clicked();
|
||||
|
||||
|
||||
|
||||
private:
|
||||
Ui::Reg *ui;
|
||||
};
|
||||
|
||||
#endif // REG_H
|
@ -1,39 +0,0 @@
|
||||
#include "search.h"
|
||||
#include "ui_search.h"
|
||||
#include "home.h"
|
||||
search::search(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::search)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
ui->search_button->setStyleSheet("QPushButton{border-radius:5px;background:rgb(255,131,7);color:black;}");
|
||||
}
|
||||
|
||||
search::~search()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void search::on_search_to_home_clicked()
|
||||
{
|
||||
Home* search_to_home = new Home;
|
||||
search_to_home->set_background();
|
||||
search_to_home->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void search::search_set_background()
|
||||
{
|
||||
this->setWindowTitle("搜索功能");
|
||||
// ui->label->setStyleSheet("background-color:red");//背景色
|
||||
|
||||
this->setMinimumSize(1280,720);
|
||||
this->setMaximumSize(1280,720);
|
||||
|
||||
this->setAutoFillBackground(true);
|
||||
QPalette palette;
|
||||
QPixmap pixmap = QPixmap(":/image/带图案的背景.png").scaled(this->size());
|
||||
palette.setBrush(QPalette::Window, QBrush(pixmap));
|
||||
this->setPalette(palette);
|
||||
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
#ifndef SEARCH_H
|
||||
#define SEARCH_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class search;
|
||||
}
|
||||
|
||||
class search : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit search(QWidget *parent = 0);
|
||||
~search();
|
||||
void search_set_background();
|
||||
|
||||
private slots:
|
||||
void on_search_to_home_clicked();
|
||||
|
||||
private:
|
||||
Ui::search *ui;
|
||||
};
|
||||
|
||||
#endif // SEARCH_H
|
@ -1,80 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>search</class>
|
||||
<widget class="QWidget" name="search">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1080</width>
|
||||
<height>720</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QCommandLinkButton" name="search_to_home">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>10</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<pointsize>18</pointsize>
|
||||
<italic>true</italic>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/房子.png</normaloff>:/image/房子.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QTextEdit" name="textEdit">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>160</x>
|
||||
<y>70</y>
|
||||
<width>671</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="html">
|
||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;">
|
||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="search_button">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>830</x>
|
||||
<y>70</y>
|
||||
<width>151</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Search!</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="resource.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
@ -1,39 +0,0 @@
|
||||
#include "silver_cat_content.h"
|
||||
#include "ui_silver_cat_content.h"
|
||||
#include "silver_gradient.h"
|
||||
Silver_cat_content::Silver_cat_content(QWidget *parent) :
|
||||
QWidget(parent),
|
||||
ui(new Ui::Silver_cat_content)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
}
|
||||
|
||||
Silver_cat_content::~Silver_cat_content()
|
||||
{
|
||||
delete ui;
|
||||
}
|
||||
|
||||
void Silver_cat_content::on_back_clicked()
|
||||
{
|
||||
Silver_gradient *back = new Silver_gradient;
|
||||
back->silver_book_set_background();
|
||||
back->show();
|
||||
delete this;
|
||||
}
|
||||
|
||||
void Silver_cat_content::set_background()
|
||||
{
|
||||
this->setWindowTitle("银渐层");
|
||||
// ui->label->setStyleSheet("background-color:red");//背景色
|
||||
|
||||
this->setMinimumSize(1280,720);
|
||||
this->setMaximumSize(1280,720);
|
||||
|
||||
this->setAutoFillBackground(true);
|
||||
QPalette palette;
|
||||
QPixmap pixmap = QPixmap(":/image/背景_book.png").scaled(this->size());
|
||||
palette.setBrush(QPalette::Window, QBrush(pixmap));
|
||||
this->setPalette(palette);
|
||||
|
||||
}
|
||||
|
@ -1,26 +0,0 @@
|
||||
#ifndef SILVER_CAT_CONTENT_H
|
||||
#define SILVER_CAT_CONTENT_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class Silver_cat_content;
|
||||
}
|
||||
|
||||
class Silver_cat_content : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Silver_cat_content(QWidget *parent = 0);
|
||||
~Silver_cat_content();
|
||||
void set_background();
|
||||
Ui::Silver_cat_content *ui;
|
||||
|
||||
private slots:
|
||||
void on_back_clicked();
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif // SILVER_CAT_CONTENT_H
|
@ -1,54 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Silver_cat_content</class>
|
||||
<widget class="QWidget" name="Silver_cat_content">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1280</width>
|
||||
<height>720</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QPushButton" name="back">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>10</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/房子.png</normaloff>:/image/房子.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QTextBrowser" name="textBrowser">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>80</x>
|
||||
<y>140</y>
|
||||
<width>1100</width>
|
||||
<height>441</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="resource.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
@ -1,29 +0,0 @@
|
||||
#ifndef SILVER_GRADIENT_H
|
||||
#define SILVER_GRADIENT_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class Silver_gradient;
|
||||
}
|
||||
|
||||
class Silver_gradient : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Silver_gradient(QWidget *parent = 0);
|
||||
~Silver_gradient();
|
||||
void silver_book_set_background();
|
||||
|
||||
private slots:
|
||||
void on_back_clicked();
|
||||
void button1();
|
||||
void button2();
|
||||
void button3();
|
||||
|
||||
private:
|
||||
Ui::Silver_gradient *ui;
|
||||
};
|
||||
|
||||
#endif // SILVER_GRADIENT_H
|
@ -1,101 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>Silver_gradient</class>
|
||||
<widget class="QWidget" name="Silver_gradient">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>1280</width>
|
||||
<height>720</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>Form</string>
|
||||
</property>
|
||||
<widget class="QPushButton" name="back">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>20</x>
|
||||
<y>20</y>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string/>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="resource.qrc">
|
||||
<normaloff>:/image/房子.png</normaloff>:/image/房子.png</iconset>
|
||||
</property>
|
||||
<property name="iconSize">
|
||||
<size>
|
||||
<width>71</width>
|
||||
<height>71</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>280</x>
|
||||
<y>170</y>
|
||||
<width>161</width>
|
||||
<height>101</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>简介</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_2">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>410</x>
|
||||
<y>350</y>
|
||||
<width>151</width>
|
||||
<height>51</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>特点介绍</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QPushButton" name="pushButton_3">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>550</x>
|
||||
<y>170</y>
|
||||
<width>151</width>
|
||||
<height>101</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>20</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>主要品类</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="resource.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
@ -1,119 +0,0 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'puppet_cat.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 5.9.0
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_PUPPET_CAT_H
|
||||
#define UI_PUPPET_CAT_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QAction>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QButtonGroup>
|
||||
#include <QtWidgets/QHeaderView>
|
||||
#include <QtWidgets/QPushButton>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_Puppet_cat
|
||||
{
|
||||
public:
|
||||
QPushButton *go_back;
|
||||
QPushButton *pushButton;
|
||||
QPushButton *pushButton_2;
|
||||
QPushButton *pushButton_3;
|
||||
QPushButton *pushButton_4;
|
||||
QPushButton *pushButton_5;
|
||||
QPushButton *pushButton_6;
|
||||
QPushButton *pushButton_7;
|
||||
QPushButton *pushButton_8;
|
||||
QPushButton *pushButton_9;
|
||||
|
||||
void setupUi(QWidget *Puppet_cat)
|
||||
{
|
||||
if (Puppet_cat->objectName().isEmpty())
|
||||
Puppet_cat->setObjectName(QStringLiteral("Puppet_cat"));
|
||||
Puppet_cat->resize(1280, 720);
|
||||
go_back = new QPushButton(Puppet_cat);
|
||||
go_back->setObjectName(QStringLiteral("go_back"));
|
||||
go_back->setGeometry(QRect(20, 10, 71, 71));
|
||||
QIcon icon;
|
||||
icon.addFile(QString::fromUtf8(":/image/\346\210\277\345\255\220.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
go_back->setIcon(icon);
|
||||
go_back->setIconSize(QSize(71, 71));
|
||||
pushButton = new QPushButton(Puppet_cat);
|
||||
pushButton->setObjectName(QStringLiteral("pushButton"));
|
||||
pushButton->setGeometry(QRect(390, 130, 200, 90));
|
||||
QFont font;
|
||||
font.setFamily(QString::fromUtf8("\346\245\267\344\275\223"));
|
||||
font.setPointSize(16);
|
||||
pushButton->setFont(font);
|
||||
pushButton_2 = new QPushButton(Puppet_cat);
|
||||
pushButton_2->setObjectName(QStringLiteral("pushButton_2"));
|
||||
pushButton_2->setGeometry(QRect(190, 220, 200, 90));
|
||||
QFont font1;
|
||||
font1.setFamily(QString::fromUtf8("\346\245\267\344\275\223"));
|
||||
font1.setPointSize(12);
|
||||
pushButton_2->setFont(font1);
|
||||
pushButton_3 = new QPushButton(Puppet_cat);
|
||||
pushButton_3->setObjectName(QStringLiteral("pushButton_3"));
|
||||
pushButton_3->setGeometry(QRect(90, 320, 200, 90));
|
||||
pushButton_3->setFont(font1);
|
||||
pushButton_4 = new QPushButton(Puppet_cat);
|
||||
pushButton_4->setObjectName(QStringLiteral("pushButton_4"));
|
||||
pushButton_4->setGeometry(QRect(190, 420, 200, 90));
|
||||
pushButton_4->setFont(font1);
|
||||
pushButton_5 = new QPushButton(Puppet_cat);
|
||||
pushButton_5->setObjectName(QStringLiteral("pushButton_5"));
|
||||
pushButton_5->setGeometry(QRect(400, 320, 200, 90));
|
||||
pushButton_5->setFont(font1);
|
||||
pushButton_6 = new QPushButton(Puppet_cat);
|
||||
pushButton_6->setObjectName(QStringLiteral("pushButton_6"));
|
||||
pushButton_6->setGeometry(QRect(590, 220, 200, 90));
|
||||
pushButton_6->setFont(font1);
|
||||
pushButton_7 = new QPushButton(Puppet_cat);
|
||||
pushButton_7->setObjectName(QStringLiteral("pushButton_7"));
|
||||
pushButton_7->setGeometry(QRect(620, 430, 200, 90));
|
||||
pushButton_7->setFont(font1);
|
||||
pushButton_8 = new QPushButton(Puppet_cat);
|
||||
pushButton_8->setObjectName(QStringLiteral("pushButton_8"));
|
||||
pushButton_8->setGeometry(QRect(390, 520, 200, 90));
|
||||
pushButton_8->setFont(font1);
|
||||
pushButton_9 = new QPushButton(Puppet_cat);
|
||||
pushButton_9->setObjectName(QStringLiteral("pushButton_9"));
|
||||
pushButton_9->setGeometry(QRect(690, 320, 200, 90));
|
||||
pushButton_9->setFont(font1);
|
||||
|
||||
retranslateUi(Puppet_cat);
|
||||
|
||||
QMetaObject::connectSlotsByName(Puppet_cat);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QWidget *Puppet_cat)
|
||||
{
|
||||
Puppet_cat->setWindowTitle(QApplication::translate("Puppet_cat", "Form", Q_NULLPTR));
|
||||
go_back->setText(QString());
|
||||
pushButton->setText(QApplication::translate("Puppet_cat", "\347\256\200\344\273\213", Q_NULLPTR));
|
||||
pushButton_2->setText(QApplication::translate("Puppet_cat", "\345\216\206\345\217\262\345\217\221\345\261\225", Q_NULLPTR));
|
||||
pushButton_3->setText(QApplication::translate("Puppet_cat", "\344\272\247\345\234\260\350\241\200\347\273\237", Q_NULLPTR));
|
||||
pushButton_4->setText(QApplication::translate("Puppet_cat", "\345\275\242\346\200\201\347\211\271\345\276\201", Q_NULLPTR));
|
||||
pushButton_5->setText(QApplication::translate("Puppet_cat", "\346\260\224\350\264\250\347\211\271\345\276\201", Q_NULLPTR));
|
||||
pushButton_6->setText(QApplication::translate("Puppet_cat", "\346\200\247\346\240\274\347\211\271\345\276\201", Q_NULLPTR));
|
||||
pushButton_7->setText(QApplication::translate("Puppet_cat", "\347\224\237\346\264\273\344\271\240\346\200\247", Q_NULLPTR));
|
||||
pushButton_8->setText(QApplication::translate("Puppet_cat", "\351\245\256\351\243\237\347\246\201\345\277\214", Q_NULLPTR));
|
||||
pushButton_9->setText(QApplication::translate("Puppet_cat", "\351\200\202\345\205\273\344\272\272\347\276\244", Q_NULLPTR));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class Puppet_cat: public Ui_Puppet_cat {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_PUPPET_CAT_H
|
@ -1,64 +0,0 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'puppet_cat_content.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 5.9.0
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_PUPPET_CAT_CONTENT_H
|
||||
#define UI_PUPPET_CAT_CONTENT_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QAction>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QButtonGroup>
|
||||
#include <QtWidgets/QHeaderView>
|
||||
#include <QtWidgets/QPushButton>
|
||||
#include <QtWidgets/QTextBrowser>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_Puppet_cat_content
|
||||
{
|
||||
public:
|
||||
QPushButton *back;
|
||||
QTextBrowser *textBrowser;
|
||||
|
||||
void setupUi(QWidget *Puppet_cat_content)
|
||||
{
|
||||
if (Puppet_cat_content->objectName().isEmpty())
|
||||
Puppet_cat_content->setObjectName(QStringLiteral("Puppet_cat_content"));
|
||||
Puppet_cat_content->resize(1280, 720);
|
||||
back = new QPushButton(Puppet_cat_content);
|
||||
back->setObjectName(QStringLiteral("back"));
|
||||
back->setGeometry(QRect(10, 20, 71, 71));
|
||||
QIcon icon;
|
||||
icon.addFile(QString::fromUtf8(":/image/\346\210\277\345\255\220.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
back->setIcon(icon);
|
||||
back->setIconSize(QSize(71, 71));
|
||||
textBrowser = new QTextBrowser(Puppet_cat_content);
|
||||
textBrowser->setObjectName(QStringLiteral("textBrowser"));
|
||||
textBrowser->setGeometry(QRect(80, 140, 1100, 441));
|
||||
|
||||
retranslateUi(Puppet_cat_content);
|
||||
|
||||
QMetaObject::connectSlotsByName(Puppet_cat_content);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QWidget *Puppet_cat_content)
|
||||
{
|
||||
Puppet_cat_content->setWindowTitle(QApplication::translate("Puppet_cat_content", "Form", Q_NULLPTR));
|
||||
back->setText(QString());
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class Puppet_cat_content: public Ui_Puppet_cat_content {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_PUPPET_CAT_CONTENT_H
|
@ -1,861 +0,0 @@
|
||||
/********************************************************************************
|
||||
** Form generated from reading UI file 'recommend.ui'
|
||||
**
|
||||
** Created by: Qt User Interface Compiler version 5.9.9
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost when recompiling UI file!
|
||||
********************************************************************************/
|
||||
|
||||
#ifndef UI_RECOMMEND_H
|
||||
#define UI_RECOMMEND_H
|
||||
|
||||
#include <QtCore/QVariant>
|
||||
#include <QtWidgets/QAction>
|
||||
#include <QtWidgets/QApplication>
|
||||
#include <QtWidgets/QButtonGroup>
|
||||
#include <QtWidgets/QCommandLinkButton>
|
||||
#include <QtWidgets/QHeaderView>
|
||||
#include <QtWidgets/QLabel>
|
||||
#include <QtWidgets/QPushButton>
|
||||
#include <QtWidgets/QRadioButton>
|
||||
#include <QtWidgets/QStackedWidget>
|
||||
#include <QtWidgets/QWidget>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class Ui_recommend
|
||||
{
|
||||
public:
|
||||
QCommandLinkButton *commandLinkButton;
|
||||
QStackedWidget *stackWidget;
|
||||
QWidget *start_page;
|
||||
QLabel *label_3;
|
||||
QLabel *label_35;
|
||||
QLabel *label_36;
|
||||
QLabel *label_37;
|
||||
QPushButton *RandomRecommend;
|
||||
QWidget *page;
|
||||
QLabel *label;
|
||||
QLabel *q1;
|
||||
QRadioButton *page1_A;
|
||||
QRadioButton *page1_B;
|
||||
QWidget *page_2;
|
||||
QLabel *q2;
|
||||
QLabel *label_6;
|
||||
QRadioButton *page2_A;
|
||||
QRadioButton *page2_B;
|
||||
QWidget *page_3;
|
||||
QLabel *label_2;
|
||||
QLabel *q3;
|
||||
QRadioButton *page3_A;
|
||||
QRadioButton *page3_B;
|
||||
QWidget *page_4;
|
||||
QLabel *label_4;
|
||||
QLabel *q4;
|
||||
QRadioButton *page4_A;
|
||||
QRadioButton *page4_B;
|
||||
QWidget *page_5;
|
||||
QLabel *label_5;
|
||||
QLabel *q5;
|
||||
QRadioButton *page5_A;
|
||||
QRadioButton *page5_B;
|
||||
QWidget *page_6;
|
||||
QLabel *label_9;
|
||||
QLabel *q6;
|
||||
QRadioButton *page6_A;
|
||||
QRadioButton *page6_B;
|
||||
QRadioButton *page6_C;
|
||||
QWidget *dog_start;
|
||||
QLabel *label_10;
|
||||
QWidget *dog1;
|
||||
QLabel *label_12;
|
||||
QRadioButton *dog1_A;
|
||||
QRadioButton *dog1_B;
|
||||
QRadioButton *dog1_C;
|
||||
QWidget *dog2;
|
||||
QLabel *label_13;
|
||||
QRadioButton *dog2_A;
|
||||
QRadioButton *dog2_B;
|
||||
QWidget *dog3;
|
||||
QLabel *label_14;
|
||||
QRadioButton *dog3_A;
|
||||
QRadioButton *dog3_B;
|
||||
QWidget *dog4;
|
||||
QLabel *label_15;
|
||||
QRadioButton *dog4_A;
|
||||
QRadioButton *dog4_B;
|
||||
QWidget *dog5;
|
||||
QLabel *label_16;
|
||||
QRadioButton *dog5_A;
|
||||
QRadioButton *dog5_B;
|
||||
QWidget *dog6;
|
||||
QLabel *label_17;
|
||||
QRadioButton *dog6_A;
|
||||
QRadioButton *dog6_B;
|
||||
QWidget *dog7;
|
||||
QLabel *label_18;
|
||||
QRadioButton *dog7_A;
|
||||
QRadioButton *dog7_B;
|
||||
QWidget *dog8;
|
||||
QLabel *label_19;
|
||||
QRadioButton *dog8_A;
|
||||
QRadioButton *dog8_B;
|
||||
QWidget *dog9;
|
||||
QLabel *label_20;
|
||||
QRadioButton *dog9_A;
|
||||
QRadioButton *dog9_B;
|
||||
QWidget *dog10;
|
||||
QLabel *label_21;
|
||||
QRadioButton *dog10_A;
|
||||
QRadioButton *dog10_B;
|
||||
QWidget *dog11;
|
||||
QLabel *label_22;
|
||||
QRadioButton *dog11_A;
|
||||
QRadioButton *dog11_B;
|
||||
QWidget *cat_start;
|
||||
QLabel *label_11;
|
||||
QWidget *cat1;
|
||||
QLabel *label_23;
|
||||
QRadioButton *cat1_A;
|
||||
QRadioButton *cat1_B;
|
||||
QRadioButton *cat1_C;
|
||||
QWidget *cat2;
|
||||
QLabel *label_24;
|
||||
QRadioButton *cat2_A;
|
||||
QRadioButton *cat2_B;
|
||||
QWidget *cat3;
|
||||
QLabel *label_25;
|
||||
QRadioButton *cat3_A;
|
||||
QRadioButton *cat3_B;
|
||||
QWidget *cat4;
|
||||
QLabel *label_26;
|
||||
QRadioButton *cat4_A;
|
||||
QRadioButton *cat4_B;
|
||||
QWidget *cat5;
|
||||
QLabel *label_27;
|
||||
QRadioButton *cat5_A;
|
||||
QRadioButton *cat5_B;
|
||||
QWidget *cat6;
|
||||
QLabel *label_28;
|
||||
QRadioButton *cat6_A;
|
||||
QRadioButton *cat6_B;
|
||||
QWidget *cat7;
|
||||
QLabel *label_29;
|
||||
QRadioButton *cat7_A;
|
||||
QRadioButton *cat7_B;
|
||||
QWidget *cat8;
|
||||
QLabel *label_30;
|
||||
QRadioButton *cat8_A;
|
||||
QRadioButton *cat8_B;
|
||||
QWidget *cat9;
|
||||
QLabel *label_31;
|
||||
QRadioButton *cat9_A;
|
||||
QRadioButton *cat9_B;
|
||||
QWidget *cat10;
|
||||
QLabel *label_32;
|
||||
QRadioButton *cat10_A;
|
||||
QRadioButton *cat10_B;
|
||||
QWidget *rabbit_start;
|
||||
QLabel *label_33;
|
||||
QWidget *turtle_start;
|
||||
QLabel *label_34;
|
||||
QWidget *test_result_page;
|
||||
QLabel *label_7;
|
||||
QLabel *test_result;
|
||||
QLabel *label_38;
|
||||
QWidget *end_page;
|
||||
QLabel *label_8;
|
||||
QPushButton *change_page;
|
||||
QPushButton *last_page;
|
||||
|
||||
void setupUi(QWidget *recommend)
|
||||
{
|
||||
if (recommend->objectName().isEmpty())
|
||||
recommend->setObjectName(QStringLiteral("recommend"));
|
||||
recommend->resize(1480, 880);
|
||||
QFont font;
|
||||
font.setFamily(QStringLiteral("Arial"));
|
||||
recommend->setFont(font);
|
||||
commandLinkButton = new QCommandLinkButton(recommend);
|
||||
commandLinkButton->setObjectName(QStringLiteral("commandLinkButton"));
|
||||
commandLinkButton->setGeometry(QRect(0, 10, 61, 61));
|
||||
QIcon icon;
|
||||
icon.addFile(QString::fromUtf8(":/image/\346\210\277\345\255\220.png"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
commandLinkButton->setIcon(icon);
|
||||
commandLinkButton->setIconSize(QSize(40, 40));
|
||||
stackWidget = new QStackedWidget(recommend);
|
||||
stackWidget->setObjectName(QStringLiteral("stackWidget"));
|
||||
stackWidget->setGeometry(QRect(30, 10, 1391, 751));
|
||||
QFont font1;
|
||||
font1.setFamily(QString::fromUtf8("\351\273\221\344\275\223"));
|
||||
font1.setPointSize(20);
|
||||
stackWidget->setFont(font1);
|
||||
start_page = new QWidget();
|
||||
start_page->setObjectName(QStringLiteral("start_page"));
|
||||
label_3 = new QLabel(start_page);
|
||||
label_3->setObjectName(QStringLiteral("label_3"));
|
||||
label_3->setGeometry(QRect(380, 0, 821, 131));
|
||||
QFont font2;
|
||||
font2.setFamily(QString::fromUtf8("\346\245\267\344\275\223"));
|
||||
font2.setPointSize(50);
|
||||
label_3->setFont(font2);
|
||||
label_35 = new QLabel(start_page);
|
||||
label_35->setObjectName(QStringLiteral("label_35"));
|
||||
label_35->setGeometry(QRect(430, 200, 381, 81));
|
||||
label_35->setFont(font1);
|
||||
label_36 = new QLabel(start_page);
|
||||
label_36->setObjectName(QStringLiteral("label_36"));
|
||||
label_36->setGeometry(QRect(470, 280, 741, 81));
|
||||
label_37 = new QLabel(start_page);
|
||||
label_37->setObjectName(QStringLiteral("label_37"));
|
||||
label_37->setGeometry(QRect(130, 360, 1021, 81));
|
||||
RandomRecommend = new QPushButton(start_page);
|
||||
RandomRecommend->setObjectName(QStringLiteral("RandomRecommend"));
|
||||
RandomRecommend->setEnabled(true);
|
||||
RandomRecommend->setGeometry(QRect(540, 560, 261, 111));
|
||||
stackWidget->addWidget(start_page);
|
||||
page = new QWidget();
|
||||
page->setObjectName(QStringLiteral("page"));
|
||||
page->setEnabled(true);
|
||||
label = new QLabel(page);
|
||||
label->setObjectName(QStringLiteral("label"));
|
||||
label->setGeometry(QRect(40, 30, 271, 51));
|
||||
QFont font3;
|
||||
font3.setFamily(QStringLiteral("Impact"));
|
||||
font3.setPointSize(30);
|
||||
label->setFont(font3);
|
||||
q1 = new QLabel(page);
|
||||
q1->setObjectName(QStringLiteral("q1"));
|
||||
q1->setGeometry(QRect(70, 60, 1311, 271));
|
||||
QFont font4;
|
||||
font4.setPointSize(20);
|
||||
q1->setFont(font4);
|
||||
page1_A = new QRadioButton(page);
|
||||
page1_A->setObjectName(QStringLiteral("page1_A"));
|
||||
page1_A->setGeometry(QRect(280, 300, 231, 51));
|
||||
QFont font5;
|
||||
font5.setFamily(QString::fromUtf8("\346\245\267\344\275\223"));
|
||||
font5.setPointSize(20);
|
||||
page1_A->setFont(font5);
|
||||
page1_B = new QRadioButton(page);
|
||||
page1_B->setObjectName(QStringLiteral("page1_B"));
|
||||
page1_B->setGeometry(QRect(280, 400, 171, 41));
|
||||
page1_B->setFont(font5);
|
||||
stackWidget->addWidget(page);
|
||||
page_2 = new QWidget();
|
||||
page_2->setObjectName(QStringLiteral("page_2"));
|
||||
q2 = new QLabel(page_2);
|
||||
q2->setObjectName(QStringLiteral("q2"));
|
||||
q2->setGeometry(QRect(40, 20, 331, 51));
|
||||
q2->setFont(font3);
|
||||
label_6 = new QLabel(page_2);
|
||||
label_6->setObjectName(QStringLiteral("label_6"));
|
||||
label_6->setGeometry(QRect(70, 80, 1291, 171));
|
||||
QFont font6;
|
||||
font6.setPointSize(14);
|
||||
label_6->setFont(font6);
|
||||
page2_A = new QRadioButton(page_2);
|
||||
page2_A->setObjectName(QStringLiteral("page2_A"));
|
||||
page2_A->setGeometry(QRect(140, 260, 361, 101));
|
||||
page2_A->setFont(font5);
|
||||
page2_B = new QRadioButton(page_2);
|
||||
page2_B->setObjectName(QStringLiteral("page2_B"));
|
||||
page2_B->setGeometry(QRect(140, 340, 351, 131));
|
||||
page2_B->setFont(font5);
|
||||
stackWidget->addWidget(page_2);
|
||||
page_3 = new QWidget();
|
||||
page_3->setObjectName(QStringLiteral("page_3"));
|
||||
label_2 = new QLabel(page_3);
|
||||
label_2->setObjectName(QStringLiteral("label_2"));
|
||||
label_2->setGeometry(QRect(80, 30, 501, 91));
|
||||
label_2->setFont(font3);
|
||||
q3 = new QLabel(page_3);
|
||||
q3->setObjectName(QStringLiteral("q3"));
|
||||
q3->setGeometry(QRect(90, 100, 1291, 191));
|
||||
QFont font7;
|
||||
font7.setPointSize(12);
|
||||
q3->setFont(font7);
|
||||
page3_A = new QRadioButton(page_3);
|
||||
page3_A->setObjectName(QStringLiteral("page3_A"));
|
||||
page3_A->setGeometry(QRect(190, 310, 361, 61));
|
||||
page3_A->setFont(font5);
|
||||
page3_B = new QRadioButton(page_3);
|
||||
page3_B->setObjectName(QStringLiteral("page3_B"));
|
||||
page3_B->setGeometry(QRect(190, 370, 371, 81));
|
||||
page3_B->setFont(font5);
|
||||
stackWidget->addWidget(page_3);
|
||||
page_4 = new QWidget();
|
||||
page_4->setObjectName(QStringLiteral("page_4"));
|
||||
label_4 = new QLabel(page_4);
|
||||
label_4->setObjectName(QStringLiteral("label_4"));
|
||||
label_4->setGeometry(QRect(60, 30, 421, 71));
|
||||
label_4->setFont(font3);
|
||||
q4 = new QLabel(page_4);
|
||||
q4->setObjectName(QStringLiteral("q4"));
|
||||
q4->setGeometry(QRect(60, 90, 1281, 291));
|
||||
QFont font8;
|
||||
font8.setPointSize(15);
|
||||
q4->setFont(font8);
|
||||
page4_A = new QRadioButton(page_4);
|
||||
page4_A->setObjectName(QStringLiteral("page4_A"));
|
||||
page4_A->setGeometry(QRect(170, 350, 371, 111));
|
||||
page4_A->setFont(font5);
|
||||
page4_B = new QRadioButton(page_4);
|
||||
page4_B->setObjectName(QStringLiteral("page4_B"));
|
||||
page4_B->setGeometry(QRect(170, 470, 421, 131));
|
||||
page4_B->setFont(font5);
|
||||
stackWidget->addWidget(page_4);
|
||||
page_5 = new QWidget();
|
||||
page_5->setObjectName(QStringLiteral("page_5"));
|
||||
label_5 = new QLabel(page_5);
|
||||
label_5->setObjectName(QStringLiteral("label_5"));
|
||||
label_5->setGeometry(QRect(20, 10, 361, 61));
|
||||
q5 = new QLabel(page_5);
|
||||
q5->setObjectName(QStringLiteral("q5"));
|
||||
q5->setGeometry(QRect(10, 90, 1271, 231));
|
||||
q5->setFont(font8);
|
||||
page5_A = new QRadioButton(page_5);
|
||||
page5_A->setObjectName(QStringLiteral("page5_A"));
|
||||
page5_A->setGeometry(QRect(78, 314, 661, 131));
|
||||
page5_A->setFont(font5);
|
||||
page5_B = new QRadioButton(page_5);
|
||||
page5_B->setObjectName(QStringLiteral("page5_B"));
|
||||
page5_B->setGeometry(QRect(80, 420, 911, 141));
|
||||
page5_B->setFont(font5);
|
||||
stackWidget->addWidget(page_5);
|
||||
page_6 = new QWidget();
|
||||
page_6->setObjectName(QStringLiteral("page_6"));
|
||||
label_9 = new QLabel(page_6);
|
||||
label_9->setObjectName(QStringLiteral("label_9"));
|
||||
label_9->setGeometry(QRect(10, 10, 301, 91));
|
||||
q6 = new QLabel(page_6);
|
||||
q6->setObjectName(QStringLiteral("q6"));
|
||||
q6->setGeometry(QRect(20, 80, 1321, 191));
|
||||
page6_A = new QRadioButton(page_6);
|
||||
page6_A->setObjectName(QStringLiteral("page6_A"));
|
||||
page6_A->setGeometry(QRect(110, 214, 561, 121));
|
||||
page6_A->setFont(font5);
|
||||
page6_B = new QRadioButton(page_6);
|
||||
page6_B->setObjectName(QStringLiteral("page6_B"));
|
||||
page6_B->setGeometry(QRect(110, 320, 491, 121));
|
||||
page6_B->setFont(font5);
|
||||
page6_C = new QRadioButton(page_6);
|
||||
page6_C->setObjectName(QStringLiteral("page6_C"));
|
||||
page6_C->setGeometry(QRect(110, 420, 461, 171));
|
||||
page6_C->setFont(font5);
|
||||
stackWidget->addWidget(page_6);
|
||||
dog_start = new QWidget();
|
||||
dog_start->setObjectName(QStringLiteral("dog_start"));
|
||||
label_10 = new QLabel(dog_start);
|
||||
label_10->setObjectName(QStringLiteral("label_10"));
|
||||
label_10->setGeometry(QRect(-10, 140, 1441, 391));
|
||||
stackWidget->addWidget(dog_start);
|
||||
dog1 = new QWidget();
|
||||
dog1->setObjectName(QStringLiteral("dog1"));
|
||||
label_12 = new QLabel(dog1);
|
||||
label_12->setObjectName(QStringLiteral("label_12"));
|
||||
label_12->setGeometry(QRect(30, 50, 1191, 261));
|
||||
dog1_A = new QRadioButton(dog1);
|
||||
dog1_A->setObjectName(QStringLiteral("dog1_A"));
|
||||
dog1_A->setGeometry(QRect(100, 290, 411, 101));
|
||||
dog1_A->setFont(font5);
|
||||
dog1_B = new QRadioButton(dog1);
|
||||
dog1_B->setObjectName(QStringLiteral("dog1_B"));
|
||||
dog1_B->setGeometry(QRect(100, 370, 381, 101));
|
||||
dog1_B->setFont(font5);
|
||||
dog1_C = new QRadioButton(dog1);
|
||||
dog1_C->setObjectName(QStringLiteral("dog1_C"));
|
||||
dog1_C->setGeometry(QRect(100, 450, 421, 121));
|
||||
dog1_C->setFont(font5);
|
||||
stackWidget->addWidget(dog1);
|
||||
dog2 = new QWidget();
|
||||
dog2->setObjectName(QStringLiteral("dog2"));
|
||||
label_13 = new QLabel(dog2);
|
||||
label_13->setObjectName(QStringLiteral("label_13"));
|
||||
label_13->setGeometry(QRect(20, 30, 1341, 221));
|
||||
dog2_A = new QRadioButton(dog2);
|
||||
dog2_A->setObjectName(QStringLiteral("dog2_A"));
|
||||
dog2_A->setGeometry(QRect(100, 174, 811, 151));
|
||||
dog2_A->setFont(font5);
|
||||
dog2_B = new QRadioButton(dog2);
|
||||
dog2_B->setObjectName(QStringLiteral("dog2_B"));
|
||||
dog2_B->setGeometry(QRect(100, 300, 801, 191));
|
||||
dog2_B->setFont(font5);
|
||||
stackWidget->addWidget(dog2);
|
||||
dog3 = new QWidget();
|
||||
dog3->setObjectName(QStringLiteral("dog3"));
|
||||
label_14 = new QLabel(dog3);
|
||||
label_14->setObjectName(QStringLiteral("label_14"));
|
||||
label_14->setGeometry(QRect(10, 30, 1241, 161));
|
||||
dog3_A = new QRadioButton(dog3);
|
||||
dog3_A->setObjectName(QStringLiteral("dog3_A"));
|
||||
dog3_A->setGeometry(QRect(58, 164, 831, 141));
|
||||
dog3_A->setFont(font5);
|
||||
dog3_B = new QRadioButton(dog3);
|
||||
dog3_B->setObjectName(QStringLiteral("dog3_B"));
|
||||
dog3_B->setGeometry(QRect(60, 270, 531, 131));
|
||||
dog3_B->setFont(font5);
|
||||
stackWidget->addWidget(dog3);
|
||||
dog4 = new QWidget();
|
||||
dog4->setObjectName(QStringLiteral("dog4"));
|
||||
label_15 = new QLabel(dog4);
|
||||
label_15->setObjectName(QStringLiteral("label_15"));
|
||||
label_15->setGeometry(QRect(40, 30, 1361, 191));
|
||||
dog4_A = new QRadioButton(dog4);
|
||||
dog4_A->setObjectName(QStringLiteral("dog4_A"));
|
||||
dog4_A->setGeometry(QRect(60, 170, 621, 161));
|
||||
dog4_A->setFont(font5);
|
||||
dog4_B = new QRadioButton(dog4);
|
||||
dog4_B->setObjectName(QStringLiteral("dog4_B"));
|
||||
dog4_B->setGeometry(QRect(60, 320, 621, 161));
|
||||
dog4_B->setFont(font5);
|
||||
stackWidget->addWidget(dog4);
|
||||
dog5 = new QWidget();
|
||||
dog5->setObjectName(QStringLiteral("dog5"));
|
||||
label_16 = new QLabel(dog5);
|
||||
label_16->setObjectName(QStringLiteral("label_16"));
|
||||
label_16->setGeometry(QRect(30, 20, 1141, 191));
|
||||
dog5_A = new QRadioButton(dog5);
|
||||
dog5_A->setObjectName(QStringLiteral("dog5_A"));
|
||||
dog5_A->setGeometry(QRect(58, 144, 621, 131));
|
||||
dog5_A->setFont(font5);
|
||||
dog5_B = new QRadioButton(dog5);
|
||||
dog5_B->setObjectName(QStringLiteral("dog5_B"));
|
||||
dog5_B->setGeometry(QRect(60, 270, 611, 151));
|
||||
dog5_B->setFont(font5);
|
||||
stackWidget->addWidget(dog5);
|
||||
dog6 = new QWidget();
|
||||
dog6->setObjectName(QStringLiteral("dog6"));
|
||||
label_17 = new QLabel(dog6);
|
||||
label_17->setObjectName(QStringLiteral("label_17"));
|
||||
label_17->setGeometry(QRect(20, 20, 1321, 261));
|
||||
dog6_A = new QRadioButton(dog6);
|
||||
dog6_A->setObjectName(QStringLiteral("dog6_A"));
|
||||
dog6_A->setGeometry(QRect(100, 210, 971, 131));
|
||||
dog6_A->setFont(font5);
|
||||
dog6_B = new QRadioButton(dog6);
|
||||
dog6_B->setObjectName(QStringLiteral("dog6_B"));
|
||||
dog6_B->setGeometry(QRect(100, 330, 581, 151));
|
||||
dog6_B->setFont(font5);
|
||||
stackWidget->addWidget(dog6);
|
||||
dog7 = new QWidget();
|
||||
dog7->setObjectName(QStringLiteral("dog7"));
|
||||
label_18 = new QLabel(dog7);
|
||||
label_18->setObjectName(QStringLiteral("label_18"));
|
||||
label_18->setGeometry(QRect(50, 40, 1211, 171));
|
||||
dog7_A = new QRadioButton(dog7);
|
||||
dog7_A->setObjectName(QStringLiteral("dog7_A"));
|
||||
dog7_A->setGeometry(QRect(110, 164, 741, 101));
|
||||
dog7_A->setFont(font5);
|
||||
dog7_B = new QRadioButton(dog7);
|
||||
dog7_B->setObjectName(QStringLiteral("dog7_B"));
|
||||
dog7_B->setGeometry(QRect(120, 280, 801, 161));
|
||||
dog7_B->setFont(font5);
|
||||
stackWidget->addWidget(dog7);
|
||||
dog8 = new QWidget();
|
||||
dog8->setObjectName(QStringLiteral("dog8"));
|
||||
label_19 = new QLabel(dog8);
|
||||
label_19->setObjectName(QStringLiteral("label_19"));
|
||||
label_19->setGeometry(QRect(50, 30, 1291, 221));
|
||||
dog8_A = new QRadioButton(dog8);
|
||||
dog8_A->setObjectName(QStringLiteral("dog8_A"));
|
||||
dog8_A->setGeometry(QRect(130, 220, 911, 121));
|
||||
dog8_A->setFont(font5);
|
||||
dog8_B = new QRadioButton(dog8);
|
||||
dog8_B->setObjectName(QStringLiteral("dog8_B"));
|
||||
dog8_B->setGeometry(QRect(120, 370, 951, 121));
|
||||
dog8_B->setFont(font5);
|
||||
stackWidget->addWidget(dog8);
|
||||
dog9 = new QWidget();
|
||||
dog9->setObjectName(QStringLiteral("dog9"));
|
||||
label_20 = new QLabel(dog9);
|
||||
label_20->setObjectName(QStringLiteral("label_20"));
|
||||
label_20->setGeometry(QRect(30, 20, 1301, 261));
|
||||
dog9_A = new QRadioButton(dog9);
|
||||
dog9_A->setObjectName(QStringLiteral("dog9_A"));
|
||||
dog9_A->setGeometry(QRect(88, 234, 851, 111));
|
||||
dog9_A->setFont(font5);
|
||||
dog9_B = new QRadioButton(dog9);
|
||||
dog9_B->setObjectName(QStringLiteral("dog9_B"));
|
||||
dog9_B->setGeometry(QRect(98, 365, 841, 91));
|
||||
dog9_B->setFont(font5);
|
||||
stackWidget->addWidget(dog9);
|
||||
dog10 = new QWidget();
|
||||
dog10->setObjectName(QStringLiteral("dog10"));
|
||||
label_21 = new QLabel(dog10);
|
||||
label_21->setObjectName(QStringLiteral("label_21"));
|
||||
label_21->setGeometry(QRect(40, 30, 1291, 261));
|
||||
dog10_A = new QRadioButton(dog10);
|
||||
dog10_A->setObjectName(QStringLiteral("dog10_A"));
|
||||
dog10_A->setGeometry(QRect(80, 320, 501, 81));
|
||||
dog10_A->setFont(font5);
|
||||
dog10_B = new QRadioButton(dog10);
|
||||
dog10_B->setObjectName(QStringLiteral("dog10_B"));
|
||||
dog10_B->setGeometry(QRect(70, 400, 551, 141));
|
||||
dog10_B->setFont(font5);
|
||||
stackWidget->addWidget(dog10);
|
||||
dog11 = new QWidget();
|
||||
dog11->setObjectName(QStringLiteral("dog11"));
|
||||
label_22 = new QLabel(dog11);
|
||||
label_22->setObjectName(QStringLiteral("label_22"));
|
||||
label_22->setGeometry(QRect(40, 30, 1181, 191));
|
||||
dog11_A = new QRadioButton(dog11);
|
||||
dog11_A->setObjectName(QStringLiteral("dog11_A"));
|
||||
dog11_A->setGeometry(QRect(100, 250, 791, 101));
|
||||
dog11_A->setFont(font5);
|
||||
dog11_B = new QRadioButton(dog11);
|
||||
dog11_B->setObjectName(QStringLiteral("dog11_B"));
|
||||
dog11_B->setGeometry(QRect(100, 350, 791, 101));
|
||||
dog11_B->setFont(font5);
|
||||
stackWidget->addWidget(dog11);
|
||||
cat_start = new QWidget();
|
||||
cat_start->setObjectName(QStringLiteral("cat_start"));
|
||||
label_11 = new QLabel(cat_start);
|
||||
label_11->setObjectName(QStringLiteral("label_11"));
|
||||
label_11->setGeometry(QRect(30, 70, 1351, 421));
|
||||
stackWidget->addWidget(cat_start);
|
||||
cat1 = new QWidget();
|
||||
cat1->setObjectName(QStringLiteral("cat1"));
|
||||
label_23 = new QLabel(cat1);
|
||||
label_23->setObjectName(QStringLiteral("label_23"));
|
||||
label_23->setGeometry(QRect(20, 30, 1301, 151));
|
||||
cat1_A = new QRadioButton(cat1);
|
||||
cat1_A->setObjectName(QStringLiteral("cat1_A"));
|
||||
cat1_A->setGeometry(QRect(100, 170, 541, 71));
|
||||
cat1_A->setFont(font5);
|
||||
cat1_B = new QRadioButton(cat1);
|
||||
cat1_B->setObjectName(QStringLiteral("cat1_B"));
|
||||
cat1_B->setGeometry(QRect(100, 250, 491, 51));
|
||||
cat1_B->setFont(font5);
|
||||
cat1_C = new QRadioButton(cat1);
|
||||
cat1_C->setObjectName(QStringLiteral("cat1_C"));
|
||||
cat1_C->setGeometry(QRect(100, 310, 591, 91));
|
||||
cat1_C->setFont(font5);
|
||||
stackWidget->addWidget(cat1);
|
||||
cat2 = new QWidget();
|
||||
cat2->setObjectName(QStringLiteral("cat2"));
|
||||
label_24 = new QLabel(cat2);
|
||||
label_24->setObjectName(QStringLiteral("label_24"));
|
||||
label_24->setGeometry(QRect(50, 30, 1291, 291));
|
||||
cat2_A = new QRadioButton(cat2);
|
||||
cat2_A->setObjectName(QStringLiteral("cat2_A"));
|
||||
cat2_A->setGeometry(QRect(100, 340, 761, 81));
|
||||
cat2_A->setFont(font5);
|
||||
cat2_B = new QRadioButton(cat2);
|
||||
cat2_B->setObjectName(QStringLiteral("cat2_B"));
|
||||
cat2_B->setGeometry(QRect(100, 480, 821, 81));
|
||||
cat2_B->setFont(font5);
|
||||
stackWidget->addWidget(cat2);
|
||||
cat3 = new QWidget();
|
||||
cat3->setObjectName(QStringLiteral("cat3"));
|
||||
label_25 = new QLabel(cat3);
|
||||
label_25->setObjectName(QStringLiteral("label_25"));
|
||||
label_25->setGeometry(QRect(50, 30, 1191, 251));
|
||||
cat3_A = new QRadioButton(cat3);
|
||||
cat3_A->setObjectName(QStringLiteral("cat3_A"));
|
||||
cat3_A->setGeometry(QRect(78, 244, 581, 71));
|
||||
cat3_A->setFont(font5);
|
||||
cat3_B = new QRadioButton(cat3);
|
||||
cat3_B->setObjectName(QStringLiteral("cat3_B"));
|
||||
cat3_B->setGeometry(QRect(80, 340, 981, 111));
|
||||
cat3_B->setFont(font5);
|
||||
stackWidget->addWidget(cat3);
|
||||
cat4 = new QWidget();
|
||||
cat4->setObjectName(QStringLiteral("cat4"));
|
||||
label_26 = new QLabel(cat4);
|
||||
label_26->setObjectName(QStringLiteral("label_26"));
|
||||
label_26->setGeometry(QRect(60, 30, 1261, 281));
|
||||
cat4_A = new QRadioButton(cat4);
|
||||
cat4_A->setObjectName(QStringLiteral("cat4_A"));
|
||||
cat4_A->setGeometry(QRect(140, 310, 891, 71));
|
||||
cat4_A->setFont(font5);
|
||||
cat4_B = new QRadioButton(cat4);
|
||||
cat4_B->setObjectName(QStringLiteral("cat4_B"));
|
||||
cat4_B->setGeometry(QRect(140, 410, 1031, 111));
|
||||
cat4_B->setFont(font5);
|
||||
stackWidget->addWidget(cat4);
|
||||
cat5 = new QWidget();
|
||||
cat5->setObjectName(QStringLiteral("cat5"));
|
||||
label_27 = new QLabel(cat5);
|
||||
label_27->setObjectName(QStringLiteral("label_27"));
|
||||
label_27->setGeometry(QRect(30, 30, 981, 171));
|
||||
cat5_A = new QRadioButton(cat5);
|
||||
cat5_A->setObjectName(QStringLiteral("cat5_A"));
|
||||
cat5_A->setGeometry(QRect(58, 234, 831, 81));
|
||||
cat5_A->setFont(font5);
|
||||
cat5_B = new QRadioButton(cat5);
|
||||
cat5_B->setObjectName(QStringLiteral("cat5_B"));
|
||||
cat5_B->setGeometry(QRect(60, 360, 711, 71));
|
||||
cat5_B->setFont(font5);
|
||||
stackWidget->addWidget(cat5);
|
||||
cat6 = new QWidget();
|
||||
cat6->setObjectName(QStringLiteral("cat6"));
|
||||
label_28 = new QLabel(cat6);
|
||||
label_28->setObjectName(QStringLiteral("label_28"));
|
||||
label_28->setGeometry(QRect(10, 40, 1171, 191));
|
||||
cat6_A = new QRadioButton(cat6);
|
||||
cat6_A->setObjectName(QStringLiteral("cat6_A"));
|
||||
cat6_A->setGeometry(QRect(80, 230, 731, 121));
|
||||
cat6_A->setFont(font5);
|
||||
cat6_B = new QRadioButton(cat6);
|
||||
cat6_B->setObjectName(QStringLiteral("cat6_B"));
|
||||
cat6_B->setGeometry(QRect(80, 380, 591, 111));
|
||||
cat6_B->setFont(font5);
|
||||
stackWidget->addWidget(cat6);
|
||||
cat7 = new QWidget();
|
||||
cat7->setObjectName(QStringLiteral("cat7"));
|
||||
label_29 = new QLabel(cat7);
|
||||
label_29->setObjectName(QStringLiteral("label_29"));
|
||||
label_29->setGeometry(QRect(20, 30, 1171, 191));
|
||||
cat7_A = new QRadioButton(cat7);
|
||||
cat7_A->setObjectName(QStringLiteral("cat7_A"));
|
||||
cat7_A->setGeometry(QRect(70, 220, 611, 131));
|
||||
cat7_A->setFont(font5);
|
||||
cat7_B = new QRadioButton(cat7);
|
||||
cat7_B->setObjectName(QStringLiteral("cat7_B"));
|
||||
cat7_B->setGeometry(QRect(70, 340, 981, 121));
|
||||
cat7_B->setFont(font5);
|
||||
stackWidget->addWidget(cat7);
|
||||
cat8 = new QWidget();
|
||||
cat8->setObjectName(QStringLiteral("cat8"));
|
||||
label_30 = new QLabel(cat8);
|
||||
label_30->setObjectName(QStringLiteral("label_30"));
|
||||
label_30->setGeometry(QRect(40, 40, 1011, 201));
|
||||
cat8_A = new QRadioButton(cat8);
|
||||
cat8_A->setObjectName(QStringLiteral("cat8_A"));
|
||||
cat8_A->setGeometry(QRect(110, 280, 951, 101));
|
||||
cat8_A->setFont(font5);
|
||||
cat8_B = new QRadioButton(cat8);
|
||||
cat8_B->setObjectName(QStringLiteral("cat8_B"));
|
||||
cat8_B->setGeometry(QRect(110, 370, 931, 101));
|
||||
cat8_B->setFont(font5);
|
||||
stackWidget->addWidget(cat8);
|
||||
cat9 = new QWidget();
|
||||
cat9->setObjectName(QStringLiteral("cat9"));
|
||||
label_31 = new QLabel(cat9);
|
||||
label_31->setObjectName(QStringLiteral("label_31"));
|
||||
label_31->setGeometry(QRect(30, 28, 1111, 191));
|
||||
cat9_A = new QRadioButton(cat9);
|
||||
cat9_A->setObjectName(QStringLiteral("cat9_A"));
|
||||
cat9_A->setGeometry(QRect(130, 260, 931, 81));
|
||||
cat9_A->setFont(font5);
|
||||
cat9_B = new QRadioButton(cat9);
|
||||
cat9_B->setObjectName(QStringLiteral("cat9_B"));
|
||||
cat9_B->setGeometry(QRect(130, 380, 931, 101));
|
||||
cat9_B->setFont(font5);
|
||||
stackWidget->addWidget(cat9);
|
||||
cat10 = new QWidget();
|
||||
cat10->setObjectName(QStringLiteral("cat10"));
|
||||
label_32 = new QLabel(cat10);
|
||||
label_32->setObjectName(QStringLiteral("label_32"));
|
||||
label_32->setGeometry(QRect(30, 40, 1081, 241));
|
||||
cat10_A = new QRadioButton(cat10);
|
||||
cat10_A->setObjectName(QStringLiteral("cat10_A"));
|
||||
cat10_A->setGeometry(QRect(58, 304, 861, 111));
|
||||
cat10_A->setFont(font5);
|
||||
cat10_B = new QRadioButton(cat10);
|
||||
cat10_B->setObjectName(QStringLiteral("cat10_B"));
|
||||
cat10_B->setGeometry(QRect(70, 490, 991, 131));
|
||||
cat10_B->setFont(font5);
|
||||
stackWidget->addWidget(cat10);
|
||||
rabbit_start = new QWidget();
|
||||
rabbit_start->setObjectName(QStringLiteral("rabbit_start"));
|
||||
label_33 = new QLabel(rabbit_start);
|
||||
label_33->setObjectName(QStringLiteral("label_33"));
|
||||
label_33->setGeometry(QRect(30, 70, 1171, 461));
|
||||
stackWidget->addWidget(rabbit_start);
|
||||
turtle_start = new QWidget();
|
||||
turtle_start->setObjectName(QStringLiteral("turtle_start"));
|
||||
label_34 = new QLabel(turtle_start);
|
||||
label_34->setObjectName(QStringLiteral("label_34"));
|
||||
label_34->setGeometry(QRect(30, 50, 1011, 631));
|
||||
stackWidget->addWidget(turtle_start);
|
||||
test_result_page = new QWidget();
|
||||
test_result_page->setObjectName(QStringLiteral("test_result_page"));
|
||||
label_7 = new QLabel(test_result_page);
|
||||
label_7->setObjectName(QStringLiteral("label_7"));
|
||||
label_7->setGeometry(QRect(10, 0, 381, 91));
|
||||
QFont font9;
|
||||
font9.setFamily(QString::fromUtf8("\346\245\267\344\275\223"));
|
||||
font9.setPointSize(40);
|
||||
label_7->setFont(font9);
|
||||
test_result = new QLabel(test_result_page);
|
||||
test_result->setObjectName(QStringLiteral("test_result"));
|
||||
test_result->setGeometry(QRect(430, 240, 731, 281));
|
||||
QFont font10;
|
||||
font10.setFamily(QString::fromUtf8("\346\245\267\344\275\223"));
|
||||
font10.setPointSize(30);
|
||||
test_result->setFont(font10);
|
||||
label_38 = new QLabel(test_result_page);
|
||||
label_38->setObjectName(QStringLiteral("label_38"));
|
||||
label_38->setGeometry(QRect(110, 110, 681, 151));
|
||||
QFont font11;
|
||||
font11.setPointSize(30);
|
||||
label_38->setFont(font11);
|
||||
stackWidget->addWidget(test_result_page);
|
||||
end_page = new QWidget();
|
||||
end_page->setObjectName(QStringLiteral("end_page"));
|
||||
label_8 = new QLabel(end_page);
|
||||
label_8->setObjectName(QStringLiteral("label_8"));
|
||||
label_8->setGeometry(QRect(70, 40, 861, 371));
|
||||
QFont font12;
|
||||
font12.setFamily(QString::fromUtf8("\346\245\267\344\275\223"));
|
||||
label_8->setFont(font12);
|
||||
stackWidget->addWidget(end_page);
|
||||
change_page = new QPushButton(recommend);
|
||||
change_page->setObjectName(QStringLiteral("change_page"));
|
||||
change_page->setGeometry(QRect(1150, 750, 241, 71));
|
||||
QFont font13;
|
||||
font13.setFamily(QStringLiteral("Segoe Print"));
|
||||
font13.setPointSize(25);
|
||||
change_page->setFont(font13);
|
||||
change_page->setIconSize(QSize(80, 80));
|
||||
last_page = new QPushButton(recommend);
|
||||
last_page->setObjectName(QStringLiteral("last_page"));
|
||||
last_page->setGeometry(QRect(90, 750, 201, 71));
|
||||
QFont font14;
|
||||
font14.setFamily(QStringLiteral("Segoe Print"));
|
||||
font14.setPointSize(30);
|
||||
last_page->setFont(font14);
|
||||
last_page->setIconSize(QSize(80, 80));
|
||||
|
||||
retranslateUi(recommend);
|
||||
|
||||
stackWidget->setCurrentIndex(32);
|
||||
|
||||
|
||||
QMetaObject::connectSlotsByName(recommend);
|
||||
} // setupUi
|
||||
|
||||
void retranslateUi(QWidget *recommend)
|
||||
{
|
||||
recommend->setWindowTitle(QApplication::translate("recommend", "Form", Q_NULLPTR));
|
||||
commandLinkButton->setText(QString());
|
||||
label_3->setText(QApplication::translate("recommend", "\345\256\240\347\211\251\346\216\250\350\215\220\346\265\213\350\257\225", Q_NULLPTR));
|
||||
label_35->setText(QApplication::translate("recommend", "\344\275\240\346\230\257\345\220\246\346\234\211\344\270\200\351\242\227\345\205\273\345\256\240\347\211\251\347\232\204\345\277\203", Q_NULLPTR));
|
||||
label_36->setText(QApplication::translate("recommend", "\345\215\264\344\270\215\347\237\245\351\201\223\345\246\202\344\275\225\351\200\211\346\213\251\357\274\237", Q_NULLPTR));
|
||||
label_37->setText(QApplication::translate("recommend", "\351\202\243\345\260\261\350\256\251\346\210\221\344\273\254\346\235\245\344\270\272\344\275\240\351\232\217\346\234\272\351\200\211\346\213\251\345\220\247\357\274\201\346\210\226\350\200\205\347\202\271\345\207\273next\345\274\200\345\220\257\344\275\240\347\232\204\345\256\240\347\211\251\351\227\256\345\215\267\344\271\213\346\227\205", Q_NULLPTR));
|
||||
RandomRecommend->setText(QApplication::translate("recommend", "\345\256\240\347\211\251\351\232\217\346\234\272\346\216\250\351\200\201", Q_NULLPTR));
|
||||
label->setText(QApplication::translate("recommend", "Question 1", Q_NULLPTR));
|
||||
q1->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" color:#5555ff;\">\344\270\200\345\217\252\345\256\240\347\211\251\357\274\214\346\234\200\347\233\264\350\247\202\347\232\204\345\260\261\346\230\257\344\273\226\347\232\204\345\244\226\350\247\202\357\274\214\347\213\227\347\213\227\347\214\253\347\214\253\345\244\247\345\244\232\346\234\211\350\276\203\351\253\230\347\232\204\351\242\234\345\200\274\357\274\214<br/>\350\200\214\345\234\250\344\275\223\345\236\213\346\226\271\351\235\242\357\274\214\345\244\247\351\203\250\345\210\206\347\213\227\347\213\227\345\210\231\344\275\223\345\236\213\350\276\203\345\244\247\357\274\214\344\270\224\344\275\223\345\236\213\351\232\217\346\210\220\351\225\277\345\217\230\345\214\226\345\277\253\357\274\233<br/>\350\200\214\347\214\253\345\222\252\345\210\231\344\275\223\345\236\213\350\276\203\345\260\217\357\274\214\344\270\224\351\232\217\346\227\266\351\227\264\345\217\230\345\214\226\350\276\203\345\260\217\357\274\214\345\275\223\347\204\266\357\274\214\345\220\203\347\232\204\345"
|
||||
"\244\232\347\232\204\351\246\213\347\214\253\351\231\244\345\244\226\343\200\202<br/>\351\202\243\344\271\210\357\274\214\344\275\240\345\270\214\346\234\233\344\275\225\347\247\215\344\275\223\345\236\213\347\232\204\345\256\240\347\211\251\345\221\242\357\274\237</span></p></body></html>", Q_NULLPTR));
|
||||
page1_A->setText(QApplication::translate("recommend", "A. \345\244\247\345\236\213", Q_NULLPTR));
|
||||
page1_B->setText(QApplication::translate("recommend", "B. \345\260\217\345\236\213", Q_NULLPTR));
|
||||
q2->setText(QApplication::translate("recommend", "Question 2", Q_NULLPTR));
|
||||
label_6->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:16pt; color:#ff0000;\">\345\205\273\345\256\240\347\211\251\357\274\214\344\270\215\344\273\205\344\273\205\346\230\257\345\244\232\344\272\206\344\270\252\344\274\231\344\274\264\357\274\214\345\244\232\344\272\206\344\273\275\350\264\243\344\273\273\357\274\214\344\271\237\351\234\200\350\246\201\346\224\271\345\217\230\350\207\252\345\267\261\357\274\232\347\213\227\347\213\227\347\232\204\347\224\237\346\264\273\344\275\234\346\201\257\344\270\216\344\272\272\347\261\273\345\220\214\346\255\245\357\274\214<br/>\346\227\245\345\207\272\350\200\214\344\275\234\357\274\214\346\227\245\350\220\275\350\200\214\346\201\257\357\274\214\344\270\224\351\234\200\350\246\201\345\244\226\345\207\272\351\201\233\345\274\257\343\200\202\351\202\243\344\271\210\357\274\214\351\245\262\345\205\273\344\270\200\345\217\252\347\213\227\347\213\227\347\232\204\345\220\214\346\227\266\344\271\237\345\234\250\347\235\243\344\277\203\344\270\273\344\272\272\344\277\235\346\214\201\346"
|
||||
"\255\243\345\270\270\347\232\204\344\275\234\346\201\257\347\224\237\346\264\273\357\274\233<br/>\350\200\214\347\214\253\345\222\252\344\275\234\344\270\272\345\244\234\350\241\214\345\212\250\347\211\251\357\274\214\345\270\270\345\270\270\345\244\234\351\227\264\350\241\214\345\212\250\357\274\214\351\202\243\344\271\210\357\274\214\344\270\273\344\272\272\345\217\257\350\203\275\345\260\261\350\246\201\345\256\271\345\277\215\344\270\200\344\270\213\345\260\217\347\214\253\345\222\252\346\210\221\350\241\214\346\210\221\347\264\240\357\274\214\345\244\247\350\203\206\347\232\204\344\270\200\344\272\233\350\241\214\344\270\272\344\272\206\343\200\202<br/>\351\202\243\344\271\210\357\274\214\344\275\240\345\270\214\346\234\233\345\256\240\347\211\251\347\232\204\344\275\234\346\201\257\345\246\202\344\275\225\357\274\237</span></p></body></html>", Q_NULLPTR));
|
||||
page2_A->setText(QApplication::translate("recommend", "A. \347\213\227\347\213\227\347\232\204\350\247\204\345\276\213", Q_NULLPTR));
|
||||
page2_B->setText(QApplication::translate("recommend", "B. \347\214\253\345\222\252\347\232\204\351\232\217\346\200\247", Q_NULLPTR));
|
||||
label_2->setText(QApplication::translate("recommend", "Question 3", Q_NULLPTR));
|
||||
q3->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:16pt; color:#ff007f;\">\346\257\217\346\227\245\344\270\216\345\256\240\347\211\251\344\270\272\344\274\264\357\274\214\344\275\240\344\270\215\344\273\205\344\273\205\346\230\257\344\270\200\344\275\215\345\205\273\344\270\273\357\274\214\344\275\240\344\271\237\351\234\200\350\246\201\345\216\273\350\257\273\346\207\202\345\256\240\347\211\251\347\232\204\346\203\263\346\263\225\357\274\214\350\200\214\346\255\243\347\241\256\347\232\204\345\257\271\345\276\205\345\256\240\347\211\251\357\274\232<br>\351\203\275\350\257\264\347\213\227\347\213\227\346\230\257\344\272\272\347\261\273\346\234\200\345\277\240\350\257\232\347\232\204\344\274\231\344\274\264\357\274\214\347\213\227\347\213\227\351\200\232\345\270\270\344\273\245\344\270\273\344\272\272\344\270\272\344\270\255\345\277\203\357\274\214\346\257\224\350\276\203\345\256\271\346\230\223\350\256\244\347\206\237\357\274\214\345\226\234\346\254\242\347\224\250\345\220\240\345\217\253\357\274\214\344\274\270\350"
|
||||
"\210\214\347\255\211\350\241\214\345\212\250\345\216\273\350\265\242\345\276\227\344\270\273\344\272\272\347\232\204\346\254\242\345\277\203\357\274\233<br>\350\200\214\347\214\253\345\222\252\346\233\264\345\201\217\345\220\221\344\272\216\344\273\245\345\220\214\347\255\211\347\232\204\345\234\260\344\275\215\344\270\216\344\272\272\347\261\273\347\224\237\346\264\273\357\274\214\344\272\244\346\265\201\357\274\214\344\273\245\350\207\252\346\210\221\344\270\272\347\254\254\344\270\200\344\270\255\345\277\203\357\274\214\345\234\250\350\200\203\350\231\221\345\245\275\344\272\206\350\207\252\350\272\253\347\232\204\346\203\263\346\263\225\345\220\216\357\274\214\346\211\215\344\274\232\345\216\273\351\241\276\345\217\212\344\270\273\344\272\272\347\232\204\346\204\237\345\217\227\343\200\202<br/>\351\202\243\344\271\210\357\274\214\344\275\240\345\270\214\346\234\233\344\270\200\345\217\252\344\273\200\344\271\210\345\277\203\346\200\247\347\232\204\345\256\240\347\211\251\345\221\242\357\274\237</span></p><"
|
||||
"/body></html>", Q_NULLPTR));
|
||||
page3_A->setText(QApplication::translate("recommend", "A. \347\213\227\347\213\227\350\210\254\347\232\204\345\277\240\350\257\232", Q_NULLPTR));
|
||||
page3_B->setText(QApplication::translate("recommend", "B. \347\214\253\345\222\252\350\210\254\347\232\204\347\213\254\347\253\213", Q_NULLPTR));
|
||||
label_4->setText(QApplication::translate("recommend", "Question 4", Q_NULLPTR));
|
||||
q4->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:14pt; font-weight:600; color:#00007f;\">\345\226\202\345\205\273\345\256\240\347\211\251\357\274\214\344\270\215\344\273\205\344\273\205\346\230\257\345\226\202\351\243\237\346\270\205\346\264\201\357\274\214\344\272\222\345\212\250\344\271\237\346\230\257\345\242\236\350\277\233\346\204\237\346\203\205\347\232\204\344\270\200\345\244\247\345\212\251\345\212\233\343\200\202<br/>\347\213\227\347\213\227\345\244\247\345\244\232\347\224\237\346\200\247\346\264\273\346\263\274\357\274\214\350\277\220\345\212\250\350\203\275\345\212\233\345\274\272\357\274\214\345\226\234\346\254\242\344\270\212\350\271\277\344\270\213\350\267\263\357\274\214\345\270\270\345\270\270\351\227\271\345\207\272\345\212\250\351\235\231\357\274\214<br/>\344\274\232\347\273\217\345\270\270\346\211\276\344\270\273\344\272\272\350\277\233\350\241\214\344\272\222\345\212\250\357\274\214\350\246\201\346\261\202\346\221\270\345\244\264\357\274\214\346\214\240\347\227\222\347\255\211\357\274\214\346"
|
||||
"\262\241\344\272\213\346\227\266\344\271\237\344\274\232\345\276\205\345\234\250\344\270\273\344\272\272\350\272\253\350\276\271\357\274\214\345\276\210\351\273\217\344\272\272\357\274\233<br/>\350\200\214\347\214\253\345\222\252\345\210\231\346\230\276\347\232\204\345\256\211\351\235\231\345\244\232\344\272\206\357\274\214\347\214\253\347\214\253\346\233\264\345\226\234\346\254\242\347\213\254\350\207\252\345\276\205\345\234\250\346\210\277\351\227\264\347\232\204\346\237\220\344\270\252\350\247\222\350\220\275\357\274\214\344\270\200\345\212\250\344\271\237\344\270\215\345\212\250\357\274\214<br/>\345\275\223\350\247\211\345\276\227\351\234\200\350\246\201\350\256\251\344\270\273\344\272\272\350\241\250\347\216\260\351\223\262\345\261\216\345\256\230\347\232\204\350\264\243\344\273\273\346\227\266\357\274\214\346\211\215\344\274\232\345\216\273\344\270\273\345\212\250\350\257\267\346\261\202\344\272\222\345\212\250\343\200\202<br/>\351\202\243\344\271\210\357\274\214\344\275\240\345\270\214\346\234\233\345\256"
|
||||
"\240\347\211\251\347\232\204\346\200\247\346\240\274\345\246\202\344\275\225\357\274\237</span></p></body></html>", Q_NULLPTR));
|
||||
page4_A->setText(QApplication::translate("recommend", "A. \347\213\227\347\213\227\350\210\254\347\232\204\346\264\273\346\263\274", Q_NULLPTR));
|
||||
page4_B->setText(QApplication::translate("recommend", "B. \347\214\253\345\222\252\350\210\254\347\232\204\345\256\211\351\235\231", Q_NULLPTR));
|
||||
label_5->setText(QApplication::translate("recommend", "Question 5", Q_NULLPTR));
|
||||
q5->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:12pt; font-weight:600; color:#550000;\">\345\205\273\345\256\240\347\211\251\344\271\237\346\230\257\344\270\200\344\273\266\350\264\271\346\227\266\350\264\271\345\277\203\347\232\204\344\272\213\357\274\232\347\213\227\347\213\227\351\234\200\350\246\201\345\215\253\347\224\237\346\270\205\346\264\201\357\274\214\351\234\200\350\246\201\346\257\217\346\227\245\351\201\233\345\274\257\357\274\214\344\270\212\345\216\225\346\211\200\344\271\237\351\234\200\350\246\201\344\270\273\344\272\272\347\232\204\346\205\242\346\205\242\346\225\231\345\257\274\345\222\214\346\214\207\345\274\225\357\274\214<br/>\350\200\214\345\226\202\345\205\273\346\226\271\351\235\242\357\274\214\344\270\273\344\272\272\344\270\200\346\254\241\347\273\231\345\244\232\345\260\221\357\274\214\347\213\227\347\213\227\345\260\261\344\274\232\345\220\203\345\244\232\345\260\221\357\274\214\344\270\215\347\256\241\351\245\261\346\262\241\351\245\261\357\274\214\346\230\257\344\270\215\346\230\257"
|
||||
"\346\222\221\343\200\202<br/>\346\211\200\344\273\245\357\274\214\345\205\273\347\213\227\346\257\224\350\276\203\350\264\271\345\212\262\357\274\214\351\234\200\350\246\201\346\263\250\346\204\217\347\232\204\347\273\206\350\212\202\350\276\203\345\244\232\357\274\233<br/>\350\200\214\347\214\253\345\222\252\345\210\231\347\234\201\345\277\203\345\276\210\345\244\232\357\274\214\344\270\215\351\234\200\350\246\201\351\201\233\345\274\257\357\274\214\350\276\203\345\260\221\351\234\200\350\246\201\344\270\273\344\272\272\345\270\256\345\212\251\345\215\253\347\224\237\346\270\205\346\264\201\357\274\214\344\270\224\345\244\251\347\224\237\344\274\232\344\275\277\347\224\250\347\214\253\347\240\202\347\255\211\357\274\214<br/>\344\270\215\344\274\232\351\232\217\345\234\260\345\244\247\345\260\217\344\276\277\347\255\211\357\274\214\344\270\224\345\226\202\351\243\237\344\271\240\346\203\257\345\261\236\344\272\216\351\245\277\344\272\206\345\260\261\344\274\232\345\216\273\345\220\203\347\202\271\347\214\253\347"
|
||||
"\262\256\357\274\214\345\260\221\351\243\237\345\244\232\351\244\220\347\261\273\345\236\213\357\274\214\350\256\251\344\270\273\344\272\272\347\234\201\345\277\203\347\234\201\344\272\213\345\276\210\345\244\232\343\200\202<br/>\351\202\243\344\271\210\357\274\214\344\275\240\344\273\213\346\204\217\345\205\273\345\256\240\347\211\251\350\264\271\346\227\266\350\264\271\345\277\203\345\220\227\357\274\237</span></p></body></html>", Q_NULLPTR));
|
||||
page5_A->setText(QApplication::translate("recommend", "A. \344\270\215\344\273\213\346\204\217\357\274\214\345\217\257\344\273\245\344\270\272\347\213\227\347\213\227\344\273\230\345\207\272\346\227\266\351\227\264", Q_NULLPTR));
|
||||
page5_B->setText(QApplication::translate("recommend", "B. \344\273\213\346\204\217\357\274\214\350\277\230\346\230\257\347\234\201\345\277\203\347\234\201\344\272\213\347\232\204\347\214\253\347\214\253\351\200\202\345\220\210\346\210\221", Q_NULLPTR));
|
||||
label_9->setText(QApplication::translate("recommend", "Question6", Q_NULLPTR));
|
||||
q6->setText(QApplication::translate("recommend", "<html><head/><body><p align=\"justify\"><span style=\" font-size:16pt; font-weight:600; color:#ff0000;\">\344\270\215\346\255\242\346\230\257\347\214\253\347\213\227\345\217\257\344\273\245\344\270\216\346\210\221\344\273\254\344\270\272\344\274\264\357\274\214\350\277\230\346\234\211\345\210\253\347\232\204\347\261\273\345\236\213\347\232\204\345\256\240\347\211\251\345\217\257\344\273\245\344\275\234\344\270\272\346\210\221\344\273\254\347\232\204\344\274\231\344\274\264\357\274\214\345\246\202\346\234\272\350\255\246\345\217\257\347\210\261\347\232\204\345\205\224\345\255\220\357\274\214\344\271\237\345\246\202\345\217\257\344\273\245\351\231\252\344\274\264\346\210\221\344\273\254\347\273\210\350\272\253\347\232\204\344\271\214\351\276\237\347\255\211\343\200\202<br/>\351\202\243\344\271\210,\344\275\240\345\270\214\346\234\233\351\245\262\345\205\273\345\223\252\347\247\215\345\256\240\347\211\251\345\221\242\357\274\237</span></p></body></html>", Q_NULLPTR));
|
||||
page6_A->setText(QApplication::translate("recommend", "A. \345\244\247\344\274\227\347\232\204\347\214\253\347\214\253\347\213\227\347\213\227", Q_NULLPTR));
|
||||
page6_B->setText(QApplication::translate("recommend", "B. \345\260\217\344\274\227\347\232\204\345\205\224\345\255\220", Q_NULLPTR));
|
||||
page6_C->setText(QApplication::translate("recommend", "C. \351\225\277\345\257\277\347\232\204\344\271\214\351\276\237", Q_NULLPTR));
|
||||
label_10->setText(QApplication::translate("recommend", "<html><head/><body><p align=\"center\"><span style=\" font-size:22pt; font-weight:600; color:#ff0000;\">\347\234\213\346\235\245\357\274\214\344\275\240\350\277\230\346\230\257\345\270\214\346\234\233\351\245\262\345\205\273\344\270\200\345\217\252\347\213\227\347\213\227\357\274\214\351\202\243\344\271\210\357\274\214\346\216\245\344\270\213\346\235\245\357\274\214\351\222\210\345\257\271\347\213\227\347\213\227\347\232\204\347\224\237\346\264\273\344\271\240\346\200\247\357\274\214\346\235\245\350\277\233\350\241\214\346\233\264\346\267\261\345\205\245\347\232\204\345\210\206\346\236\220\357\274\214<br/>\347\234\213\344\275\240\351\200\202\345\220\210\345\205\273\345\223\252\347\247\215\347\213\227\347\213\227\345\220\247</span></p></body></html>", Q_NULLPTR));
|
||||
label_12->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:22pt; font-weight:600; color:#ff5500;\">1. \344\270\215\345\220\214\347\261\273\345\236\213\347\232\204\347\213\227\347\213\227\344\275\223\345\236\213\345\267\256\345\274\202\350\276\203\345\244\247\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff5500;\">\344\275\240\346\233\264\345\270\214\346\234\233\351\245\262\345\205\273\344\270\200\345\217\252\344\275\225\347\247\215\344\275\223\345\236\213\347\232\204\347\213\227\347\213\227\345\221\242\357\274\237</span><br/></p></body></html>", Q_NULLPTR));
|
||||
dog1_A->setText(QApplication::translate("recommend", "A. \345\260\217\345\236\213\347\212\254", Q_NULLPTR));
|
||||
dog1_B->setText(QApplication::translate("recommend", "B. \344\270\255\345\236\213\347\212\254", Q_NULLPTR));
|
||||
dog1_C->setText(QApplication::translate("recommend", "C. \345\244\247\345\205\264\347\212\254", Q_NULLPTR));
|
||||
label_13->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:22pt; font-weight:600; color:#ff007f;\">2. \344\270\215\345\220\214\347\261\273\345\236\213\347\232\204\347\213\227\347\213\227\351\243\237\351\207\217\344\270\215\345\220\214\357\274\214\344\274\232\345\257\271\344\270\273\344\272\272\347\232\204\347\273\217\346\265\216\346\234\211\344\270\200\345\256\232\350\264\237\346\213\205\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff007f;\">\351\202\243\344\271\210\357\274\214\344\275\240\346\234\211\350\266\263\345\244\237\347\232\204\347\273\217\346\265\216\350\203\275\345\212\233\350\256\251\347\213\227\347\213\227\345\220\203\351\245\261\345\220\227\357\274\237</span><br/></p></body></html>", Q_NULLPTR));
|
||||
dog2_A->setText(QApplication::translate("recommend", "A. \347\273\217\346\265\216\350\203\275\345\212\233\346\234\211\351\231\220\357\274\214\345\217\252\350\203\275\345\205\273\345\217\252\351\243\237\351\207\217\345\260\217\347\232\204\347\213\227\347\213\227", Q_NULLPTR));
|
||||
dog2_B->setText(QApplication::translate("recommend", "B. \347\273\217\346\265\216\350\203\275\345\212\233\350\266\263\345\244\237\347\213\227\347\213\227\347\232\204\350\264\245\345\256\266\351\243\237\351\207\217", Q_NULLPTR));
|
||||
label_14->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:22pt; font-weight:600; color:#ff0000;\">3. \347\213\227\347\213\227\347\224\237\346\200\247\346\264\273\346\263\274\345\245\275\345\212\250\357\274\214\351\234\200\350\246\201\344\270\200\345\256\232\347\232\204\350\277\220\345\212\250\351\207\217\357\274\214\345\246\202\351\201\233\345\274\257\347\255\211\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff0000;\">\344\275\240\345\217\257\344\273\245\346\273\241\350\266\263\347\213\227\347\213\227\347\232\204\350\277\220\345\212\250\350\246\201\346\261\202\345\220\227\357\274\237<br/></span></p></body></html>", Q_NULLPTR));
|
||||
dog3_A->setText(QApplication::translate("recommend", "A. \345\256\205\347\224\267\345\256\205\345\245\263\344\270\200\346\236\232\357\274\214\345\270\214\346\234\233\344\270\200\345\217\252\345\222\214\346\210\221\344\270\200\346\240\267\347\232\204\347\213\227\347\213\227", Q_NULLPTR));
|
||||
dog3_B->setText(QApplication::translate("recommend", "B. \345\217\257\344\273\245\357\274\214\344\271\237\346\255\243\345\245\275\351\224\273\347\202\274\350\207\252\345\267\261", Q_NULLPTR));
|
||||
label_15->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:22pt; font-weight:600; color:#ff007f;\">4. \346\234\211\347\232\204\347\213\227\347\213\227\350\202\240\350\203\203\350\203\275\345\212\233\344\270\215\350\241\214\357\274\214\346\210\226\351\234\200\350\246\201\346\221\204\345\205\245\347\211\271\345\256\232\350\220\245\345\205\273\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff007f;\">\345\226\202\345\205\273\346\227\266\351\234\200\350\246\201\346\233\264\345\212\240\344\273\224\347\273\206\343\200\202</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff007f;\">\351\202\243\344\271\210\357\274\214\344\275\240\345\205\201\350\256\270\347\213\227\347\213\227\347\232\204\351\245\256\351\243\237\346\214\221\345\211\224\345\220\227\357\274\237<br/></span></p></body></html>", Q_NULLPTR));
|
||||
dog4_A->setText(QApplication::translate("recommend", "A. \344\270\215\344\273\213\346\204\217\357\274\214\346\210\221\344\274\232\346\263\250\346\204\217\347\232\204", Q_NULLPTR));
|
||||
dog4_B->setText(QApplication::translate("recommend", "B. \345\270\214\346\234\233\347\213\227\347\213\227\345\225\245\351\203\275\345\220\203\357\274\214\344\270\215\350\256\251\346\210\221\350\264\271\345\277\203", Q_NULLPTR));
|
||||
label_16->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:22pt; font-weight:600; color:#ff007f;\">5. \347\213\227\347\213\227\346\257\233\345\217\221\345\256\271\346\230\223\346\211\223\347\273\223\357\274\214\345\274\204\350\204\217\357\274\214\351\234\200\350\246\201\345\256\232\346\234\237\350\277\233\350\241\214\346\270\205\346\264\201\345\267\245\344\275\234\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff007f;\">\344\275\240\346\204\277\346\204\217\350\212\261\346\227\266\351\227\264\345\216\273\346\270\205\346\264\201\357\274\214\346\211\223\346\211\256\347\213\227\347\213\227\345\220\227\357\274\237<br/></span></p></body></html>", Q_NULLPTR));
|
||||
dog5_A->setText(QApplication::translate("recommend", "A. \344\273\245\350\205\276\345\207\272\346\227\266\351\227\264\345\216\273\350\277\233\350\241\214\345\215\253\347\224\237\346\270\205\346\264\201", Q_NULLPTR));
|
||||
dog5_B->setText(QApplication::translate("recommend", "B. \344\270\200\345\217\252\346\270\205\346\264\201\345\267\245\344\275\234\350\276\203\345\260\221\347\232\204\347\213\227\347\213\227\346\233\264\351\200\202\345\220\210\346\210\221", Q_NULLPTR));
|
||||
label_17->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:22pt; font-weight:600; color:#ff00ff;\">6. \346\234\211\347\232\204\347\261\273\345\236\213\347\213\227\347\213\227\344\274\232\345\244\251\347\224\237\345\270\246\347\226\276\347\227\205\357\274\214\346\210\226\350\200\205\345\220\216\345\244\251\344\274\232\346\234\211\347\211\271\345\256\232\347\226\276\347\227\205\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff00ff;\">\351\202\243\344\271\210\357\274\214\344\275\240\344\274\232\346\202\211\345\277\203\346\212\244\347\220\206\347\213\227\347\213\227\347\232\204\350\277\231\344\272\233\347\226\276\347\227\205\345\220\227\357\274\237<br/></span></p></body></html>", Q_NULLPTR));
|
||||
dog6_A->setText(QApplication::translate("recommend", "A. \344\274\232\346\263\250\346\204\217\347\213\227\347\213\227\347\232\204\347\211\271\345\256\232\347\227\205\345\271\266\345\217\212\346\227\266\346\262\273\347\226\227", Q_NULLPTR));
|
||||
dog6_B->setText(QApplication::translate("recommend", "B. \345\205\273\344\270\200\345\217\252\350\272\253\344\275\223\345\201\245\345\272\267\347\232\204\347\213\227\347\213\227\346\233\264\345\245\275", Q_NULLPTR));
|
||||
label_18->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:22pt; font-weight:600; color:#ff0000;\">7. \345\257\271\347\213\227\347\213\227\347\232\204\350\256\255\347\273\203\344\271\237\346\230\257\351\245\262\345\205\273\347\232\204\344\270\200\345\244\247\351\207\215\350\246\201\347\216\257\350\212\202\357\274\214\344\270\215\345\220\214\347\261\273\345\236\213\347\232\204\347\213\227\347\213\227\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff0000;\">\350\256\255\347\273\203\351\232\276\345\272\246\344\271\237\346\234\211\346\211\200\344\270\215\345\220\214\357\274\214\344\275\240\345\270\214\346\234\233\347\213\227\347\213\227\350\203\275\345\276\210\345\277\253\345\220\254\344\275\240\347\232\204\346\214\207\346\214\245\345\220\227\357\274\237<br/></span></p></body></html>", Q_NULLPTR));
|
||||
dog7_A->setText(QApplication::translate("recommend", "A. \350\201\252\346\230\216\347\232\204\347\213\227\347\213\227\350\260\201\344\270\215\347\210\261\345\221\242", Q_NULLPTR));
|
||||
dog7_B->setText(QApplication::translate("recommend", "B. \346\204\277\346\204\217\350\212\261\345\244\232\344\270\200\347\202\271\347\232\204\346\227\266\351\227\264\345\216\273\350\256\255\347\273\203\347\213\227\347\213\227", Q_NULLPTR));
|
||||
label_19->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:22pt; font-weight:600; color:#ff007f;\">8. \347\213\227\347\213\227\347\232\204\347\273\235\350\202\262\346\230\257\344\270\252\345\244\247\351\227\256\351\242\230\357\274\214\345\244\204\347\220\206\345\276\227\345\275\223\357\274\214\344\274\232\345\207\217\344\275\216\344\270\273\344\272\272\347\232\204\345\271\263\346\227\266\350\264\237\346\213\205\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff007f;\">\344\275\240\345\270\214\346\234\233\345\256\240\347\211\251\347\232\204\347\273\235\350\202\262\346\226\271\351\235\242\345\246\202\344\275\225\357\274\237<br/></span></p></body></html>", Q_NULLPTR));
|
||||
dog8_A->setText(QApplication::translate("recommend", "A. \351\234\200\350\246\201\347\273\235\350\202\262\347\232\204\350\257\235\344\274\232\345\270\246\345\216\273\346\255\243\347\241\256\345\244\204\347\220\206", Q_NULLPTR));
|
||||
dog8_B->setText(QApplication::translate("recommend", "B. \346\233\264\346\204\277\346\204\217\346\211\276\344\270\200\345\217\252\346\262\241\346\234\211\350\277\231\346\226\271\351\235\242\345\233\260\346\211\260\347\232\204\347\213\227\347\213\227", Q_NULLPTR));
|
||||
label_20->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:22pt; font-weight:600; color:#ff007f;\">9. \347\213\227\347\213\227\344\275\234\344\270\272\345\256\266\345\272\255\347\232\204\346\226\260\344\274\231\344\274\264\357\274\214\351\234\200\350\246\201\350\212\261\346\227\266\351\227\264\346\230\257\351\200\202\345\272\224\350\277\231\344\270\252\345\256\266\345\272\255\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff007f;\">\345\216\273\351\200\202\345\272\224\344\270\273\344\272\272\347\232\204\346\200\247\346\240\274\357\274\214\344\275\240\345\270\214\346\234\233\346\211\276\344\270\200\345\217\252\346\200\216\346\240\267\347\232\204\347\213\227\347\213\227\345\221\242\357\274\237<br/></span></p></body></html>", Q_NULLPTR));
|
||||
dog9_A->setText(QApplication::translate("recommend", "A. \351\200\202\345\272\224\350\203\275\345\212\233\345\274\272\357\274\214\345\276\210\345\277\253\350\256\244\347\224\237\347\232\204\347\213\227\347\213\227", Q_NULLPTR));
|
||||
dog9_B->setText(QApplication::translate("recommend", "B. \344\270\215\345\234\250\346\204\217\357\274\214\345\217\257\344\273\245\346\205\242\346\205\242\347\232\204\351\251\257\346\234\215\347\213\227\347\213\227", Q_NULLPTR));
|
||||
label_21->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:22pt; font-weight:600; color:#ff557f;\">10. \347\213\227\347\213\227\344\271\237\345\246\202\344\272\272\344\270\200\350\210\254\357\274\214\346\234\211\347\235\200\350\207\252\345\267\261\347\232\204\345\260\217\350\204\276\346\260\224\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff557f;\">\351\234\200\350\246\201\344\270\273\344\272\272\345\216\273\345\217\221\347\216\260\345\222\214\346\255\243\347\241\256\345\257\271\345\276\205\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff557f;\">\351\202\243\344\271\210\357\274\214\344\275\240\345\270\214\346\234\233\350\207\252\345\267\261\347\232\204\347\213\227\347\213\227\346\234\211\347\235\200\345\223\252\347\247\215\350\204\276\346\260\224\345\221\242\357\274\237<br/></span></p></body></html>", Q_NULLPTR));
|
||||
dog10_A->setText(QApplication::translate("recommend", "A. \346\262\241\345\225\245\350\204\276\346\260\224\357\274\214\345\217\213\345\226\204\346\270\251\351\251\257\347\261\273", Q_NULLPTR));
|
||||
dog10_B->setText(QApplication::translate("recommend", "B. \345\217\257\344\273\245\346\234\211\345\260\217\350\204\276\346\260\224\357\274\214\344\274\232\346\255\243\347\241\256\345\257\271\345\276\205", Q_NULLPTR));
|
||||
label_22->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:22pt; font-weight:600; color:#ff0000;\">11. \347\213\227\347\213\227\347\232\204\351\245\262\345\205\273\346\230\257\344\270\252\347\262\276\347\273\206\346\264\273\357\274\214\350\246\201\346\263\250\346\204\217\347\232\204\344\272\213\351\241\271\345\276\210\345\244\232\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff0000;\">\345\276\210\350\200\203\351\252\214\344\270\273\344\272\272\347\232\204\344\270\252\344\272\272\350\203\275\345\212\233\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff0000;\">\351\202\243\344\271\210\357\274\214\344\275\240\346\234\211\350\203\275\345\212\233\345\216\273\347\205\247\351\241\276\345\245\275\347\213\227\347\213\227\347\232\204\346\226\271\346\226\271\351\235\242\351\235\242\345\220\227\357\274\237<br/></span></p></body></html>", Q_NULLPTR));
|
||||
dog11_A->setText(QApplication::translate("recommend", "A. \346\210\221\350\266\263\345\244\237\347\273\206\345\277\203\357\274\214\345\216\273\350\200\203\350\231\221\347\213\227\347\213\227\347\232\204\345\220\204\346\226\271\351\235\242", Q_NULLPTR));
|
||||
dog11_B->setText(QApplication::translate("recommend", "B. \345\270\214\346\234\233\344\270\200\345\217\252\351\245\262\345\205\273\351\232\276\345\272\246\345\260\217\347\232\204\347\213\227\347\213\227", Q_NULLPTR));
|
||||
label_11->setText(QApplication::translate("recommend", "<html><head/><body><p align=\"center\"><span style=\" font-size:20pt; font-weight:600; color:#ff0000;\">\347\234\213\346\235\245\357\274\214\350\277\230\346\230\257\347\214\253\345\222\252\351\200\202\345\220\210\351\273\230\351\273\230\345\234\260\351\231\252\344\274\264\347\235\200\344\275\240\343\200\202\351\202\243\344\271\210\357\274\214\351\222\210\345\257\271\347\214\253\345\222\252\347\232\204\347\224\237\346\264\273\344\271\240\346\200\247\357\274\214<br>\346\235\245\350\277\233\350\241\214\346\233\264\346\267\261\345\205\245\347\232\204\345\210\206\346\236\220\357\274\214<br/>\347\234\213\344\275\240\351\200\202\345\220\210\345\205\273\345\223\252\347\247\215\347\214\253\345\222\252\345\220\247\343\200\202</span></p></body></html>", Q_NULLPTR));
|
||||
label_23->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:22pt; font-weight:600; color:#ff0000;\">1. \347\214\253\345\222\252\344\271\237\346\234\211\347\235\200\350\207\252\345\267\261\347\213\254\347\211\271\347\232\204\344\275\223\345\236\213\357\274\214\346\210\226\347\272\244\347\230\246\357\274\214\346\210\226\345\234\206\346\266\246\357\274\214\346\210\226\347\273\223\345\256\236\345\243\256\347\241\225\343\200\202</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff0000;\">\351\202\243\344\271\210\357\274\214\344\275\240\345\270\214\346\234\233\350\207\252\345\267\261\347\232\204\347\214\253\345\222\252\346\234\211\347\235\200\346\200\216\346\240\267\347\232\204\345\244\226\345\275\242\345\221\242\357\274\237<br/></span></p></body></html>", Q_NULLPTR));
|
||||
cat1_A->setText(QApplication::translate("recommend", "A. \347\272\244\347\230\246\345\236\213", Q_NULLPTR));
|
||||
cat1_B->setText(QApplication::translate("recommend", "B. \345\234\206\346\266\246\345\236\213 ", Q_NULLPTR));
|
||||
cat1_C->setText(QApplication::translate("recommend", "C. \347\273\223\345\256\236\345\243\256\347\241\225\345\236\213", Q_NULLPTR));
|
||||
label_24->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:22pt; font-weight:600; color:#ff557f;\">2. \347\214\253\345\222\252\350\231\275\347\204\266\346\257\224\350\276\203\345\256\211\351\235\231\357\274\214\344\271\237\344\270\215\351\234\200\350\246\201\345\244\226\345\207\272\351\201\233\345\274\257\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff557f;\">\344\275\206\346\230\257\344\273\226\344\273\254\347\232\204\350\277\220\345\212\250\350\203\275\345\212\233\344\271\237\346\230\257\344\270\215\345\267\256\347\232\204\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff557f;\">\351\234\200\350\246\201\346\234\211\350\266\263\345\244\237\345\244\247\347\232\204\346\264\273\345\212\250\350\214\203\345\233\264\345\216\273\345\256\214\346\210\220\346\257\217\346\227\245\347\232\204\350\277\220\345\212\250\351\207\217\343\200\202</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff557f;\">\351\202\243\344\271\210\357\274\214\344\275\240\345"
|
||||
"\270\214\346\234\233\350\207\252\345\267\261\347\232\204\347\214\253\345\222\252\350\277\220\345\212\250\351\207\217\345\246\202\344\275\225\357\274\237<br/></span></p></body></html>", Q_NULLPTR));
|
||||
cat2_A->setText(QApplication::translate("recommend", "A. \345\217\257\344\273\245\346\217\220\344\276\233\346\264\273\345\212\250\350\214\203\345\233\264\357\274\214\344\277\235\351\232\234\350\277\220\345\212\250\351\207\217", Q_NULLPTR));
|
||||
cat2_B->setText(QApplication::translate("recommend", "B. \346\233\264\345\270\214\346\234\233\344\270\200\345\217\252\345\256\211\351\235\231\357\274\214\344\270\215\351\227\271\350\205\276\347\232\204\347\214\253\345\222\252", Q_NULLPTR));
|
||||
label_25->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:22pt; font-weight:600; color:#ff007f;\">3. \346\234\211\347\232\204\347\214\253\345\222\252\350\202\240\350\203\203\350\203\275\345\212\233\344\270\215\350\241\214\357\274\214\346\210\226\351\234\200\350\246\201\346\221\204\345\205\245\347\211\271\345\256\232\350\220\245\345\205\273\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff007f;\">\345\226\202\345\205\273\346\227\266\351\234\200\350\246\201\346\233\264\345\212\240\344\273\224\347\273\206\343\200\202</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff007f;\">\351\202\243\344\271\210\357\274\214\344\275\240\345\270\214\346\234\233\347\214\253\345\222\252\347\232\204\351\245\256\351\243\237\346\214\221\345\211\224\345\220\227\357\274\237<br/></span></p></body></html>", Q_NULLPTR));
|
||||
cat3_A->setText(QApplication::translate("recommend", "A. \344\270\215\344\273\213\346\204\217\357\274\214\346\210\221\344\274\232\346\263\250\346\204\217\347\232\204 ", Q_NULLPTR));
|
||||
cat3_B->setText(QApplication::translate("recommend", "B. \345\270\214\346\234\233\347\214\253\345\222\252\345\225\245\351\203\275\345\217\257\344\273\245\345\220\203\357\274\214\344\270\215\347\224\250\345\244\252\350\277\207\346\263\250\346\204\217", Q_NULLPTR));
|
||||
label_26->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:22pt; font-weight:600; color:#ff0000;\">4. \347\214\253\345\222\252\346\207\202\347\232\204\350\207\252\346\210\221\346\270\205\346\264\201\357\274\214\344\270\215\351\234\200\350\246\201\344\270\273\344\272\272\347\232\204\351\242\235\345\244\226\346\270\205\346\264\201\345\267\245\344\275\234\343\200\202</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff0000;\">\344\275\206\347\214\253\347\240\202\357\274\214\347\214\253\347\252\235\347\255\211\347\211\251\345\223\201\347\232\204\346\270\205\346\264\201\345\267\245\344\275\234\350\277\230\346\230\257\351\234\200\350\246\201\344\270\273\344\272\272\347\232\204\345\270\256\345\212\251\343\200\202</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff0000;\">\351\202\243\344\271\210\357\274\214\345\234\250\345\215\253\347\224\237\346\270\205\346\264\201\346\226\271\351\235\242\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff0000;\">\344\275\240\345"
|
||||
"\270\214\346\234\233\346\211\276\344\270\200\345\217\252\346\200\216\346\240\267\347\232\204\347\214\253\345\222\252\345\221\242\357\274\237<br/></span></p></body></html>", Q_NULLPTR));
|
||||
cat4_A->setText(QApplication::translate("recommend", "A. \346\257\224\350\276\203\344\273\213\346\204\217\347\214\253\347\240\202\347\255\211\347\211\251\345\223\201\346\270\205\346\264\201\347\250\213\345\272\246\357\274\214\351\234\200\350\246\201\344\270\273\344\272\272\345\256\232\346\234\237\346\233\264\346\215\242 ", Q_NULLPTR));
|
||||
cat4_B->setText(QApplication::translate("recommend", "B. \345\234\250\346\204\217\347\250\213\345\272\246\350\276\203\344\275\216\357\274\214\344\270\273\344\272\272\345\217\257\344\273\245\345\273\266\346\234\237\345\216\273\346\233\264\346\215\242", Q_NULLPTR));
|
||||
label_27->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:22pt; font-weight:600; color:#ff0000;\">5. \351\203\250\345\210\206\347\214\253\345\222\252\344\274\232\345\244\251\347\224\237\345\270\246\347\226\276\347\227\205\357\274\214\346\210\226\350\200\205\345\220\216\345\244\251\344\274\232\346\234\211\347\211\271\345\256\232\347\226\276\347\227\205\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff0000;\">\351\202\243\344\271\210\357\274\214\344\275\240\344\274\232\346\202\211\345\277\203\346\212\244\347\220\206\347\214\253\345\222\252\347\232\204\350\277\231\344\272\233\347\226\276\347\227\205\345\220\227\357\274\237<br/></span></p></body></html>", Q_NULLPTR));
|
||||
cat5_A->setText(QApplication::translate("recommend", "A. \344\274\232\346\263\250\346\204\217\347\214\253\345\222\252\347\232\204\347\211\271\345\256\232\347\227\205\345\271\266\345\217\212\346\227\266\346\262\273\347\226\227", Q_NULLPTR));
|
||||
cat5_B->setText(QApplication::translate("recommend", "B. \345\205\273\344\270\200\345\217\252\350\272\253\344\275\223\345\201\245\345\272\267\347\232\204\347\214\253\345\222\252\346\233\264\345\245\275", Q_NULLPTR));
|
||||
label_28->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:22pt; font-weight:600; color:#ff0000;\">6.\347\214\253\345\222\252\344\275\234\344\270\272\345\256\266\345\272\255\347\232\204\346\226\260\344\274\231\344\274\264\357\274\214\351\234\200\350\246\201\350\212\261\346\227\266\351\227\264\345\216\273\351\200\202\345\272\224\350\277\231\344\270\252\345\256\266\345\272\255\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff0000;\">\345\216\273\351\200\202\345\272\224\344\270\273\344\272\272\347\232\204\346\200\247\346\240\274\357\274\214\344\275\240\345\270\214\346\234\233\346\211\276\344\270\200\345\217\252\346\200\216\346\240\267\347\232\204\347\214\253\345\222\252\345\221\242?</span><br/></p></body></html>", Q_NULLPTR));
|
||||
cat6_A->setText(QApplication::translate("recommend", "A. \351\200\202\345\272\224\350\203\275\345\212\233\345\274\272\357\274\214\345\276\210\345\277\253\350\256\244\347\224\237\347\232\204\347\214\253\345\222\252", Q_NULLPTR));
|
||||
cat6_B->setText(QApplication::translate("recommend", "B. \344\270\215\345\234\250\346\204\217\357\274\214\345\217\257\344\273\245\346\205\242\346\205\242\351\231\252\344\274\264\347\214\253\345\222\252", Q_NULLPTR));
|
||||
label_29->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:22pt; font-weight:600; color:#ff007f;\">7.\347\214\253\345\222\252\345\244\251\346\200\247\347\213\254\347\253\213\357\274\214\344\273\245\350\207\252\346\210\221\344\270\272\344\270\255\345\277\203\357\274\214\346\234\211\347\235\200\350\207\252\345\267\261\347\232\204\345\260\217\350\204\276\346\260\224\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff007f;\">\351\234\200\350\246\201\344\270\273\344\272\272\345\216\273\345\217\221\347\216\260\345\222\214\346\255\243\347\241\256\345\257\271\345\276\205\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff007f;\">\351\202\243\344\271\210\357\274\214\344\275\240\345\270\214\346\234\233\350\207\252\345\267\261\347\232\204\347\214\253\345\222\252\346\234\211\347\235\200\345\223\252\347\247\215\350\204\276\346\260\224\345\221\242\357\274\237<br/></span></p></body></html>", Q_NULLPTR));
|
||||
cat7_A->setText(QApplication::translate("recommend", "A. \346\262\241\345\225\245\350\204\276\346\260\224\357\274\214\345\217\257\344\273\245\346\224\276\345\277\203\351\200\227\345\274\204", Q_NULLPTR));
|
||||
cat7_B->setText(QApplication::translate("recommend", "B. \345\217\257\344\273\245\346\234\211\345\260\217\350\204\276\346\260\224\357\274\214\344\274\232\345\246\245\345\226\204\345\257\271\345\276\205", Q_NULLPTR));
|
||||
label_30->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:22pt; font-weight:600; color:#ff5500;\">8. \346\234\211\347\232\204\347\214\253\345\222\252\347\232\204\344\275\234\346\201\257\344\271\240\346\203\257\344\270\216\344\272\272\347\261\273\347\233\270\345\217\215\357\274\214\346\230\274\344\274\217\345\244\234\345\207\272\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff5500;\">\345\276\200\345\276\200\345\234\250\345\244\234\351\227\264\344\274\232\351\227\271\345\207\272\345\212\250\351\235\231\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff5500;\">\351\202\243\344\271\210\357\274\214\344\275\240\344\273\213\346\204\217\347\214\253\345\222\252\347\232\204\345\244\234\351\227\264\350\241\214\344\270\272\345\220\227\357\274\237<br/></span></p></body></html>", Q_NULLPTR));
|
||||
cat8_A->setText(QApplication::translate("recommend", "A. \344\273\213\346\204\217\357\274\214\345\270\214\346\234\233\347\214\253\345\222\252\347\232\204\344\275\234\346\201\257\345\217\257\344\273\245\350\267\237\344\272\272\345\220\214\346\255\245", Q_NULLPTR));
|
||||
cat8_B->setText(QApplication::translate("recommend", "B. \344\270\215\344\273\213\346\204\217\357\274\214\345\205\201\350\256\270\347\214\253\345\222\252\346\231\232\344\270\212\350\207\252\345\267\261\346\264\273\345\212\250", Q_NULLPTR));
|
||||
label_31->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:22pt; font-weight:600; color:#ff5500;\">9. \347\214\253\345\222\252\346\200\247\346\240\274\347\213\254\347\253\213\357\274\214\346\257\224\350\276\203\351\232\276\350\256\244\347\224\237\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff5500;\">\344\270\273\344\272\272\351\234\200\350\246\201\350\212\261\350\266\263\345\244\237\347\232\204\346\227\266\351\227\264\345\222\214\347\262\276\345\212\233\345\216\273\345\222\214\347\214\253\345\222\252\345\273\272\347\253\213\344\272\262\350\277\221\345\205\263\347\263\273\343\200\202</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff5500;\">\351\202\243\344\271\210\357\274\214\344\275\240\345\270\214\346\234\233\347\214\253\345\222\252\347\232\204\344\272\262\350\277\221\347\250\213\345\272\246\345\246\202\344\275\225\357\274\237<br/></span></p></body></html>", Q_NULLPTR));
|
||||
cat9_A->setText(QApplication::translate("recommend", "A. \345\217\257\344\273\245\351\232\217\345\217\253\351\232\217\345\210\260\357\274\214\344\272\262\350\277\221\347\250\213\345\272\246\346\220\236\351\253\230", Q_NULLPTR));
|
||||
cat9_B->setText(QApplication::translate("recommend", "B.\344\270\215\344\273\213\346\204\217\347\214\253\345\222\252\347\232\204\345\201\266\345\260\224\345\244\261\350\270\252\345\222\214\344\270\215\344\272\262\350\277\221\350\241\214\344\270\272", Q_NULLPTR));
|
||||
label_32->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:22pt; font-weight:600; color:#ff0000;\">10. \347\214\253\345\222\252\346\210\220\345\271\264\345\220\216\357\274\214\347\273\235\350\202\262\344\270\216\345\220\246\351\227\256\351\242\230\344\271\237\351\232\217\344\271\213\345\210\260\346\235\245\357\274\214\346\255\243\347\241\256\347\232\204\345\244\204\347\220\206\357\274\214</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff0000;\">\344\270\215\344\273\205\346\234\211\345\210\251\344\272\216\347\214\253\345\222\252\345\201\245\345\272\267\357\274\214\344\271\237\344\270\215\344\274\232\344\274\244\345\256\263\347\214\253\345\222\252\347\232\204\346\204\237\346\203\205\343\200\202</span></p><p><span style=\" font-size:22pt; font-weight:600; color:#ff0000;\">\351\202\243\344\271\210\357\274\214\344\275\240\345\270\214\346\234\233\347\214\253\345\222\252\347\232\204\347\273\235\350\202\262\351\227\256\351\242\230\345\246\202\344\275\225\357\274\237<br/></span></p></body></html>", Q_NULLPTR));
|
||||
cat10_A->setText(QApplication::translate("recommend", "A. \351\234\200\350\246\201\347\273\235\350\202\262\347\232\204\350\257\235\344\274\232\345\270\246\345\216\273\346\255\243\347\241\256\345\244\204\347\220\206", Q_NULLPTR));
|
||||
cat10_B->setText(QApplication::translate("recommend", "B. \346\233\264\346\204\277\346\204\217\346\211\276\344\270\200\345\217\252\346\262\241\346\234\211\350\277\231\346\226\271\351\235\242\345\233\260\346\211\260\347\232\204\347\214\253\345\222\252", Q_NULLPTR));
|
||||
label_33->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:24pt; font-weight:600; color:#ff0000;\">\347\234\213\346\235\245\357\274\214\344\275\240\346\230\257\344\270\200\344\270\252\350\277\275\346\261\202\345\260\217\344\274\227\347\232\204\344\270\273\344\272\272\357\274\214</span></p><p><span style=\" font-size:24pt; font-weight:600; color:#ff0000;\">\346\234\272\350\255\246\346\264\273\346\263\274\347\232\204\345\260\217\345\205\224\345\255\220\346\230\257\344\270\200\344\270\252\344\270\215\351\224\231\347\232\204\351\200\211\346\213\251\357\274\214</span></p><p><span style=\" font-size:24pt; font-weight:600; color:#ff0000;\">\350\200\214\345\256\266\345\205\273\345\205\224\347\247\215\347\261\273\345\244\247\345\220\214\345\260\217\345\274\202\357\274\214\346\262\241\346\234\211\350\276\203\345\244\247\347\232\204\345\214\272\345\210\253\357\274\214</span></p><p><span style=\" font-size:24pt; font-weight:600; color:#ff0000;\">\346\214\221\351\200\211\344\270\200\345\217\252\345\201\245\345\272\267\347\232\204\345\260"
|
||||
"\217\345\205\224\345\255\220\357\274\214\346\220\255\345\273\272\345\245\275\350\210\222\351\200\202\347\232\204\345\205\224\347\252\235\357\274\214</span></p><p><span style=\" font-size:24pt; font-weight:600; color:#ff0000;\">\346\217\220\344\276\233\346\257\217\346\227\245\347\232\204\350\224\254\350\217\234\350\220\235\345\215\234\357\274\214\346\257\217\346\227\245\350\277\233\350\241\214\344\272\222\345\212\250\357\274\214\351\200\227\345\274\204\357\274\214</span></p><p><span style=\" font-size:24pt; font-weight:600; color:#ff0000;\">\344\270\200\345\217\252\345\260\217\345\205\224\345\255\220\344\271\237\345\217\257\344\273\245\347\273\231\344\275\240\345\270\246\346\235\245\345\276\210\345\244\232\345\210\253\346\240\267\347\232\204\344\271\220\350\266\243\343\200\202<br/></span></p></body></html>", Q_NULLPTR));
|
||||
label_34->setText(QApplication::translate("recommend", "<html><head/><body><p><span style=\" font-size:24pt; font-weight:600; color:#ff0000;\">\345\223\207\346\222\222\357\274\214\345\260\217\345\260\217\347\232\204\344\271\214\351\276\237\346\267\261\345\217\227\344\275\240\347\232\204\351\235\222\347\235\220\357\274\214\345\220\214\346\227\266\357\274\214</span></p><p><span style=\" font-size:24pt; font-weight:600; color:#ff0000;\">\345\205\273\344\270\200\345\217\252\344\271\214\351\276\237\344\271\237\346\230\257\351\235\236\345\270\270\347\234\201\345\277\203\347\234\201\345\212\233\347\232\204\357\274\232</span></p><p><span style=\" font-size:24pt; font-weight:600; color:#ff0000;\">\345\217\252\351\234\200\344\270\200\345\274\257\345\260\217\345\260\217\347\232\204\346\271\276\345\241\230\357\274\214\347\202\271\347\274\200\347\235\200\350\227\273\350\215\207\357\274\214</span></p><p><span style=\" font-size:24pt; font-weight:600; color:#ff0000;\">\351\232\224\345\276\210\351\225\277\344\270\200\346\256\265\346\227\266\351\227\264\346\211\215\351\234\200\350\246"
|
||||
"\201\345\226\202\345\205\273\344\270\200\346\254\241\357\274\214</span></p><p><span style=\" font-size:24pt; font-weight:600; color:#ff0000;\">\346\270\205\346\264\201\345\267\245\344\275\234\345\276\210\345\260\221\357\274\214\344\272\222\345\212\250\344\271\237\345\207\240\344\271\216\344\270\215\351\234\200\350\246\201\357\274\214\350\200\214\344\270\224\357\274\214</span></p><p><span style=\" font-size:24pt; font-weight:600; color:#ff0000;\">\345\201\245\345\272\267\347\232\204\344\271\214\351\276\237\347\224\232\350\207\263\345\217\257\344\273\245\351\231\252\344\274\264\344\275\240\347\232\204\344\270\200\347\224\237\357\274\214\350\277\231\357\274\214\344\271\237\346\230\257\345\276\210\345\244\232\345\205\273\351\276\237\344\272\272\347\232\204\344\271\220\350\266\243\343\200\202<br/></span></p></body></html>", Q_NULLPTR));
|
||||
label_7->setText(QApplication::translate("recommend", "\346\216\250\351\200\201\347\273\223\346\236\234", Q_NULLPTR));
|
||||
test_result->setText(QApplication::translate("recommend", "TextLabel", Q_NULLPTR));
|
||||
label_38->setText(QApplication::translate("recommend", "\346\210\221\344\273\254\346\216\250\350\215\220\347\273\231\344\275\240\347\232\204\345\256\240\347\211\251\346\230\257", Q_NULLPTR));
|
||||
label_8->setText(QApplication::translate("recommend", "\346\265\213\350\257\225\347\273\223\346\235\237\345\225\246\357\274\214\345\233\236\345\210\260\344\270\273\347\225\214\351\235\242\345\220\247\357\274\201", Q_NULLPTR));
|
||||
change_page->setText(QApplication::translate("recommend", "next", Q_NULLPTR));
|
||||
last_page->setText(QApplication::translate("recommend", "Back", Q_NULLPTR));
|
||||
} // retranslateUi
|
||||
|
||||
};
|
||||
|
||||
namespace Ui {
|
||||
class recommend: public Ui_recommend {};
|
||||
} // namespace Ui
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#endif // UI_RECOMMEND_H
|
@ -1,51 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
|
||||
from bs4 import BeautifulSoup
|
||||
import requests
|
||||
|
||||
def get_html(url):
|
||||
try:
|
||||
response = requests.get(url,headers=headers)
|
||||
response.encoding = 'GBK'
|
||||
response.encoding = 'utf-8'
|
||||
# response.encoding = 'gbk'
|
||||
html = response.text
|
||||
return html
|
||||
except:
|
||||
print('请求网址出错')
|
||||
|
||||
def write(txt,txtname):
|
||||
with open(txtname+'.txt', 'w', encoding='UTF-8') as f:
|
||||
f.write(str(txt) + '\n')
|
||||
f.close()
|
||||
|
||||
headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36',}
|
||||
o_urls = list()
|
||||
keyword = input()
|
||||
with open('page_urls\\'+str(keyword) + 'page_urls.txt','r',encoding = 'UTF-8') as f:
|
||||
lines = f.readlines()
|
||||
cnt = 0
|
||||
for url in eval(lines[0]):
|
||||
cnt += 1
|
||||
try:
|
||||
soup = BeautifulSoup(get_html(url),'lxml')
|
||||
for i in range(10*(cnt-1)+1,10*cnt+2):
|
||||
subs = soup.find_all(id = str(i))
|
||||
if subs:
|
||||
tmp = subs[0].find('h3')
|
||||
if tmp:
|
||||
tmp = tmp.find('a')
|
||||
if tmp:
|
||||
tmp = tmp.get('href')
|
||||
o_urls.append(tmp)
|
||||
print(tmp)
|
||||
except:
|
||||
print('false')
|
||||
f.close()
|
||||
|
||||
with open('urls\\'+str(keyword) + 'urls.txt','w',encoding = 'UTF-8') as f:
|
||||
f.write(str(o_urls))
|
||||
f.close()
|
||||
|
||||
|
@ -1,176 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from bs4 import BeautifulSoup
|
||||
import requests
|
||||
import re
|
||||
|
||||
def get_html(url):
|
||||
try:
|
||||
response = requests.get(url,headers=headers)
|
||||
response.encoding = 'GBK'
|
||||
response.encoding = 'utf-8'
|
||||
# response.encoding = 'gbk'
|
||||
html = response.text
|
||||
return html
|
||||
except:
|
||||
print('请求网址出错')
|
||||
|
||||
headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36',}
|
||||
|
||||
|
||||
def make(url):
|
||||
soup = BeautifulSoup(get_html(url),'lxml')
|
||||
cata = list()
|
||||
subs = soup.find_all(class_ = ['para','anchor-list'])
|
||||
|
||||
i=0
|
||||
part1 = ''
|
||||
num = 0
|
||||
while i < len(subs):
|
||||
#具体信息
|
||||
part2 = ''
|
||||
cont = ''
|
||||
while(subs[i]['class'][0] == 'para'):
|
||||
#过滤图片
|
||||
[s.extract() for s in subs[i].find_all("div", {"class": "description"})]
|
||||
txt = subs[i].text
|
||||
while txt != '' and txt[0] == '\n':
|
||||
txt = txt[1::]
|
||||
while txt != '' and txt[-1] == '\n':
|
||||
txt = txt[:-1:]
|
||||
if txt != '':
|
||||
cont = cont + '\t' + str(txt) + '\n'
|
||||
i = i + 1
|
||||
newcont = cont
|
||||
#替换注释数字
|
||||
res = re.findall('\n\[\d+\].*?\n',newcont,re.S)
|
||||
for r in res:
|
||||
cont = newcont.replace(r,'')
|
||||
newcont = cont
|
||||
#替换\u3000
|
||||
cont = newcont.replace('\u3000','')
|
||||
newcont = cont
|
||||
#删除连续换行符
|
||||
res = re.findall('\n\n+',newcont,re.S)
|
||||
for r in res:
|
||||
cont = newcont.replace(r,'')
|
||||
newcont = cont
|
||||
#添加
|
||||
if newcont != '':
|
||||
if newcont[-1] != '\n':
|
||||
newcont = newcont + '\n'
|
||||
part2 = newcont
|
||||
if part1 != '' or part2 != '':
|
||||
cata.append([part1,part2,num])
|
||||
#分类名
|
||||
if subs[i]['class'][0] == 'anchor-list':
|
||||
tag = subs[i].find_all('a')
|
||||
if len(tag) >= 3:
|
||||
if '_' in str(tag[0]['name']):
|
||||
pos = str(tag[0]['name']).find('_')
|
||||
num = int(str(tag[0]['name'])[pos+1::])
|
||||
else:
|
||||
num = 0
|
||||
part1 = str(tag[2]['name'])
|
||||
i = i + 1
|
||||
return cata
|
||||
|
||||
def write(txt,name):
|
||||
with open(name+'.txt', 'w', encoding='UTF-8') as f:
|
||||
f.write(txt)
|
||||
f.close()
|
||||
|
||||
def append(txt,name):
|
||||
with open(name+'.txt', 'a', encoding='UTF-8') as f:
|
||||
f.write(txt)
|
||||
f.close()
|
||||
|
||||
def unify(content,name,path):
|
||||
cnt = 1
|
||||
i = 0
|
||||
while i < len(content):
|
||||
notxt = True
|
||||
if content[i][2] == 0:
|
||||
txtname = path + name + '_(' + str(cnt) + ')' + content[i][0]
|
||||
cnt += 1
|
||||
if content[i][1] != '':
|
||||
write(content[i][1],txtname)
|
||||
notxt = False
|
||||
i += 1
|
||||
while i < len(content) and content[i][2] != 0:
|
||||
if notxt:
|
||||
if content[i][1] != '':
|
||||
notxt = False
|
||||
if content[i][0] == '':
|
||||
write(content[i][2] + '. ' + content[i][1],txtname)
|
||||
else:
|
||||
write(content[i][0] + ':\n' + content[i][1],txtname)
|
||||
else:
|
||||
if content[i][0] == '':
|
||||
append(content[i][2] + '. ' + content[i][1],txtname)
|
||||
else:
|
||||
append(content[i][0] + ':\n' + content[i][1],txtname)
|
||||
i += 1
|
||||
if notxt:
|
||||
delecnt.append(cnt-1)
|
||||
|
||||
def cataloguegenerate(path):
|
||||
with open('catalogue.txt','a',encoding = 'UTF-8') as f:
|
||||
f.write(path[0:2] + '\n')
|
||||
f.close()
|
||||
|
||||
def catalogueappend(content,name,path):
|
||||
with open('catalogue.txt','a',encoding = 'UTF-8') as f:
|
||||
f.write('\t' + name + '\n')
|
||||
cnt = 1
|
||||
for i in range(len(content)):
|
||||
if content[i][2] == 0 and content[i][0] != '':
|
||||
cnt += 1
|
||||
if not cnt in delecnt:
|
||||
f.write('\t\t' + content[i][0] + '\n')
|
||||
f.close()
|
||||
|
||||
|
||||
with open("namelist.txt","w",encoding = "UTF-8") as namelist:
|
||||
with open('dogs.txt','r',encoding = 'ANSI') as f:
|
||||
path = '狗狗\\'
|
||||
cataloguegenerate(path)
|
||||
lines = f.readlines()
|
||||
for i in range(len(lines)):
|
||||
line = eval(lines[i])
|
||||
#delecnt = list()
|
||||
namelist.write("狗:"+line[0]+"\n")
|
||||
#unify(make(line[1]),line[0],path)
|
||||
#write(str(line[0])+'\n',"tmp\\"+line[0])
|
||||
write(str(make(line[1])),"tmp\\" + line[0])
|
||||
catalogueappend(make(line[1]),line[0],path)
|
||||
f.close()
|
||||
|
||||
with open('cats.txt','r',encoding = 'ANSI') as f:
|
||||
path = '猫猫\\'
|
||||
cataloguegenerate(path)
|
||||
lines = f.readlines()
|
||||
for i in range(len(lines)):
|
||||
line = eval(lines[i])
|
||||
#delecnt = list()
|
||||
namelist.write("猫:"+line[0]+"\n")
|
||||
#unify(make(line[1]),line[0],path)
|
||||
#write(str(line[0])+'\n',"tmp\\"+line[0])
|
||||
write(str(make(line[1])),"tmp\\" + line[0])
|
||||
catalogueappend(make(line[1]),line[0],path)
|
||||
f.close()
|
||||
|
||||
with open('else.txt','r',encoding = 'ANSI') as f:
|
||||
path = '其他动物\\'
|
||||
cataloguegenerate(path)
|
||||
lines = f.readlines()
|
||||
for i in range(len(lines)):
|
||||
line = eval(lines[i])
|
||||
#delecnt = list()
|
||||
namelist.write("另:"+line[0]+"\n")
|
||||
#unify(make(line[1]),line[0],path)
|
||||
#write(str(line[0])+'\n',"tmp\\"+line[0])
|
||||
write(str(make(line[1])),"tmp\\" + line[0])
|
||||
catalogueappend(make(line[1]),line[0],path)
|
||||
f.close()
|
||||
namelist.close()
|
@ -1,39 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
from bs4 import BeautifulSoup
|
||||
import requests
|
||||
|
||||
def get_html(url):
|
||||
try:
|
||||
response = requests.get(url,headers=headers)
|
||||
response.encoding = 'GBK'
|
||||
response.encoding = 'utf-8'
|
||||
# response.encoding = 'gbk'
|
||||
html = response.text
|
||||
return html
|
||||
except:
|
||||
print('请求网址出错')
|
||||
|
||||
def write(txt,txtname):
|
||||
with open(txtname+'.txt', 'w', encoding='UTF-8') as f:
|
||||
f.write(str(txt) + '\n')
|
||||
f.close()
|
||||
|
||||
headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36',}
|
||||
keyword = input()
|
||||
|
||||
with open('urls\\'+str(keyword)+'urls.txt','r', encoding='UTF-8') as f:
|
||||
urls = f.read()
|
||||
urls = eval(urls)
|
||||
f.close()
|
||||
|
||||
for i in range(len(urls)):
|
||||
url = str(urls[i])
|
||||
with open('信息\\'+str(keyword)+'\\'+str(keyword)+str(i+1)+'.txt','w', encoding='UTF-8') as f:
|
||||
try:
|
||||
soup = BeautifulSoup(get_html(url),'lxml')
|
||||
f.write(soup.text)
|
||||
f.close()
|
||||
except:
|
||||
print('false')
|
||||
|
@ -1,42 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
jinmaourl = 'https://baike.baidu.com/item/%E9%87%91%E6%AF%9B%E5%AF%BB%E5%9B%9E%E7%8A%AC/1955498?fromtitle=%E9%87%91%E6%AF%9B&fromid=303188&fr=aladdin'
|
||||
hashiqiurl = 'https://baike.baidu.com/item/%E8%A5%BF%E4%BC%AF%E5%88%A9%E4%BA%9A%E9%9B%AA%E6%A9%87%E7%8A%AC/540855?fromtitle=%E5%93%88%E5%A3%AB%E5%A5%87&fromid=123197&fr=aladdin'
|
||||
bixiongurl = 'https://baike.baidu.com/item/%E6%AF%94%E7%86%8A%E7%8A%AC/6139?fromtitle=%E6%AF%94%E7%86%8A&fromid=10908708&fr=aladdin'
|
||||
taidiurl = 'https://baike.baidu.com/item/%E8%B4%B5%E5%AE%BE%E7%8A%AC/787021?fromtitle=%E6%B3%B0%E8%BF%AA&fromid=12798736&fr=aladdin'
|
||||
kejiurl = 'https://baike.baidu.com/item/%E5%A8%81%E5%B0%94%E5%A3%AB%E6%9F%AF%E5%9F%BA%E7%8A%AC/84385?fromtitle=%E6%9F%AF%E5%9F%BA&fromid=9603115&fr=aladdin'
|
||||
demuurl = 'https://baike.baidu.com/item/%E5%BE%B7%E5%9B%BD%E7%89%A7%E7%BE%8A%E7%8A%AC/82321?fromtitle=%E5%BE%B7%E7%89%A7&fromid=7310265&fr=aladdin'
|
||||
|
||||
yingduanlanmaourl = 'https://baike.baidu.com/item/%E8%8B%B1%E7%9F%AD%E8%93%9D%E7%8C%AB/19460422?fr=aladdin'
|
||||
buoumaourl = 'https://baike.baidu.com/item/%E5%B8%83%E5%81%B6%E7%8C%AB/642121?fr=aladdin'
|
||||
jiafeimaourl = 'https://baike.baidu.com/item/%E5%BC%82%E5%9B%BD%E7%9F%AD%E6%AF%9B%E7%8C%AB/4630871?fromtitle=%E5%8A%A0%E8%8F%B2%E7%8C%AB&fromid=9476587&fr=aladdin'
|
||||
yinjiancengurl = 'https://baike.baidu.com/item/%E8%8B%B1%E7%9F%AD%E9%93%B6%E6%B8%90%E5%B1%82/23382879?fr=aladdin'
|
||||
jianadawumaomaourl = 'https://baike.baidu.com/item/%E5%8A%A0%E6%8B%BF%E5%A4%A7%E6%97%A0%E6%AF%9B%E7%8C%AB/643507?fr=aladdin'
|
||||
xianluomaourl = 'https://baike.baidu.com/item/%E6%9A%B9%E7%BD%97%E7%8C%AB/556082?fr=aladdin'
|
||||
|
||||
guiurl = 'https://baike.baidu.com/item/%E4%B9%8C%E9%BE%9F/14078891?fr=aladdin'
|
||||
tuurl = 'https://baike.baidu.com/item/%E5%85%94/522910?fr=aladdin'
|
||||
|
||||
dogurllist = [jinmaourl,hashiqiurl,bixiongurl,taidiurl,kejiurl,demuurl]
|
||||
dognamelist = ['金毛','哈士奇','比熊','泰迪','柯基','德牧']
|
||||
|
||||
caturllist = [yingduanlanmaourl,buoumaourl,jiafeimaourl,yinjiancengurl,jianadawumaomaourl,xianluomaourl]
|
||||
catnamelist = ['英短蓝猫','布偶猫','加菲猫','银渐层','加拿大无毛猫','暹罗猫']
|
||||
|
||||
elseurllist = [guiurl,tuurl]
|
||||
elsenamelist = ['龟','兔']
|
||||
|
||||
with open('dogs.txt','w',encoding = 'ANSI') as f:
|
||||
for i in range(len(dogurllist)):
|
||||
f.write('[\'' + dognamelist[i] + '\',\'' + dogurllist[i] + '\']\n')
|
||||
f.close()
|
||||
|
||||
with open('cats.txt','w',encoding = 'ANSI') as f:
|
||||
for i in range(len(caturllist)):
|
||||
f.write('[\'' + catnamelist[i] + '\',\'' + caturllist[i] + '\']\n')
|
||||
f.close()
|
||||
|
||||
with open('else.txt','w',encoding = 'ANSI') as f:
|
||||
for i in range(len(elseurllist)):
|
||||
f.write('[\'' + elsenamelist[i] + '\',\'' + elseurllist[i] + '\']\n')
|
||||
f.close()
|
Loading…
Reference in new issue