Thu, 03 Apr 2025 19:50:43 +0200
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).
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) |
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
|
28 | 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
|
29 | 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
|
30 | 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
|
31 | self.buttonBox.setObjectName("buttonBox") |
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
|
32 | self.verticalLayout.addWidget(self.buttonBox) |
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
|
33 | |
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
|
34 | 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
|
35 | 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
|
36 | 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
|
37 | 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
|
38 | |
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
|
39 | 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
|
40 | _translate = QtCore.QCoreApplication.translate |
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 | CrashedSessionsSelectionDialog.setWindowTitle(_translate("CrashedSessionsSelectionDialog", "Found Crash Sessions")) |
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.messageLabel.setText(_translate("CrashedSessionsSelectionDialog", "These crash session files were found. Select the one to open. Select \'Cancel\' to not open a crash session.")) |