master
PiYan 5 years ago
commit d0782cf667

58
.gitignore vendored

@ -0,0 +1,58 @@
# ---> Eclipse
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.settings/
.loadpath
.recommenders
# External tool builders
.externalToolBuilders/
# Locally stored "Eclipse launch configurations"
*.launch
# PyDev specific (Python IDE for Eclipse)
*.pydevproject
# CDT-specific (C/C++ Development Tooling)
.cproject
# CDT- autotools
.autotools
# Java annotation processor (APT)
.factorypath
# PDT-specific (PHP Development Tools)
.buildpath
# sbteclipse plugin
.target
# Tern plugin
.tern-project
# TeXlipse plugin
.texlipse
# STS (Spring Tool Suite)
.springBeans
# Code Recommenders
.recommenders/
# Annotation Processing
.apt_generated/
.apt_generated_test/
# Scala IDE specific (Scala & Java development for Eclipse)
.cache-main
.scala_dependencies
.worksheet

@ -0,0 +1,19 @@
MIT License Copyright (c) <year> <copyright holders>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished
to do so, subject to the following conditions:
The above copyright notice and this permission notice (including the next
paragraph) shall be included in all copies or substantial portions of the
Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

@ -0,0 +1,21 @@
#### 从命令行创建一个新的仓库
```bash
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://bdgit.educoder.net/p54670231/Idea.git
git push -u origin master
```
#### 从命令行推送已经创建的仓库
```bash
git remote add origin https://bdgit.educoder.net/p54670231/Idea.git
git push -u origin master
```
所有的源码放在 src/part1.7z 与 src/part2.7z中

@ -0,0 +1 @@
this is doc

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

