-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
2,294 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
from PyQt5.QtGui import QIcon | ||
|
||
from app.resources import resource_rc | ||
|
||
var = resource_rc.qt_resource_name | ||
|
||
|
||
class Icon: | ||
Default_avatar_path = ':/icons/icons/default_avatar.svg' | ||
Default_image_path = ':/icons/icons/404.png' | ||
MainWindow_Icon = QIcon(':/icons/icons/logo.svg') | ||
Default_avatar = QIcon(Default_avatar_path) | ||
Output = QIcon(':/icons/icons/output.svg') | ||
Back = QIcon(':/icons/icons/back.svg') | ||
ToDocx = QIcon(':/icons/icons/word.svg') | ||
ToCSV = QIcon(':/icons/icons/csv.svg') | ||
ToHTML = QIcon(':/icons/icons/html.svg') | ||
ToTXT = QIcon(':/icons/icons/txt.svg') | ||
Chat_Icon = QIcon(':/icons/icons/chat.svg') | ||
Contact_Icon = QIcon(':/icons/icons/contact.svg') | ||
MyInfo_Icon = QIcon(':/icons/icons/myinfo.svg') | ||
Annual_Report_Icon = QIcon(':/icons/icons/annual_report.svg') | ||
Analysis_Icon = QIcon(':/icons/icons/analysis.svg') | ||
Emotion_Icon = QIcon(':/icons/icons/emotion.svg') | ||
Search_Icon = QIcon(':/icons/icons/search.svg') | ||
Tool_Icon = QIcon(':/icons/icons/tool.svg') | ||
Home_Icon = QIcon(':/icons/icons/home.svg') | ||
Help_Icon = QIcon(':/icons/icons/help.svg') |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
from .chat_window import ChatWindow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
# Form implementation generated from reading ui file 'chatInfoUi.ui' | ||
# | ||
# Created by: PyQt5 UI code generator 5.15.7 | ||
# | ||
# WARNING: Any manual changes made to this file will be lost when pyuic5 is | ||
# run again. Do not edit this file unless you know what you are doing. | ||
|
||
|
||
from PyQt5 import QtCore, QtWidgets | ||
|
||
|
||
class Ui_Form(object): | ||
def setupUi(self, Form): | ||
Form.setObjectName("Form") | ||
self.verticalLayout = QtWidgets.QVBoxLayout(Form) | ||
self.verticalLayout.setContentsMargins(0, 0, 0, 0) | ||
self.verticalLayout.setSpacing(0) | ||
self.verticalLayout.setObjectName("verticalLayout") | ||
self.frame = QtWidgets.QFrame(Form) | ||
self.frame.setFrameShape(QtWidgets.QFrame.NoFrame) | ||
self.frame.setFrameShadow(QtWidgets.QFrame.Raised) | ||
self.frame.setObjectName("frame") | ||
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.frame) | ||
self.verticalLayout_2.setObjectName("verticalLayout_2") | ||
self.horizontalLayout_2 = QtWidgets.QHBoxLayout() | ||
self.horizontalLayout_2.setObjectName("horizontalLayout_2") | ||
self.label_reamrk = QtWidgets.QLabel(self.frame) | ||
self.label_reamrk.setObjectName("label_reamrk") | ||
self.horizontalLayout_2.addWidget(self.label_reamrk) | ||
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) | ||
self.horizontalLayout_2.addItem(spacerItem) | ||
self.toolButton = QtWidgets.QToolButton(self.frame) | ||
self.toolButton.setObjectName("toolButton") | ||
self.horizontalLayout_2.addWidget(self.toolButton) | ||
self.verticalLayout_2.addLayout(self.horizontalLayout_2) | ||
|
||
self.verticalLayout.addWidget(self.frame) | ||
|
||
self.retranslateUi(Form) | ||
QtCore.QMetaObject.connectSlotsByName(Form) | ||
|
||
def retranslateUi(self, Form): | ||
_translate = QtCore.QCoreApplication.translate | ||
Form.setWindowTitle(_translate("Form", "Form")) | ||
self.label_reamrk.setText(_translate("Form", "TextLabel")) | ||
self.toolButton.setText(_translate("Form", "...")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
# Form implementation generated from reading ui file 'chatUi.ui' | ||
# | ||
# Created by: PyQt5 UI code generator 5.15.7 | ||
# | ||
# WARNING: Any manual changes made to this file will be lost when pyuic5 is | ||
# run again. Do not edit this file unless you know what you are doing. | ||
|
||
|
||
from PyQt5 import QtCore, QtWidgets | ||
|
||
|
||
class Ui_Form(object): | ||
def setupUi(self, Form): | ||
Form.setObjectName("Form") | ||
Form.resize(840, 752) | ||
Form.setStyleSheet("background: rgb(240, 240, 240);") | ||
self.horizontalLayout_2 = QtWidgets.QHBoxLayout(Form) | ||
self.horizontalLayout_2.setSpacing(6) | ||
self.horizontalLayout_2.setObjectName("horizontalLayout_2") | ||
self.verticalLayout_2 = QtWidgets.QVBoxLayout() | ||
self.verticalLayout_2.setSpacing(6) | ||
self.verticalLayout_2.setObjectName("verticalLayout_2") | ||
self.verticalLayout = QtWidgets.QVBoxLayout() | ||
self.verticalLayout.setObjectName("verticalLayout") | ||
self.horizontalLayout = QtWidgets.QHBoxLayout() | ||
self.horizontalLayout.setObjectName("horizontalLayout") | ||
self.label = QtWidgets.QLabel(Form) | ||
self.label.setText("") | ||
self.label.setObjectName("label") | ||
self.horizontalLayout.addWidget(self.label) | ||
self.lineEdit = QtWidgets.QLineEdit(Form) | ||
self.lineEdit.setMinimumSize(QtCore.QSize(200, 30)) | ||
self.lineEdit.setMaximumSize(QtCore.QSize(200, 16777215)) | ||
self.lineEdit.setStyleSheet("background:transparent;\n" | ||
"border-radius:5px;\n" | ||
"border-top: 0px solid #b2e281;\n" | ||
"border-bottom: 0px solid #b2e281;\n" | ||
"border-right: 0px solid #b2e281;\n" | ||
"border-left: 0px solid #b2e281;\n" | ||
"border-style:outset;\n" | ||
"background-color:rgb(226,226,226);\n" | ||
" ") | ||
self.lineEdit.setCursorMoveStyle(QtCore.Qt.VisualMoveStyle) | ||
self.lineEdit.setObjectName("lineEdit") | ||
self.horizontalLayout.addWidget(self.lineEdit) | ||
self.label_2 = QtWidgets.QLabel(Form) | ||
self.label_2.setMinimumSize(QtCore.QSize(30, 0)) | ||
self.label_2.setText("") | ||
self.label_2.setObjectName("label_2") | ||
self.horizontalLayout.addWidget(self.label_2) | ||
self.verticalLayout.addLayout(self.horizontalLayout) | ||
self.verticalLayout_2.addLayout(self.verticalLayout) | ||
self.listWidget = QtWidgets.QListWidget(Form) | ||
self.listWidget.setMinimumSize(QtCore.QSize(250, 0)) | ||
self.listWidget.setMaximumSize(QtCore.QSize(250, 16777215)) | ||
self.listWidget.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff) | ||
self.listWidget.setObjectName("listWidget") | ||
self.verticalLayout_2.addWidget(self.listWidget) | ||
self.verticalLayout_2.setStretch(1, 1) | ||
self.horizontalLayout_2.addLayout(self.verticalLayout_2) | ||
self.stackedWidget = QtWidgets.QStackedWidget(Form) | ||
self.stackedWidget.setObjectName("stackedWidget") | ||
self.horizontalLayout_2.addWidget(self.stackedWidget) | ||
self.horizontalLayout_2.setStretch(1, 1) | ||
|
||
self.retranslateUi(Form) | ||
self.stackedWidget.setCurrentIndex(-1) | ||
QtCore.QMetaObject.connectSlotsByName(Form) | ||
|
||
def retranslateUi(self, Form): | ||
_translate = QtCore.QCoreApplication.translate | ||
Form.setWindowTitle(_translate("Form", "Form")) |
Oops, something went wrong.