mirror of
https://github.com/Xevion/bulk-reminders.git
synced 2025-12-07 05:14:35 -06:00
Implement input event load dialog with loading gif and debouncing
This commit is contained in:
48
bulk_reminders/load_base.py
Normal file
48
bulk_reminders/load_base.py
Normal file
@@ -0,0 +1,48 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'load.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.15.4
|
||||
#
|
||||
# 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_Dialog(object):
|
||||
def setupUi(self, Dialog):
|
||||
Dialog.setObjectName("Dialog")
|
||||
Dialog.resize(400, 300)
|
||||
self.gridLayout = QtWidgets.QGridLayout(Dialog)
|
||||
self.gridLayout.setObjectName("gridLayout")
|
||||
self.plainTextEdit = QtWidgets.QPlainTextEdit(Dialog)
|
||||
self.plainTextEdit.setObjectName("plainTextEdit")
|
||||
self.gridLayout.addWidget(self.plainTextEdit, 0, 0, 1, 1)
|
||||
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout.setObjectName("horizontalLayout")
|
||||
self.toolButton = QtWidgets.QToolButton(Dialog)
|
||||
self.toolButton.setObjectName("toolButton")
|
||||
self.horizontalLayout.addWidget(self.toolButton)
|
||||
self.eventCountLabel = QtWidgets.QLabel(Dialog)
|
||||
self.eventCountLabel.setObjectName("eventCountLabel")
|
||||
self.horizontalLayout.addWidget(self.eventCountLabel)
|
||||
self.buttonBox = QtWidgets.QDialogButtonBox(Dialog)
|
||||
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
|
||||
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
|
||||
self.buttonBox.setCenterButtons(False)
|
||||
self.buttonBox.setObjectName("buttonBox")
|
||||
self.horizontalLayout.addWidget(self.buttonBox)
|
||||
self.gridLayout.addLayout(self.horizontalLayout, 1, 0, 1, 1)
|
||||
|
||||
self.retranslateUi(Dialog)
|
||||
self.buttonBox.accepted.connect(Dialog.accept)
|
||||
self.buttonBox.rejected.connect(Dialog.reject)
|
||||
QtCore.QMetaObject.connectSlotsByName(Dialog)
|
||||
|
||||
def retranslateUi(self, Dialog):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
Dialog.setWindowTitle(_translate("Dialog", "Load Events"))
|
||||
self.toolButton.setText(_translate("Dialog", "..."))
|
||||
self.eventCountLabel.setText(_translate("Dialog", "3 events found."))
|
||||
Reference in New Issue
Block a user