@ -0,0 +1 @@
this is model

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -0,0 +1,469 @@
{
"_type": "Project",
"_id": "AAAAAAFF+h6SjaM2Hec=",
"name": "Untitled",
"ownedElements": [
{
"_type": "UMLModel",
"_id": "AAAAAAFF+qBWK6M3Z8Y=",
"_parent": {
"$ref": "AAAAAAFF+h6SjaM2Hec="
},
"name": "Model",
"ownedElements": [
{
"_type": "UMLClassDiagram",
"_id": "AAAAAAFF+qBtyKM79qY=",
"_parent": {
"$ref": "AAAAAAFF+qBWK6M3Z8Y="
},
"name": "Main",
"defaultDiagram": true,
"ownedViews": [
{
"_type": "UMLNodeInstanceView",
"_id": "AAAAAAF5vFe7F4gbi34=",
"_parent": {
"$ref": "AAAAAAFF+qBtyKM79qY="
},
"model": {
"$ref": "AAAAAAF5vFe7FogZcm8="
},
"subViews": [
{
"_type": "UMLNameCompartmentView",
"_id": "AAAAAAF5vFe7F4gc3RQ=",
"_parent": {
"$ref": "AAAAAAF5vFe7F4gbi34="
},
"model": {
"$ref": "AAAAAAF5vFe7FogZcm8="
},
"subViews": [
{
"_type": "LabelView",
"_id": "AAAAAAF5vFe7F4gdALk=",
"_parent": {
"$ref": "AAAAAAF5vFe7F4gc3RQ="
},
"visible": false,
"font": "Arial;13;0",
"top": 16,
"height": 13
},
{
"_type": "LabelView",
"_id": "AAAAAAF5vFe7F4genMQ=",
"_parent": {
"$ref": "AAAAAAF5vFe7F4gc3RQ="
},
"font": "Arial;13;1",
"left": 173,
"top": 153,
"width": 156,
"height": 13,
"underline": true,
"text": "用户主机"
},
{
"_type": "LabelView",
"_id": "AAAAAAF5vFe7F4gfT2o=",
"_parent": {
"$ref": "AAAAAAF5vFe7F4gc3RQ="
},
"visible": false,
"font": "Arial;13;0",
"top": 16,
"width": 82.56396484375,
"height": 13,
"text": "(from Model)"
},
{
"_type": "LabelView",
"_id": "AAAAAAF5vFe7F4ggmOs=",
"_parent": {
"$ref": "AAAAAAF5vFe7F4gc3RQ="
},
"visible": false,
"font": "Arial;13;0",
"top": 16,
"height": 13,
"horizontalAlignment": 1
}
],
"font": "Arial;13;0",
"left": 168,
"top": 146,
"width": 166,
"height": 25,
"stereotypeLabel": {
"$ref": "AAAAAAF5vFe7F4gdALk="
},
"nameLabel": {
"$ref": "AAAAAAF5vFe7F4genMQ="
},
"namespaceLabel": {
"$ref": "AAAAAAF5vFe7F4gfT2o="
},
"propertyLabel": {
"$ref": "AAAAAAF5vFe7F4ggmOs="
}
}
],
"font": "Arial;13;0",
"containerChangeable": true,
"left": 168,
"top": 136,
"width": 176,
"height": 241,
"nameCompartment": {
"$ref": "AAAAAAF5vFe7F4gc3RQ="
}
},
{
"_type": "UMLPackageView",
"_id": "AAAAAAF5vFgjFYg1d/M=",
"_parent": {
"$ref": "AAAAAAFF+qBtyKM79qY="
},
"model": {
"$ref": "AAAAAAF5vFgjFYgzgeA="
},
"subViews": [
{
"_type": "UMLNameCompartmentView",
"_id": "AAAAAAF5vFgjFYg23kw=",
"_parent": {
"$ref": "AAAAAAF5vFgjFYg1d/M="
},
"model": {
"$ref": "AAAAAAF5vFgjFYgzgeA="
},
"subViews": [
{
"_type": "LabelView",
"_id": "AAAAAAF5vFgjFYg3Fjc=",
"_parent": {
"$ref": "AAAAAAF5vFgjFYg23kw="
},
"visible": false,
"font": "Arial;13;0",
"top": -48,
"height": 13
},
{
"_type": "LabelView",
"_id": "AAAAAAF5vFgjFYg4YA0=",
"_parent": {
"$ref": "AAAAAAF5vFgjFYg23kw="
},
"font": "Arial;13;1",
"left": 197,
"top": 198,
"width": 102,
"height": 13,
"text": "用户界面"
},
{
"_type": "LabelView",
"_id": "AAAAAAF5vFgjFYg5UOY=",
"_parent": {
"$ref": "AAAAAAF5vFgjFYg23kw="
},
"visible": false,
"font": "Arial;13;0",
"top": -48,
"width": 73.67724609375,
"height": 13,
"text": "(from Model)"
},
{
"_type": "LabelView",
"_id": "AAAAAAF5vFgjFYg67hU=",
"_parent": {
"$ref": "AAAAAAF5vFgjFYg23kw="
},
"visible": false,
"font": "Arial;13;0",
"top": -48,
"height": 13,
"horizontalAlignment": 1
}
],
"font": "Arial;13;0",
"left": 192,
"top": 191,
"width": 112,
"height": 25,
"stereotypeLabel": {
"$ref": "AAAAAAF5vFgjFYg3Fjc="
},
"nameLabel": {
"$ref": "AAAAAAF5vFgjFYg4YA0="
},
"namespaceLabel": {
"$ref": "AAAAAAF5vFgjFYg5UOY="
},
"propertyLabel": {
"$ref": "AAAAAAF5vFgjFYg67hU="
}
}
],
"font": "Arial;13;0",
"containerChangeable": true,
"left": 192,
"top": 176,
"width": 112,
"height": 56,
"nameCompartment": {
"$ref": "AAAAAAF5vFgjFYg23kw="
}
},
{
"_type": "UMLPackageView",
"_id": "AAAAAAF5vFifQYhPVac=",
"_parent": {
"$ref": "AAAAAAFF+qBtyKM79qY="
},
"model": {
"$ref": "AAAAAAF5vFifQYhNoII="
},
"subViews": [
{
"_type": "UMLNameCompartmentView",
"_id": "AAAAAAF5vFifQYhQ22E=",
"_parent": {
"$ref": "AAAAAAF5vFifQYhPVac="
},
"model": {
"$ref": "AAAAAAF5vFifQYhNoII="
},
"subViews": [
{
"_type": "LabelView",
"_id": "AAAAAAF5vFifQYhRuRU=",
"_parent": {
"$ref": "AAAAAAF5vFifQYhQ22E="
},
"visible": false,
"font": "Arial;13;0",
"left": -16,
"top": -80,
"height": 13
},
{
"_type": "LabelView",
"_id": "AAAAAAF5vFifQYhSbt0=",
"_parent": {
"$ref": "AAAAAAF5vFifQYhQ22E="
},
"font": "Arial;13;1",
"left": 197,
"top": 262,
"width": 103,
"height": 13,
"text": "应用服务"
},
{
"_type": "LabelView",
"_id": "AAAAAAF5vFifQYhTuWo=",
"_parent": {
"$ref": "AAAAAAF5vFifQYhQ22E="
},
"visible": false,
"font": "Arial;13;0",
"left": -16,
"top": -80,
"width": 73.67724609375,
"height": 13,
"text": "(from Model)"
},
{
"_type": "LabelView",
"_id": "AAAAAAF5vFifQYhU0vk=",
"_parent": {
"$ref": "AAAAAAF5vFifQYhQ22E="
},
"visible": false,
"font": "Arial;13;0",
"left": -16,
"top": -80,
"height": 13,
"horizontalAlignment": 1
}
],
"font": "Arial;13;0",
"left": 192,
"top": 255,
"width": 113,
"height": 25,
"stereotypeLabel": {
"$ref": "AAAAAAF5vFifQYhRuRU="
},
"nameLabel": {
"$ref": "AAAAAAF5vFifQYhSbt0="
},
"namespaceLabel": {
"$ref": "AAAAAAF5vFifQYhTuWo="
},
"propertyLabel": {
"$ref": "AAAAAAF5vFifQYhU0vk="
}
}
],
"font": "Arial;13;0",
"containerChangeable": true,
"left": 192,
"top": 240,
"width": 113,
"height": 57,
"nameCompartment": {
"$ref": "AAAAAAF5vFifQYhQ22E="
}
},
{
"_type": "UMLComponentInstanceView",
"_id": "AAAAAAF5vFvEmYjPk0Q=",
"_parent": {
"$ref": "AAAAAAFF+qBtyKM79qY="
},
"model": {
"$ref": "AAAAAAF5vFvEmYjNgRo="
},
"subViews": [
{
"_type": "UMLNameCompartmentView",
"_id": "AAAAAAF5vFvEmYjQHYg=",
"_parent": {
"$ref": "AAAAAAF5vFvEmYjPk0Q="
},
"model": {
"$ref": "AAAAAAF5vFvEmYjNgRo="
},
"subViews": [
{
"_type": "LabelView",
"_id": "AAAAAAF5vFvEmYjR9RE=",
"_parent": {
"$ref": "AAAAAAF5vFvEmYjQHYg="
},
"visible": false,
"font": "Arial;13;0",
"top": -16,
"height": 13
},
{
"_type": "LabelView",
"_id": "AAAAAAF5vFvEmYjSWJo=",
"_parent": {
"$ref": "AAAAAAF5vFvEmYjQHYg="
},
"font": "Arial;13;1",
"left": 209,
"top": 319,
"width": 91,
"height": 13,
"underline": true,
"text": "数据库"
},
{
"_type": "LabelView",
"_id": "AAAAAAF5vFvEmYjTCqY=",
"_parent": {
"$ref": "AAAAAAF5vFvEmYjQHYg="
},
"visible": false,
"font": "Arial;13;0",
"top": -16,
"width": 73.67724609375,
"height": 13,
"text": "(from Model)"
},
{
"_type": "LabelView",
"_id": "AAAAAAF5vFvEmYjUzOc=",
"_parent": {
"$ref": "AAAAAAF5vFvEmYjQHYg="
},
"visible": false,
"font": "Arial;13;0",
"top": -16,
"height": 13,
"horizontalAlignment": 1
}
],
"font": "Arial;13;0",
"left": 204,
"top": 312,
"width": 101,
"height": 25,
"stereotypeLabel": {
"$ref": "AAAAAAF5vFvEmYjR9RE="
},
"nameLabel": {
"$ref": "AAAAAAF5vFvEmYjSWJo="
},
"namespaceLabel": {
"$ref": "AAAAAAF5vFvEmYjTCqY="
},
"propertyLabel": {
"$ref": "AAAAAAF5vFvEmYjUzOc="
}
}
],
"font": "Arial;13;0",
"containerChangeable": true,
"left": 184,
"top": 312,
"width": 121,
"height": 48,
"nameCompartment": {
"$ref": "AAAAAAF5vFvEmYjQHYg="
}
}
]
},
{
"_type": "UMLNodeInstance",
"_id": "AAAAAAF5vFe7FogZcm8=",
"_parent": {
"$ref": "AAAAAAFF+qBWK6M3Z8Y="
},
"name": "用户主机"
},
{
"_type": "UMLPackage",
"_id": "AAAAAAF5vFgjFYgzgeA=",
"_parent": {
"$ref": "AAAAAAFF+qBWK6M3Z8Y="
},
"name": "用户界面"
},
{
"_type": "UMLPackage",
"_id": "AAAAAAF5vFifQYhNoII=",
"_parent": {
"$ref": "AAAAAAFF+qBWK6M3Z8Y="
},
"name": "应用服务"
},
{
"_type": "UMLPackage",
"_id": "AAAAAAF5vFpjD4ieTGA=",
"_parent": {
"$ref": "AAAAAAFF+qBWK6M3Z8Y="
},
"name": "持久数据"
},
{
"_type": "UMLComponentInstance",
"_id": "AAAAAAF5vFvEmYjNgRo=",
"_parent": {
"$ref": "AAAAAAFF+qBWK6M3Z8Y="
},
"name": "数据库"
}
]
}
]
}

@ -0,0 +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;
}

@ -0,0 +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

@ -0,0 +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>

@ -0,0 +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);
}

@ -0,0 +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

@ -0,0 +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>

@ -0,0 +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;
}

@ -0,0 +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

@ -0,0 +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>

@ -0,0 +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;
}

@ -0,0 +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

@ -0,0 +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>

@ -0,0 +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();
}

@ -0,0 +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

@ -0,0 +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);
}

@ -0,0 +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;
}
}

@ -0,0 +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

@ -0,0 +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;
}

@ -0,0 +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

@ -0,0 +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>

@ -0,0 +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;
}

@ -0,0 +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

@ -0,0 +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>

Binary file not shown.

Binary file not shown.

@ -0,0 +1 @@
this is the src

@ -0,0 +1,782 @@
#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;
}

@ -0,0 +1,90 @@
#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

@ -0,0 +1,861 @@
/********************************************************************************
** 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
Loading…
Cancel
Save