bridgex 0.0.1.dev0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. bridgex/NOTICE +28 -0
  2. bridgex/OSL/LICENSE_MARKITDOWN +21 -0
  3. bridgex/OSL/LICENSE_PYSIDE6 +165 -0
  4. bridgex/OSL/url_licenses.srm +4 -0
  5. bridgex/__init__.py +9 -0
  6. bridgex/__main__.py +7 -0
  7. bridgex/_bridgex.py +16 -0
  8. bridgex/database/Manager.py +22 -0
  9. bridgex/database/__init__.py +0 -0
  10. bridgex/interface/__init__.py +6 -0
  11. bridgex/interface/_about.py +20 -0
  12. bridgex/interface/_initialHelp.py +31 -0
  13. bridgex/interface/_interface.py +232 -0
  14. bridgex/interface/_lang.py +46 -0
  15. bridgex/interface/_osl.py +30 -0
  16. bridgex/interface/assets/img/gh-logo.png +0 -0
  17. bridgex/interface/assets/img/language/en_GB.svg +7 -0
  18. bridgex/interface/assets/img/language/es_CO.svg +11 -0
  19. bridgex/interface/assets/img/logo-bridgex/logo-bridgex-2.1.png +0 -0
  20. bridgex/interface/assets/img/logo-bridgex/logo-bridgex-2.2.png +0 -0
  21. bridgex/interface/assets/img/logo-bridgex/logo-bridgex-2.png +0 -0
  22. bridgex/interface/assets/img/osl_icon.webp +0 -0
  23. bridgex/interface/resources_rc.py +34626 -0
  24. bridgex/interface/translations/locale/bridge_es_CO.qm +0 -0
  25. bridgex/interface/translations/locale/bridge_es_GB.qm +0 -0
  26. bridgex/interface/translations/others/ABOUT_en_GB.trg +77 -0
  27. bridgex/interface/translations/others/ABOUT_es_CO.trg +77 -0
  28. bridgex/interface/translations/others/IH_en_GB.srm +19 -0
  29. bridgex/interface/translations/others/IH_es_CO.srm +19 -0
  30. bridgex/interface/translations/others/NOTICE_en_GB.srm +29 -0
  31. bridgex/interface/translations/others/NOTICE_es_CO.srm +29 -0
  32. bridgex/interface/ui_dialog_about.py +107 -0
  33. bridgex/interface/ui_dialog_language.py +120 -0
  34. bridgex/interface/ui_main_window.py +532 -0
  35. bridgex/interface/ui_osl.py +133 -0
  36. bridgex/logic/Converter.py +33 -0
  37. bridgex/logic/__init__.py +0 -0
  38. bridgex/logs/__init__.py +0 -0
  39. bridgex/models/Returning.py +14 -0
  40. bridgex/models/__init__.py +0 -0
  41. bridgex/utils/FilesManager.py +65 -0
  42. bridgex/utils/__init__.py +0 -0
  43. bridgex-0.0.1.dev0.dist-info/METADATA +193 -0
  44. bridgex-0.0.1.dev0.dist-info/RECORD +48 -0
  45. bridgex-0.0.1.dev0.dist-info/WHEEL +5 -0
  46. bridgex-0.0.1.dev0.dist-info/entry_points.txt +2 -0
  47. bridgex-0.0.1.dev0.dist-info/licenses/LICENSE +21 -0
  48. bridgex-0.0.1.dev0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,532 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+ ################################################################################
