You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
102 lines
4.9 KiB
Python
102 lines
4.9 KiB
Python
4 years ago
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
# Form implementation generated from reading ui file 'dialogs/presence_selection_dialog/presence_selection_dialog.ui'
|
||
|
#
|
||
|
# Created by: PyQt5 UI code generator 5.15.0
|
||
|
#
|
||
|
# 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, QtGui, QtWidgets
|
||
|
|
||
|
|
||
|
class Ui_presence_selection_dialog(object):
|
||
|
def setupUi(self, presence_selection_dialog):
|
||
|
presence_selection_dialog.setObjectName("presence_selection_dialog")
|
||
|
presence_selection_dialog.resize(330, 260)
|
||
|
self.verticalLayout = QtWidgets.QVBoxLayout(presence_selection_dialog)
|
||
|
self.verticalLayout.setObjectName("verticalLayout")
|
||
|
self.frame = QtWidgets.QFrame(presence_selection_dialog)
|
||
|
self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
||
|
self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
|
||
|
self.frame.setObjectName("frame")
|
||
|
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.frame)
|
||
|
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
||
|
self.label = QtWidgets.QLabel(self.frame)
|
||
|
font = QtGui.QFont()
|
||
|
font.setPointSize(11)
|
||
|
font.setBold(True)
|
||
|
font.setWeight(75)
|
||
|
self.label.setFont(font)
|
||
|
self.label.setAlignment(QtCore.Qt.AlignCenter)
|
||
|
self.label.setObjectName("label")
|
||
|
self.verticalLayout_2.addWidget(self.label)
|
||
|
self.frame_2 = QtWidgets.QFrame(self.frame)
|
||
|
self.frame_2.setFrameShape(QtWidgets.QFrame.StyledPanel)
|
||
|
self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
|
||
|
self.frame_2.setObjectName("frame_2")
|
||
|
self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame_2)
|
||
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
||
|
self.verticalLayout_4 = QtWidgets.QVBoxLayout()
|
||
|
self.verticalLayout_4.setObjectName("verticalLayout_4")
|
||
|
self.label_2 = QtWidgets.QLabel(self.frame_2)
|
||
|
font = QtGui.QFont()
|
||
|
font.setPointSize(10)
|
||
|
font.setBold(True)
|
||
|
font.setWeight(75)
|
||
|
self.label_2.setFont(font)
|
||
|
self.label_2.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
|
||
|
self.label_2.setObjectName("label_2")
|
||
|
self.verticalLayout_4.addWidget(self.label_2)
|
||
|
self.presence_name_search_line = QtWidgets.QLineEdit(self.frame_2)
|
||
|
self.presence_name_search_line.setObjectName("presence_name_search_line")
|
||
|
self.verticalLayout_4.addWidget(self.presence_name_search_line)
|
||
|
self.horizontalLayout.addLayout(self.verticalLayout_4)
|
||
|
self.verticalLayout_3 = QtWidgets.QVBoxLayout()
|
||
|
self.verticalLayout_3.setObjectName("verticalLayout_3")
|
||
|
self.label_3 = QtWidgets.QLabel(self.frame_2)
|
||
|
font = QtGui.QFont()
|
||
|
font.setPointSize(10)
|
||
|
font.setBold(True)
|
||
|
font.setWeight(75)
|
||
|
self.label_3.setFont(font)
|
||
|
self.label_3.setObjectName("label_3")
|
||
|
self.verticalLayout_3.addWidget(self.label_3)
|
||
|
self.presence_domain_search_line = QtWidgets.QLineEdit(self.frame_2)
|
||
|
self.presence_domain_search_line.setObjectName("presence_domain_search_line")
|
||
|
self.verticalLayout_3.addWidget(self.presence_domain_search_line)
|
||
|
self.horizontalLayout.addLayout(self.verticalLayout_3)
|
||
|
self.verticalLayout_2.addWidget(self.frame_2)
|
||
|
self.presence_search_list = QtWidgets.QListView(self.frame)
|
||
|
self.presence_search_list.setObjectName("presence_search_list")
|
||
|
self.verticalLayout_2.addWidget(self.presence_search_list)
|
||
|
self.verticalLayout.addWidget(self.frame)
|
||
|
self.buttonBox = QtWidgets.QDialogButtonBox(presence_selection_dialog)
|
||
|
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
|
||
|
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
|
||
|
self.buttonBox.setObjectName("buttonBox")
|
||
|
self.verticalLayout.addWidget(self.buttonBox)
|
||
|
|
||
|
self.retranslateUi(presence_selection_dialog)
|
||
|
self.buttonBox.accepted.connect(presence_selection_dialog.accept)
|
||
|
self.buttonBox.rejected.connect(presence_selection_dialog.reject)
|
||
|
QtCore.QMetaObject.connectSlotsByName(presence_selection_dialog)
|
||
|
|
||
|
def retranslateUi(self, presence_selection_dialog):
|
||
|
_translate = QtCore.QCoreApplication.translate
|
||
|
presence_selection_dialog.setWindowTitle(_translate("presence_selection_dialog", "Dialog"))
|
||
|
self.label.setText(_translate("presence_selection_dialog", "Select Presence"))
|
||
|
self.label_2.setText(_translate("presence_selection_dialog", "Name:"))
|
||
|
self.label_3.setText(_translate("presence_selection_dialog", "Domain:"))
|
||
|
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
import sys
|
||
|
app = QtWidgets.QApplication(sys.argv)
|
||
|
presence_selection_dialog = QtWidgets.QDialog()
|
||
|
ui = Ui_presence_selection_dialog()
|
||
|
ui.setupUi(presence_selection_dialog)
|
||
|
presence_selection_dialog.show()
|
||
|
sys.exit(app.exec_())
|