Compare commits

...

No commits in common. 'master' and 'master' have entirely different histories.

@ -17,12 +17,5 @@ git remote add origin https://bdgit.educoder.net/p54670231/Idea.git
git push -u origin master
```
需要Qt5.9环境下, 直接用 Qt打开项目
具体过程: 打开Qt, 打开 文件或项目 打开pet_project.pro
左侧项目选项构建目录选择当前目录然后选择Mingw32编译器
如果无法构建,可能是有部分源代码失效,如果无法构建,请从下方链接,重新下载源代码
链接https://pan.baidu.com/s/1H3U8CQAMEeJiYpTVwzue7Q
提取码pet1
所有的源码放在 src/part1.7z 与 src/part2.7z中

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,127 +1,127 @@
#include "canadian_hairless.h"
#include "ui_canadian_hairless.h"
#include "cat_book.h"
#include "canada_cat_content.h"
#include "ui_canada_cat_content.h"
Canadian_hairless::Canadian_hairless(QWidget *parent) :
QWidget(parent),
ui(new Ui::Canadian_hairless)
{
ui->setupUi(this);
connect(this->ui->pushButton,SIGNAL(clicked(bool)),this,SLOT(button1()));
connect(this->ui->pushButton_2,SIGNAL(clicked(bool)),this,SLOT(button2()));
connect(this->ui->pushButton_3,SIGNAL(clicked(bool)),this,SLOT(button3()));
connect(this->ui->pushButton_4,SIGNAL(clicked(bool)),this,SLOT(button4()));
connect(this->ui->pushButton_5,SIGNAL(clicked(bool)),this,SLOT(button5()));
connect(this->ui->pushButton_6,SIGNAL(clicked(bool)),this,SLOT(button6()));
ui->pushButton->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_2->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_3->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_4->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_5->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_6->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
}
Canadian_hairless::~Canadian_hairless()
{
delete ui;
}
void Canadian_hairless::on_back_clicked()
{
Cat_book *back_book = new Cat_book;
back_book->cat_book_set_background();
back_book->show();
delete this;
}
void Canadian_hairless::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);
}
void Canadian_hairless::button1()
{
Canada_cat_content *go = new Canada_cat_content;
go->canadian_book_set_background();
go->ui->textBrowser->setFontPointSize(20);
go->ui->textBrowser->setFontFamily("");
go->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
go->ui->textBrowser->setText(" 加拿大无毛猫毛发稀疏,在耳、口、鼻、尾前锻、脚等部位有些又薄又软的胎毛,其它全身部分均无毛,皮肤皱褶似羚羊皮,有弹性,越年轻的猫的面部越圆,皮肤的皱纹越多;刚生下的小猫身上就有许多皱纹,并布满了柔细的胎毛,随着年龄的增长,绒毛仅残留于头部、四肢、尾巴和身体的末端部位。\n\n"
"加拿大无毛猫已经培育出所有猫的颜色,这些颜色全显现在皮肤上,但眼睛颜色与体色相称。在它们身体上本应该出现暗色皮毛的地方,会有色素存在。 体重一般达到3.5到7公斤肌肉发达胸深背较驼腹紧凑而不上收。四肢细长骨骼纤细后肢比前肢长。头部棱角分明宽大而呈楔形颧骨突出两颊瘦削脸呈正三角形耳廓硕大、直立高耸于头顶耳端尖圆微前倾眼睛大而微突呈柠檬状稍倾斜多为蓝色和金黄色上眼角斜向耳间距较宽。尾巴如老鼠般又细又长像长鞭一样弯曲上翘。\n\n"
"一般来说,抚摸加拿大无毛猫带给人的感觉就像在摸一块光滑柔软的小山羊皮。而有些加拿大无毛猫则长着了一层非常纤细,用眼睛难以察觉的体毛,这种无毛猫摸起来则更像个暖和而又新鲜的水蜜桃。");
go->show();
delete this;
}
void Canadian_hairless::button2()
{
Canada_cat_content *go = new Canada_cat_content;
go->canadian_book_set_background();
go->ui->textBrowser->setFontPointSize(20);
go->ui->textBrowser->setFontFamily("");
go->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
go->ui->textBrowser->setText(" 加拿大无毛猫斯芬克斯猫又名斯芬克斯无毛猫。早在1700年前就有南美墨西哥土著居民饲养过这种无毛猫的记载。但直到该品种在猫展中获得成功人们才开始注意它并对它产生兴趣。TlCA承认该品种此种猫在2005年被认定为稀有品种。 有记载的最早无毛猫是一对名叫内利和迪克的同窝出生的兄弟。1903年美国新墨西哥州人辛尼克从普韦布洛的美国本土印第安人手中买下了它们。1966年无毛猫再次发现于加拿大多伦多加拿大无毛猫的名字由此而来。此后不久在美国的明尼苏达也发现了无毛猫。随着无毛猫的名声越来越大世界各地也都有发现无毛猫的报道。于是一些爱猫人士培育出斯芬克斯猫这种斯芬克斯猫不容易受到基因疾病的侵扰也不是近亲繁殖所生育的残疾。");
go->show();
delete this;
}
void Canadian_hairless::button3()
{
Canada_cat_content *go = new Canada_cat_content;
go->canadian_book_set_background();
go->ui->textBrowser->setFontPointSize(20);
go->ui->textBrowser->setFontFamily("");
go->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
go->ui->textBrowser->setText(" 加拿大无毛猫无毛猫在很多时候爱舔身子自我清洁并且经常清理自己的毛。饭后它会用前爪擦擦胡子小便后用舌头舔舔肛门被人抱后用舌头舔舔毛。这是小无毛猫在除去身上的异味和脏物。无毛猫的舌头上有许多粗糙的小突起是除去脏东西的工具。无毛猫用舌头舔被毛是为了刺激皮脂腺的分泌使毛光亮润滑不易被水打湿并能舔食到少量的维生素D促进骨骼的正常发育还可使被毛蓬松促进散热的功能。无毛猫一般常在进食和玩耍后或追击猎物剧烈运动及在阳光下睡醒以后开始梳洗整理被毛。在炎热季节或剧烈运动之后体内产生大量的热量为了保持体温的恒定必须将多余的热能排出体外。所以无毛猫就利用舌头将唾液涂抹到被毛上唾液里水分的蒸发可带走热量起到降温解暑的作用。在脱毛时经常梳理可促进新毛生长。另外通过抓、咬能防止被毛感染寄生虫病如跳蚤、毛虱病等保持身体健康。"
"\n\n无毛猫掩盖粪便的行为完全是出于生活的本能,是由祖先遗传来的。无毛猫的祖先——野无毛猫,为了防止天敌从其粪便气味发现它、追踪它,于是就将粪便掩盖起来。现代无毛猫的这种行为已丝毫没有这方面的意义了,但却使无毛猫赢得了讲卫生的好声誉。 加拿大无毛猫凡是猫都有相当出色的日间与夜视能力所以加拿大无毛猫也不例外。无毛猫至今仍然保持着肉食动物那种昼伏夜出的习性很多活动如捕鼠、求偶交配常常是在夜间进行。无毛猫每天最活跃的时刻是在黎明或傍晚而白天的大部分时间都在懒洋洋地休息或睡觉。在亮处无毛猫会将瞳孔缩得如线般狭小以减少对视网膜的伤害但会限制视野的广阔性。无毛猫的网膜背面有一层蓝绿色像荧光一般的薄膜叫作tapetum lucidum可增加在暗处的视力在闪光中无毛猫眼能呈现各式各样颜色。如同多数食肉动物它们眼睛都在脸上朝正前方赋予其辽阔的视野。无毛猫对三原色的辨识力很差。如果加拿大无毛猫在这儿只有微弱光线它们会使用胡须来改善行动力与感知能力。胡须可感受到非常微弱的风以在看不太见的情况下辨识阻碍的位置。无毛猫有三眼皮当无毛猫眼睑张开时扎眼眼皮会从旁稍微遮盖住眼睛。如果无毛猫病了或是睡眠、笑着此眼皮会缩回一部分。如果有无毛猫长时间地崭露第三眼皮是生病的表现。"
"\n\n几乎所有的无毛猫平时耳朵是朝上的,不同于狗,耳折下的无毛猫是非常稀有的,苏格兰折耳无毛猫就是个基因突变的例子。在生气或受惊时,无毛猫耳会垂下,并伴随着发出咆哮声。聆听事物时,无毛猫会因此而转动耳朵,如此无毛猫耳可以听到来自多方的声音。"
"\n\n此外,斯芬克斯猫性情老实,忍耐力极强,脾气很好,而且在某些方面它们更像狗,容易与人亲近而且对主人忠诚。");
go->show();
delete this;
}
void Canadian_hairless::button4()
{
Canada_cat_content *go = new Canada_cat_content;
go->canadian_book_set_background();
go->ui->textBrowser->setFontPointSize(20);
go->ui->textBrowser->setFontFamily("");
go->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
go->ui->textBrowser->setText(" 斯芬克斯猫通幼崽常能活到9—15岁。它的无毛现象是由特定的隐性基因所引起的这就意味着一只无毛猫的父母亲肯定都携带一种与无毛有关的基因。除非是猫类近亲繁殖或是双方都携带有相关基因否则事实上无毛现象仍然是一种罕见的现象。加拿大无毛猫其实并非是完全无毛。它们和无毛狗、无毛大象和无毛海洋哺乳动物一样都有少量的毛发不过这些毛发的数量和长度都已大大缩减。有些人把加拿大无毛猫的皮毛看作是一种桃色绒毛。 因为早晨和晚上无毛猫机体内的各种机能活动都很旺盛,因此这时是配种的绝佳时机,可以保证有较高的成功率。母猫每年发情不超过两次,幼猫出生死亡率高,新生小猫皮肤皱多,脊被上的毛随着年龄的增长而消失。斯芬克斯无毛猫繁殖较困难,所以至今数量较少,显得十分珍贵。"
"\n\n欧美的猫种繁育者曾用了三十多年时间将无毛猫繁育成普通被毛的猫,然后再将它们繁育回无毛猫。这种选择繁育的目的是这种猫含有多种基因,以避免健康方面和基因方面的问题。");
go->show();
delete this;
}
void Canadian_hairless::button5()
{
Canada_cat_content *go = new Canada_cat_content;
go->canadian_book_set_background();
go->ui->textBrowser->setFontPointSize(20);
go->ui->textBrowser->setFontFamily("");
go->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
go->ui->textBrowser->setText(" 无毛猫和别的猫相比多汗,体温也比一般猫要高出 4 ℃ 因而要不断进食才能维持其新陈代谢。无毛猫对阳光十分敏感因为白色部位易晒黑。由于无毛它们对外界温度调节能力差既怕冷、又怕热。当室温保持在25~30度之间会让该种猫感觉非常舒适温度低于20度它就会感觉到冷而如果室内温度低于10度无毛猫就会被冻死。这种猫适合公寓饲养。在夏天主人需要给它们涂抹防晒霜以免晒伤在冬天则需要给它们添加衣物来遮体保暖。");
go->show();
delete this;
}
void Canadian_hairless::button6()
{
Canada_cat_content *go = new Canada_cat_content;
go->canadian_book_set_background();
go->ui->textBrowser->setFontPointSize(20);
go->ui->textBrowser->setFontFamily("");
go->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
go->ui->textBrowser->setText(" 2010年加拿大无毛猫在英国大受欢迎其售价却高达3000英镑。但对于这种外表太有个性的猫人们的看法往往呈截然相反的两派无毛猫爱好者们认为它是最稀有的猫种是罕见的珍宝而无法接受它奇特外表的人则直接称它为“怪物”。英国至2008年共有25个满足英国猫迷管理委员会所定标准的注册无毛猫养殖者。");
go->show();
delete this;
}
#include "canadian_hairless.h"
#include "ui_canadian_hairless.h"
#include "cat_book.h"
#include "canada_cat_content.h"
#include "ui_canada_cat_content.h"
Canadian_hairless::Canadian_hairless(QWidget *parent) :
QWidget(parent),
ui(new Ui::Canadian_hairless)
{
ui->setupUi(this);
connect(this->ui->pushButton,SIGNAL(clicked(bool)),this,SLOT(button1()));
connect(this->ui->pushButton_2,SIGNAL(clicked(bool)),this,SLOT(button2()));
connect(this->ui->pushButton_3,SIGNAL(clicked(bool)),this,SLOT(button3()));
connect(this->ui->pushButton_4,SIGNAL(clicked(bool)),this,SLOT(button4()));
connect(this->ui->pushButton_5,SIGNAL(clicked(bool)),this,SLOT(button5()));
connect(this->ui->pushButton_6,SIGNAL(clicked(bool)),this,SLOT(button6()));
ui->pushButton->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_2->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_3->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_4->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_5->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_6->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
}
Canadian_hairless::~Canadian_hairless()
{
delete ui;
}
void Canadian_hairless::on_back_clicked()
{
Cat_book *back_book = new Cat_book;
back_book->cat_book_set_background();
back_book->show();
delete this;
}
void Canadian_hairless::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);
}
void Canadian_hairless::button1()
{
Canada_cat_content *go = new Canada_cat_content;
go->canadian_book_set_background();
go->ui->textBrowser->setFontPointSize(20);
go->ui->textBrowser->setFontFamily("");
go->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
go->ui->textBrowser->setText(" 加拿大无毛猫毛发稀疏,在耳、口、鼻、尾前锻、脚等部位有些又薄又软的胎毛,其它全身部分均无毛,皮肤皱褶似羚羊皮,有弹性,越年轻的猫的面部越圆,皮肤的皱纹越多;刚生下的小猫身上就有许多皱纹,并布满了柔细的胎毛,随着年龄的增长,绒毛仅残留于头部、四肢、尾巴和身体的末端部位。\n\n"
"加拿大无毛猫已经培育出所有猫的颜色,这些颜色全显现在皮肤上,但眼睛颜色与体色相称。在它们身体上本应该出现暗色皮毛的地方,会有色素存在。 体重一般达到3.5到7公斤肌肉发达胸深背较驼腹紧凑而不上收。四肢细长骨骼纤细后肢比前肢长。头部棱角分明宽大而呈楔形颧骨突出两颊瘦削脸呈正三角形耳廓硕大、直立高耸于头顶耳端尖圆微前倾眼睛大而微突呈柠檬状稍倾斜多为蓝色和金黄色上眼角斜向耳间距较宽。尾巴如老鼠般又细又长像长鞭一样弯曲上翘。\n\n"
"一般来说,抚摸加拿大无毛猫带给人的感觉就像在摸一块光滑柔软的小山羊皮。而有些加拿大无毛猫则长着了一层非常纤细,用眼睛难以察觉的体毛,这种无毛猫摸起来则更像个暖和而又新鲜的水蜜桃。");
go->show();
delete this;
}
void Canadian_hairless::button2()
{
Canada_cat_content *go = new Canada_cat_content;
go->canadian_book_set_background();
go->ui->textBrowser->setFontPointSize(20);
go->ui->textBrowser->setFontFamily("");
go->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
go->ui->textBrowser->setText(" 加拿大无毛猫斯芬克斯猫又名斯芬克斯无毛猫。早在1700年前就有南美墨西哥土著居民饲养过这种无毛猫的记载。但直到该品种在猫展中获得成功人们才开始注意它并对它产生兴趣。TlCA承认该品种此种猫在2005年被认定为稀有品种。 有记载的最早无毛猫是一对名叫内利和迪克的同窝出生的兄弟。1903年美国新墨西哥州人辛尼克从普韦布洛的美国本土印第安人手中买下了它们。1966年无毛猫再次发现于加拿大多伦多加拿大无毛猫的名字由此而来。此后不久在美国的明尼苏达也发现了无毛猫。随着无毛猫的名声越来越大世界各地也都有发现无毛猫的报道。于是一些爱猫人士培育出斯芬克斯猫这种斯芬克斯猫不容易受到基因疾病的侵扰也不是近亲繁殖所生育的残疾。");
go->show();
delete this;
}
void Canadian_hairless::button3()
{
Canada_cat_content *go = new Canada_cat_content;
go->canadian_book_set_background();
go->ui->textBrowser->setFontPointSize(20);
go->ui->textBrowser->setFontFamily("");
go->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
go->ui->textBrowser->setText(" 加拿大无毛猫无毛猫在很多时候爱舔身子自我清洁并且经常清理自己的毛。饭后它会用前爪擦擦胡子小便后用舌头舔舔肛门被人抱后用舌头舔舔毛。这是小无毛猫在除去身上的异味和脏物。无毛猫的舌头上有许多粗糙的小突起是除去脏东西的工具。无毛猫用舌头舔被毛是为了刺激皮脂腺的分泌使毛光亮润滑不易被水打湿并能舔食到少量的维生素D促进骨骼的正常发育还可使被毛蓬松促进散热的功能。无毛猫一般常在进食和玩耍后或追击猎物剧烈运动及在阳光下睡醒以后开始梳洗整理被毛。在炎热季节或剧烈运动之后体内产生大量的热量为了保持体温的恒定必须将多余的热能排出体外。所以无毛猫就利用舌头将唾液涂抹到被毛上唾液里水分的蒸发可带走热量起到降温解暑的作用。在脱毛时经常梳理可促进新毛生长。另外通过抓、咬能防止被毛感染寄生虫病如跳蚤、毛虱病等保持身体健康。"
"\n\n无毛猫掩盖粪便的行为完全是出于生活的本能,是由祖先遗传来的。无毛猫的祖先——野无毛猫,为了防止天敌从其粪便气味发现它、追踪它,于是就将粪便掩盖起来。现代无毛猫的这种行为已丝毫没有这方面的意义了,但却使无毛猫赢得了讲卫生的好声誉。 加拿大无毛猫凡是猫都有相当出色的日间与夜视能力所以加拿大无毛猫也不例外。无毛猫至今仍然保持着肉食动物那种昼伏夜出的习性很多活动如捕鼠、求偶交配常常是在夜间进行。无毛猫每天最活跃的时刻是在黎明或傍晚而白天的大部分时间都在懒洋洋地休息或睡觉。在亮处无毛猫会将瞳孔缩得如线般狭小以减少对视网膜的伤害但会限制视野的广阔性。无毛猫的网膜背面有一层蓝绿色像荧光一般的薄膜叫作tapetum lucidum可增加在暗处的视力在闪光中无毛猫眼能呈现各式各样颜色。如同多数食肉动物它们眼睛都在脸上朝正前方赋予其辽阔的视野。无毛猫对三原色的辨识力很差。如果加拿大无毛猫在这儿只有微弱光线它们会使用胡须来改善行动力与感知能力。胡须可感受到非常微弱的风以在看不太见的情况下辨识阻碍的位置。无毛猫有三眼皮当无毛猫眼睑张开时扎眼眼皮会从旁稍微遮盖住眼睛。如果无毛猫病了或是睡眠、笑着此眼皮会缩回一部分。如果有无毛猫长时间地崭露第三眼皮是生病的表现。"
"\n\n几乎所有的无毛猫平时耳朵是朝上的,不同于狗,耳折下的无毛猫是非常稀有的,苏格兰折耳无毛猫就是个基因突变的例子。在生气或受惊时,无毛猫耳会垂下,并伴随着发出咆哮声。聆听事物时,无毛猫会因此而转动耳朵,如此无毛猫耳可以听到来自多方的声音。"
"\n\n此外,斯芬克斯猫性情老实,忍耐力极强,脾气很好,而且在某些方面它们更像狗,容易与人亲近而且对主人忠诚。");
go->show();
delete this;
}
void Canadian_hairless::button4()
{
Canada_cat_content *go = new Canada_cat_content;
go->canadian_book_set_background();
go->ui->textBrowser->setFontPointSize(20);
go->ui->textBrowser->setFontFamily("");
go->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
go->ui->textBrowser->setText(" 斯芬克斯猫通幼崽常能活到9—15岁。它的无毛现象是由特定的隐性基因所引起的这就意味着一只无毛猫的父母亲肯定都携带一种与无毛有关的基因。除非是猫类近亲繁殖或是双方都携带有相关基因否则事实上无毛现象仍然是一种罕见的现象。加拿大无毛猫其实并非是完全无毛。它们和无毛狗、无毛大象和无毛海洋哺乳动物一样都有少量的毛发不过这些毛发的数量和长度都已大大缩减。有些人把加拿大无毛猫的皮毛看作是一种桃色绒毛。 因为早晨和晚上无毛猫机体内的各种机能活动都很旺盛,因此这时是配种的绝佳时机,可以保证有较高的成功率。母猫每年发情不超过两次,幼猫出生死亡率高,新生小猫皮肤皱多,脊被上的毛随着年龄的增长而消失。斯芬克斯无毛猫繁殖较困难,所以至今数量较少,显得十分珍贵。"
"\n\n欧美的猫种繁育者曾用了三十多年时间将无毛猫繁育成普通被毛的猫,然后再将它们繁育回无毛猫。这种选择繁育的目的是这种猫含有多种基因,以避免健康方面和基因方面的问题。");
go->show();
delete this;
}
void Canadian_hairless::button5()
{
Canada_cat_content *go = new Canada_cat_content;
go->canadian_book_set_background();
go->ui->textBrowser->setFontPointSize(20);
go->ui->textBrowser->setFontFamily("");
go->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
go->ui->textBrowser->setText(" 无毛猫和别的猫相比多汗,体温也比一般猫要高出 4 ℃ 因而要不断进食才能维持其新陈代谢。无毛猫对阳光十分敏感因为白色部位易晒黑。由于无毛它们对外界温度调节能力差既怕冷、又怕热。当室温保持在25~30度之间会让该种猫感觉非常舒适温度低于20度它就会感觉到冷而如果室内温度低于10度无毛猫就会被冻死。这种猫适合公寓饲养。在夏天主人需要给它们涂抹防晒霜以免晒伤在冬天则需要给它们添加衣物来遮体保暖。");
go->show();
delete this;
}
void Canadian_hairless::button6()
{
Canada_cat_content *go = new Canada_cat_content;
go->canadian_book_set_background();
go->ui->textBrowser->setFontPointSize(20);
go->ui->textBrowser->setFontFamily("");
go->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
go->ui->textBrowser->setText(" 2010年加拿大无毛猫在英国大受欢迎其售价却高达3000英镑。但对于这种外表太有个性的猫人们的看法往往呈截然相反的两派无毛猫爱好者们认为它是最稀有的猫种是罕见的珍宝而无法接受它奇特外表的人则直接称它为“怪物”。英国至2008年共有25个满足英国猫迷管理委员会所定标准的注册无毛猫养殖者。");
go->show();
delete this;
}

@ -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,118 +1,118 @@
#include "data_base.h"
QSqlDatabase database;
void Data_base::set_database()
{
// 创建数据库命名为Pet_project.db
database = QSqlDatabase::addDatabase("QSQLITE");
database.setDatabaseName("Pet_project.db");
if (!database.open())
{
qDebug() << "Error: Failed to connect database." << database.lastError();
}
else
{
qDebug() << "Succeed to connect database." ;
}
}
void Data_base::delete_table(){
//删除表格
QSqlQuery to_user;
to_user.exec("drop table USER");
if(to_user.exec())
{
qDebug() << to_user.lastError();
}
else
{
qDebug() << "Table cleared";
}
}
void Data_base::creat_table()
{
//在数据库中新建立一个表格,用于记录用户信息
QSqlQuery to_user;
QStringList table_list = database.tables();
if(!table_list.contains("USER"))
{
//在数据库中新建立一个表格,用于记录用户信息
if(!to_user.exec("create table USER(user_name varchar primary key,password varchar)"))
{
qDebug() << "Error: Fail to create table."<< to_user.lastError();
}
else{
qDebug() << "Table user created!";
}
}
else{
qDebug()<<"USER already exist";
}
QString Username = "pet";
QString s = QString("SELECT * FROM USER where user_name='%1' ").arg(Username);
to_user.exec(s);
int num=0;
while(to_user.next())
{
num++;
}
if(num==0)
{
//给用户表中插入一个初始的用户,我的超级用户
to_user.exec("insert into USER values('pet', '123456')");
}
if(!table_list.contains("COMMUNICATION"))
{
//在数据库中新建立一个表格,用于记录用户信息
if(!to_user.exec("create table COMMUNICATION(the_content varchar,the_user varchar)"))
{
qDebug() << "Error: Fail to create Communication table."<< to_user.lastError();
}
else{
qDebug() << "Table COMMUNICATION created!";
}
}
else{
qDebug()<<"COMMUNICATION already exist";
}
}
bool Data_base::check_user(QString Username, QString Password)
{
if(database.open())
{
QSqlQuery check(database);
//查询是给返回一个满足条件的表如果没有表为空check一开始指向的是返回的表之外
QString s = QString("SELECT * FROM USER where user_name='%1' and password='%2' ").arg(Username).arg(Password);
check.exec(s);
int num=0;
while(check.next())
{
num++;
}
if(num!=0) return true;
else return false;
}
}
#include "data_base.h"
QSqlDatabase database;
void Data_base::set_database()
{
// 创建数据库命名为Pet_project.db
database = QSqlDatabase::addDatabase("QSQLITE");
database.setDatabaseName("Pet_project.db");
if (!database.open())
{
qDebug() << "Error: Failed to connect database." << database.lastError();
}
else
{
qDebug() << "Succeed to connect database." ;
}
}
void Data_base::delete_table(){
//删除表格
QSqlQuery to_user;
to_user.exec("drop table USER");
if(to_user.exec())
{
qDebug() << to_user.lastError();
}
else
{
qDebug() << "Table cleared";
}
}
void Data_base::creat_table()
{
//在数据库中新建立一个表格,用于记录用户信息
QSqlQuery to_user;
QStringList table_list = database.tables();
if(!table_list.contains("USER"))
{
//在数据库中新建立一个表格,用于记录用户信息
if(!to_user.exec("create table USER(user_name varchar primary key,password varchar)"))
{
qDebug() << "Error: Fail to create table."<< to_user.lastError();
}
else{
qDebug() << "Table user created!";
}
}
else{
qDebug()<<"USER already exist";
}
QString Username = "pet";
QString s = QString("SELECT * FROM USER where user_name='%1' ").arg(Username);
to_user.exec(s);
int num=0;
while(to_user.next())
{
num++;
}
if(num==0)
{
//给用户表中插入一个初始的用户,我的超级用户
to_user.exec("insert into USER values('pet', '123456')");
}
if(!table_list.contains("COMMUNICATION"))
{
//在数据库中新建立一个表格,用于记录用户信息
if(!to_user.exec("create table COMMUNICATION(the_content varchar,the_user varchar)"))
{
qDebug() << "Error: Fail to create Communication table."<< to_user.lastError();
}
else{
qDebug() << "Table COMMUNICATION created!";
}
}
else{
qDebug()<<"COMMUNICATION already exist";
}
}
bool Data_base::check_user(QString Username, QString Password)
{
if(database.open())
{
QSqlQuery check(database);
//查询是给返回一个满足条件的表如果没有表为空check一开始指向的是返回的表之外
QString s = QString("SELECT * FROM USER where user_name='%1' and password='%2' ").arg(Username).arg(Password);
check.exec(s);
int num=0;
while(check.next())
{
num++;
}
if(num!=0) return true;
else return false;
}
}

@ -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,207 +0,0 @@
#include <QSqlDatabase>
#include <QSqlError>
#include <QSqlQuery>
#include <stdio.h>
#include "dirent.h"
#define FilePath1 "./<EFBFBD><EFBFBD><EFBFBD><EFBFBD>/"
#define FilePath2 "./èè/"
#define FilePath3 "./<EFBFBD><EFBFBD><EFBFBD><EFBFBD>/"
#define FilePath4 "./<EFBFBD>ʴ<EFBFBD>/"
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>
QSqlDatabase database;
if (QSqlDatabase::contains("qt_sql_default_connection"))
{
database = QSqlDatabase::database("qt_sql_default_connection");
}
else
{
database = QSqlDatabase::addDatabase("QSQLITE");
database.setDatabaseName("MyDataBase.db");
}
//<2F><><EFBFBD><EFBFBD><EFBFBD>ݿ<EFBFBD>
if (!database.open())
{
qDebug() << "Error: Failed to connect database." << database.lastError();
}
else
{
// do something
}
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
QSqlQuery sql_query;
//pets<74><73>
QString create_sql = "create table Pets (id int primary key, type varchar(10), name varchar(30),knowledge varchar(1000000), link varchar(50))";
sql_query.prepare(create_sql);
if(!sql_query.exec())
{
qDebug() << "Error: Fail to create table." << sql_query.lastError();
}
else
{
qDebug() << "Table created!";
}
//feedingKnowledge<67><65>
QString create_sql = "create table Feedingnowledge (id int primary key, type varchar(10), knowledge varchar(200), link varchar(50))";
sql_query.prepare(create_sql);
if(!sql_query.exec())
{
qDebug() << "Error: Fail to create table." << sql_query.lastError();
}
else
{
qDebug() << "Table created!";
}
//PetRecord<72><64>
QString create_sql = "create table PetRecord (id int primary key, date varchar(20), time varchar(20), type varchar(20), details varchar(100))";
sql_query.prepare(create_sql);
if(!sql_query.exec())
{
qDebug() << "Error: Fail to create table." << sql_query.lastError();
}
else
{
qDebug() << "Table created!";
}
//Favorites
QString create_sql = "create table Favorites (id int primary key, for_id int, link varchar(50))";
sql_query.prepare(create_sql);
if(!sql_query.exec())
{
qDebug() << "Error: Fail to create table." << sql_query.lastError();
}
else
{
qDebug() << "Table created!";
}
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
int i = 0;
int filesize = 0;
DIR *dir = NULL;
FILE *fin;
char a[1000000];
struct dirent *entry;
QString insert_sql = "insert into Pets values (?, ?, ?, ?, ?)";
int id = 1;
if((dir = opendir(FilePath1))==NULL)
{
printf("opendir failed!");
return -1;
}
else
{
while(entry=readdir(dir))
{
i++;
if(i!=1&&1!=2){
fin = fopen(entry->d_name,"r");
if(fscanf(fin,"%s",a)!=EOF){
sql_query.prepare(insert_sql);
sql_query.addBindValue(id);
sql_query.addBindValue("dog");
sql_query.addBindValue(entry->d_name);
sql_query.addBindValue(a);
id++;
if(!sql_query.exec())
{
qDebug() << sql_query.lastError();
}
}
}
}
closedir(dir);
}
if((dir = opendir(FilePath2))==NULL)
{
printf("opendir failed!");
return -1;
}
else
{
while(entry=readdir(dir))
{
i++;
if(i!=1&&1!=2){
fin = fopen(entry->d_name,"r");
if(fscanf(fin,"%s",a)!=EOF){
sql_query.prepare(insert_sql);
sql_query.addBindValue(id);
sql_query.addBindValue("cat");
sql_query.addBindValue(entry->d_name);
sql_query.addBindValue(a);
id++;
if(!sql_query.exec())
{
qDebug() << sql_query.lastError();
}
}
}
}
closedir(dir);
}
if((dir = opendir(FilePath3))==NULL)
{
printf("opendir failed!");
return -1;
}
else
{
while(entry=readdir(dir))
{
i++;
if(i!=1&&1!=2){
fin = fopen(entry->d_name,"r");
if(fscanf(fin,"%s",a)!=EOF){
sql_query.prepare(insert_sql);
sql_query.addBindValue(id);
sql_query.addBindValue("else");
sql_query.addBindValue(entry->d_name);
sql_query.addBindValue(a);
id++;
if(!sql_query.exec())
{
qDebug() << sql_query.lastError();
}
}
}
}
closedir(dir);
}
QString insert_sql = "insert into Feedingnowledge values (?, ?, ?, ?)";
id = 1;
if((dir = opendir(FilePath4))==NULL)
{
printf("opendir failed!");
return -1;
}
else
{
while(entry=readdir(dir))
{
i++;
if(i!=1&&1!=2){
fin = fopen(entry->d_name,"r");
if(fscanf(fin,"%s",a)!=EOF){
sql_query.prepare(insert_sql);
sql_query.addBindValue(id);
sql_query.addBindValue(entry->d_name);
sql_query.addBindValue(a);
id++;
if(!sql_query.exec())
{
qDebug() << sql_query.lastError();
}
}
}
}
closedir(dir);
}
//
*/
//<2F>ر<EFBFBD><D8B1><EFBFBD><EFBFBD>ݿ<EFBFBD>
database.close();

@ -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,141 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>dog_concret</class>
<widget class="QWidget" name="dog_concret">
<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>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>50</x>
<y>120</y>
<width>1171</width>
<height>561</height>
</rect>
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;西伯利亚雪橇犬(俄语:Сибирский хаски英语Siberian Husky常见别名哈士奇昵称为二哈。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;西伯利亚雪橇犬是原始的古老犬种,主要生活在在西伯利亚东北部、格陵兰南部。哈士奇名字是源自其独特的嘶哑叫声。哈士奇性格多变,有的极端胆小,也有的极端暴力,进入人类社会和家庭的哈士奇,都已经没有了这种极端的性格,比较温顺,是一种流行于全球的宠物犬。哈士奇、金毛犬与拉布拉多并列为三大无攻击性犬类,被世界各地人们广泛饲养,并在全球范围内有大量该犬种的赛事&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;形态特征:西伯利亚雪撬犬属于中型工作犬。脚步轻快,动作优美,身体紧凑,有着很厚的被毛,耳朵直立,尾如毛刷,显示出北方地区的遗传特征。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;西伯利亚雪撬犬是和狼的血统非常近的犬种,所以外形非常的像狼,有着比大多数犬种都要厚的毛发。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;值得一提的是“蓝眼三火”蓝眼指的就是眼睛是蓝色的三火指的是额头上的三道白色痕迹看起来像三把燃烧的火苗。“蓝眼三火”曾经一度被不良商家炒作为是哈士奇的标准其实这与哈士奇犬种CKU标准没有任何关系。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;眼睛'杏仁状分隔的距离适中稍斜。哈士奇犬的CKU标准中允许双瞳蓝色俗称双蓝眼、褐色俗称双褐眼双瞳异色俗称鸳鸯眼或单瞳异色俗称杂眼&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;耳朵:耳朵呈三角形,耳厚直立竖起,耳尖略圆,毛发浓密,外耳毛色多与体表毛色相近,内耳多为白色,大小适中,正常时直立,兴奋时耳朵会向后贴住脑袋。相对于阿拉斯加雪橇犬和萨摩耶雪橇犬,两只耳朵位置间距要靠近很多,这也是从外观上辨别阿拉斯加和哈士奇很直观的依据。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;鼻子:像所有的狗一样,西伯利亚雪撬犬的鼻子通常都是凉且潮湿的。 在某些情况下,西伯利亚雪撬犬(哈士奇)表现出所谓\'雪鼻\'或\'冬鼻\'的现象。这种现象学术上被称作&amp;quot;hypopigmentation&amp;quot;,由于冬季里缺少阳光,这导致了鼻(或其一部分)褪色成棕色或粉红色,在夏季到来时便能恢复正常。雪鼻现象在其它的短毛种类里也有出现;老年犬只的这种颜色变化可能是永久的,尽管它并不与疾病相联系。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;尾巴:呈三角形,毛发浓密,大小中等,一般直立尾部像毛刷一样,有着类似于狐狸尾巴的外形,恰好位于背线之下,犬立正时尾巴通常以优美的镰刀形曲线背在背上。尾巴举起时不卷在身体的任何一侧,也不平放在背上。正常情况下,应答时犬会摇动尾巴。尾巴上的毛中等长度,上面、侧面和下面的毛长度基本一致,因此看起来很像一个圆的狐狸尾巴, &lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt; 被毛, '西伯利亚雪橇犬的被毛为双层,中等长度,看上去毛很浓密。下层毛柔软,浓密,长度足以支撑外层被毛。外层毛的粗毛平直,光滑伏贴,不粗糙,不能直立。应该指出的是,换毛期没有下层被毛是正常的。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;历史发展', '有许多种类的狗都被称作哈士奇,而通常意义上哈士奇这个词是用来指所有在北方地区的雪橇犬。哈士奇最初是被北极的土著居民所饲养。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt; '来源', '西伯利亚雪橇犬是东西伯利亚游牧民伊奴特乔克治族饲养的犬种哈士奇最初是被用来拉雪橇参与大型捕猎活动保护村庄和引导驯鹿及守卫等工作。而且在西伯利亚恶劣的环境下工作。西伯利亚雪橇犬几个世纪以来一直单独地生长在西伯利亚地区。20世纪初被毛皮商人带至美国。一转眼此犬便成为举世闻名的拉雪橇竞赛之冠军犬。现今该犬则作为优良的伴侣犬备受人们喜爱。西伯利亚雪橇犬历史记载中西伯利亚雪橇犬的祖先最早要追溯到新石器时代之前。当时一群中亚的猎人们移居到极地也就是西伯利亚的尽头生活经过了很长时间这群跟随在猎人身边的狗儿在长期与北极狼群交配繁育之下发展成为北方特有的犬种。在这群穿越过北极圈最后选择在格陵兰落脚的人们中间有一个部落就是后来发展西伯利亚雪橇犬的楚克奇人。楚克奇族人用这种外型酷似狼的哈士奇犬作为最原始的交通工具来拉雪橇并用哈士奇犬猎取和饲养驯鹿或者繁殖后带出他们居住的冻土地带来换取温饱。由于哈士奇体型小巧结实胃口小无体臭且耐寒非常适应极地的气候环境而成为楚克奇人的重要财产。而这群早期被称之为西伯利亚楚科奇犬的狗也就是后来哈士奇的祖先。据说哈士奇这个名称是爱斯基摩人的俚语沙哑的叫声的讹传因为当时的狗叫声较为低沉沙哑因此有了这个奇妙的称号。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt; 现代发展, '20世纪初美国阿拉斯加开始引入了西伯利亚雪撬犬。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;1909年西伯利亚雪橇犬第一次在阿拉斯加的犬赛中亮相。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;1925年1月阿拉斯加偏僻小镇白喉流行由于最近的存有血清的城市远在955英里以外为快速运回治疗白喉的血清人们决定用哈士奇雪橇队代替运送657英里的路程按正常的运送速度来算需要25天由于病症快速蔓延雪橇队决定以接力运送的方式来运送雪橇队最后仅用了5天半时间就完成了任务挽救了无数生命。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;1930年西伯利亚雪橇犬俱乐部得到了美国养犬俱乐部的正式承认并制订了其犬种标准。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;1938年美国哈士奇犬俱乐部成立。从此哈士奇犬从极地环境走进都市生活它不但是优秀的雪橇犬而且是出色的伴侣犬。 &lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;鉴别挑选 &lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;品种标准, '哈士奇最早的作用就是拉小车,仍十分擅长此项工作,它的身体比例和体形反映了力量、速度、耐力的最基本的平衡状况。雄性肌肉发达,但轮廓不粗糙;雌性充满阴柔美,但不孱弱。在正常条件下,一只肌肉结实、发育良好的哈士奇犬也不能拖曳过重的东西。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;1. 颈、背线、躯体:&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;颈部:长度适中拱形,站立时直立昂起。小跑时颈部伸展,头略微向前伸。胸部:胸深,强壮,最深点位于肘后,肋骨从脊椎向外扩张,侧面扁平,以便自由活动。背部:背直而强壮,从马肩隆到臀部背线平直,中等长度。腰部:紧收,倾斜,比胸腔窄,轻微折起。臀部:以一定的角度从脊椎处下溜,但角度不能太陡,以免影响后腿的后蹬力。脚:椭圆形,脚爪中等大小,紧密,脚趾和肉垫间有丰富的毛,肉垫紧密厚实。。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;失格表现:背部松弛,无力;拱状背部;背线倾斜。颈部过短,过粗,过长。胸部过宽;“桶状肋骨”;肋骨太平坦;脚爪外翻或内翻。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;2. 前半身:肩部:肩胛骨向后收。从肩点到肘部,上臂有一个略微向后的角度,不能跟地面垂直。肩部和胸腔间的肌肉和韧带发达。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;前肢:站立时从前面看,腿间距适中,平行,笔直,肘部接近身体,不内翻也不外翻。从侧面看,骨交节有一定的倾斜角度,强壮、灵活。腿从肘部到地面的距离略大于肘部到肩顶的长度。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;失格表现:肩部笔直;肩部松弛。骨交节无力;骨骼太笨重;从前面看两腿分得太宽或太窄;肘部外翻。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;3. 尾巴:连接于背部水平线的末断;当犬注意力集中时,尾巴通常向上卷曲呈优美的镰刀状;当尾巴举起时,不会向身体的任何一侧歪斜,也不会平直举起远离背部;当犬休息时,尾巴自然下垂。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;失格表现:生硬而紧密的卷曲尾,尾巴毛过多,尾根点过高或过低。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;4. 后半身:&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;当犬自然站立时,从后面看,两后肢平行且间距适中;臀部肌肉发达而有力;后膝关节弯曲良好,跗关节有力而贴地;如果有悬蹄,需要祛除。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;失格表现:后膝关节弯曲不够、母牛状跗关节、两后肢间距太宽或太窄。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;5. 被毛:&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;双层被毛,中等长度,看上去很浓密,但不能掩盖犬本身清晰的轮廓。下层毛柔软,浓密,长度足以支撑外层被毛。外层毛平直,光滑伏贴,不粗糙,不能直立。允许在颊须、脚趾间以及四肢周围有整齐的装饰毛,其它部位不允许。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;失格表现:被毛长,粗糙,杂乱蓬松;质地太粗糙或太柔滑;不被允许的部位出现装饰毛。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;6. 毛色:&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;从黑到纯白、棕到红的所有颜色都可以。头部可能会出现不同的色斑,包括该犬种独特的斑纹。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;7. 步态:&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;步态轻快而流畅,慢步时,从前往后看,跑动迹线并不是单轨的;但当跑速增快时,其四肢逐渐向内靠拢,跑动迹线趋于身体纵向的中线上;当爪印汇聚中线时,前肢和后肢保持垂直向前,肘关节和后膝关节不内曲也不外展;后腿的跑动迹线重合于同侧前腿的迹线。跑动时,背线保持稳定而水平。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;缺陷:跳跃式或起伏式的步法;行动笨拙或滚动步法;交叉或螃蟹式的步法。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;8. 性情:&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;西伯利亚哈士奇的特色气质是友好、温顺,但也不失机警、热情。它没有看守犬所具有的主要品质,同时也不过度怀疑生人或攻击其它犬类。成年犬会显得有些矜持、高贵。聪明、温顺、热情的性格使其成为一种令人心悦的伴侣犬和任劳任怨的工作犬。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;鉴别, '阿拉斯加雪撬犬和西伯利亚雪撬犬外形很相似,很多人都分不清楚这两种犬。阿拉斯加雪橇犬与西伯利亚雪橇犬(哈士奇)的差异在于:阿拉斯加雪橇犬长得比较粗壮高大,西伯利亚雪橇犬(哈士奇)比较轻巧优雅;西伯利亚雪橇犬(哈士奇)行为比较野性,而阿拉斯加雪橇犬比较温顺。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;1. 眼睛:西伯利亚--棕色、蓝色(包括深棕色,浅棕色,鸳鸯眼);阿拉斯加--虹膜颜色只允许棕褐色系。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;2. 毛色:西伯利亚--灰白,黑白,咖啡白,全白。;阿拉斯加--黑白、灰白、全白、红白。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;3. 毛质:西伯利亚--被毛稍短,毛质较硬;阿拉斯加--两种毛质。一种属长毛,柔软。另一种在总体上跟哈士奇的被毛类似,但在某种程度上比哈士奇的被毛略显得粗糙。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;4. 耳朵:西伯利亚--两耳间距较窄,耳尖弧度较小,似三角形;阿拉斯加--耳朵之间距离较宽,耳尖弧度大,成半圆形。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;5. 额头:西伯利亚--额头和眉间颜色分布有十字形,双线型,两点眉型;阿拉斯加--额头眉间形状一般是美人尖型&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;6. 尾巴:西伯利亚--放松状态时,尾巴自然下垂,较接近狼。兴奋或奔跑时,尾巴上摆,但尾尖始终成水平状态;阿拉斯加--尾根部粗壮,毛发旺盛,始终卷曲,尾尖弯曲接近尾根。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;7. 体型:西伯利亚--中型;阿拉斯加--大型。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;8. 性格特点:&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;西伯利亚--习性更接近狼,聪明,机敏,活泼,善变…&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;阿拉斯加--敦厚,勇敢,忠诚,耐性十足…&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;9. 智商西伯利亚比阿拉斯加聪明许多。在世界犬类智商排名中西伯利亚排名第45位阿拉斯加第50位&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;10. 城市适应度:西伯利亚--三颗星(一般适应);阿拉斯加--两颗星(不太适应,有一定饲养难度) &lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;挑选方法, 1、双耳双眼。要注意幼犬是否双耳灵活耳道清洁而无异味耳朵则以粉红色为健康眼睛要干净无任何异物或排泄物。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;2、足垫。有柔软、不干裂的足垫才是一条健康幼犬所必备的。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;3、皮肤。要柔软而有弹性不能硬结、肥厚要注意皮肤是否有虱子或螨虫等寄生虫。看幼犬是否有皮肤病很简单重点观察它是否连续多次挠抓一个地方这个部位如有红斑则为有问题。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;4、尾部下方。如果这里有一些黄色的印子就说明幼犬有过腹泻或下痢的迹象不宜购买。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;5、在性格上如果是想购买千万不要选取太文静的因为幼犬天性活泼过分文静肯定有问题。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;喂养方法, 幼犬的喂养&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;在刚出生时食用母乳,断奶后,要少食多餐,断奶初期一天喂食 4 次以上。 6 个月左右1 天应该保证喂食 3 次。随年龄增长逐步降为每天喂食 2 次。每次喂食要掌握好份量。尽量不要喂给幼犬人吃的东西,会造成幼犬营养吸收不均衡,影响发育。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;2. 喂养方式&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;喂养哈士奇犬有两种方式,一种是纯犬粮,选择适量的优质犬粮,注意犬具卫生 ;另一种是自配犬粮,以动物性蛋白为主,多喂食高热量食物。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;注意事项 ['常见问题', '1. 如何喂养哈士奇?&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;推荐全价幼犬粮。有的主人喜欢自己给狗做食物,喂些鸡肝什么的就以为对狗好,其实不对的。这些食物对狗害处很大,而且成本完全不比全价狗粮低。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;狗粮营养全面,不易蛀齿或产生牙垢,此外还避免宠物口臭,均衡的营养是宠物健康的基础。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;2. 幼犬喂养定时定量?&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;幼犬少量多餐50天应该是1天4顿 而且每次应该隔6个小时。幼犬的成长发育期所需的热量是成年犬的2倍。断奶后至第3个月左右喂食时间应定为早晨7点、中午12点、傍晚5点、夜里10点每天4次。出生第5个月至第8个月可在早晨、中午、傍晚分3次喂食这段时间内给幼犬的喂食量大约相当于成犬的三分之一至一半。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;3. 饮食方面有哪些注意?&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;不能给它吃鸡、鸭骨头,可以吃点猪的棒骨,哈士奇的肠胃不太好,稍有喂不好的情况,就能导致拉稀,所以平时可以给点酸奶喝,牛奶会吐的。自来水也不可以。偶尔可以喂食咬骨,既能磨牙又能吃下肚的,还有要注意不能喂食剩菜剩饭。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;4. 狗吃不惯硬质专用狗粮怎么办?&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;绝大部分幼犬长到2个月大左右就可以吃硬质专用狗粮了。如果幼犬一时还吃不惯可以用开水先泡软后再喂它们。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;5. 怎样判断喂食量是否合适?&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;每只狗的食量大小并不完全一样刚开始可以喂得稍多一些再视吃剩的食物多少判断喂食量是否过多。可以随幼犬长大的过程慢慢增加喂食量。喂食量应该根据幼犬的进食状况大约3个星期调整1-2次。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;6. 哈士奇喂养必备的东西\n钙片和营养膏。这是无数伺主普遍首肯的宝贝。前者帮助爱犬建立完好的骨骼结构长大了不容易得外伤后者帮助幼犬调理肠胃增进食欲。 &lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;训练小贴士:一、食物诱导,适当鼓励。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;在哈士奇随行训练中,要注意用食物、物品等诱导哈士奇与狗主并排前进。只要哈士奇依令保持在正确位置时,就给予奖励。如此反复训练,也能使哈士奇对口令、手势形成条件反射。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;二、避免误踩哈士奇。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;训练刚开始时,人、哈士奇的动作互不协调。训练哈士奇者要注意不要踩着哈士奇,以免哈士奇产生恐惧感。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;三、牵引带的使用要灵活,要松紧适度。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;在纠正哈士奇的位置时,牵引带只是瞬间被拉紧,哈士奇一回到正确位置,应立即放松牵引带,以免哈士奇感到不舒服。如哈士奇超前、偏离,用急扯牵引带的方法不能纠正的话,可采用转弯的方法纠正。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:12pt; color:#ffaa00;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</widget>
<resources>
<include location="resource.qrc"/>
</resources>
<connections/>
</ui>

@ -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>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

@ -1,279 +0,0 @@
#include "li_cat.h"
#include "ui_li_cat.h"
#include "cat_book.h"
#include "gafei_content.h"
#include "ui_gafei_content.h"
Li_cat::Li_cat(QWidget *parent) :
QWidget(parent),
ui(new Ui::Li_cat)
{
ui->setupUi(this);
connect(ui->pushButton,SIGNAL(clicked(bool)),this,SLOT(button1()));
connect(ui->pushButton_2,SIGNAL(clicked(bool)),this,SLOT(button2()));
connect(ui->pushButton_3,SIGNAL(clicked(bool)),this,SLOT(button3()));
connect(ui->pushButton_4,SIGNAL(clicked(bool)),this,SLOT(button4()));
connect(ui->pushButton_5,SIGNAL(clicked(bool)),this,SLOT(button5()));
connect(ui->pushButton_6,SIGNAL(clicked(bool)),this,SLOT(button6()));
connect(ui->pushButton_7,SIGNAL(clicked(bool)),this,SLOT(button7()));
connect(ui->pushButton_8,SIGNAL(clicked(bool)),this,SLOT(button8()));
connect(ui->pushButton_9,SIGNAL(clicked(bool)),this,SLOT(button9()));
connect(ui->pushButton_10,SIGNAL(clicked(bool)),this,SLOT(button10()));
ui->pushButton->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_2->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_3->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_4->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_5->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_6->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_7->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_8->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_9->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_10->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
}
Li_cat::~Li_cat()
{
delete ui;
}
void Li_cat::li_cat_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 Li_cat::on_go_back_clicked()
{
Cat_book *go_back = new Cat_book;
go_back->cat_book_set_background();
go_back->show();
delete this;
}
void Li_cat::button1()
{
Gafei_content *new_cat = new Gafei_content;
new_cat->ui->textBrowser->setFontPointSize(20);
new_cat->ui->textBrowser->setFontFamily("");
new_cat->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
new_cat->ui->textBrowser->setText(" 蓝白异国短毛猫异国短毛猫是在六十年代的美国以人工方式将波斯猫等长毛种的猫与美国短毛猫、缅甸猫等交配繁殖出来的品种。当初进行繁殖计划时异国短毛猫的体形还很瘦弱波斯猫的饲养者担心纯种波斯猫会被杂种化有些繁殖者甚至强烈批评它“有损纯种猫”因而在1968年禁止交配。当然还是有人暗暗努力最后发现用美国短毛猫配种形体才渐渐成型。直到八十年代异国短毛猫的品种正式确立并获得猫协会的认可。\n\n"
"外来种猫由于经过很多人的反复繁育,毛色品种很多,几乎猫中所有的毛色都有。在外观上基本继承了波斯猫滑稽造型。除了毛短之外,其它体型、四肢、头脸眼均与波斯猫一样。");
new_cat->set_background();
new_cat->show();
delete this;
}
void Li_cat::button2()
{
Gafei_content *new_cat = new Gafei_content;
new_cat->ui->textBrowser->setFontPointSize(20);
new_cat->ui->textBrowser->setFontFamily("");
new_cat->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
new_cat->ui->textBrowser->setText("整体特征:\n"
"\t异国短毛猫是一个很完美的品种,经过了多年的品种改良,它依然保持着与波斯猫十分相像的性格。\n"
"\t样貌酷似波斯猫的异国短毛猫,唯一与波斯猫不同之处就是其毛质是短而厚及呈毛绒状,理想的异国短毛猫应是骨骼强壮,身材均称,线条柔软及圆润。浑圆的眼睛,大而圆的头部,两眼距离较阔,脖子短而粗,短短的鼻子,鼻节高且置于两眼中间,面颊饱满。宽阔及有力的颚骨,下巴结实。细圆的耳朵微微向前倾,两耳距离较阔。拥有大、圆而结实的爪,尾巴短但跟身体成比例。\n"
"\n局部特征:\n"
"\t头:大而且圆、头盖骨宽。由圆形头骨塑造出的圆脸,短而粗的脖子。\n"
"\t鼻:短而扁,并且长宽。双眼之中有凹陷,凹陷为脸部圆心。\n"
"\t脸颊:很丰满。\n"
"\t颚:宽而有力感。\n"
"\t下巴:丰满,发育良好,厚实有力而且圆,咬合正常。\n"
"\t耳朵:小,耳朵顶端圆并向前倾斜,双耳距离宽,位于头部偏低处,适合头部圆圆的感觉。\n"
"\t眼睛:大,圆,饱满,颜色鲜艳。由于泪腺较短,异短的眼睛比别的猫更容易流眼泪,需要主人每天清洗。\n"
"\t身体:短身型,短腿,胸幅宽,同样宽厚的肩部,肩部到臀部同样宽度,身体中部保持丰满,背部呈水平线。肌肉有力不痴肥。中到大型:品质感觉比大小重要。\n"
"\t腿:粗短而有力。前脚笔直,从后面看,后脚也是笔直的。\n"
"\t脚掌大、圆而且结实。前脚有五个脚趾后脚有4个脚趾。\n"
"\t尾巴:短,但应和身体比例相称。不能有不正常的弯曲。\n"
"\t披毛浓密厚实柔软并且充满活力。色泽艳丽浓厚的短毛长度适中。猫有颈毛或者尾巴上的长毛可以被选为AOV级.\n"
"\t具备多种颜色及图案,包括纯色、烟色、班纹、双色及重点色等等。\n"
"\t不合格者:颈下的链坠色或者锁扣.任何扭曲或者不正常的尾巴。脚趾不正常的数目。外观感觉下半身虚弱,或背脊骨有畸形。头骨畸形造成的脸部或头部的不对称、斜视等。对于端子色的猫:白色的脚趾,或除了蓝色以外的眼睛,都属于不达标者。");
new_cat->set_background();
new_cat->show();
delete this;
}
void Li_cat::button3()
{
Gafei_content *new_cat = new Gafei_content;
new_cat->ui->textBrowser->setFontPointSize(20);
new_cat->ui->textBrowser->setFontFamily("");
new_cat->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
new_cat->ui->textBrowser->setText(" 性格好静,可爱,温纯,甜美,不拘小节及忠诚,另一方面,又与其它品种一样的活泼及顽皮。它像波斯猫一样文静,和人亲近,又像美国短毛猫一样顽皮机灵。");
new_cat->set_background();
new_cat->show();
delete this;
}
void Li_cat::button4()
{
Gafei_content *new_cat = new Gafei_content;
new_cat->ui->textBrowser->setFontPointSize(20);
new_cat->ui->textBrowser->setFontFamily("");
new_cat->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
new_cat->ui->textBrowser->setText(" 1、异短宝宝到家后立即把它放入准备好的厕所中让它闻过气味再把它带到食盆水盆前最后把它放入猫窝休息。异短宝宝一般不会出现因为害怕钻入床下或者沙发下不愿出来的现象它会在你的家庭中走来走去东闻闻西嗅嗅这是它在熟悉新环境呢。不要过多地干涉它的行动自由让它尽可能的熟悉环境对于尽快融入家庭很有帮助。\n"
"\n2、异短宝宝三个月以后视力才会逐渐发育成熟夜间请为三个月以下的小异短亮盏台灯或壁灯以免它因无法找到厕所而在床上大小便。\n"
"\n3、最好能向异短宝宝以前的主人索要它睡过的窝中的铺垫物回来垫在新猫窝中会大大减少它的不适应感利于快速和它建立感情。\n"
"\n4、问清楚它每日吃什么品牌的猫粮一天吃几餐份量多少等等。在最初到家的前一两天内尽管你的异短宝贝适应力很强但也会因为环境的变化情绪不够稳定所以最好食用与原来相同的猫粮。如果你想给你的异短宝宝换食新猫粮可以在12周内逐步完成这个变化先在它原有的猫粮中掺上少量新猫粮慢慢增加新猫粮的份量逐渐让它适应你的食物配方防止突然改变食物而引起的消化不良。\n");
new_cat->set_background();
new_cat->show();
delete this;
}
void Li_cat::button5()
{
Gafei_content *new_cat = new Gafei_content;
new_cat->ui->textBrowser->setFontPointSize(20);
new_cat->ui->textBrowser->setFontFamily("");
new_cat->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
new_cat->ui->textBrowser->setText("喂养常识:\n"
"\n\t它们的性情独立,不爱吵闹,喜欢注视主人却不会前去骚扰,大多数时间会自寻乐趣。另一方面,它们也拥有强烈的好奇心,活泼且聪明伶俐,不会神经过敏,马上就能适应新环境,因而很容易饲养。不过,因为异国短毛猫和波斯猫一样有个扁平的鼻子,所以容易有发炎的毛病,因此要经常为它清理脸部。只要每天梳洗干净,保持健康活泼,其寿命可达十三岁左右。"
"\n\t动物肝脏一些猫很爱吃动物肝脏并且拒绝吃其他食物。动物肝脏中含有大量的维生素A但过多地摄入维生素A会导致肌肉僵硬、颈痛、骨骼和关节变形以及肝脏疾病。高脂食品如果猫的饮食中含有大量高脂肪的鱼类或不新鲜的肥肉会导致维生素E的摄入不足进而引起猫的身体脂肪发炎并极度疼痛。"
"\n\t生鱼某些生鱼中含有可破坏维生素B1的酶而维生素B1的缺乏可导致猫的神经疾病严重时会致命这种酶可以通过加热得以破坏所以一定要将鱼做熟以后再喂猫。"
"\n\t肉:虽然猫的饮食应以肉类为主,但如果只给猫喂食肉类食品,会导致矿物质和维生素摄入不均,进而引发严重的骨骼代谢紊乱。"
"\n\t狗粮:狗粮与猫粮中的营养物质不尽相同,狗粮中的营养物质不能够满足猫的需求。虽然猫狗都是肉食动物,但狗对营养的需求不如猫大。"
"\n\t鱼肝油在为猫补充额外维生素和矿物质时应特别谨慎过量食用鱼肝油会导致维生素A和维生素D的超量摄入进而引发骨骼疾病。"
"\n喂养提示:\n"
"\n\t异国短毛猫\n1、在喂养中要注意由于异国短毛猫超级温顺的性格很容易受到其它宠物的攻击所以不要把它和太有攻击性的宠物放在一起。"
"\n\t2、适合喂食波斯猫专用粮食小方块状会比较容易吃进嘴里。"
"\n\t3、和波斯猫一样较短而扁塌的鼻子容易患泪管堵塞症所以要注意脸部清洁。"
"\n\t4、春季异短宝贝的各种生理活动和行为表现变得尤其强连也变得旺盛和活跃起来。猫咪虽然在一年四季都会发情但以早春(13月份)发情者居多。"
"\n\t5、夏季是蚊、蝇、跳蚤、蜱虱滋生繁殖的季节一定要做好异国短毛猫防蚊、防蝇、灭虱、防蜱的工作预防疾病发生。"
"\n\t6、冬季天气寒冷光照时间短在天晴日暖的天气应多让异短毛猫晒太阳需要注意的是异短毛猫正在生长发育中的宝宝尤为需要阳光的照射。太阳的紫外线不仅有消毒杀菌的能力而且还能促进异短毛猫对钙的吸收促进骨铬生长发育防止仔猫发生佝偻病。"
"\n\t7、异短虽然是短毛猫也要注意平时的梳毛问题。每个星期至少为它们梳一次毛发好好打理猫猫毛发是主人的必修课。梳毛可以梳掉大量的死毛是去除掉毛的根本方法还可以避免毛发打结同时还能够起到按摩作用促进异短的血液循环增强异短皮肤的健康只有健康的皮肤才是不掉毛的关键。"
"\n\t8、对待我们的异短宝贝应该像对待小孩子一样平时要多加照料避免异短生病。健康的密诀就是科学的饮食、适量的运动、清洁舒适的环境充分享受阳光、定期接种疫苗预防疾病的发生。"
"\n相关问题:\n"
"\n\t如何知道猫咪是否吃饱"
"\n\t\t1、每天应该有一个相对稳定的时间来喂食幼猫一天喂食4次成猫早晚各一次"
"\n\t\t2、份量方面的控制很简单在猫咪每次进餐前2~3个小时的时候注意观察它们的饭碗是否已经空了如果在较早的时候已经空了那就说明你给的猫粮不太够但是如果发现在进餐前它们的饭碗里还有剩余的猫粮就说明你给的粮多了要适当减量。");
new_cat->set_background();
new_cat->show();
delete this;
}
void Li_cat::button6()
{
Gafei_content *new_cat = new Gafei_content;
new_cat->ui->textBrowser->setFontPointSize(20);
new_cat->ui->textBrowser->setFontFamily("");
new_cat->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
new_cat->ui->textBrowser->setText(" 1、鼻子\n"
"\n\t异国短毛猫的鼻子是越扁平越好,如果太突出就不纯了。异国短毛猫的鼻子有点象小猪的鼻子,很多家长都认为异国短毛猫的鼻子是越短越好,其实不是的,虽然是要求鼻眼一线,但是并不是指鼻子越短就越好。猫的鼻头上端是不可以超过眼角的。如果在挑选小猫的时候,两个月的幼猫鼻子就很靠上,和面部没有距离,长大了多数鼻子不会长得很好。"
"\n2、耳朵"
"\n\t异国短毛猫的耳位一定要低,两耳间距宽,才会有很宽的额骨(也就是头盖骨)耳朵要小,最好耳尖成圆形,两耳之间距离较远!"
"\n3、 尾巴"
"\n\t异国短毛猫的尾巴一定要短,与身体成比例,但是以尾巴尖靠近地面最好。尾巴也一定要粗,但是这个问题很好解决的,猫的被毛丰厚度够了,尾巴也就一定是很粗的。"
"\n4、观察眼睛和耳朵"
"\n\t观察猫咪的眼中是否有杂质,然后在抚摸猫咪的各个身体部位,然后给猫咪喂食。如果是一只健康的异国短毛猫,那么它的眼睛应该是清澈有神的。"
"\n5、体型特征"
"\n\t异国短毛猫的身材多数很苗条,耳朵小且圆,脸型都成椭圆形,前额光滑,额骨宽阔。全身毛发厚实,质地硬且滑,尾巴中等长度,尾巴根部粗壮,尾尖会突然变细。买猫的时候一定要看幼猫的爸爸妈妈,这样你也可以一定程度上预知你的猫长大了是什么样子的,是最省事的办法了。");
new_cat->set_background();
new_cat->show();
delete this;
}
void Li_cat::button7()
{
Gafei_content *new_cat = new Gafei_content;
new_cat->ui->textBrowser->setFontPointSize(20);
new_cat->ui->textBrowser->setFontFamily("");
new_cat->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
new_cat->ui->textBrowser->setText("季节更替:\n"
"\t当气候由冷变热时,猫体内的激素就会发生改变,促使身上厚毛脱落下来,长出新毛。简单地说就是脱下冬装换上夏装。这种原因的掉毛,是没有什么办法制止的,唯一能做的就是勤加护理,常给它洗澡也是一个很有效的方法。"
"\n营养不良:\n"
"\t排除天气变化的原因后,猫掉毛最可能的原因就是营养不良。最常见的是缺乏足够的蛋白质,也可能是维生素摄入不足。中国家庭常用米饭喂猫,如果猫没有摄取足量的蛋白质,如肉类鱼类,就会掉毛,严重的甚至会整片脱毛。这种情况,建议增加猫食物中的鱼的比例。同时让猫吃酵母有助于补充维生素摄入不足,对防止脱毛很有效。"
"\n健康问题:\n"
"\t猫是一种很容易生病的小动物。如果猫表现得精神不好,胃口不如平时,而且掉毛,就很可能是病了。这时最好抱它到医生那去检查一下,医生会提供专业意见的。"
"\n\t至于清理家具上的毛,可以用有绒毛的刷子,如清洁西服用的毛刷。用绒布缝在手套上也是一个好办法,直接戴在手上,在抚摩小猫的同时清理掉它身上脱落下来的毛,而且猫们都很喜欢被人抚摩,这样既解决了毛的问题,又可以增进了人猫感情。"
"\n猫咪梳毛:\n"
"\t不要觉得给猫梳毛很麻烦,如果你每天养成习惯,你的猫咪会觉得很舒服,并且愿意和你每天进行这个游戏。当然你也会很省事!因为每天梳毛可以梳掉大量的死毛,是去除掉毛的根该方法,还可以避免毛发打结,同时还起到按摩作用,促进血液循环,增强皮肤的健康,只有健康的皮肤才是不掉毛的关键。"
"\t适度洗澡:\n"
"\t有些家长恨不得天天给猫咪洗澡而有些家长则一年半载也不给猫洗一次其实这都是不对的正确的猫洗澡应该夏天5-7天洗一次冬天7-10天洗一次。如果看到猫咪掉毛就反复给它们洗澡这样是绝对错误的过勤的洗澡只会破坏皮肤组织引发更可怕掉毛。还会使猫的皮肤变的敏感脆弱很容易会患上各种皮肤病。"
"\n选用洗毛液:\n"
"\t猫咪皮肤属中性,应使用宠物专用的洗毛液,不适合使用偏碱性的人用的洗发香波。有些人甚至使用消毒剂如滴露,这些都是带化学伤害的液体,绝对不可以用在猫身上,因为这些物质都会破坏猫的皮肤,引发过敏而引起脱毛。");
new_cat->set_background();
new_cat->show();
delete this;
}
void Li_cat::button8()
{
Gafei_content *new_cat = new Gafei_content;
new_cat->ui->textBrowser->setFontPointSize(20);
new_cat->ui->textBrowser->setFontFamily("");
new_cat->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
new_cat->ui->textBrowser->setText("纯白色:闪闪发亮的纯白色。鼻头和足垫:粉红色;眼睛颜色:深蓝色或者红铜色.;金银眼则一眼为蓝色,一眼为红铜色,有同样深的色度。"
"蓝色:蓝色,明亮的阴影色优先,鼻子到尾部色彩均一,感觉稳定。完整的暗阴影色比不完整的明亮阴影色好。笔头和足垫:蓝色;眼睛颜色:艳丽的红铜色。"
"黑色:浓郁的漆黑色,从毛根到毛尖均一色,色彩稳定.不能有赭色的尖端和烟色的下层绒毛。鼻头:黑色;足垫:黑色或者深褐色;眼睛颜色:红铜色。"
"黑色脸红色PEKE-FACE RED狮子狗脸红色猫的毛色都遵循红色猫的标准但是耳朵的位置比异国短毛猫稍微高了一点可以确定它们的头骨结构有很大不同。鼻子扁平、短并缩进双眼间。在鼻口部分有皱纹。眼睛大而圆双眼距离宽。头部最上部和鼻子裂纹之间的横纹在头部前面眼睛上面形成一道半月形一道额外的皱纹在头骨前额结构的正中间。头骨形成了非常圆的头和强健的下巴。眼色艳丽的红铜色。"
"鼻头:褐色。足垫:肉桂色。眼色:艳丽的红铜色。"
"黑色LILAC浓艳暖色的紫色和带有桃红的色调。毛根到毛尖均一色泽。鼻头和足垫薰衣草紫。眼色艳丽的红铜色。"
"黑色SHADED SILVER: 下层绒毛是白色,毛尖为黑色,这种毛色分布在侧面、脸部、尾巴,逐渐到肋部、下巴、胸部、腹部以及尾巴下侧面变成白色。整体的外观毛色比银白栗鼠色暗。腿和脸部是同一毛色。眼睛外缘、嘴唇和鼻头的外轮廓是黑色。鼻头:红棕色。足垫:黑色。眼色:绿色或者蓝绿色。不合格的眼色:红铜色、黄色、金黄色、琥珀色或者任何除了绿色和蓝绿色以外的颜色。"
"黑色金吉拉银色BLUE CHINCHILLA SILVER下层绒毛白色在背部、肋部、头和尾巴的毛尖色为蓝色显露出独特的光泽。脸和小腿的毛尖上可能有轻微的阴影色下巴、肚子和胸膛是纯粹的白色。眼睛边沿、嘴唇还有鼻的外轮廓是蓝色。鼻头旧玫瑰红。足垫蓝色或者旧玫瑰红。眼色绿色或蓝绿色。"
"蓝阴影银色BLUE SHADED SILVER下层绒毛白色毛尖色为蓝色脸和尾巴的脊部是暗色到下巴、胸膛、肚子和尾巴下侧面变成白色。小腿和脸是同一颜色。整体感觉比金吉拉颜色暗 眼睛边缘、嘴唇和鼻子外轮廓是蓝色。鼻头:旧玫瑰红。足垫:蓝色或者旧玫瑰红。眼色:绿色或者蓝绿色。"
"金色金吉拉CHINCHILLA GOLDEN下层绒毛是浓艳暖调的奶油色。背部、头、肋和尾巴的毛尖为黑色带金黄色的外观。腿部毛尖可以有轻微的阴影色。下巴、肚子、胸膛是奶油色。眼睛边缘、嘴唇和鼻子外轮廓是黑色。鼻头深玫瑰红。足垫黑色。眼色绿色或者蓝绿色。"
"阴影金色SHADED GOLDEN: 下层绒毛浓艳暖调的奶油色,黑色毛尖侧面是阴影色,脸和尾巴的脊部是暗色逐渐到下巴、肚子、胸膛和尾巴下面变成奶油色。腿和脸部是同一颜色。普遍看起来比金吉拉颜色深。鼻头:深玫瑰红。足垫:黑色。眼色:绿色或者蓝绿色。"
"蓝金色金吉拉BLUE CHINCHILLA GOLDEN: 下层绒毛奶油色。在背部、肋部、头和尾巴的的毛尖是蓝色并带有金黄色的外观。脸和腿的毛尖有阴影色。下巴、肚子和胸膛是奶油色。鼻头:旧玫瑰红。足垫:蓝色或者旧玫瑰红。眼色:绿色或者蓝绿色。"
"蓝阴影金色BLUE SHADED GOLDEN: 下层绒毛奶油色,体侧是蓝阴影毛尖色覆盖。脸和尾巴的脊部带暗色,在下巴、胸膛、肚子和尾巴的下侧面逐渐变成奶油色。腿和脸毛色一样。普遍看起来比蓝金色金吉拉颜色暗。"
"不合格的眼色:红铜色、金黄色、琥珀色,或者任何除了绿色和蓝绿色以外的眼色。"
"贝壳玛瑙色SHELL CAMEO 红金吉拉Red Chinchilla): 下层绒毛白色,在背部、肋部、头和尾巴的毛尖轻微地点缀着红色。脸和小腿的毛尖有轻微的阴影色。肚子和胸膛是白色。鼻头、眼睛外轮廓和足垫:粉桃红色。眼色:艳丽的红铜色。"
"阴影玛瑙色SHADED CAMEO 红阴影色Red Shaded): 下层绒毛白色,在侧面、脸和尾巴被红阴影色遮盖。肚子和胸膛白色。脸和腿可能有更深的阴影色。整体看起来比玛瑙色更红。鼻头、眼睛轮廓和足垫:粉桃红色。眼色:艳丽的红铜色。"
"贝壳奶油色SHELL CREAM 奶油金吉拉色Cream Chinchilla): 下层绒毛白色在背部、肋部、头和尾巴毛尖轻微地点缀着奶油色。脸和腿的毛尖可能有轻微的阴影色。肚子和胸膛白色。鼻头、眼睛外轮廓和足垫粉桃红色。眼色艳丽的红铜色。阴影奶油色SHADED CREAM 奶油阴影色Cream Shaded): 下层绒毛白色,在体侧、脸和尾巴被奶油阴影色覆盖。整体感觉比贝壳奶油色深。鼻头、眼睛外轮廓和足垫:粉桃红色。眼睛颜色:艳丽的红铜色。"
"贝壳龟甲色SHELL TORTOISESHELL下层绒毛白色。背部、肋部和尾巴的毛尖点缀着轻微的黑色和红阴影色。肚子和胸膛白色。鼻头、眼睛外轮廓和足垫粉桃红色到黑色可能带斑块。眼色艳丽的红铜色。阴影龟甲色SHADED TORTOISESHELL: 下层绒毛白色。体侧、脸和尾巴覆盖着黑色和红色阴影色。肚子和胸膛白色。整体感觉颜色比贝壳龟甲色深。鼻头、眼睛外轮廓和足垫:粉桃红色到黑色,可能带斑块。眼色:艳丽的红铜色。"
"贝壳蓝色SHELL BLUE下层绒毛白色背部、肋部、头和尾巴的毛尖点缀着轻微的蓝色。肚子和胸膛白色。鼻头、眼睛外轮廓和足垫蓝色。眼色艳丽的红铜色。");
new_cat->set_background();
new_cat->show();
delete this;
}
void Li_cat::button9()
{
Gafei_content *new_cat = new Gafei_content;
new_cat->ui->textBrowser->setFontPointSize(20);
new_cat->ui->textBrowser->setFontFamily("");
new_cat->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
new_cat->ui->textBrowser->setText(" 猫咪皮肤病的处理\n"
"猫皮肤病主要包括:\n"
"\ta)细菌性皮肤病:以细菌感染为主;"
"\tb)真菌性皮肤病皮肤真菌感染引起的皮肤真菌在自然界中存活时间较长抵抗力较强在干燥环境中能存活1年以上。还有些真菌对土壤有亲合力可以在土壤中生长繁殖并且长期存活。"
"\tc)外寄生虫性皮肤病:由跳蚤、疥螨、蠕形螨、耳螨、虱子、蜱等引起;"
"\td)代谢性皮肤病:激素性皮肤病; 过敏性皮肤病;"
"\te)免疫异常性皮肤病:与营养有关的皮肤病等。"
"\n\t真菌性皮肤病"
"\n\t皮肤真菌的传播途径主要是接触性传染,可通过猫的卧息地污染物及污染的梳子、刷子、铺垫物等媒介传染。此病一年四季均可发生,一般气候炎热、潮湿季节发病率高。患真菌病后治愈的猫,对同种真菌再感染有抵抗力,但抵抗力会在几个月至1 年后消失。该真菌是一种人兽共患的皮肤病,儿童及妇女更易感染。"
"\n\t症状"
"\n\t患猫皮肤感染真菌后,多发于头部耳朵、四肢趾爪和躯干等部位。患处的皮肤脱毛,出现环形的鳞屑斑,残留有被破坏的毛根,有时患部完全脱毛。严重时会形成红斑或痂皮。当癣斑中间开始生毛时,其周围的脱毛现象仍在继续。患部搔痒,个别猫如抓挠继发细菌感染时,渗出严重,可见皮肤患处红肿糜烂, 重者可化脓。皮肤真菌病的发展,一般由中间向四周环行扩散,若不及时治疗,转为慢性病程较长。"
"\n\t出现如上症状之后,要带猫咪去兽医院进行检查。");
new_cat->set_background();
new_cat->show();
delete this;
}
void Li_cat::button10()
{
Gafei_content *new_cat = new Gafei_content;
new_cat->ui->textBrowser->setFontPointSize(20);
new_cat->ui->textBrowser->setFontFamily("");
new_cat->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
new_cat->ui->textBrowser->setText(" 异国短毛猫是波斯猫的一个重要分支,继承了波斯猫可爱的容貌和温柔的性格同时,也继承了波斯猫由于过度纯化而产生的各种遗传疾病。为了能够买到健康的猫猫。了解,询问买家,确认买家也了解这些遗传疾病非常重要。"
"\n致死呼吸困难"
"\n扁平的脸和鼻子。这种面部特征让波斯系猫容易产生呼吸困难皮肤眼睛疾病以及难产等各种问题。扁脸宠物解剖学上的异常会造成呼吸短促以及有异声。畸形的泪管也会造成泪管堵塞一种使眼泪不断溢出流到脸上的症状这种症状在波斯系猫中很常见一般没有其他问题。但也有可能是更严重的情况造成的副作用。比如眼帘内翻造成眼睫毛反复刷角膜会造成流泪痛苦感染以及角膜损伤。类似的上眼帘或者眼角内睫症也会造成对角膜的磨损并导致流泪。难产也在波斯系猫中非常常见。一个1973只波斯猫的调查指出波斯猫的难产率22.1%比普通猫16.1%而死亡率更高达29.2%。2010年度一份兽医报告指出难产是由于扁脸特征而造成。"
"\n由于BBC节目对于纯种狗的报道猫咪繁殖人士也受到了兽医和动物保护/福利组织的压力.由于波斯猫是猫中最受健康问题困扰的品种动物保护组织提议改变波斯猫的培育标准以防止过度特征化波斯猫的扁脸特征并禁止繁育超过一定标准的猫。GCCF限制了猫鼻子的高度不得高于眼角TICA以及FIFE更限制了猫鼻孔必须打开。其中FIFE更申明合格的波斯系猫鼻子必须包含“自由并便捷的空气通道”。德国动物福利法案也同样禁止繁育鼻尖高于下眼帘的扁脸猫。"
"\n多囊性肾病"
"\nPKD会造成成猫肾衰竭)在波斯系中发病率达到36-49%。晶体不断的生成并覆盖肾渐渐替代正常肾组织并造成肾肿大。平均大约7岁3-10岁猫会产生肾衰竭症状有大量饮水排尿以及食欲降低消瘦以及抑郁。这种疾病是常染色体显性超声波或者DNA检测可以将得病个体从繁殖群体内排除以减少甚至与消灭在某些血统中这种疾病的发病率。trust注所以询问并检查父母双方是否是族谱全为PKDHCM阴性非常重要。"
"\n心室肥大症"
"\n心室肥大症是一种所有猫中常见心脏病。它在Maine Coon美国短毛猫trust注异国短毛猫有波斯及美国短毛猫血统以及可能波斯猫中遗传。疾病会造成左心室肥大并最后造成猝死。一般于男性或者老年个体中发病。波斯猫的发病率为6.5%。与PKD能在早期发现不同心脏测试要不间断的进行才能从繁育群体中除去带病个体。"
"\n基于纯种猫由于过度纯化(近亲繁殖)遗传疾病的普遍性,这也是重要的一个原因为什么我们建议所有非繁殖宠物绝育。因为非繁殖宠物一般不会去进行各种遗传疾病检查,如果万一产生后代,可能再次污染好不容易建立的无遗传病繁殖群体。"
"\n其他可能出现的遗传疾病:"
"\n进行性视网膜萎缩,隐性遗传疾病。有人相信只有巧克力以及喜玛拉雅的线会发病,但是没有证据表明此疾病和皮毛颜色相关。"
"\n底层细胞癌是一种头部,背部,以及胸部常见皮肤癌。常为良性,恶性常见于波斯猫系。"
"\n蓝色烟熏波斯系常有多系统并发隐性遗传病。白猫包括纯白波斯猫(蓝眼),常为耳聋。"
"\n波斯对打虫药也更为敏感。"
"\n髋关节发育不良。"
"\n咬合错位牙齿错位trust注多数猫协会要求咬合没有问题。即使没有咬合错位波斯系也有显而易见的进食困难因为扁平的小肥脸。。。所以波斯猫甚至有特殊的碗。");
new_cat->set_background();
new_cat->show();
delete this;
}

@ -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,103 +0,0 @@
#include "login.h"
#include "ui_login.h"
#include "home.h"
#include <QMessageBox>
#include <QString>
#include "data_base.h"
#include "reg.h"
QString username1;
login::login(QWidget *parent) :
QDialog(parent),
ui(new Ui::login)
{
ui->setupUi(this);
ui->name_input->setPlaceholderText("请输入用户名");
ui->password_input->setPlaceholderText("请输入密码");
/*
//位置和长宽参数我在ui里设置的如果用代码设置设置为这个参数(720,10),(551,701)
QPixmap myPix(":/image/登录框.png");
ui->login_box->setPixmap(myPix);
ui->login_box->setScaledContents(true);
ui->login_box->show();
*/
//设置按钮图示,或者直接在ui中设置也可以
/*
ui->button_login->setStyleSheet("text-align: left;");//设置按钮文字显示位置-左对齐
ui->button_login->setStyleSheet("background-color: rgb(255, 128, 64);");//设置按钮背景颜色
ui->button_login->setStyleSheet("border-image: url(icons:/image/登录键.png) 0 0 0 0");//用图片填充按钮背景颜色
*/
//用户名图标
QPixmap myPix2(":/image/狗勾剪影.png");
ui->user_name->setPixmap(myPix2);
ui->user_name->setScaledContents(true);
ui->user_name->show();
//密码图标
QPixmap myPix3(":/image/骨头.png");
ui->password->setPixmap(myPix3);
ui->password->setScaledContents(true);
ui->password->show();
//ui->button_login->setStyleSheet("QPushButton{border-radius:5px;background:rgb(255,43,89);color:white;}");
ui->to_register->setStyleSheet("background-color: rgb(255, 248, 27);");//设置按钮背景颜色
}
login::~login()
{
delete ui;
}
void login::on_button_login_clicked()
{
//获得userNameLEd输入框的文本userNameLEd->text()
//trimmed()去掉前后空格
//tr()函数,防止设置中文时乱码
QString user_name1 = ui->name_input->text();
QString password1 = ui->password_input->text();
if(user_name1 == "") QMessageBox::warning(this,"","用户名不能为空!");
else if(password1 == "") QMessageBox::warning(this,"","密码不能为空!");
else if(Data_base::check_user(user_name1,password1))
{
username1 = user_name1;
qDebug()<<username1;
Home *new_home = new Home;
new_home->set_background();
new_home->show();
delete this;
}
else{
QMessageBox::warning(this,"","账号或密码错误!");
}
}
void login::login_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/登录页-背景-1.png").scaled(this->size());
palette.setBrush(QPalette::Window, QBrush(pixmap));
this->setPalette(palette);
}
void login::on_to_register_clicked()
{
Reg *to_register = new Reg;
to_register->register_set_background();
to_register->show();
delete this;
}

@ -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,136 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>login</class>
<widget class="QDialog" name="login">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1280</width>
<height>720</height>
</rect>
</property>
<property name="font">
<font>
<pointsize>20</pointsize>
</font>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<widget class="QPushButton" name="button_login">
<property name="geometry">
<rect>
<x>880</x>
<y>540</y>
<width>221</width>
<height>71</height>
</rect>
</property>
<property name="font">
<font>
<family>楷体</family>
<pointsize>25</pointsize>
</font>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="resource.qrc">
<normaloff>:/image/登录键_new.png</normaloff>:/image/登录键_new.png</iconset>
</property>
<property name="iconSize">
<size>
<width>400</width>
<height>200</height>
</size>
</property>
</widget>
<widget class="QLabel" name="user_name">
<property name="geometry">
<rect>
<x>780</x>
<y>350</y>
<width>61</width>
<height>61</height>
</rect>
</property>
<property name="font">
<font>
<family>Segoe Script</family>
<pointsize>22</pointsize>
</font>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="password">
<property name="geometry">
<rect>
<x>780</x>
<y>440</y>
<width>61</width>
<height>61</height>
</rect>
</property>
<property name="font">
<font>
<family>Segoe Script</family>
<pointsize>22</pointsize>
</font>
</property>
<property name="text">
<string>Password</string>
</property>
</widget>
<widget class="QLineEdit" name="name_input">
<property name="geometry">
<rect>
<x>840</x>
<y>350</y>
<width>331</width>
<height>61</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="password_input">
<property name="geometry">
<rect>
<x>840</x>
<y>440</y>
<width>331</width>
<height>61</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="to_register">
<property name="geometry">
<rect>
<x>1000</x>
<y>140</y>
<width>191</width>
<height>51</height>
</rect>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="resource.qrc">
<normaloff>:/image/注册_new2.jpg</normaloff>:/image/注册_new2.jpg</iconset>
</property>
<property name="iconSize">
<size>
<width>241</width>
<height>61</height>
</size>
</property>
</widget>
</widget>
<resources>
<include location="resource.qrc"/>
</resources>
<connections/>
</ui>

@ -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,170 +0,0 @@
#include "puppet_cat.h"
#include "ui_puppet_cat.h"
#include "cat_book.h"
#include "puppet_cat_content.h"
#include "ui_puppet_cat_content.h"
Puppet_cat::Puppet_cat(QWidget *parent) :
QWidget(parent),
ui(new Ui::Puppet_cat)
{
ui->setupUi(this);
connect(this->ui->pushButton,SIGNAL(clicked(bool)),this,SLOT(button1()));
connect(this->ui->pushButton_2,SIGNAL(clicked(bool)),this,SLOT(button2()));
connect(this->ui->pushButton_3,SIGNAL(clicked(bool)),this,SLOT(button3()));
connect(this->ui->pushButton_4,SIGNAL(clicked(bool)),this,SLOT(button4()));
connect(this->ui->pushButton_5,SIGNAL(clicked(bool)),this,SLOT(button5()));
connect(this->ui->pushButton_6,SIGNAL(clicked(bool)),this,SLOT(button6()));
connect(this->ui->pushButton_7,SIGNAL(clicked(bool)),this,SLOT(button7()));
connect(this->ui->pushButton_8,SIGNAL(clicked(bool)),this,SLOT(button8()));
connect(this->ui->pushButton_9,SIGNAL(clicked(bool)),this,SLOT(button9()));
ui->pushButton->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_2->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_3->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_4->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_5->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_6->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_7->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_8->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_9->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
}
Puppet_cat::~Puppet_cat()
{
delete ui;
}
void Puppet_cat::puppet_cat_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 Puppet_cat::on_go_back_clicked()
{
Cat_book *go_back = new Cat_book;
go_back->cat_book_set_background();
go_back->show();
delete this;
}
void Puppet_cat::button1()
{
Puppet_cat_content *go = new Puppet_cat_content;
go->set_background();
go->ui->textBrowser->setFontPointSize(20);
go->ui->textBrowser->setFontFamily("");
go->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
go->ui->textBrowser->setText(" 布偶猫又称布拉多尔猫是猫中体形和体重较大的一种。布偶猫于1960年开始繁育1965年在美国获得认可。布偶猫头呈V形眼大而圆被毛丰厚四肢粗大身体柔软多为三色或双色猫。布偶猫全身非常松弛像软绵绵的布偶一样。它性格温顺、恬静对人非常友善对疼痛的忍受性相当强常被误认为缺乏疼痛感。它非常能容忍孩子的玩耍也因此被称为布偶猫是非常理想的家养宠物。"
"布偶猫是一个非常聪明的品种,它性情温顺、安详,爱交际,和其他猫或狗相处友好,叫声轻柔,感情丰富,有爱心,喜欢有人陪伴,对人非常友善,全身特别松弛、柔软,忍耐性强,非常能容忍人们的玩弄。"
"布偶猫喜欢讨好主人,总是形影不离地围着主人转。这种猫非常好静,但也爱玩玩具,并喜欢参与家中的日常生活。布偶猫异常温柔,缺乏保护自己的本能,因此必须作为宠物养在深闺,而不许出门\n");
go->show();
delete this;
}
void Puppet_cat::button2()
{
Puppet_cat_content *go = new Puppet_cat_content;
go->set_background();
go->ui->textBrowser->setFontPointSize(20);
go->ui->textBrowser->setFontFamily("");
go->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
go->ui->textBrowser->setText(" 尽管布偶猫是一个新品种它们的历史渊源却始终很不明朗。20世纪60年代加利福尼亚的培育者Ann Baker培育出了最早的布偶猫它们的父亲是只名叫Warbucks的雄性伯曼猫而母亲则是叫做Josephine的白色非纯种长毛猫。她说布偶猫被抱起来的时候就会全身“绵软”。随后Ann Baker成立了一个品种协会但那时的布偶猫还没有得到其他协会的承认。此后又有许多人培养出了布偶猫这才创造了如今被各大主流协会承认的布偶猫品种。布偶猫的成功应该归功于人们对安静的室内猫的需要。如今一些相似的品种正陆续被培养出来并且都有一个温馨的名字。");
go->show();
delete this;
}
void Puppet_cat::button3()
{
Puppet_cat_content *go = new Puppet_cat_content;
go->set_background();
go->ui->textBrowser->setFontPointSize(20);
go->ui->textBrowser->setFontFamily("");
go->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
go->ui->textBrowser->setText(" 它的祖先于20世纪60年代出生于美国加利福尼亚州。正如它的名字“布偶”一样它性格温和体表毛发丰厚属于体格较大的猫种成年公猫有的甚至将近10千克。");
go->show();
delete this;
}
void Puppet_cat::button4()
{
Puppet_cat_content *go = new Puppet_cat_content;
go->set_background();
go->ui->textBrowser->setFontPointSize(20);
go->ui->textBrowser->setFontFamily("");
go->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
go->ui->textBrowser->setText(" 布偶猫的体毛属于中长型,不会缠结在一起,质地柔滑如兔毛。它的尾巴蓬松,颈部通常带“围脖”,而臀部的体毛也比较长。定期梳理毛发会让布偶猫感到十分舒服。布偶猫是最漂亮的纯种猫之一,带有独特的单色点或双色点的毛。\n\n"
"布偶猫体形大身体长肌肉发达胸部宽颈粗而短发育期长幼猫要三年左右才能完全发育成熟。其特征是头大而呈楔形头顶扁平眼睛为深蓝色吻都呈圆形短鼻子上略有凹陷有的脸上有“V”型斑纹颈部被毛较长属毛长猫类。\n\n"
"布偶猫手套色前脚掌上好象戴着手套两只手套呈白色大小相似且不超出腿和脚掌形成的角度。后腿上白色靴子向上延伸至后脚踝关节整个身体下方由下巴至尾部也都是白色。布偶猫有三种颜色图案双色、手套和重点色。这些图案各分6种颜色海豹色、蓝色、巧克力色、淡紫色、红色和乳色。所有颜色均可在面部附加山猫纹。");
go->show();
delete this;
}
void Puppet_cat::button5()
{
Puppet_cat_content *go = new Puppet_cat_content;
go->set_background();
go->ui->textBrowser->setFontPointSize(20);
go->ui->textBrowser->setFontFamily("");
go->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
go->ui->textBrowser->setText(" 身形较大的布偶猫有着长而美丽的被毛,大而美丽的蓝色眼睛总是水汪汪的,犹如清澈的湖水。它全身特别松弛柔软,像软绵绵的布偶一样,而极强的忍耐性常被误认为缺乏疼痛感。因为性格温顺而恬静,它对人非常友善,那种温柔而甜美的叫声总让人忍不住想拥它入怀。");
go->show();
delete this;
}
void Puppet_cat::button6()
{
Puppet_cat_content *go = new Puppet_cat_content;
go->set_background();
go->ui->textBrowser->setFontPointSize(20);
go->ui->textBrowser->setFontFamily("");
go->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
go->ui->textBrowser->setText(" 布偶猫性格较为懒散、平和、友善,不会抵触被抱起来。");
go->show();
delete this;
}
void Puppet_cat::button7()
{
Puppet_cat_content *go = new Puppet_cat_content;
go->set_background();
go->ui->textBrowser->setFontPointSize(20);
go->ui->textBrowser->setFontFamily("");
go->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
go->ui->textBrowser->setText(" 布偶猫常常为了讨好主人而表现出超强的忍耐力,对疼痛的忍受性相当强,尤其值得一提的是,它们非常能容忍孩子的玩弄,所以得名布偶猫。正是因为它们拥有强大的“忍者”精神,所以它们能够适应各种家庭的饲养,就算家里的小孩子误踩到了它们的尾巴,它们也不会怒发冲冠,而是咬紧牙关,发出可怜兮兮的求救声,就算大人们在短时间内没有发现,它们也不会对家里的宝宝造成伤害。但主人们不要误认为它们缺乏疼痛感,它们只是很懂事,愿意为主人而忍耐。\n\n"
"布偶猫很是通人性,相比每天爬高上低、上蹿下跳,它们更愿意去跟人打交道,尤其喜欢陪着主人散心。在清洁方面,布偶猫也是尽可能的不劳自己的主人动手,它很能理解主人的生活节奏,能够自己做到的就会自己做。所以说,大多数的布偶猫都不用人们给它做刻意的清洁,它们举止优雅,很少因为调皮或是打闹而掉毛,总是把自己的毛发保持的干干净净。\n");
go->show();
delete this;
}
void Puppet_cat::button8()
{
Puppet_cat_content *go = new Puppet_cat_content;
go->set_background();
go->ui->textBrowser->setFontPointSize(20);
go->ui->textBrowser->setFontFamily("");
go->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
go->ui->textBrowser->setText(" 刺激性食物。如胡椒、芥末、辣油、香辛料等,这些食物会让猫的嗅觉迟钝。\n\n"
"高脂肪食物。高油脂食物,甜的食物。如蛋糕、炸鸡、薯条等,易造成猫咪肥胖或疾病的发生,诸如脂肪肝、心包油等。\n\n"
"太冷和太热食物。因为猫咪的舌头是怕热的,身体会对太冷和太热的食物排斥。\n\n"
"动物内脏类食物。动物内脏中内含有对猫咪身体有益的维生素A但这种物质如吸收太多会对猫的骨节、肝脏等功能有损害。");
go->show();
delete this;
}
void Puppet_cat::button9()
{
Puppet_cat_content *go = new Puppet_cat_content;
go->set_background();
go->ui->textBrowser->setFontPointSize(20);
go->ui->textBrowser->setFontFamily("");
go->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
go->ui->textBrowser->setText(" 布偶猫体型很大,但是这种猫的性格比较安静,很适应公寓生活。然而,虽然这种猫安静,却喜欢有人为伴,如果你没有很多时间陪伴它的话,那么你最好养两只,给它一个作伴的朋友。");
go->show();
delete this;
}

@ -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,130 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Rabbit</class>
<widget class="QWidget" name="Rabbit">
<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>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="QTextBrowser" name="textBrowser">
<property name="geometry">
<rect>
<x>60</x>
<y>110</y>
<width>1151</width>
<height>571</height>
</rect>
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;兔Rabbit是哺乳类兔形目兔科下属所有的属的总称。俗称兔子。生物学分类动物界脊索动物门 脊椎动物亚门 哺乳纲 兔形目。兔&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;具有管状长耳耳长大于耳宽数倍簇状短尾比前肢长得多的强健后腿。共9属43种。以亚洲东部、南部、非洲和北美洲种类最多少数种类分布于欧洲和南美洲其中一些种类分布广泛或者被引入很多地区而也有不少种分布非常局限。陆栖多见于荒漠、荒漠化草原、热带疏林、干草原和森林或树林。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;外形特征:体型&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;从体型上分类可分为大型兔、中型兔和小型兔大型兔的体重大约在58公斤左右也有少数超过8公斤中型兔的体重大约在24公斤左右小型兔的体重大约在2公斤以下。 一般来说,兔的躯体可分为头颈部、躯干部、四肢和尾等四部分。体表:被毛,有保温作用。毛色:大多是白色、黑色、灰色、灰白色、灰褐色、黄灰色、浅土黄、还有夹花的。兔的牙齿 门齿:适于切断食物。臼齿:适于磨碎食物。兔子的尾巴短而毛茸茸,会团起来,像一个球,非常可爱。运动方式:跳跃,兔子的前肢比后肢要短,有利跳跃。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;头部&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;兔的头部较长可分为颜面区眼以前和脑头颈部颅区眼以后。颜面区约占头部全长的2/3。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;口&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;兔口较短有上、下唇其中上唇有纵裂又称豁嘴门齿外露口边有触须。上唇中间分裂是典型的三瓣嘴非常可爱。除了有两颗向外突出的大门牙兔共有28颗牙齿。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;鼻&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;兔的鼻孔较大,呈椭圆形,内缘与上唇纵裂相连。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;眼&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;兔的眼球呈圆形单眼视角180°所以兔用单眼看东西。兔的品种不同、毛色不同其眼的颜色也不同。兔子的眼睛有红色蓝色黑色灰色等各种颜色也有的兔子左右两只眼睛的颜色不一样。因为兔子是夜行动物所以它的眼睛能大量聚光即使在微暗处也能看到东西。另外由于兔子的眼睛长在脸的两侧因此它的视野宽阔对自己周围的东西看得很清楚有人说兔子连自己的脊梁都能看到。不过它不能辨别立体的东西对近在眼前的东西也看不清楚。兔子眼睛的颜色与它们的皮毛颜色有关系黑兔子的眼睛在灯光下是黑色的灰兔子的眼睛是灰色的白兔子的眼睛红色的。那为什么我们看到小白兔的眼睛是红色的呢这是因为白兔眼睛里的血丝毛细血管反射了外界光线透明的眼睛就显出红色。小兔是有各种颜色的它们的眼睛也是有不一样颜色的。那是因为它们身体里有一种叫色素的东西。兔子眼睛的颜色与它们的皮毛颜色有关系。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;耳&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;兔的耳朵长而大,甚至可超过头的长度;也有部分品种兔的耳朵较小、呈下垂状。兔耳朵的形状、长度和厚薄也能反映品种的特点。例如,中国本土兔的耳朵短而厚、直立状、大。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;生活习性:兔子(10张)兔是一种胆小的动物,突然喧闹声、生人和陌生动物,如猫狗等都会使它惊慌失措。在饲养管理中,应尽量避免引起兔子惊慌的声响,同时要禁止陌生人和猫狗等进入兔舍。家兔的听觉锐敏,嗅觉敏感,但它胆小怕惊而善跑。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;骤惊-当有突然响动就会马上戒备或迅速逃跑。对突然的喧闹或嗅、视到陌生人、狗、猫、蛇、鼠、虫等出现,都会惊慌不已,会发出响亮的嘭嘭(啪啪)跺脚(顿足)、奔跑和撞笼,以求潜逃躲避敌害。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;它的家一般有很多洞(狡兔三窟),以此躲避敌害。在冬天它们只沿着自己的脚印返回。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;兔子喜食草。一般家庭饲养的兔子要注意食物的提供因为幼兔没有饱感。蔬菜本来是不建议给幼兔吃的容易得肠炎成年后才可以适当提供。兔子分幼兔和成兔。都是早晚喂食每天2次。如遇到换品牌粮食的情况需要过渡不可直接更换导致兔子不适应出现不适。幼兔是16个月的兔子成兔是6个月以上的兔子。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;声音&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;咕咕叫代表兔子很不满意,生气,通常是对主人的行为或对另一只兔子的行为感到不满。比如兔子不喜欢人家去抱它碰它,它就会发出咕咕叫。如果你不再停止那行为,就可能会被咬。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;喷气声代表兔子觉得某些东西或某些行动令它感到受威胁。如果是你的行动令兔子感到受威胁,当你再不停止那行动,就可能会被咬。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;兔子的尖叫声类似老鼠,和人类一样通常是代表害怕或者痛楚。如果突然听到兔子尖叫,主人立刻要多注意,因为可能兔子是受了伤。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;大声磨牙代表兔子感到疼痛,最好带兔子看一下兽医了。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;轻轻磨牙代表兔子很满足很高兴。当兔子轻力发生磨牙声,如果你伸手摸兔子下巴,可以感到臼齿在摩擦。这时候通常兔子的眼睛会在半开合状态。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;当兔子发出格格的咬牙声,是代表痛楚。这时候兔子一般会弯起身而坐,耳朵向后贴紧身体。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;像猫一样,兔子满足时也会呜呜叫。不过兔子和猫的不同之处是猫咪会用喉去发声,但兔子是用牙齿去发声。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;兔子通常是对另一只兔子才会发出嘶嘶的叫声。嘶嘶的叫声是代表一种反击的警告,主要是告诉另一只兔子别过来的意思,否则他会进行攻击。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;发情的叫声不同于咕咕叫。发情的叫声是低低沉沉而有规律的叫声。一般公兔在追逐母兔时会发出此叫声。绝育可以减少这一类发情的行为,不过不可以完全清除这一种发情行为。绝育后的公兔仍然会追逐母兔,把母兔擒住。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;动作活动&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;当兔子成年,兔子就可能出现绕圈转的行为。绕圈转是一种求爱的行为,有时候更会同时发出咕噜的叫声。通常开始有绕圈转的求爱行为也就代表兔子是时候可以进行绝育了。绕圈转也同时可以代表想人注意或者要求食物。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;当兔子感到非常高兴时,就会出现原地跳跃,在半空微微反身的行为,有时候兔子也会边跳跃边摆头。他们跳跃时,就好像跳舞一样。特别是迷你兔,他们比较爱用跳跃去表达自己高兴和非常享受的感觉。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;有些兔子会不喜欢人家去碰它的东西。当主人清理笼子时,换食物盘时,兔子就可能会扑过来。这样是代表他不喜欢,扑过来是一种袭击的表现。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;当兔子四肢也用脚尖站起时,是警告的意思。它们会保持这动作直到危险过去,此动作大约可以保持几秒至几分钟。当兔子生气时,也可能会用脚尖站起来,也代表警告的意思。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;当兔子感到害怕时,它们会用后腿跺脚。在野外,当敌人接近,兔子会用后腿跺脚去通知同伴有危险。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;兔子侧睡,把腿伸展是代表他们感到很安全。如果主人不去打扰它,兔子就可能很快就睡着了。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;当兔子尽量把身体压低,是代表它很紧张,觉得有危险接近。在野外,当兔子觉得有危险接近,它们会尝试压低身子,避免被看到。而宠物兔也会有这行为。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;蹲下来跟压低身子的表现是不同意思。蹲下来时,兔子的肌肉是放松的,是一种感到轻松的表现。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;代表兔子心情很不错,感觉很舒适。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;兔子推开你的手代表他觉得自己已经做妥了这件事,告诉主人别来管他的事。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;这样是代表恳求,希望得到一些东西或对待。例如兔子想吃小食,想主人把他放出来。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;轻咬是在兔子世界中的意思是“好了,我已经足够了!”。他们是会利用轻咬来告诉主人停止行动。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;在兔子的行为语言中,舔手是代表多谢。如果你家兔子舔你的手,代表他想跟你说谢谢喔!&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;抽动尾巴是一种调皮的表现,就如人类伸舌的动作。通常兔子会在一边跳跃时一边前后抽动尾巴。例如主人想把兔子被捉回笼子,兔子突然跳起来同时抽动尾巴,代表他想说&amp;quot;你不会捉到我&amp;quot;的意思。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;因为兔子下巴的位置是有香腺的,所以兔子会用下巴去擦东西,留下自己的气味,以划分地盘。这种气味人类嗅不到,不过兔子就知道。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;未绝育的成年公兔可能会出现喷尿的行为。喷尿是兔子世界中用来划分地盘和占有母兔的做法。母兔可能同样会有喷尿的行为,可是主要是公兔出现这行为比较多。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;兔子一般也会在某一处拉一堆大便。如果兔子在不同地方分散地拉大便,其实也是一种划地盘的行为。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;母兔当它们要产子的前一天,它们就会出现拔毛的行为。它们会在胸部和脚侧的位置拔毛,利用拔出来的毛来建窝给小兔子保温。如果兔子是假怀孕,它们也会出现拔毛的情况。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;当人通过兔子耳朵抓起兔子的时候,要小心,它会用后蹄奋力抓到人的手。 &lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;繁殖方式兔子的雄雌很难区分。初生仔兔性别一般可通过观察阴部生殖孔形状及与肛门间距离识别。孔洞扁形而略大与肛门间距较近者为母兔孔洞圆形而略小与肛门间距较远者为公兔。兔子出生后810周雄兔便长出精巢睾丸。抓住兔子用手触摸靠近肛门的阴部你会感触到一个比蚕豆略大些的肉块这是雄兔而没有肉块的是雌兔。不过肉块有大有小个别的也难以分辨雌雄。成年公兔阴囊上是不长毛的。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;兔子长大开始发情时,雄兔的后腿常用力拍击地面发出声音,并在雌兔后面追逐。这个时期很容易分辨兔的雄雌。雄兔的这种行为是在向雌兔求爱,并向对方表示自己的存在。雌兔发情时能分泌出一种特殊气味,并将尾巴举起,不断摆动,使分泌气味向外扩散,借此引诱雄兔。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;分类地位:兔子在动物分类学上属于哺乳动物中的兔形目( Lagomorpha )。兔形目可分为两科,分别是鼠兔科(鼠兔)和兔科( 家兔及野兔 。兔科由十一属四十五种兔子所组成十一属中包括有野兔属Lepus 、穴兔属Oryctolagus )及棉尾兔属( Sylvilagus )等。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;兔子的品种有很多据美国兔子繁殖者协会ARBA的资料统计全世界的纯种兔品种大约有45种再细分下去可分为四大类就是食用兔、毛用兔、实验兔和宠物兔。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;从体型上分,又可分为大型兔、中型兔和小型兔。另外,兔子根据耳朵来分可以分为硬耳兔和软耳兔;根据被毛来分,还可以分为长毛兔和短毛兔。其实,所有品种的兔子,只要你有兴趣和精力,都可以做为宠物来饲养。国内宠物店销售的大部分是荷兰兔、荷兰垂耳兔、安哥拉兔和中国白兔等几个品种。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;种群分布兔可成群生活但野兔一般独居。中国仅有9种兔属种类其中草兔分布欧、亚、非三洲中国除华南和青藏高原外广泛分布雪兔冬毛变白分布在中国新疆、内蒙古和黑龙江北部高原兔分布在青藏高原华南兔分布在中国华南及台湾邻国朝鲜也有分布东北兔在中国小兴安岭及长白山地区有分布塔里木兔分布在新疆的塔里木河流域塔里木盆地边和和田、叶城、莎车、巴楚、克拉玛依。\n', &lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt; 常见疾病:红尿和尿血&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;一般情况下只是因为食物的关系,比如胡萝卜,波菜或是其他含有贝他胡萝卜素的蔬菜,但也可能是服用抗生素造成的,只要精神、吃喝正常,不是持续性的就没事&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;尿钙&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;营养过剩的一种表现,通常就是尿液很粘稠,有白色沉淀或者发淡黄色。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;尿钙基本上都是食物造成的,兔粮,苜蓿草吃多了都可能这样。一般来说未成年的兔子尿钙不要紧,成年的再尿钙就要注意了,可能造成尿路结石。所以成年的兔子不给苜蓿草,少给兔粮,多吃提摩西才是王道。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;软便&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;突然换粮,天气骤降,惊吓,食物不对,营养过剩都可能造成软便。这时候你需要断粮,保暖,只给提摩西和水。可以给两片乳酶生或者一片乳酸菌帮助调理肠胃。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;拉稀&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;着凉吃坏肚子拉稀便秘交替发生可能是球虫的先兆无端的拉稀最好带去医院做便检。如果只是单纯的拉稀断粮只给提摩西和水。给兔肠舒每袋饮水150斤用低于四十度的水溶解温度太高会杀死有益菌。用拔掉针头的注射器灌进去仔细观察。可以给5%的葡萄糖水补充体力或者1%盐水补充水分防止脱水。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;胀气&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;肚子很鼓,偶尔会有果冻便,轻叩腹部,发生鼓音,这时基本上就是胀气了,立刻停粮,给大量的提摩西,和水,可以给鲜榨的菠萝汁,并给予凉白开水保证防止脱水。切勿给予甜食及糖水,轻揉肚子,用兔肠舒饮水治疗。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;胀气严重的直接到宠物医院请医生检查并用药。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;便秘&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:12pt; color:#ffaa00;&quot;&gt;肚子发胀便便很小很干甚至没有。切勿给兔子喝蜂蜜水及葡萄糖水甜食是会加速恶化病情并且长时间揉肚子。买成人用的健胃消食片喂两片然后把兔兔抱着顺时针揉肚子半小时左右。如果没有效果就去药店买莫沙必利每天一次兔子体重每公斤吃2.5毫克(千万注意用量)停粮。&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:12pt; color:#ffaa00;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:12pt; color:#ffaa00;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</widget>
<resources>
<include location="resource.qrc"/>
</resources>
<connections/>
</ui>

@ -1,782 +0,0 @@
#include "recommend.h"
#include "ui_recommend.h"
#include "home.h"
#include"time.h"
#include<random>
#include<QTime>
#include <QFile>
#include <QDebug>
#include <QString>
#include<iostream>
#include<math.h>
#include<string>
#include <fstream>
using namespace std;
#define N 99
QString addapt_pet = "";
int num[6] = {1,1,1,1,1,1};
int dog_num[11] = {1,1,1,1,1,1,1,1,1,1,1};
int back_index;
//A:1,B:2,C:3
int the_type;
int *next_test;
QString the_result(int type,int type2)
{
QString result;
if(type==1)
{
if(type2==1) result = "阿拉斯加";
if(type2==2) result = "哈士奇";
if(type2==3) result = "金毛";
if(type2==4) result = "柯基";
if(type2==5) result = "拉布拉多";
if(type2==6) result = "雪纳瑞";
if(type2==7) result = "斗牛犬";
if(type2==8) result = "比熊犬";
if(type2==9) result = "松狮";
if(type2==10) result = "吉娃娃";
if(type2==11) result = "柴犬(中华田园犬)";
if(type2==12) result = "秋田犬";
if(type2==13) result = "萨摩耶";
if(type2==14) result = "巴哥";
if(type2==15) result = "贵宾犬";
if(type2==16) result = "德牧";
}
if(type==2)
{
if(type2==1) result = "美国短毛猫";
if(type2==2) result = "英国短毛猫";
if(type2==3) result = "加菲猫";
if(type2==4) result = "波斯猫";
if(type2==5) result = "布偶猫";
if(type2==6) result = "暹罗猫";
if(type2==7) result = "狸花猫";
if(type2==8) result = "缅因猫";
if(type2==9) result = "孟加拉豹猫";
}
return result;
}
int Question_1(int value[])//第一部分问题
{
int result = 0;
for (int i = 0; i < 5; i++)
{
if (value[i] == 1)//'A'
result++;
else//'B'
result--;
}
if (value[5] == 1)//'A'
{
if (result > 0)
return 1;//dog
else
return 2;//cat
}
else
if (value[5] == 2)//'B'
return 3;//rabbit
else
return 4;//tortoise
}
int* Question_2(int type, int value[])//第二部分问题靠type区分1dog还是2cat返回在txt表中的宠物的序号
{
int total_num;
string cat[9];
cat[0] = "美国短毛猫 3 1 2 2 2 1 1 1 1 1";
cat[1] = "英国短毛猫 2 1 2 1 1 1 1 1 1 1";
cat[2] = "加菲猫 2 2 1 1 1 1 1 2 1 2";
cat[3] = "波斯猫 2 1 1 1 2 1 1 2 1 2";
cat[4] = "布偶猫 2 2 1 1 2 2 1 1 1 1";
cat[5] = "暹罗猫 1 1 2 1 2 1 1 2 1 1";
cat[6] = "狸花猫 3 1 2 2 2 2 2 2 2 2";
cat[7] = "缅因猫 2 1 1 2 2 1 2 2 2 2";
cat[8] = "孟加拉豹猫 1 1 1 1 1 2 1 2 2 1";
string dog[17];
dog[0] = "阿拉斯加 3 2 2 1 1 1 2 2 1 1";
dog[1] = "哈士奇 2 2 2 1 2 2 2 2 2 1";
dog[2] = "金毛 3 2 2 2 2 2 1 1 1 2";
dog[3] = "柯基 1 1 2 1 1 1 1 1 1 1";
dog[4] = "拉布拉多 3 2 2 1 2 2 1 1 1 2";
dog[5] = "雪纳瑞 2 1 2 2 1 2 1 1 1 2";
dog[6] = "斗牛犬 2 1 1 1 2 1 2 2 1 1";
dog[7] = "比熊犬 1 1 1 2 1 2 2 1 1 2";
dog[8] = "松狮 3 2 2 2 2 1 2 2 2 2";
dog[9] = "吉娃娃 1 1 1 1 2 1 2 1 1 2";
dog[10] = "博美犬 1 1 1 2 1 2 2 1 1 1";
/*
dog[11] = "2 2 2 2 2 2 1 2 1 2";
dog[12] = "3 2 2 2 2 1 2 1 1 2";
dog[13] = "2 1 2 2 2 2 1 1 1 2";
dog[14] = "1 1 1 1 2 2 2 1 2 1";
dog[15] = "1 1 2 1 2 2 1 1 1 2";
dog[16] = "3 2 2 2 2 2 1 1 2 2";
*/
//抛弃dog第8题但用户仍需要回答
if (type == 1)
{
for (int i = 7; i < 11; i++)
value[i] = value[i + 1];
}
static int recommend_index[3] = { 0,0,0 };
int recommend_value[3] = { 100,100,100 };
if (type == 1)
{
total_num = 11;
}
else
{
total_num = 9;
}
string temp;
int k = 0;
for (int j2 = 0; j2 < total_num; j2++)
{
srand(time(NULL));
if (type == 2) temp = cat[j2];
if (type == 1) temp = dog[j2];
int out_value = 0;
int j = 0;
for (int i = 0; i <= (int)(temp.size() - 1); i++)
{
if (temp[i] >= '0' && temp[i] <= '9')
{
out_value += pow(abs(temp[i] - '0' - value[j]),2);
j++;
}
}
if (out_value <= recommend_value[2])
{
if (out_value == recommend_value[2])
{
if ((rand()%(N+1))/(float)(N+1) > 0.5)
{
recommend_index[2] = k;
recommend_value[2] = out_value;
}
}
else
{
recommend_index[2] = k;
recommend_value[2] = out_value;
}
}
if (out_value <= recommend_value[1])
{
if (out_value == recommend_value[1])
{
if ((rand() % (N + 1)) / (float)(N + 1) > 0.5)
{
recommend_index[2] = recommend_index[1];
recommend_value[2] = recommend_value[1];
recommend_index[1] = k;
recommend_value[1] = out_value;
}
}
else
{
recommend_index[2] = recommend_index[1];
recommend_value[2] = recommend_value[1];
recommend_index[1] = k;
recommend_value[1] = out_value;
}
}
if (out_value <= recommend_value[0])
{
if (out_value == recommend_value[0])
{
if (((rand() % (N + 1)) / (float)(N + 1)) > 0.5)
{
recommend_index[1] = recommend_index[0];
recommend_value[1] = recommend_value[0];
recommend_index[0] = k;
recommend_value[0] = out_value;
}
}
else
{
recommend_index[1] = recommend_index[0];
recommend_value[1] = recommend_value[0];
recommend_index[0] = k;
recommend_value[0] = out_value;
}
}
k++;
}
for (int i = 0; i < 3; i++)
recommend_index[i] += 1;
return recommend_index;
}
recommend::recommend(QWidget *parent) :
QWidget(parent),
ui(new Ui::recommend)
{
ui->setupUi(this);
ui->change_page->setStyleSheet("QPushButton{border-radius:5px;background:rgb(255,43,89);color:black;}");
ui->last_page->setStyleSheet("QPushButton{border-radius:5px;background:rgb(255,43,89);color:black;}");
ui->stackWidget->setCurrentIndex(0);
QFont ft;
ft.setPointSize(16);
ui->test_result->setFont(ft);
QPalette pa;
pa.setColor(QPalette::WindowText,Qt::red);
ui->test_result->setPalette(pa);
ui->test_result->setWordWrap(true);
connect(ui->page1_A,SIGNAL(clicked(bool)),this,SLOT(q1_A()));
connect(ui->page1_B,SIGNAL(clicked(bool)),this,SLOT(q1_B()));
connect(ui->page2_A,SIGNAL(clicked(bool)),this,SLOT(q2_A()));
connect(ui->page2_B,SIGNAL(clicked(bool)),this,SLOT(q2_B()));
connect(ui->page3_A,SIGNAL(clicked(bool)),this,SLOT(q3_A()));
connect(ui->page3_B,SIGNAL(clicked(bool)),this,SLOT(q3_B()));
connect(ui->page4_A,SIGNAL(clicked(bool)),this,SLOT(q4_A()));
connect(ui->page4_B,SIGNAL(clicked(bool)),this,SLOT(q4_B()));
connect(ui->page5_A,SIGNAL(clicked(bool)),this,SLOT(q5_A()));
connect(ui->page5_B,SIGNAL(clicked(bool)),this,SLOT(q5_B()));
connect(ui->page6_A,SIGNAL(clicked(bool)),this,SLOT(q6_A()));
connect(ui->page6_B,SIGNAL(clicked(bool)),this,SLOT(q6_B()));
connect(ui->page6_C,SIGNAL(clicked(bool)),this,SLOT(q6_C()));
connect(ui->dog1_A,SIGNAL(clicked(bool)),this,SLOT(dog1_A()));
connect(ui->dog1_B,SIGNAL(clicked(bool)),this,SLOT(dog1_B()));
connect(ui->dog1_C,SIGNAL(clicked(bool)),this,SLOT(dog1_C()));
connect(ui->dog2_A,SIGNAL(clicked(bool)),this,SLOT(dog2_A()));
connect(ui->dog2_B,SIGNAL(clicked(bool)),this,SLOT(dog2_B()));
connect(ui->dog3_A,SIGNAL(clicked(bool)),this,SLOT(dog3_A()));
connect(ui->dog3_B,SIGNAL(clicked(bool)),this,SLOT(dog3_B()));
connect(ui->dog4_A,SIGNAL(clicked(bool)),this,SLOT(dog4_A()));
connect(ui->dog4_B,SIGNAL(clicked(bool)),this,SLOT(dog4_B()));
connect(ui->dog5_A,SIGNAL(clicked(bool)),this,SLOT(dog5_A()));
connect(ui->dog6_A,SIGNAL(clicked(bool)),this,SLOT(dog6_A()));
connect(ui->dog6_B,SIGNAL(clicked(bool)),this,SLOT(dog6_B()));
connect(ui->dog7_A,SIGNAL(clicked(bool)),this,SLOT(dog7_A()));
connect(ui->dog7_B,SIGNAL(clicked(bool)),this,SLOT(dog7_B()));
connect(ui->dog8_A,SIGNAL(clicked(bool)),this,SLOT(dog8_A()));
connect(ui->dog8_B,SIGNAL(clicked(bool)),this,SLOT(dog8_B()));
connect(ui->dog9_A,SIGNAL(clicked(bool)),this,SLOT(dog9_A()));
connect(ui->dog9_B,SIGNAL(clicked(bool)),this,SLOT(dog9_B()));
connect(ui->dog10_A,SIGNAL(clicked(bool)),this,SLOT(dog10_A()));
connect(ui->dog10_B,SIGNAL(clicked(bool)),this,SLOT(dog10_B()));
connect(ui->dog11_A,SIGNAL(clicked(bool)),this,SLOT(dog11_A()));
connect(ui->dog11_B,SIGNAL(clicked(bool)),this,SLOT(dog11_B()));
connect(ui->cat1_A,SIGNAL(clicked(bool)),this,SLOT(dog1_A()));
connect(ui->cat1_B,SIGNAL(clicked(bool)),this,SLOT(dog1_B()));
connect(ui->cat1_C,SIGNAL(clicked(bool)),this,SLOT(dog1_C()));
connect(ui->cat2_A,SIGNAL(clicked(bool)),this,SLOT(dog2_A()));
connect(ui->cat2_B,SIGNAL(clicked(bool)),this,SLOT(dog2_B()));
connect(ui->cat3_A,SIGNAL(clicked(bool)),this,SLOT(dog3_A()));
connect(ui->cat3_B,SIGNAL(clicked(bool)),this,SLOT(dog3_B()));
connect(ui->cat4_A,SIGNAL(clicked(bool)),this,SLOT(dog4_A()));
connect(ui->cat4_B,SIGNAL(clicked(bool)),this,SLOT(dog4_B()));
connect(ui->cat5_A,SIGNAL(clicked(bool)),this,SLOT(dog5_A()));
connect(ui->cat6_A,SIGNAL(clicked(bool)),this,SLOT(dog6_A()));
connect(ui->cat6_B,SIGNAL(clicked(bool)),this,SLOT(dog6_B()));
connect(ui->cat7_A,SIGNAL(clicked(bool)),this,SLOT(dog7_A()));
connect(ui->cat7_B,SIGNAL(clicked(bool)),this,SLOT(dog7_B()));
connect(ui->cat8_A,SIGNAL(clicked(bool)),this,SLOT(dog8_A()));
connect(ui->cat8_B,SIGNAL(clicked(bool)),this,SLOT(dog8_B()));
connect(ui->cat9_A,SIGNAL(clicked(bool)),this,SLOT(dog9_A()));
connect(ui->cat9_B,SIGNAL(clicked(bool)),this,SLOT(dog9_B()));
connect(ui->cat10_A,SIGNAL(clicked(bool)),this,SLOT(dog10_A()));
connect(ui->cat10_B,SIGNAL(clicked(bool)),this,SLOT(dog10_B()));
}
recommend::~recommend()
{
delete ui;
}
void recommend::on_commandLinkButton_clicked()
{
Home* recommend_to_home = new Home;
recommend_to_home->set_background();
recommend_to_home->show();
delete this;
}
void recommend::on_RandomRecommend_clicked()
{
int type;
int num=3;
int total=6;
int dog_list[11]={3,2,2,2,2,2,2,2,2,2,2};
int cat_list[10]={3,2,2,2,2,2,2,2,2,2};
int random_list[11]={1,1,1,1,1,1,1,1,1,1,1};
srand(time(NULL));
//dog
{
type=1;
for (int i = 0; i < (int)(sizeof(dog_list) / sizeof(dog_list[0])); i++)
{
random_list[i] = rand() % dog_list[i]+1;
}
next_test = Question_2(type,random_list);
for(int i=0;i<3;i++)
{
if(num!=0)
{
if(num==total)
{
addapt_pet += the_result(type,next_test[i]);
addapt_pet += " ";
num--;
}
else
{
if ((rand() % (N + 1) / (float)(N + 1) > 0.5))
{
addapt_pet += the_result(type,next_test[i]);
addapt_pet += " ";
num--;
}
}
}
total--;
}
}
//cat
{
type=2;
for (int i = 0; i < (int)(sizeof(cat_list) / sizeof(cat_list[0])); i++)
{
random_list[i] = rand() % cat_list[i]+1;
}
next_test = Question_2(type,random_list);
for(int i=0;i<3;i++)
{
if(num!=0)
{
if(num==total)
{
addapt_pet += the_result(type,next_test[i]);
addapt_pet += " ";
num--;
}
else
{
if ((rand() % (N + 1) / (float)(N + 1) > 0.5))
{
addapt_pet += the_result(type,next_test[i]);
addapt_pet += " ";
num--;
}
}
}
total--;
}
}
back_index=ui->stackWidget->currentIndex();
int next_index= 32;
ui->test_result->setText(addapt_pet);
addapt_pet.clear();
ui->stackWidget->setCurrentIndex(next_index);
}
void recommend::recommend_set_background()
{
this->setWindowTitle("智能推荐");
// ui->label->setStyleSheet("background-color:red");//背景色
this->setMinimumSize(1480,880);
this->setMaximumSize(1480,880);
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 recommend::on_change_page_clicked()
{
//int nCount = ui->stackWidget->count();//总共的页数
int choose1 = Question_1(num);
int current_index = ui->stackWidget->currentIndex(); //当前的页数
int next_index;
if(current_index>=0&&current_index<6)
{
back_index=current_index;
next_index = current_index + 1;
}
if(current_index==6)
{
for(int i=0;i<6;i++)
{
qDebug("%d",num[i]);
}
choose1 = Question_1(num);
if(choose1==1)
{
next_index = 7;
the_type = 1;
}
else if(choose1==2)
{
the_type = 2;
next_index=19;
}
else if(choose1==3)
{
back_index=current_index;
next_index=30;
}
else if(choose1==4)
{
back_index=current_index;
next_index=31;
}
}
if(current_index>=7&&current_index<18)
{
back_index=current_index;
next_index = current_index + 1;
}
if(current_index==18)
{
back_index=current_index;
next_index = 32;
next_test = Question_2(the_type,dog_num);
for(int i=0;i<3;i++)
{
qDebug("new:%d",next_test[i]);
addapt_pet += the_result(1,next_test[i]);
addapt_pet += " ";
qDebug()<<addapt_pet;
}
ui->test_result->setText(addapt_pet);
addapt_pet.clear();
}
if(current_index>=19&&current_index<=28)
{
back_index=current_index;
next_index = current_index + 1;
}
if(current_index==29)
{
back_index=current_index;
next_index = 32;
next_test = Question_2(the_type,dog_num);
for(int i=0;i<3;i++)
{
qDebug("new:%d",next_test[i]);
addapt_pet += the_result(2,next_test[i]);
addapt_pet += " ";
qDebug()<<addapt_pet;
}
ui->test_result->setText(addapt_pet);
addapt_pet.clear();
}
if(current_index==30)
{
back_index=current_index;
next_index = 33;
}
if(current_index==31)
{
back_index=current_index;
next_index = 33;
}
ui->stackWidget->setCurrentIndex(next_index);
// 当需要显示的页面索引大于等于总页面时,切换至首页,因为是从0开始计数的
if (current_index==32)
{
Home* to_home = new Home;
to_home->set_background();
to_home->show();
delete this;
}
}
void recommend::on_last_page_clicked()
{
int nIndex2 = ui->stackWidget->currentIndex(); //当前的页数
if(nIndex2==32 or nIndex2==33)
ui->stackWidget->setCurrentIndex(back_index);
else
{
if(nIndex2==7 or nIndex2==19 or nIndex2==30 or nIndex2==31)
ui->stackWidget->setCurrentIndex(6);
else
{
nIndex2--;
if(nIndex2<0) nIndex2=0;
ui->stackWidget->setCurrentIndex(nIndex2);
}
}
}
void recommend::q1_A()
{
num[0] = 1;
}
void recommend::q1_B()
{
num[0] = 2;
}
void recommend::q2_A()
{
num[1] = 1;
}
void recommend::q2_B()
{
num[1] = 2;
}
void recommend::q3_A()
{
num[2] = 1;
}
void recommend::q3_B()
{
num[2] = 2;
}
void recommend::q4_A()
{
num[3] = 1;
}
void recommend::q4_B()
{
num[3] = 2;
}
void recommend::q5_A()
{
num[4] = 1;
}
void recommend::q5_B()
{
num[4] = 2;
}
void recommend::q6_A()
{
num[5] = 1;
}
void recommend::q6_B()
{
num[5] = 2;
}
void recommend::q6_C()
{
num[5] = 3;
}
void recommend::dog1_A()
{
dog_num[0] = 1;
}
void recommend::dog1_B()
{
dog_num[0] = 2;
}
void recommend::dog1_C()
{
dog_num[0] = 3;
}
void recommend::dog2_A()
{
dog_num[1] = 1;
}
void recommend::dog2_B()
{
dog_num[1] = 2;
}
void recommend::dog3_A()
{
dog_num[2] = 1;
}
void recommend::dog3_B()
{
dog_num[2] = 2;
}
void recommend::dog4_A()
{
dog_num[3] = 1;
}
void recommend::dog4_B()
{
dog_num[3] = 2;
}
void recommend::dog5_A()
{
dog_num[4] = 1;
}
void recommend::dog5_B()
{
dog_num[4] = 2;
}
void recommend::dog6_A()
{
dog_num[5] = 1;
}
void recommend::dog6_B()
{
dog_num[5] = 2;
}
void recommend::dog7_A()
{
dog_num[6] = 1;
}
void recommend::dog7_B()
{
dog_num[6] = 2;
}
void recommend::dog8_A()
{
dog_num[7] = 1;
}
void recommend::dog8_B()
{
dog_num[7] = 2;
}
void recommend::dog9_A()
{
dog_num[8] = 1;
}
void recommend::dog9_B()
{
dog_num[8] = 2;
}
void recommend::dog10_A()
{
dog_num[9] = 1;
}
void recommend::dog10_B()
{
dog_num[9] = 2;
}
void recommend::dog11_A()
{
dog_num[10] = 1;
}
void recommend::dog11_B()
{
dog_num[10] = 2;
}
void recommend::cat1_A()
{
dog_num[0] = 1;
}
void recommend::cat1_B()
{
dog_num[0] = 2;
}
void recommend::cat1_C()
{
dog_num[0] = 3;
}
void recommend::cat2_A()
{
dog_num[1] = 1;
}
void recommend::cat2_B()
{
dog_num[1] = 2;
}
void recommend::cat3_A()
{
dog_num[2] = 1;
}
void recommend::cat3_B()
{
dog_num[2] = 2;
}
void recommend::cat4_A()
{
dog_num[3] = 1;
}
void recommend::cat4_B()
{
dog_num[3] = 2;
}
void recommend::cat5_A()
{
dog_num[4] = 1;
}
void recommend::cat5_B()
{
dog_num[4] = 2;
}
void recommend::cat6_A()
{
dog_num[5] = 1;
}
void recommend::cat6_B()
{
dog_num[5] = 2;
}
void recommend::cat7_A()
{
dog_num[6] = 1;
}
void recommend::cat7_B()
{
dog_num[6] = 2;
}
void recommend::cat8_A()
{
dog_num[7] = 1;
}
void recommend::cat8_B()
{
dog_num[7] = 2;
}
void recommend::cat9_A()
{
dog_num[8] = 1;
}
void recommend::cat9_B()
{
dog_num[8] = 2;
}
void recommend::cat10_A()
{
dog_num[9] = 1;
}
void recommend::cat10_B()
{
dog_num[9] = 2;
}

@ -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>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'SimSun'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</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,93 +0,0 @@
#include "silver_gradient.h"
#include "ui_silver_gradient.h"
#include "cat_book.h"
#include "silver_cat_content.h"
#include "ui_silver_cat_content.h"
Silver_gradient::Silver_gradient(QWidget *parent) :
QWidget(parent),
ui(new Ui::Silver_gradient)
{
ui->setupUi(this);
connect(ui->pushButton,SIGNAL(clicked(bool)),this,SLOT(button1()));
connect(ui->pushButton_2,SIGNAL(clicked(bool)),this,SLOT(button2()));
connect(ui->pushButton_3,SIGNAL(clicked(bool)),this,SLOT(button3()));
ui->pushButton->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_2->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
ui->pushButton_3->setStyleSheet("QPushButton{border-radius:5px;background:rgb(250,234,142);color:black;}");
}
Silver_gradient::~Silver_gradient()
{
delete ui;
}
void Silver_gradient::on_back_clicked()
{
Cat_book *new_back = new Cat_book;
new_back->cat_book_set_background();
new_back->show();
delete this;
}
void Silver_gradient::silver_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 Silver_gradient::button1()
{
Silver_cat_content *content = new Silver_cat_content;
content->set_background();
content->ui->textBrowser->setFontPointSize(20);
content->ui->textBrowser->setFontFamily("");
content->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
content->ui->textBrowser->setText(" 英短银渐层色属于英国短毛猫。");
content->show();
delete this;
}
void Silver_gradient::button2()
{
Silver_cat_content *content = new Silver_cat_content;
content->set_background();
content->ui->textBrowser->setFontPointSize(20);
content->ui->textBrowser->setFontFamily("");
content->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
content->ui->textBrowser->setText(
"底层绒毛是纯白色。背部、两肋、头部和尾巴上的被毛的毛尖被充分地染成烟色、灰色、蓝色,外观呈现出闪烁的银色的特征。四肢上有轻微的毛尖染色阴影。脸颊、耳簇、腹部和胸部是纯白色"
"\n毛色:"
"\n毛色解释图取脊背部分的毛整根毛除了毛尖部分为黑色、色其他部分都是白色并且着色部分的长度与整根毛长度比例应为3分之一到8分之一6分之一到8分之一被称为毛尖色。着色比例方面如果出现大于3分之一的 或小于8分之一属于失格。被毛及四肢出现明显纹路的说明是罕见的返祖现象。"
"\n眼睛:"
"\n蓝绿、黄绿是被认同的,随着年龄不同程度呈现黄绿、绿蓝绿色,并有一圈黑色眼线;"
"\n鼻色:樱桃红色、砖红色;外围一圈黑色的鼻线;爪垫皮肤均为黑色。");
content->show();
delete this;
}
void Silver_gradient::button3()
{
Silver_cat_content *content = new Silver_cat_content;
content->set_background();
content->ui->textBrowser->setFontPointSize(20);
content->ui->textBrowser->setFontFamily("");
content->ui->textBrowser->setStyleSheet("background:transparent;border-width:0;border-style:outset");
content->ui->textBrowser->setText( "英国短毛猫银渐层色:\n"
"毛尖色多为三分之一、四分之一、八分之一毛尖色。"
"毛尖色是最显著的特征,眼睛的颜色为绿色系,分黄绿,蓝绿,橄榄绿,翡翠绿等,其中翡翠绿为稀有色。"
"银点渐层色:"
"在银渐层色的培育过程中,一些猫咪产生了部分的基因突变,产生了银渐层重点色,简称银点。"
"英国短毛猫重点色基因是一种淡化基因,产生一种酶抑制真黑素,重点色的猫刚出生是纯白色,随着生长,部分逐渐显现出了颜色,比如背部,尾巴等。"
"而这种淡化基因会使猫眼睛变为蓝色。具有重点基因的英国短毛猫。毛底色为白色毛尖颜色非常浅呈现烟灰色、泛褐色一般在4个月以后点色就会慢慢呈现不过也就八分之一---九分之一的毛尖色,点色会出现于背部和尾巴,尾巴稍甚。"
"眼睛:为天蓝和湖蓝色。"
"脚垫:为黑色、深棕色。"
"鼻线:可有可无。");
content->show();
delete this;
}

@ -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,91 +0,0 @@
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('请求网址出错')
def parse_url_dog(html):
pattern = re.compile('<li><a href="/vod/(.*?)" target="_blank">狗狗..</a></li>',re.S)
items = re.findall(pattern,html)
for i in range(len(items)):
items[i] = items[i][-5:-1:]
return items
def parse_url_cat(html):
pattern = re.compile('<li><a href="/vod/(.*?)" target="_blank">猫猫..</a></li>',re.S)
items = re.findall(pattern,html)
for i in range(len(items)):
items[i] = items[i][-5:-1:]
return items
def parse_url(html):
pattern1 = re.compile('<li><a href="/vod(\d+)" target="_blank">.*?</i></div>',re.S)
items1 = re.findall(pattern1,html)
pattern2 = re.compile('<title>(.*?)-我的宠舍</title>',re.S)
items2 = re.findall(pattern2,html)
return [items2,items1]
def parse_result(html):
pattern = re.compile('<title>(.*?)-我的宠舍</title>.*?<p>(.*?)</p>',re.S)
items = re.findall(pattern,html)
return items
def write_item_to_file(item,name):
with open('问答\\' + str(name)+'知识.txt', 'a', encoding='ANSI') as f:
f.write('问:' + item[0] + '')
f.write('答:' + item[1] + '')
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',}
url_main = 'https://www.chongshe.cn/'
html_main = get_html(url_main)
dog_urls = parse_url_dog(html_main) #['vdys', 'vdjk', 'vdxl', 'vdsh', 'vdfy']
cat_urls = parse_url_cat(html_main)
urls = []
for dog_url in dog_urls:
tmp = 'https://www.chongshe.cn/vod/' + str(dog_url)
html_dog = get_html(tmp)
urls = urls + parse_url(html_dog)
for cat_url in cat_urls:
tmp = 'https://www.chongshe.cn/vod/' + str(cat_url)
html_cat = get_html(tmp)
urls = urls + parse_url(html_cat)
for i in range(len(urls)):
if i%2==1:
for url in urls[i]:
tmp = 'https://www.chongshe.cn/vod' + str(url)
html = get_html(tmp)
items = parse_result(html)
for j in range(len(items)):
write_item_to_file(eval(str(items[j])),urls[i-1][0])
#添加进目录
'''
with open('catalogue.txt','r', encoding='ANSI') as f:
line_data = ''
for line in f:
line_data += line
if line == '狗狗\n':
line_data += '\t常见问题\n'
for i in range(0,10,2):
line_data += ('\t\t' + urls[i][0] + '\n')
if line == '猫猫\n':
line_data += '\t常见问题\n'
for i in range(10,len(urls),2):
line_data += ('\t\t' + urls[i][0] + '\n')
f.close()
with open('catalogue.txt','w', encoding='ANSI') as f:
f.write(line_data)
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,130 +0,0 @@
# -*- coding: utf-8 -*-
import sys
import requests
import re
from urllib.request import quote
import getopt
all_urls = list()
class crawler:
'''爬百度搜索结果的爬虫'''
url = ''
urls = []
o_urls = []
html = ''
total_pages = 5
current_page = 0
next_page_url = ''
timeout = 60 #默认超时时间为60秒
headersParameters = { #发送HTTP请求时的HEAD信息用于伪装为浏览器
'Connection': 'Keep-Alive',
'Accept': 'text/html, application/xhtml+xml, */*',
'Accept-Language': 'en-US,en;q=0.8,zh-Hans-CN;q=0.5,zh-Hans;q=0.3',
'Accept-Encoding': 'gzip, deflate',
'User-Agent': 'Mozilla/6.1 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko'
}
# headersParameters = {'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 __init__(self, keyword):
self.url = 'https://www.baidu.com/baidu?wd='+quote(keyword)+'&tn=monline_dg&ie=utf-8'
def set_timeout(self, time):
'''设置超时时间,单位:秒'''
try:
self.timeout = int(time)
except:
pass
def set_total_pages(self, num):
'''设置总共要爬取的页数'''
try:
self.total_pages = int(num)
except:
pass
def set_current_url(self, url):
'''设置当前url'''
self.url = url
def switch_url(self):
'''切换当前url为下一页的url
若下一页为空则退出程序'''
if self.next_page_url == '':
sys.exit()
else:
self.set_current_url(self.next_page_url)
def is_finish(self):
'''判断是否爬取完毕'''
if self.current_page >= self.total_pages:
return True
else:
return False
def get_html(self):
'''爬取当前url所指页面的内容保存到html中'''
r = requests.get(self.url ,timeout=self.timeout, headers=self.headersParameters)
if r.status_code==200:
self.html = r.text
print(self.current_page)
all_urls.append(self.url)
self.current_page += 1
else:
self.html = ''
print('[ERROR]',self.url,'get此url返回的http状态码不是200')
def get_urls(self):
'''从当前html中解析出搜索结果的url保存到o_urls'''
#取下一页地址
next = re.findall(' href\=\"(\/s\?wd\=[\w\d\%\&\=\_\-]*?)\" class\=\"n\"', self.html)
if len(next) > 0:
self.next_page_url = 'https://www.baidu.com'+next[-1]
else:
print('no')
self.next_page_url = ''
def run(self):
while(not self.is_finish()):
c.get_html()
c.get_urls()
c.switch_url()
if __name__ == '__main__':
help = 'baiduSpider.py -k <keyword> [-t <timeout> -p <total pages>]'
keyword = None
timeout = None
totalpages = None
try:
opts, args = getopt.getopt(sys.argv[1:], "hk:t:p:", [
"keyword=", "timeout=", "totalpages="])
except getopt.GetoptError:
print(help)
sys.exit(2)
for opt, arg in opts:
if opt == '-h':
print(help)
sys.exit()
elif opt in ("-k", "--keyword"):
keyword = arg
elif opt in ("-t", "--timeout"):
timeout = arg
elif opt in ("-p", "--totalpages"):
totalpages = arg
if keyword == None:
print(help)
sys.exit()
c = crawler(keyword)
if timeout != None:
c.set_timeout(timeout)
if totalpages != None:
c.set_total_pages(totalpages)
c.run()
with open('page_urls\\'+str(keyword)+'page_urls.txt', 'w', encoding='UTF-8') as f:
f.write(str(list(all_urls)))
f.close()
print(all_urls)
#python 爬取网页.py -k 布偶猫 -p 2

@ -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…
Cancel
Save