4
+ ## Form generated from reading UI file 'main_window.ui'
5
+ ##
6
+ ## Created by: Qt User Interface Compiler version 6.9.0
7
+ ##
8
+ ## WARNING! All changes made in this file will be lost when recompiling UI file!
9
+ ################################################################################
10
+
11
+ from PySide6.QtCore import (QCoreApplication, QLocale, QMetaObject, QRect, QSize, Qt)
12
+ from PySide6.QtGui import (QAction, QBrush, QColor, QCursor, QFont, QIcon, QPalette)
13
+ from PySide6.QtWidgets import (QFrame, QGridLayout, QLabel,
14
+ QLayout, QMainWindow, QMenu, QMenuBar, QPushButton, QSizePolicy, QTextEdit, QWidget)
15
+ from . import resources_rc
16
+
17
+ class Ui_MainWindow(object):
18
+ def setupUi(self, MainWindow):
19
+ if not MainWindow.objectName():
20
+ MainWindow.setObjectName(u"MainWindow")
21
+ MainWindow.setWindowModality(Qt.WindowModality.NonModal)
22
+ MainWindow.setEnabled(True)
23
+ MainWindow.resize(931, 634)
24
+ sizePolicy = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Preferred)
25
+ sizePolicy.setHorizontalStretch(0)
26
+ sizePolicy.setVerticalStretch(0)
27
+ sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
28
+ MainWindow.setSizePolicy(sizePolicy)
29
+ MainWindow.setMaximumSize(QSize(16777215, 16777215))
30
+ palette = QPalette()
31
+ brush = QBrush(QColor(255, 255, 255, 255))
32
+ brush.setStyle(Qt.BrushStyle.SolidPattern)
33
+ palette.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.WindowText, brush)
34
+ brush1 = QBrush(QColor(33, 33, 33, 255))
35
+ brush1.setStyle(Qt.BrushStyle.SolidPattern)
36
+ palette.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.Button, brush1)
37
+ palette.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.Text, brush)
38
+ palette.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.ButtonText, brush)
39
+ palette.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.Base, brush1)
40
+ palette.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.Window, brush1)
41
+ brush2 = QBrush(QColor(63, 63, 63, 255))
42
+ brush2.setStyle(Qt.BrushStyle.SolidPattern)
43
+ palette.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.AlternateBase, brush2)
44
+ brush3 = QBrush(QColor(255, 255, 255, 128))
45
+ brush3.setStyle(Qt.BrushStyle.SolidPattern)
46
+ #if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
47
+ palette.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.PlaceholderText, brush3)
48
+ #endif
49
+ palette.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.WindowText, brush)
50
+ palette.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.Button, brush1)
51
+ palette.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.Text, brush)
52
+ brush4 = QBrush(QColor(134, 134, 134, 255))
53
+ brush4.setStyle(Qt.BrushStyle.SolidPattern)
54
+ palette.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.ButtonText, brush4)
55
+ palette.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.Base, brush1)
56
+ palette.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.Window, brush1)
57
+ #if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
58
+ palette.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.PlaceholderText, brush3)
59
+ #endif
60
+ palette.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.WindowText, brush)
61
+ palette.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.Button, brush1)
62
+ palette.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.Text, brush)
63
+ palette.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.ButtonText, brush)
64
+ palette.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.Base, brush1)
65
+ palette.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.Window, brush1)
66
+ #if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
67
+ palette.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.PlaceholderText, brush3)
68
+ #endif
69
+ MainWindow.setPalette(palette)
70
+ font = QFont()
71
+ font.setFamilies([u"Gabriola"])
72
+ font.setPointSize(12)
73
+ MainWindow.setFont(font)
74
+ icon = QIcon()
75
+ icon.addFile(u":/img/logo-bridgex-2", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
76
+ MainWindow.setWindowIcon(icon)
77
+ MainWindow.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
78
+ MainWindow.setAutoFillBackground(False)
79
+ MainWindow.setLocale(QLocale(QLocale.English, QLocale.UnitedKingdom))
80
+ MainWindow.setDocumentMode(True)
81
+ MainWindow.setDockOptions(QMainWindow.DockOption.AllowTabbedDocks|QMainWindow.DockOption.AnimatedDocks)
82
+ self.action_open_file = QAction(MainWindow)
83
+ self.action_open_file.setObjectName(u"action_open_file")
84
+ self.action_open_file.setCheckable(False)
85
+ icon1 = QIcon(QIcon.fromTheme(QIcon.ThemeIcon.DocumentOpen))
86
+ self.action_open_file.setIcon(icon1)
87
+ self.action_open_file.setFont(font)
88
+ self.action_open_file.setMenuRole(QAction.MenuRole.TextHeuristicRole)
89
+ self.action_exit = QAction(MainWindow)
90
+ self.action_exit.setObjectName(u"action_exit")
91
+ icon2 = QIcon(QIcon.fromTheme(QIcon.ThemeIcon.ApplicationExit))
92
+ self.action_exit.setIcon(icon2)
93
+ self.action_exit.setFont(font)
94
+ self.action_exit.setMenuRole(QAction.MenuRole.TextHeuristicRole)
95
+ self.action_about = QAction(MainWindow)
96
+ self.action_about.setObjectName(u"action_about")
97
+ self.action_about.setIcon(icon)
98
+ self.action_about.setFont(font)
99
+ self.action_language = QAction(MainWindow)
100
+ self.action_language.setObjectName(u"action_language")
101
+ icon3 = QIcon(QIcon.fromTheme(u"accessories-character-map"))
102
+ self.action_language.setIcon(icon3)
103
+ self.action_theme = QAction(MainWindow)
104
+ self.action_theme.setObjectName(u"action_theme")
105
+ self.action_theme.setEnabled(False)
106
+ icon4 = QIcon(QIcon.fromTheme(u"weather-clear"))
107
+ self.action_theme.setIcon(icon4)
108
+ font1 = QFont()
109
+ font1.setFamilies([u"Amiri Quran"])
110
+ self.action_theme.setFont(font1)
111
+ self.action_OSL = QAction(MainWindow)
112
+ self.action_OSL.setObjectName(u"action_OSL")
113
+ icon5 = QIcon()
114
+ icon5.addFile(u":/icons/osl_icon", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
115
+ self.action_OSL.setIcon(icon5)
116
+ self.action_OSL.setFont(font)
117
+ self.main_window_frame = QWidget(MainWindow)
118
+ self.main_window_frame.setObjectName(u"main_window_frame")
119
+ self.main_window_frame.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
120
+ self.gridLayout_4 = QGridLayout(self.main_window_frame)
121
+ self.gridLayout_4.setObjectName(u"gridLayout_4")
122
+ self.side_bar = QFrame(self.main_window_frame)
123
+ self.side_bar.setObjectName(u"side_bar")
124
+ sizePolicy1 = QSizePolicy(QSizePolicy.Policy.Fixed, QSizePolicy.Policy.Preferred)
125
+ sizePolicy1.setHorizontalStretch(0)
126
+ sizePolicy1.setVerticalStretch(0)
127
+ sizePolicy1.setHeightForWidth(self.side_bar.sizePolicy().hasHeightForWidth())
128
+ self.side_bar.setSizePolicy(sizePolicy1)
129
+ self.side_bar.setMinimumSize(QSize(40, 0))
130
+ self.side_bar.setMaximumSize(QSize(16777215, 200))
131
+ self.side_bar.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
132
+ self.side_bar.setFrameShape(QFrame.Shape.NoFrame)
133
+ self.side_bar.setFrameShadow(QFrame.Shadow.Raised)
134
+ self.sidebar_layout = QGridLayout(self.side_bar)
135
+ self.sidebar_layout.setObjectName(u"sidebar_layout")
136
+ self.sidebar_layout.setVerticalSpacing(0)
137
+ self.sidebar_layout.setContentsMargins(0, 0, 0, 0)
138
+ self.language_btn = QPushButton(self.side_bar)
139
+ self.language_btn.setObjectName(u"language_btn")
140
+ self.language_btn.setMinimumSize(QSize(20, 70))
141
+ self.language_btn.setFont(font)
142
+ self.language_btn.setIcon(icon3)
143
+ self.language_btn.setFlat(False)
144
+
145
+ self.sidebar_layout.addWidget(self.language_btn, 1, 0, 1, 1)
146
+
147
+ self.explorer_btn = QPushButton(self.side_bar)
148
+ self.explorer_btn.setObjectName(u"explorer_btn")
149
+ self.explorer_btn.setMinimumSize(QSize(20, 70))
150
+ self.explorer_btn.setFont(font)
151
+ self.explorer_btn.setIcon(icon1)
152
+ #if QT_CONFIG(shortcut)
153
+ self.explorer_btn.setShortcut(u"")
154
+ #endif // QT_CONFIG(shortcut)
155
+ self.explorer_btn.setFlat(False)
156
+
157
+ self.sidebar_layout.addWidget(self.explorer_btn, 0, 0, 1, 1)
158
+
159
+
160
+ self.gridLayout_4.addWidget(self.side_bar, 0, 1, 1, 1)
161
+
162
+ self.frame_widgets = QFrame(self.main_window_frame)
163
+ self.frame_widgets.setObjectName(u"frame_widgets")
164
+ self.frame_widgets.setEnabled(True)
165
+ sizePolicy.setHeightForWidth(self.frame_widgets.sizePolicy().hasHeightForWidth())
166
+ self.frame_widgets.setSizePolicy(sizePolicy)
167
+ #if QT_CONFIG(tooltip)
168
+ self.frame_widgets.setToolTip(u"")
169
+ #endif // QT_CONFIG(tooltip)
170
+ self.frame_widgets.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
171
+ self.frame_widgets.setAutoFillBackground(False)
172
+ self.frame_widgets.setFrameShape(QFrame.Shape.NoFrame)
173
+ self.frame_widgets.setFrameShadow(QFrame.Shadow.Raised)
174
+ self.frame_widgets_layout = QGridLayout(self.frame_widgets)
175
+ self.frame_widgets_layout.setSpacing(0)
176
+ self.frame_widgets_layout.setObjectName(u"frame_widgets_layout")
177
+ self.frame_widgets_layout.setContentsMargins(0, 0, 0, 0)
178
+ self.container_body = QGridLayout()
179
+ self.container_body.setObjectName(u"container_body")
180
+ self.frame_views = QFrame(self.frame_widgets)
181
+ self.frame_views.setObjectName(u"frame_views")
182
+ self.frame_views.setFrameShape(QFrame.Shape.StyledPanel)
183
+ self.frame_views.setFrameShadow(QFrame.Shadow.Raised)
184
+ self.frame_views_layout = QGridLayout(self.frame_views)
185
+ self.frame_views_layout.setSpacing(0)
186
+ self.frame_views_layout.setObjectName(u"frame_views_layout")
187
+ self.frame_views_layout.setContentsMargins(0, 0, 0, 0)
188
+ self.grid_views_layout = QGridLayout()
189
+ self.grid_views_layout.setObjectName(u"grid_views_layout")
190
+ self.info_md = QLabel(self.frame_views)
191
+ self.info_md.setObjectName(u"info_md")
192
+ font2 = QFont()
193
+ font2.setFamilies([u"Gabriola"])
194
+ font2.setPointSize(14)
195
+ font2.setStrikeOut(False)
196
+ font2.setKerning(True)
197
+ self.info_md.setFont(font2)
198
+ self.info_md.setStyleSheet(u"")
199
+ self.info_md.setTextFormat(Qt.TextFormat.PlainText)
200
+ self.info_md.setAlignment(Qt.AlignmentFlag.AlignCenter)
201
+
202
+ self.grid_views_layout.addWidget(self.info_md, 0, 1, 1, 1)
203
+
204
+ self.text_file_selected = QTextEdit(self.frame_views)
205
+ self.text_file_selected.setObjectName(u"text_file_selected")
206
+ self.text_file_selected.setEnabled(True)
207
+ sizePolicy2 = QSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
208
+ sizePolicy2.setHorizontalStretch(0)
209
+ sizePolicy2.setVerticalStretch(0)
210
+ sizePolicy2.setHeightForWidth(self.text_file_selected.sizePolicy().hasHeightForWidth())
211
+ self.text_file_selected.setSizePolicy(sizePolicy2)
212
+ self.text_file_selected.setSizeIncrement(QSize(0, 0))
213
+ font3 = QFont()
214
+ font3.setFamilies([u"Times New Roman"])
215
+ font3.setPointSize(12)
216
+ self.text_file_selected.setFont(font3)
217
+ self.text_file_selected.setFocusPolicy(Qt.FocusPolicy.StrongFocus)
218
+ self.text_file_selected.setAutoFillBackground(True)
219
+ self.text_file_selected.setReadOnly(False)
220
+ self.text_file_selected.setMarkdown(u"")
221
+ self.text_file_selected.setPlaceholderText(u"")
222
+
223
+ self.grid_views_layout.addWidget(self.text_file_selected, 1, 1, 1, 1)
224
+
225
+ self.info_preview = QLabel(self.frame_views)
226
+ self.info_preview.setObjectName(u"info_preview")
227
+ font4 = QFont()
228
+ font4.setFamilies([u"Gabriola"])
229
+ font4.setPointSize(14)
230
+ self.info_preview.setFont(font4)
231
+ self.info_preview.setTextFormat(Qt.TextFormat.PlainText)
232
+ self.info_preview.setAlignment(Qt.AlignmentFlag.AlignCenter)
233
+
234
+ self.grid_views_layout.addWidget(self.info_preview, 0, 2, 1, 1)
235
+
236
+ self.text_preview_mode = QTextEdit(self.frame_views)
237
+ self.text_preview_mode.setObjectName(u"text_preview_mode")
238
+ self.text_preview_mode.setFont(font3)
239
+ self.text_preview_mode.setFocusPolicy(Qt.FocusPolicy.NoFocus)
240
+ self.text_preview_mode.setAutoFormatting(QTextEdit.AutoFormattingFlag.AutoAll)
241
+ self.text_preview_mode.setReadOnly(True)
242
+ self.text_preview_mode.setMarkdown(u"")
243
+ self.text_preview_mode.setHtml(u"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
244
+ "<html><head><meta name=\"qrichtext\" content=\"1\" /><meta charset=\"utf-8\" /><style type=\"text/css\">\n"
245
+ "p, li { white-space: pre-wrap; }\n"
246
+ "hr { height: 1px; border-width: 0; }\n"
247
+ "li.unchecked::marker { content: \"\\2610\"; }\n"
248
+ "li.checked::marker { content: \"\\2612\"; }\n"
249
+ "</style></head><body style=\" font-family:'Times New Roman'; font-size:12pt; font-weight:400; font-style:normal;\">\n"
250
+ "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Gabriola';\"><br /></p></body></html>")
251
+ self.text_preview_mode.setTextInteractionFlags(Qt.TextInteractionFlag.LinksAccessibleByMouse|Qt.TextInteractionFlag.TextSelectableByMouse)
252
+
253
+ self.grid_views_layout.addWidget(self.text_preview_mode, 1, 2, 1, 1)
254
+
255
+
256
+ self.frame_views_layout.addLayout(self.grid_views_layout, 0, 0, 1, 1)
257
+
258
+ self.convert_btn = QPushButton(self.frame_views)
259
+ self.convert_btn.setObjectName(u"convert_btn")
260
+ self.convert_btn.setMinimumSize(QSize(0, 40))
261
+ self.convert_btn.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
262
+ self.convert_btn.setAutoFillBackground(False)
263
+ icon6 = QIcon(QIcon.fromTheme(QIcon.ThemeIcon.SyncSynchronizing))
264
+ self.convert_btn.setIcon(icon6)
265
+
266
+ self.frame_views_layout.addWidget(self.convert_btn, 1, 0, 1, 1)
267
+
268
+
269
+ self.container_body.addWidget(self.frame_views, 0, 0, 1, 1)
270
+
271
+
272
+ self.frame_widgets_layout.addLayout(self.container_body, 0, 1, 1, 1)
273
+
274
+
275
+ self.gridLayout_4.addWidget(self.frame_widgets, 0, 2, 1, 1)
276
+
277
+ self.footer = QFrame(self.main_window_frame)
278
+ self.footer.setObjectName(u"footer")
279
+ self.footer.setMaximumSize(QSize(16777215, 20))
280
+ self.footer.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
281
+ self.footer.setFrameShape(QFrame.Shape.NoFrame)
282
+ self.footer.setFrameShadow(QFrame.Shadow.Raised)
283
+ self.footer.setLineWidth(0)
284
+ self.footer_layout = QGridLayout(self.footer)
285
+ self.footer_layout.setSpacing(0)
286
+ self.footer_layout.setObjectName(u"footer_layout")
287
+ self.footer_layout.setSizeConstraint(QLayout.SizeConstraint.SetDefaultConstraint)
288
+ self.footer_layout.setContentsMargins(0, 0, 0, 0)
289
+ self.label = QLabel(self.footer)
290
+ self.label.setObjectName(u"label")
291
+ self.label.setMaximumSize(QSize(16777215, 20))
292
+ self.label.setBaseSize(QSize(855, 60))
293
+ self.label.setTextFormat(Qt.TextFormat.RichText)
294
+ self.label.setScaledContents(True)
295
+ self.label.setAlignment(Qt.AlignmentFlag.AlignBottom|Qt.AlignmentFlag.AlignHCenter)
296
+ self.label.setOpenExternalLinks(True)
297
+
298
+ self.footer_layout.addWidget(self.label, 0, 0, 1, 1)
299
+
300
+
301
+ self.gridLayout_4.addWidget(self.footer, 1, 2, 1, 1)
302
+
303
+ MainWindow.setCentralWidget(self.main_window_frame)
304
+ self.menubar = QMenuBar(MainWindow)
305
+ self.menubar.setObjectName(u"menubar")
306
+ self.menubar.setEnabled(True)
307
+ self.menubar.setGeometry(QRect(0, 0, 931, 27))
308
+ palette1 = QPalette()
309
+ palette1.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.WindowText, brush)
310
+ palette1.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.Button, brush1)
311
+ brush5 = QBrush(QColor(43, 43, 43, 255))
312
+ brush5.setStyle(Qt.BrushStyle.SolidPattern)
313
+ palette1.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.Light, brush5)
314
+ brush6 = QBrush(QColor(36, 36, 36, 255))
315
+ brush6.setStyle(Qt.BrushStyle.SolidPattern)
316
+ palette1.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.Midlight, brush6)
317
+ brush7 = QBrush(QColor(14, 14, 14, 255))
318
+ brush7.setStyle(Qt.BrushStyle.SolidPattern)
319
+ palette1.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.Dark, brush7)
320
+ brush8 = QBrush(QColor(19, 19, 19, 255))
321
+ brush8.setStyle(Qt.BrushStyle.SolidPattern)
322
+ palette1.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.Mid, brush8)
323
+ palette1.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.Text, brush)
324
+ palette1.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.BrightText, brush)
325
+ palette1.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.ButtonText, brush)
326
+ palette1.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.Base, brush1)
327
+ palette1.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.Window, brush1)
328
+ brush9 = QBrush(QColor(0, 0, 0, 255))
329
+ brush9.setStyle(Qt.BrushStyle.SolidPattern)
330
+ palette1.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.Shadow, brush9)
331
+ palette1.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.AlternateBase, brush7)
332
+ brush10 = QBrush(QColor(255, 255, 220, 255))
333
+ brush10.setStyle(Qt.BrushStyle.SolidPattern)
334
+ palette1.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.ToolTipBase, brush10)
335
+ palette1.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.ToolTipText, brush9)
336
+ brush11 = QBrush(QColor(255, 255, 255, 127))
337
+ brush11.setStyle(Qt.BrushStyle.SolidPattern)
338
+ #if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
339
+ palette1.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.PlaceholderText, brush11)
340
+ #endif
341
+ #if QT_VERSION >= QT_VERSION_CHECK(6, 6, 0)
342
+ palette1.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.Accent, brush9)
343
+ #endif
344
+ palette1.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.WindowText, brush)
345
+ palette1.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.Button, brush1)
346
+ palette1.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.Light, brush5)
347
+ palette1.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.Midlight, brush6)
348
+ palette1.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.Dark, brush7)
349
+ palette1.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.Mid, brush8)
350
+ palette1.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.Text, brush)
351
+ palette1.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.BrightText, brush)
352
+ palette1.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.ButtonText, brush)
353
+ palette1.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.Base, brush1)
354
+ palette1.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.Window, brush1)
355
+ palette1.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.Shadow, brush9)
356
+ palette1.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.AlternateBase, brush7)
357
+ palette1.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.ToolTipBase, brush10)
358
+ palette1.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.ToolTipText, brush9)
359
+ #if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
360
+ palette1.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.PlaceholderText, brush11)
361
+ #endif
362
+ #if QT_VERSION >= QT_VERSION_CHECK(6, 6, 0)
363
+ palette1.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.Accent, brush9)
364
+ #endif
365
+ palette1.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.WindowText, brush7)
366
+ palette1.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.Button, brush1)
367
+ palette1.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.Light, brush5)
368
+ palette1.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.Midlight, brush6)
369
+ palette1.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.Dark, brush7)
370
+ palette1.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.Mid, brush8)
371
+ palette1.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.Text, brush7)
372
+ palette1.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.BrightText, brush)
373
+ palette1.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.ButtonText, brush7)
374
+ palette1.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.Base, brush1)
375
+ palette1.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.Window, brush1)
376
+ palette1.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.Shadow, brush9)
377
+ brush12 = QBrush(QColor(29, 29, 29, 255))
378
+ brush12.setStyle(Qt.BrushStyle.SolidPattern)
379
+ palette1.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.AlternateBase, brush12)
380
+ palette1.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.ToolTipBase, brush10)
381
+ palette1.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.ToolTipText, brush9)
382
+ brush13 = QBrush(QColor(14, 14, 14, 127))
383
+ brush13.setStyle(Qt.BrushStyle.SolidPattern)
384
+ #if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
385
+ palette1.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.PlaceholderText, brush13)
386
+ #endif
387
+ brush14 = QBrush(QColor(20, 20, 20, 255))
388
+ brush14.setStyle(Qt.BrushStyle.SolidPattern)
389
+ #if QT_VERSION >= QT_VERSION_CHECK(6, 6, 0)
390
+ palette1.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.Accent, brush14)
391
+ #endif
392
+ self.menubar.setPalette(palette1)
393
+ font5 = QFont()
394
+ font5.setFamilies([u"Segoe Print"])
395
+ font5.setPointSize(9)
396
+ self.menubar.setFont(font5)
397
+ self.menubar.setLayoutDirection(Qt.LayoutDirection.LeftToRight)
398
+ self.menubar.setAutoFillBackground(False)
399
+ self.menubar.setStyleSheet(u"QMenu:hover{color: red}")
400
+ self.menu_qt = QMenu(self.menubar)
401
+ self.menu_qt.setObjectName(u"menu_qt")
402
+ self.menu_qt.setFont(font)
403
+ self.menu_qt.setCursor(QCursor(Qt.CursorShape.PointingHandCursor))
404
+ self.menu_qt.setTabletTracking(True)
405
+ self.menu_qt.setTearOffEnabled(False)
406
+ self.menu_qt.setToolTipsVisible(False)
407
+ self.menu_settings = QMenu(self.menubar)
408
+ self.menu_settings.setObjectName(u"menu_settings")
409
+ palette2 = QPalette()
410
+ palette2.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.WindowText, brush)
411
+ palette2.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.Button, brush1)
412
+ brush15 = QBrush(QColor(34, 34, 103, 255))
413
+ brush15.setStyle(Qt.BrushStyle.SolidPattern)
414
+ palette2.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.Mid, brush15)
415
+ palette2.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.Text, brush)
416
+ palette2.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.ButtonText, brush)
417
+ palette2.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.Base, brush1)
418
+ palette2.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.Window, brush1)
419
+ #if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
420
+ palette2.setBrush(QPalette.ColorGroup.Active, QPalette.ColorRole.PlaceholderText, brush3)
421
+ #endif
422
+ palette2.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.WindowText, brush)
423
+ palette2.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.Button, brush1)
424
+ palette2.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.Text, brush)
425
+ palette2.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.ButtonText, brush)
426
+ palette2.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.Base, brush1)
427
+ palette2.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.Window, brush1)
428
+ #if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
429
+ palette2.setBrush(QPalette.ColorGroup.Inactive, QPalette.ColorRole.PlaceholderText, brush3)
430
+ #endif
431
+ palette2.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.WindowText, brush)
432
+ palette2.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.Button, brush1)
433
+ palette2.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.Text, brush)
434
+ palette2.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.ButtonText, brush)
435
+ palette2.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.Base, brush1)
436
+ palette2.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.Window, brush1)
437
+ #if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
438
+ palette2.setBrush(QPalette.ColorGroup.Disabled, QPalette.ColorRole.PlaceholderText, brush3)
439
+ #endif
440
+ self.menu_settings.setPalette(palette2)
441
+ self.menu_help = QMenu(self.menubar)
442
+ self.menu_help.setObjectName(u"menu_help")
443
+ self.menu_help.setFont(font)
444
+ self.menu_help.setFocusPolicy(Qt.FocusPolicy.ClickFocus)
445
+ self.menu_help.setTearOffEnabled(False)
446
+ self.menu_help.setSeparatorsCollapsible(False)
447
+ self.menu_help.setToolTipsVisible(False)
448
+ MainWindow.setMenuBar(self.menubar)
449
+
450
+ self.menubar.addAction(self.menu_qt.menuAction())
451
+ self.menubar.addAction(self.menu_settings.menuAction())
452
+ self.menubar.addAction(self.menu_help.menuAction())
453
+ self.menu_qt.addAction(self.action_open_file)
454
+ self.menu_qt.addSeparator()
455
+ self.menu_qt.addAction(self.action_exit)
456
+ self.menu_settings.addAction(self.action_language)
457
+ self.menu_settings.addAction(self.action_theme)
458
+ self.menu_help.addAction(self.action_OSL)
459
+ self.menu_help.addAction(self.action_about)
460
+
461
+ self.retranslateUi(MainWindow)
462
+
463
+ QMetaObject.connectSlotsByName(MainWindow)
464
+ # setupUi
465
+
466
+ def retranslateUi(self, MainWindow):
467
+ MainWindow.setWindowTitle(QCoreApplication.translate("MainWindow", u"Bridgex - Dev2Forge", None))
468
+ #if QT_CONFIG(tooltip)
469
+ MainWindow.setToolTip("")
470
+ #endif // QT_CONFIG(tooltip)
471
+ self.action_open_file.setText(QCoreApplication.translate("MainWindow", u"Open File", None))
472
+ #if QT_CONFIG(shortcut)
473
+ self.action_open_file.setShortcut(QCoreApplication.translate("MainWindow", u"Ctrl+O", None))
474
+ #endif // QT_CONFIG(shortcut)
475
+ self.action_exit.setText(QCoreApplication.translate("MainWindow", u"Exit", None))
476
+ #if QT_CONFIG(shortcut)
477
+ self.action_exit.setShortcut(QCoreApplication.translate("MainWindow", u"Ctrl+W", None))
478
+ #endif // QT_CONFIG(shortcut)
479
+ self.action_about.setText(QCoreApplication.translate("MainWindow", u"About", None))
480
+ #if QT_CONFIG(shortcut)
481
+ self.action_about.setShortcut(QCoreApplication.translate("MainWindow", u"Ctrl+M", None))
482
+ #endif // QT_CONFIG(shortcut)
483
+ self.action_language.setText(QCoreApplication.translate("MainWindow", u"Language", None))
484
+ #if QT_CONFIG(shortcut)
485
+ self.action_language.setShortcut(QCoreApplication.translate("MainWindow", u"Ctrl+L", None))
486
+ #endif // QT_CONFIG(shortcut)
487
+ self.action_theme.setText(QCoreApplication.translate("MainWindow", u"Theme (Soon)", None))
488
+ #if QT_CONFIG(shortcut)
489
+ self.action_theme.setShortcut(QCoreApplication.translate("MainWindow", u"Ctrl+T", None))
490
+ #endif // QT_CONFIG(shortcut)
491
+ self.action_OSL.setText(QCoreApplication.translate("MainWindow", u"Open Source Licences", None))
492
+ #if QT_CONFIG(shortcut)
493
+ self.action_OSL.setShortcut(QCoreApplication.translate("MainWindow", u"Ctrl+N", None))
494
+ #endif // QT_CONFIG(shortcut)
495
+ #if QT_CONFIG(tooltip)
496
+ self.language_btn.setToolTip(QCoreApplication.translate("MainWindow", u"Change language", None))
497
+ #endif // QT_CONFIG(tooltip)
498
+ self.language_btn.setText("")
499
+ #if QT_CONFIG(shortcut)
500
+ self.language_btn.setShortcut(QCoreApplication.translate("MainWindow", u"Ctrl+A", None))
501
+ #endif // QT_CONFIG(shortcut)
502
+ #if QT_CONFIG(tooltip)
503
+ self.explorer_btn.setToolTip(QCoreApplication.translate("MainWindow", u"Open File", None))
504
+ #endif // QT_CONFIG(tooltip)
505
+ self.explorer_btn.setText("")
506
+ self.info_md.setText(QCoreApplication.translate("MainWindow", u"Markdown", None))
507
+ self.text_file_selected.setDocumentTitle("")
508
+ self.text_file_selected.setHtml(QCoreApplication.translate("MainWindow", u"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
509
+ "<html><head><meta name=\"qrichtext\" content=\"1\" /><meta charset=\"utf-8\" /><style type=\"text/css\">\n"
510
+ "p, li { white-space: pre-wrap; }\n"
511
+ "hr { height: 1px; border-width: 0; }\n"
512
+ "li.unchecked::marker { content: \"\\2610\"; }\n"
513
+ "li.checked::marker { content: \"\\2612\"; }\n"
514
+ "</style></head><body style=\" font-family:'Times New Roman'; font-size:12pt; font-weight:400; font-style:normal;\">\n"
515
+ "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Gabriola';\"><br /></p></body></html>", None))
516
+ self.info_preview.setText(QCoreApplication.translate("MainWindow", u"Preview", None))
517
+ #if QT_CONFIG(tooltip)
518
+ self.convert_btn.setToolTip(QCoreApplication.translate("MainWindow", u"Save file to Markdown (.md)", None))
519
+ #endif // QT_CONFIG(tooltip)
520
+ self.convert_btn.setText(QCoreApplication.translate("MainWindow", u"Convert", None))
521
+ #if QT_CONFIG(shortcut)
522
+ self.convert_btn.setShortcut(QCoreApplication.translate("MainWindow", u"Ctrl+Enter", None))
523
+ #endif // QT_CONFIG(shortcut)
524
+ #if QT_CONFIG(tooltip)
525
+ self.label.setToolTip("")
526
+ #endif // QT_CONFIG(tooltip)
527
+ self.label.setText(QCoreApplication.translate("MainWindow", u"<html><head/><body><p>\u00a92025 <a href=\"https://www.dev2forge.software\"><span style=\" text-decoration: underline; color:#27bf73;\">Dev2Forge</span></a>. Licensed under the <a href=\"https://github.com/Dev2Forge/bridgex/blob/main/LICENSE\"><span style=\" text-decoration: underline; color:#27bf73;\">MIT License</span></a></p><p><br/></p></body></html>", None))
528
+ self.menu_qt.setTitle(QCoreApplication.translate("MainWindow", u"Menu", None))
529
+ self.menu_settings.setTitle(QCoreApplication.translate("MainWindow", u"Preferences", None))
530
+ self.menu_help.setTitle(QCoreApplication.translate("MainWindow", u"Help", None))
531
+ # retranslateUi
532
+
@@ -0,0 +1,133 @@
1
+ # -*- coding: utf-8 -*-
2
+
3
+ ################################################################################
4
+ ## Form generated from reading UI file 'osl.ui'
5
+ ##
6
+ ## Created by: Qt User Interface Compiler version 6.9.0
7
+ ##
8
+ ## WARNING! All changes made in this file will be lost when recompiling UI file!
9
+ ################################################################################
10
+
11
+ from PySide6.QtCore import (QCoreApplication, QLocale, QMetaObject, QRect, QSize, Qt)
12
+ from PySide6.QtGui import QFont, QIcon
13
+ from PySide6.QtWidgets import (QComboBox, QDialogButtonBox, QFrame, QGridLayout, QLabel, QScrollArea, QWidget)
14
+ from . import resources_rc
15
+
16
+ class Ui_dialog_osl(object):
17
+ def setupUi(self, dialog_osl):
18
+ if not dialog_osl.objectName():
19
+ dialog_osl.setObjectName(u"dialog_osl")
20
+ dialog_osl.setWindowModality(Qt.WindowModality.WindowModal)
21
+ dialog_osl.resize(480, 640)
22
+ dialog_osl.setMinimumSize(QSize(480, 640))
23
+ dialog_osl.setMaximumSize(QSize(480, 640))
24
+ font = QFont()
25
+ font.setFamilies([u"Gabriola"])
26
+ font.setPointSize(12)
27
+ dialog_osl.setFont(font)
28
+ dialog_osl.setAcceptDrops(False)
29
+ icon = QIcon()
30
+ icon.addFile(u":/img/logo-bridgex-2", QSize(), QIcon.Mode.Normal, QIcon.State.Off)
31
+ dialog_osl.setWindowIcon(icon)
32
+ dialog_osl.setLocale(QLocale(QLocale.English, QLocale.UnitedKingdom))
33
+ dialog_osl.setSizeGripEnabled(False)
34
+ dialog_osl.setModal(True)
35
+ self.gridLayout_2 = QGridLayout(dialog_osl)
36
+ self.gridLayout_2.setObjectName(u"gridLayout_2")
37
+ self.select_library = QComboBox(dialog_osl)
38
+ self.select_library.addItem("")
39
+ self.select_library.addItem("")
40
+ self.select_library.addItem("")
41
+ self.select_library.setObjectName(u"select_library")
42
+ self.select_library.setMinimumSize(QSize(150, 0))
43
+ font1 = QFont()
44
+ font1.setFamilies([u"Gabriola"])
45
+ font1.setPointSize(14)
46
+ self.select_library.setFont(font1)
47
+ self.select_library.setLocale(QLocale(QLocale.English, QLocale.UnitedKingdom))
48
+
49
+ self.gridLayout_2.addWidget(self.select_library, 0, 1, 1, 1)
50
+
51
+ self.frame_container_osl = QFrame(dialog_osl)
52
+ self.frame_container_osl.setObjectName(u"frame_container_osl")
53
+ self.frame_container_osl.setFrameShape(QFrame.Shape.NoFrame)
54
+ self.frame_container_osl.setFrameShadow(QFrame.Shadow.Raised)
55
+ self.gridLayout = QGridLayout(self.frame_container_osl)
56
+ self.gridLayout.setObjectName(u"gridLayout")
57
+ self.scrollArea = QScrollArea(self.frame_container_osl)
58
+ self.scrollArea.setObjectName(u"scrollArea")
59
+ self.scrollArea.setWidgetResizable(True)
60
+ self.scrollAreaWidgetContents = QWidget()
61
+ self.scrollAreaWidgetContents.setObjectName(u"scrollAreaWidgetContents")
62
+ self.scrollAreaWidgetContents.setGeometry(QRect(0, 0, 442, 515))
63
+ self.gridLayout_3 = QGridLayout(self.scrollAreaWidgetContents)
64
+ self.gridLayout_3.setObjectName(u"gridLayout_3")
65
+ self.text_container_license = QLabel(self.scrollAreaWidgetContents)
66
+ self.text_container_license.setObjectName(u"text_container_license")
67
+ self.text_container_license.setMaximumSize(QSize(424, 16777215))
68
+ font2 = QFont()
69
+ font2.setFamilies([u"Times New Roman"])
70
+ font2.setPointSize(12)
71
+ self.text_container_license.setFont(font2)
72
+ self.text_container_license.setTextFormat(Qt.TextFormat.MarkdownText)
73
+ self.text_container_license.setWordWrap(True)
74
+ self.text_container_license.setOpenExternalLinks(True)
75
+ self.text_container_license.setTextInteractionFlags(Qt.TextInteractionFlag.LinksAccessibleByMouse|Qt.TextInteractionFlag.TextSelectableByMouse)
76
+
77
+ self.gridLayout_3.addWidget(self.text_container_license, 0, 0, 1, 1)
78
+
79
+ self.scrollArea.setWidget(self.scrollAreaWidgetContents)
80
+
81
+ self.gridLayout.addWidget(self.scrollArea, 1, 0, 1, 1)
82
+
83
+ self.url_osl = QLabel(self.frame_container_osl)
84
+ self.url_osl.setObjectName(u"url_osl")
85
+ self.url_osl.setMinimumSize(QSize(0, 20))
86
+ self.url_osl.setMaximumSize(QSize(444, 20))
87
+ self.url_osl.setTextFormat(Qt.TextFormat.MarkdownText)
88
+ self.url_osl.setAlignment(Qt.AlignmentFlag.AlignBottom|Qt.AlignmentFlag.AlignLeading|Qt.AlignmentFlag.AlignLeft)
89
+ self.url_osl.setOpenExternalLinks(True)
90
+
91
+ self.gridLayout.addWidget(self.url_osl, 0, 0, 1, 1)
92
+
93
+
94
+ self.gridLayout_2.addWidget(self.frame_container_osl, 1, 0, 1, 2)
95
+
96
+ self.info_osl = QLabel(dialog_osl)
97
+ self.info_osl.setObjectName(u"info_osl")
98
+ self.info_osl.setMaximumSize(QSize(300, 16777215))
99
+ self.info_osl.setFont(font1)
100
+ self.info_osl.setTextFormat(Qt.TextFormat.PlainText)
101
+ self.info_osl.setScaledContents(False)
102
+ self.info_osl.setAlignment(Qt.AlignmentFlag.AlignCenter)
103
+
104
+ self.gridLayout_2.addWidget(self.info_osl, 0, 0, 1, 1)
105
+
106
+ self.close_dialog_osl = QDialogButtonBox(dialog_osl)
107
+ self.close_dialog_osl.setObjectName(u"close_dialog_osl")
108
+ self.close_dialog_osl.setOrientation(Qt.Orientation.Horizontal)
109
+ self.close_dialog_osl.setStandardButtons(QDialogButtonBox.StandardButton.Close)
110
+ self.close_dialog_osl.setCenterButtons(True)
111
+
112
+ self.gridLayout_2.addWidget(self.close_dialog_osl, 2, 0, 1, 2)
113
+
114
+
115
+ self.retranslateUi(dialog_osl)
116
+ self.close_dialog_osl.accepted.connect(dialog_osl.accept)
117
+ self.close_dialog_osl.rejected.connect(dialog_osl.reject)
118
+
119
+ QMetaObject.connectSlotsByName(dialog_osl)
120
+ # setupUi
121
+
122
+ def retranslateUi(self, dialog_osl):
123
+ dialog_osl.setWindowTitle(QCoreApplication.translate("dialog_osl", u"Open Source Licenses - Notice", None))
124
+ self.select_library.setItemText(0, QCoreApplication.translate("dialog_osl", u"Select a library", None))
125
+ self.select_library.setItemText(1, QCoreApplication.translate("dialog_osl", u"Markitdown", None))
126
+ self.select_library.setItemText(2, QCoreApplication.translate("dialog_osl", u"PySide6", None))
127
+
128
+ self.select_library.setCurrentText(QCoreApplication.translate("dialog_osl", u"Select a library", None))
129
+ self.text_container_license.setText("")
130
+ self.url_osl.setText("")
131
+ self.info_osl.setText(QCoreApplication.translate("dialog_osl", u"CREDITS", None))
132
+ # retranslateUi
133
+