src/eric7/Sessions/Ui_CrashedSessionsSelectionDialog.py

Sun, 06 Apr 2025 11:01:28 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 06 Apr 2025 11:01:28 +0200
branch
eric7
changeset 11207
7193db06924d
parent 11206
9271719f43a7
permissions
-rw-r--r--

Modified the display of the crash session dialog to allow the removal of crash session files.

11206
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
1 # Form implementation generated from reading ui file 'src/eric7/Sessions/CrashedSessionsSelectionDialog.ui'
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2 #
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
3 # Created by: PyQt6 UI code generator 6.8.1
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
4 #
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
5 # WARNING: Any manual changes made to this file will be lost when pyuic6 is
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
6 # run again. Do not edit this file unless you know what you are doing.
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
7
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
8
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
9 from PyQt6 import QtCore, QtGui, QtWidgets
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
10
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
11
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
12 class Ui_CrashedSessionsSelectionDialog(object):
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
13 def setupUi(self, CrashedSessionsSelectionDialog):
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
14 CrashedSessionsSelectionDialog.setObjectName("CrashedSessionsSelectionDialog")
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
15 CrashedSessionsSelectionDialog.resize(400, 500)
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
16 CrashedSessionsSelectionDialog.setSizeGripEnabled(True)
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
17 self.verticalLayout = QtWidgets.QVBoxLayout(CrashedSessionsSelectionDialog)
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
18 self.verticalLayout.setObjectName("verticalLayout")
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
19 self.messageLabel = QtWidgets.QLabel(parent=CrashedSessionsSelectionDialog)
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
20 self.messageLabel.setWordWrap(True)
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
21 self.messageLabel.setObjectName("messageLabel")
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
22 self.verticalLayout.addWidget(self.messageLabel)
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
23 self.crashedSessionsList = QtWidgets.QListWidget(parent=CrashedSessionsSelectionDialog)
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
24 self.crashedSessionsList.setAlternatingRowColors(True)
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
25 self.crashedSessionsList.setWordWrap(True)
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
26 self.crashedSessionsList.setObjectName("crashedSessionsList")
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
27 self.verticalLayout.addWidget(self.crashedSessionsList)
11207
7193db06924d Modified the display of the crash session dialog to allow the removal of crash session files.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 11206
diff changeset
28 self.horizontalLayout = QtWidgets.QHBoxLayout()
7193db06924d Modified the display of the crash session dialog to allow the removal of crash session files.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 11206
diff changeset
29 self.horizontalLayout.setObjectName("horizontalLayout")
7193db06924d Modified the display of the crash session dialog to allow the removal of crash session files.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 11206
diff changeset
30 self.removeButton = QtWidgets.QPushButton(parent=CrashedSessionsSelectionDialog)
7193db06924d Modified the display of the crash session dialog to allow the removal of crash session files.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 11206
diff changeset
31 self.removeButton.setObjectName("removeButton")
7193db06924d Modified the display of the crash session dialog to allow the removal of crash session files.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 11206
diff changeset
32 self.horizontalLayout.addWidget(self.removeButton)
7193db06924d Modified the display of the crash session dialog to allow the removal of crash session files.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 11206
diff changeset
33 spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
7193db06924d Modified the display of the crash session dialog to allow the removal of crash session files.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 11206
diff changeset
34 self.horizontalLayout.addItem(spacerItem)
11206
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
35 self.buttonBox = QtWidgets.QDialogButtonBox(parent=CrashedSessionsSelectionDialog)
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
36 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
37 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
38 self.buttonBox.setObjectName("buttonBox")
11207
7193db06924d Modified the display of the crash session dialog to allow the removal of crash session files.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 11206
diff changeset
39 self.horizontalLayout.addWidget(self.buttonBox)
7193db06924d Modified the display of the crash session dialog to allow the removal of crash session files.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 11206
diff changeset
40 self.verticalLayout.addLayout(self.horizontalLayout)
11206
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
41
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
42 self.retranslateUi(CrashedSessionsSelectionDialog)
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
43 self.buttonBox.accepted.connect(CrashedSessionsSelectionDialog.accept) # type: ignore
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
44 self.buttonBox.rejected.connect(CrashedSessionsSelectionDialog.reject) # type: ignore
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
45 QtCore.QMetaObject.connectSlotsByName(CrashedSessionsSelectionDialog)
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
46
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
47 def retranslateUi(self, CrashedSessionsSelectionDialog):
9271719f43a7 Modified the display of the crash session dialog to show the time stamp of the found crash session file and the path of the project file (if a project was open) (see issue584).
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
48 _translate = QtCore.QCoreApplication.translate
11207
7193db06924d Modified the display of the crash session dialog to allow the removal of crash session files.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 11206
diff changeset
49 self.removeButton.setToolTip(_translate("CrashedSessionsSelectionDialog", "Press to remove the selected crash sessions."))
7193db06924d Modified the display of the crash session dialog to allow the removal of crash session files.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 11206
diff changeset
50 self.removeButton.setText(_translate("CrashedSessionsSelectionDialog", "Remove"))

eric ide

mercurial