diff --git a/example/ui/dw_buttons_pyside2_ui.py b/example/ui/dw_buttons_pyside2_ui.py index e90472183..08487a375 100644 --- a/example/ui/dw_buttons_pyside2_ui.py +++ b/example/ui/dw_buttons_pyside2_ui.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'dw_buttons.ui' # -# Created: Sat Oct 27 00:00:52 2018 +# Created: Thu Nov 1 16:06:04 2018 # by: pyside2-uic 2.0.0 running on PySide2 5.6.0~a1 # # WARNING! All changes made in this file will be lost! diff --git a/example/ui/dw_buttons_pyside_ui.py b/example/ui/dw_buttons_pyside_ui.py index 1cdfdf800..2359fc536 100644 --- a/example/ui/dw_buttons_pyside_ui.py +++ b/example/ui/dw_buttons_pyside_ui.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'dw_buttons.ui' # -# Created: Sat Oct 27 00:00:52 2018 +# Created: Thu Nov 1 16:06:04 2018 # by: pyside-uic 0.2.15 running on PySide 1.2.2 # # WARNING! All changes made in this file will be lost! diff --git a/example/ui/dw_containers_no_tabs.ui b/example/ui/dw_containers_no_tabs.ui index 592c65f8f..842b86a1c 100644 --- a/example/ui/dw_containers_no_tabs.ui +++ b/example/ui/dw_containers_no_tabs.ui @@ -11,7 +11,7 @@ - Containers + Containers - No Tabs diff --git a/example/ui/dw_containers_no_tabs_pyqt5_ui.py b/example/ui/dw_containers_no_tabs_pyqt5_ui.py index 639c35f84..d5d8fb1d9 100644 --- a/example/ui/dw_containers_no_tabs_pyqt5_ui.py +++ b/example/ui/dw_containers_no_tabs_pyqt5_ui.py @@ -337,7 +337,7 @@ class Ui_DockWidget(object): def retranslateUi(self, DockWidget): _translate = QtCore.QCoreApplication.translate - DockWidget.setWindowTitle(_translate("DockWidget", "Containers")) + DockWidget.setWindowTitle(_translate("DockWidget", "Containers - No Tabs")) self.label_126.setText(_translate("DockWidget", "Disabled")) self.label_124.setText(_translate("DockWidget", "Enabled")) self.label_133.setText(_translate("DockWidget", "MDI Area")) diff --git a/example/ui/dw_containers_no_tabs_pyqt_ui.py b/example/ui/dw_containers_no_tabs_pyqt_ui.py index c620197af..f28847083 100644 --- a/example/ui/dw_containers_no_tabs_pyqt_ui.py +++ b/example/ui/dw_containers_no_tabs_pyqt_ui.py @@ -350,7 +350,7 @@ class Ui_DockWidget(object): QtCore.QMetaObject.connectSlotsByName(DockWidget) def retranslateUi(self, DockWidget): - DockWidget.setWindowTitle(_translate("DockWidget", "Containers", None)) + DockWidget.setWindowTitle(_translate("DockWidget", "Containers - No Tabs", None)) self.label_126.setText(_translate("DockWidget", "Disabled", None)) self.label_124.setText(_translate("DockWidget", "Enabled", None)) self.label_133.setText(_translate("DockWidget", "MDI Area", None)) diff --git a/example/ui/dw_containers_no_tabs_pyqtgraph_ui.py b/example/ui/dw_containers_no_tabs_pyqtgraph_ui.py index 565336283..8c5d204f2 100644 --- a/example/ui/dw_containers_no_tabs_pyqtgraph_ui.py +++ b/example/ui/dw_containers_no_tabs_pyqtgraph_ui.py @@ -350,7 +350,7 @@ class Ui_DockWidget(object): QtCore.QMetaObject.connectSlotsByName(DockWidget) def retranslateUi(self, DockWidget): - DockWidget.setWindowTitle(_translate("DockWidget", "Containers", None)) + DockWidget.setWindowTitle(_translate("DockWidget", "Containers - No Tabs", None)) self.label_126.setText(_translate("DockWidget", "Disabled", None)) self.label_124.setText(_translate("DockWidget", "Enabled", None)) self.label_133.setText(_translate("DockWidget", "MDI Area", None)) diff --git a/example/ui/dw_containers_no_tabs_pyside2_ui.py b/example/ui/dw_containers_no_tabs_pyside2_ui.py index 55666e678..8c2709a67 100644 --- a/example/ui/dw_containers_no_tabs_pyside2_ui.py +++ b/example/ui/dw_containers_no_tabs_pyside2_ui.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'dw_containers_no_tabs.ui' # -# Created: Sat Oct 27 00:00:52 2018 +# Created: Thu Nov 1 16:06:05 2018 # by: pyside2-uic 2.0.0 running on PySide2 5.6.0~a1 # # WARNING! All changes made in this file will be lost! @@ -339,7 +339,7 @@ class Ui_DockWidget(object): QtCore.QMetaObject.connectSlotsByName(DockWidget) def retranslateUi(self, DockWidget): - DockWidget.setWindowTitle(QtWidgets.QApplication.translate("DockWidget", "Containers", None, -1)) + DockWidget.setWindowTitle(QtWidgets.QApplication.translate("DockWidget", "Containers - No Tabs", None, -1)) self.label_126.setText(QtWidgets.QApplication.translate("DockWidget", "Disabled", None, -1)) self.label_124.setText(QtWidgets.QApplication.translate("DockWidget", "Enabled", None, -1)) self.label_133.setText(QtWidgets.QApplication.translate("DockWidget", "MDI Area", None, -1)) diff --git a/example/ui/dw_containers_no_tabs_pyside_ui.py b/example/ui/dw_containers_no_tabs_pyside_ui.py index 8325c1050..c49fd82fc 100644 --- a/example/ui/dw_containers_no_tabs_pyside_ui.py +++ b/example/ui/dw_containers_no_tabs_pyside_ui.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'dw_containers_no_tabs.ui' # -# Created: Sat Oct 27 00:00:52 2018 +# Created: Thu Nov 1 16:06:05 2018 # by: pyside-uic 0.2.15 running on PySide 1.2.2 # # WARNING! All changes made in this file will be lost! @@ -339,7 +339,7 @@ class Ui_DockWidget(object): QtCore.QMetaObject.connectSlotsByName(DockWidget) def retranslateUi(self, DockWidget): - DockWidget.setWindowTitle(QtGui.QApplication.translate("DockWidget", "Containers", None, QtGui.QApplication.UnicodeUTF8)) + DockWidget.setWindowTitle(QtGui.QApplication.translate("DockWidget", "Containers - No Tabs", None, QtGui.QApplication.UnicodeUTF8)) self.label_126.setText(QtGui.QApplication.translate("DockWidget", "Disabled", None, QtGui.QApplication.UnicodeUTF8)) self.label_124.setText(QtGui.QApplication.translate("DockWidget", "Enabled", None, QtGui.QApplication.UnicodeUTF8)) self.label_133.setText(QtGui.QApplication.translate("DockWidget", "MDI Area", None, QtGui.QApplication.UnicodeUTF8)) diff --git a/example/ui/dw_containers_no_tabs_qtpy_ui.py b/example/ui/dw_containers_no_tabs_qtpy_ui.py index 54f5407d0..922a21d63 100644 --- a/example/ui/dw_containers_no_tabs_qtpy_ui.py +++ b/example/ui/dw_containers_no_tabs_qtpy_ui.py @@ -337,7 +337,7 @@ class Ui_DockWidget(object): def retranslateUi(self, DockWidget): _translate = QtCore.QCoreApplication.translate - DockWidget.setWindowTitle(_translate("DockWidget", "Containers")) + DockWidget.setWindowTitle(_translate("DockWidget", "Containers - No Tabs")) self.label_126.setText(_translate("DockWidget", "Disabled")) self.label_124.setText(_translate("DockWidget", "Enabled")) self.label_133.setText(_translate("DockWidget", "MDI Area")) diff --git a/example/ui/dw_containers_tabs_pyside2_ui.py b/example/ui/dw_containers_tabs_pyside2_ui.py index a2f130272..634ede5e7 100644 --- a/example/ui/dw_containers_tabs_pyside2_ui.py +++ b/example/ui/dw_containers_tabs_pyside2_ui.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'dw_containers_tabs.ui' # -# Created: Sat Oct 27 00:00:51 2018 +# Created: Thu Nov 1 16:06:28 2018 # by: pyside2-uic 2.0.0 running on PySide2 5.6.0~a1 # # WARNING! All changes made in this file will be lost! diff --git a/example/ui/dw_containers_tabs_pyside_ui.py b/example/ui/dw_containers_tabs_pyside_ui.py index e7edf3808..57fb22613 100644 --- a/example/ui/dw_containers_tabs_pyside_ui.py +++ b/example/ui/dw_containers_tabs_pyside_ui.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'dw_containers_tabs.ui' # -# Created: Sat Oct 27 00:00:51 2018 +# Created: Thu Nov 1 16:06:28 2018 # by: pyside-uic 0.2.15 running on PySide 1.2.2 # # WARNING! All changes made in this file will be lost! diff --git a/example/ui/dw_displays_pyside2_ui.py b/example/ui/dw_displays_pyside2_ui.py index 95255ca79..8a348b299 100644 --- a/example/ui/dw_displays_pyside2_ui.py +++ b/example/ui/dw_displays_pyside2_ui.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'dw_displays.ui' # -# Created: Sat Oct 27 00:00:52 2018 +# Created: Thu Nov 1 16:06:04 2018 # by: pyside2-uic 2.0.0 running on PySide2 5.6.0~a1 # # WARNING! All changes made in this file will be lost! diff --git a/example/ui/dw_displays_pyside_ui.py b/example/ui/dw_displays_pyside_ui.py index aea6cd375..71481719c 100644 --- a/example/ui/dw_displays_pyside_ui.py +++ b/example/ui/dw_displays_pyside_ui.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'dw_displays.ui' # -# Created: Sat Oct 27 00:00:52 2018 +# Created: Thu Nov 1 16:06:04 2018 # by: pyside-uic 0.2.15 running on PySide 1.2.2 # # WARNING! All changes made in this file will be lost! diff --git a/example/ui/dw_inputs_fields_pyside2_ui.py b/example/ui/dw_inputs_fields_pyside2_ui.py index 67da068fa..d1e33f231 100644 --- a/example/ui/dw_inputs_fields_pyside2_ui.py +++ b/example/ui/dw_inputs_fields_pyside2_ui.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'dw_inputs_fields.ui' # -# Created: Sat Oct 27 00:00:52 2018 +# Created: Thu Nov 1 16:06:28 2018 # by: pyside2-uic 2.0.0 running on PySide2 5.6.0~a1 # # WARNING! All changes made in this file will be lost! diff --git a/example/ui/dw_inputs_fields_pyside_ui.py b/example/ui/dw_inputs_fields_pyside_ui.py index 3a09dceaf..3a115514b 100644 --- a/example/ui/dw_inputs_fields_pyside_ui.py +++ b/example/ui/dw_inputs_fields_pyside_ui.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'dw_inputs_fields.ui' # -# Created: Sat Oct 27 00:00:51 2018 +# Created: Thu Nov 1 16:06:28 2018 # by: pyside-uic 0.2.15 running on PySide 1.2.2 # # WARNING! All changes made in this file will be lost! diff --git a/example/ui/dw_inputs_no_fields_pyside2_ui.py b/example/ui/dw_inputs_no_fields_pyside2_ui.py index 618b1bbcc..0053993b1 100644 --- a/example/ui/dw_inputs_no_fields_pyside2_ui.py +++ b/example/ui/dw_inputs_no_fields_pyside2_ui.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'dw_inputs_no_fields.ui' # -# Created: Sat Oct 27 00:00:53 2018 +# Created: Thu Nov 1 16:06:05 2018 # by: pyside2-uic 2.0.0 running on PySide2 5.6.0~a1 # # WARNING! All changes made in this file will be lost! diff --git a/example/ui/dw_inputs_no_fields_pyside_ui.py b/example/ui/dw_inputs_no_fields_pyside_ui.py index 31bdfe6f6..e78f54fe1 100644 --- a/example/ui/dw_inputs_no_fields_pyside_ui.py +++ b/example/ui/dw_inputs_no_fields_pyside_ui.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'dw_inputs_no_fields.ui' # -# Created: Sat Oct 27 00:00:53 2018 +# Created: Thu Nov 1 16:06:05 2018 # by: pyside-uic 0.2.15 running on PySide 1.2.2 # # WARNING! All changes made in this file will be lost! diff --git a/example/ui/dw_views_pyside2_ui.py b/example/ui/dw_views_pyside2_ui.py index 7da9fb436..bb9449fef 100644 --- a/example/ui/dw_views_pyside2_ui.py +++ b/example/ui/dw_views_pyside2_ui.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'dw_views.ui' # -# Created: Sat Oct 27 00:00:53 2018 +# Created: Thu Nov 1 16:06:05 2018 # by: pyside2-uic 2.0.0 running on PySide2 5.6.0~a1 # # WARNING! All changes made in this file will be lost! diff --git a/example/ui/dw_views_pyside_ui.py b/example/ui/dw_views_pyside_ui.py index 47c7eb3df..60ef7e42d 100644 --- a/example/ui/dw_views_pyside_ui.py +++ b/example/ui/dw_views_pyside_ui.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'dw_views.ui' # -# Created: Sat Oct 27 00:00:53 2018 +# Created: Thu Nov 1 16:06:05 2018 # by: pyside-uic 0.2.15 running on PySide 1.2.2 # # WARNING! All changes made in this file will be lost! diff --git a/example/ui/dw_widgets_pyside2_ui.py b/example/ui/dw_widgets_pyside2_ui.py index 89723beea..721d599b6 100644 --- a/example/ui/dw_widgets_pyside2_ui.py +++ b/example/ui/dw_widgets_pyside2_ui.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'dw_widgets.ui' # -# Created: Sat Oct 27 00:00:53 2018 +# Created: Thu Nov 1 16:06:05 2018 # by: pyside2-uic 2.0.0 running on PySide2 5.6.0~a1 # # WARNING! All changes made in this file will be lost! diff --git a/example/ui/dw_widgets_pyside_ui.py b/example/ui/dw_widgets_pyside_ui.py index 259e66cce..cc46c1937 100644 --- a/example/ui/dw_widgets_pyside_ui.py +++ b/example/ui/dw_widgets_pyside_ui.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'dw_widgets.ui' # -# Created: Sat Oct 27 00:00:53 2018 +# Created: Thu Nov 1 16:06:05 2018 # by: pyside-uic 0.2.15 running on PySide 1.2.2 # # WARNING! All changes made in this file will be lost! diff --git a/example/ui/mw_menus.ui b/example/ui/mw_menus.ui index 15c7e4669..08f364463 100644 --- a/example/ui/mw_menus.ui +++ b/example/ui/mw_menus.ui @@ -6,8 +6,8 @@ 0 0 - 662 - 307 + 742 + 439 @@ -15,6 +15,113 @@ + + + + Issue #115 - Tabs scroller buttons + + + + + + 11 + + + + Tab 1 + + + + + Tab 2 + + + + + Page + + + + + Page + + + + + Page + + + + + Page + + + + + Page + + + + + Page + + + + + Page + + + + + Page + + + + + Page + + + + + Page + + + + + + + + + + + Issue #112 - Hyperlinks color + + + + + + <html><head/><body><p align="center"><a href="https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues/112"><span style=" font-size:10pt; text-decoration: underline; color:#0000ff;">Hyperlink Example</span></a></p><p align="center"><span style=" font-size:10pt; color:#7d7d7d;">CSS for the documents (RichText) is not the same as the application. We cannot change the internal content CSS, e.g., hyperlinks. We suggest you use the middle tons (0-255, use 125), so this works for both white and dark theme (this color). The original color is the blue link on top.</span></p><p align="center"><br/></p></body></html> + + + Qt::RichText + + + Qt::AlignCenter + + + true + + + true + + + Qt::TextBrowserInteraction + + + + + + @@ -25,25 +132,6 @@ - - - - <html><head/><body><p align="center"><a href="https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues/112"><span style=" text-decoration: underline; color:#0000ff;">Hyperlink Example</span></a></p><p align="center"><a href="https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues/112"><span style=" text-decoration: underline; color:#aa0000;">CSS for the documents (RichText) </span></a></p><p align="center"><a href="https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues/112"><span style=" text-decoration: underline; color:#aa0000;">is not the same as the application.</span></a></p><p align="center"><a href="https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues/112"><span style=" text-decoration: underline; color:#aa0000;">We cannot change the internal </span></a></p><p align="center"><a href="https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues/112"><span style=" text-decoration: underline; color:#aa0000;">content CSS, e.g., hyperlinks.</span></a></p><p align="center"><a href="https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues/112"><span style=" text-decoration: underline; color:#4d545b;">See issue #112.</span></a></p></body></html> - - - Qt::RichText - - - Qt::AlignCenter - - - true - - - Qt::TextBrowserInteraction - - - @@ -51,7 +139,7 @@ 0 0 - 662 + 742 28 @@ -139,10 +227,10 @@ Tool bar action checkable - LeftToolBarArea + TopToolBarArea - false + true diff --git a/example/ui/mw_menus_pyqt5_ui.py b/example/ui/mw_menus_pyqt5_ui.py index 559ce616d..2a810bbde 100644 --- a/example/ui/mw_menus_pyqt5_ui.py +++ b/example/ui/mw_menus_pyqt5_ui.py @@ -11,25 +11,75 @@ from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") - MainWindow.resize(662, 307) + MainWindow.resize(742, 439) self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.centralwidget) self.verticalLayout_4.setObjectName("verticalLayout_4") + self.groupBox_2 = QtWidgets.QGroupBox(self.centralwidget) + self.groupBox_2.setObjectName("groupBox_2") + self.gridLayout = QtWidgets.QGridLayout(self.groupBox_2) + self.gridLayout.setObjectName("gridLayout") + self.tabWidget = QtWidgets.QTabWidget(self.groupBox_2) + self.tabWidget.setObjectName("tabWidget") + self.tab = QtWidgets.QWidget() + self.tab.setObjectName("tab") + self.tabWidget.addTab(self.tab, "") + self.tab_2 = QtWidgets.QWidget() + self.tab_2.setObjectName("tab_2") + self.tabWidget.addTab(self.tab_2, "") + self.tab_3 = QtWidgets.QWidget() + self.tab_3.setObjectName("tab_3") + self.tabWidget.addTab(self.tab_3, "") + self.tab_4 = QtWidgets.QWidget() + self.tab_4.setObjectName("tab_4") + self.tabWidget.addTab(self.tab_4, "") + self.tab_5 = QtWidgets.QWidget() + self.tab_5.setObjectName("tab_5") + self.tabWidget.addTab(self.tab_5, "") + self.tab_6 = QtWidgets.QWidget() + self.tab_6.setObjectName("tab_6") + self.tabWidget.addTab(self.tab_6, "") + self.tab_7 = QtWidgets.QWidget() + self.tab_7.setObjectName("tab_7") + self.tabWidget.addTab(self.tab_7, "") + self.tab_8 = QtWidgets.QWidget() + self.tab_8.setObjectName("tab_8") + self.tabWidget.addTab(self.tab_8, "") + self.tab_9 = QtWidgets.QWidget() + self.tab_9.setObjectName("tab_9") + self.tabWidget.addTab(self.tab_9, "") + self.tab_10 = QtWidgets.QWidget() + self.tab_10.setObjectName("tab_10") + self.tabWidget.addTab(self.tab_10, "") + self.tab_11 = QtWidgets.QWidget() + self.tab_11.setObjectName("tab_11") + self.tabWidget.addTab(self.tab_11, "") + self.tab_12 = QtWidgets.QWidget() + self.tab_12.setObjectName("tab_12") + self.tabWidget.addTab(self.tab_12, "") + self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1) + self.verticalLayout_4.addWidget(self.groupBox_2) + self.groupBox = QtWidgets.QGroupBox(self.centralwidget) + self.groupBox.setObjectName("groupBox") + self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox) + self.gridLayout_2.setObjectName("gridLayout_2") + self.label = QtWidgets.QLabel(self.groupBox) + self.label.setTextFormat(QtCore.Qt.RichText) + self.label.setAlignment(QtCore.Qt.AlignCenter) + self.label.setWordWrap(True) + self.label.setOpenExternalLinks(True) + self.label.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction) + self.label.setObjectName("label") + self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1) + self.verticalLayout_4.addWidget(self.groupBox) self.label_71 = QtWidgets.QLabel(self.centralwidget) self.label_71.setAlignment(QtCore.Qt.AlignCenter) self.label_71.setObjectName("label_71") self.verticalLayout_4.addWidget(self.label_71) - self.label = QtWidgets.QLabel(self.centralwidget) - self.label.setTextFormat(QtCore.Qt.RichText) - self.label.setAlignment(QtCore.Qt.AlignCenter) - self.label.setOpenExternalLinks(True) - self.label.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction) - self.label.setObjectName("label") - self.verticalLayout_4.addWidget(self.label) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtWidgets.QMenuBar(MainWindow) - self.menubar.setGeometry(QtCore.QRect(0, 0, 662, 28)) + self.menubar.setGeometry(QtCore.QRect(0, 0, 742, 28)) self.menubar.setObjectName("menubar") self.menuMenu = QtWidgets.QMenu(self.menubar) self.menuMenu.setObjectName("menuMenu") @@ -57,7 +107,8 @@ class Ui_MainWindow(object): MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarDelayed) self.toolBarCheckable = QtWidgets.QToolBar(MainWindow) self.toolBarCheckable.setObjectName("toolBarCheckable") - MainWindow.addToolBar(QtCore.Qt.LeftToolBarArea, self.toolBarCheckable) + MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarCheckable) + MainWindow.insertToolBarBreak(self.toolBarCheckable) self.actionActionA = QtWidgets.QAction(MainWindow) self.actionActionA.setObjectName("actionActionA") self.actionActionSubA = QtWidgets.QAction(MainWindow) @@ -104,13 +155,28 @@ class Ui_MainWindow(object): self.toolBarCheckable.addAction(self.actionActionCheckableSubAUnchecked) self.retranslateUi(MainWindow) + self.tabWidget.setCurrentIndex(11) QtCore.QMetaObject.connectSlotsByName(MainWindow) def retranslateUi(self, MainWindow): _translate = QtCore.QCoreApplication.translate MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow")) + self.groupBox_2.setTitle(_translate("MainWindow", "Issue #115 - Tabs scroller buttons")) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "Tab 1")) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Tab 2")) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("MainWindow", "Page")) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), _translate("MainWindow", "Page")) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5), _translate("MainWindow", "Page")) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_6), _translate("MainWindow", "Page")) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_7), _translate("MainWindow", "Page")) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_8), _translate("MainWindow", "Page")) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_9), _translate("MainWindow", "Page")) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_10), _translate("MainWindow", "Page")) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_11), _translate("MainWindow", "Page")) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_12), _translate("MainWindow", "Page")) + self.groupBox.setTitle(_translate("MainWindow", "Issue #112 - Hyperlinks color")) + self.label.setText(_translate("MainWindow", "

Hyperlink Example

CSS for the documents (RichText) is not the same as the application. We cannot change the internal content CSS, e.g., hyperlinks. We suggest you use the middle tons (0-255, use 125), so this works for both white and dark theme (this color). The original color is the blue link on top.


")) self.label_71.setText(_translate("MainWindow", "Inside Central Widget")) - self.label.setText(_translate("MainWindow", "

Hyperlink Example

CSS for the documents (RichText)

is not the same as the application.

We cannot change the internal

content CSS, e.g., hyperlinks.

See issue #112.

")) self.menuMenu.setTitle(_translate("MainWindow", "Menu")) self.menuMenuSub.setTitle(_translate("MainWindow", "Menu Sub")) self.menuMenuDelayed.setTitle(_translate("MainWindow", "Menu Delayed")) diff --git a/example/ui/mw_menus_pyqt_ui.py b/example/ui/mw_menus_pyqt_ui.py index 7cf52c0f9..0fa5d2805 100644 --- a/example/ui/mw_menus_pyqt_ui.py +++ b/example/ui/mw_menus_pyqt_ui.py @@ -25,25 +25,75 @@ except AttributeError: class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName(_fromUtf8("MainWindow")) - MainWindow.resize(662, 307) + MainWindow.resize(742, 439) self.centralwidget = QtGui.QWidget(MainWindow) self.centralwidget.setObjectName(_fromUtf8("centralwidget")) self.verticalLayout_4 = QtGui.QVBoxLayout(self.centralwidget) self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) + self.groupBox_2 = QtGui.QGroupBox(self.centralwidget) + self.groupBox_2.setObjectName(_fromUtf8("groupBox_2")) + self.gridLayout = QtGui.QGridLayout(self.groupBox_2) + self.gridLayout.setObjectName(_fromUtf8("gridLayout")) + self.tabWidget = QtGui.QTabWidget(self.groupBox_2) + self.tabWidget.setObjectName(_fromUtf8("tabWidget")) + self.tab = QtGui.QWidget() + self.tab.setObjectName(_fromUtf8("tab")) + self.tabWidget.addTab(self.tab, _fromUtf8("")) + self.tab_2 = QtGui.QWidget() + self.tab_2.setObjectName(_fromUtf8("tab_2")) + self.tabWidget.addTab(self.tab_2, _fromUtf8("")) + self.tab_3 = QtGui.QWidget() + self.tab_3.setObjectName(_fromUtf8("tab_3")) + self.tabWidget.addTab(self.tab_3, _fromUtf8("")) + self.tab_4 = QtGui.QWidget() + self.tab_4.setObjectName(_fromUtf8("tab_4")) + self.tabWidget.addTab(self.tab_4, _fromUtf8("")) + self.tab_5 = QtGui.QWidget() + self.tab_5.setObjectName(_fromUtf8("tab_5")) + self.tabWidget.addTab(self.tab_5, _fromUtf8("")) + self.tab_6 = QtGui.QWidget() + self.tab_6.setObjectName(_fromUtf8("tab_6")) + self.tabWidget.addTab(self.tab_6, _fromUtf8("")) + self.tab_7 = QtGui.QWidget() + self.tab_7.setObjectName(_fromUtf8("tab_7")) + self.tabWidget.addTab(self.tab_7, _fromUtf8("")) + self.tab_8 = QtGui.QWidget() + self.tab_8.setObjectName(_fromUtf8("tab_8")) + self.tabWidget.addTab(self.tab_8, _fromUtf8("")) + self.tab_9 = QtGui.QWidget() + self.tab_9.setObjectName(_fromUtf8("tab_9")) + self.tabWidget.addTab(self.tab_9, _fromUtf8("")) + self.tab_10 = QtGui.QWidget() + self.tab_10.setObjectName(_fromUtf8("tab_10")) + self.tabWidget.addTab(self.tab_10, _fromUtf8("")) + self.tab_11 = QtGui.QWidget() + self.tab_11.setObjectName(_fromUtf8("tab_11")) + self.tabWidget.addTab(self.tab_11, _fromUtf8("")) + self.tab_12 = QtGui.QWidget() + self.tab_12.setObjectName(_fromUtf8("tab_12")) + self.tabWidget.addTab(self.tab_12, _fromUtf8("")) + self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1) + self.verticalLayout_4.addWidget(self.groupBox_2) + self.groupBox = QtGui.QGroupBox(self.centralwidget) + self.groupBox.setObjectName(_fromUtf8("groupBox")) + self.gridLayout_2 = QtGui.QGridLayout(self.groupBox) + self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) + self.label = QtGui.QLabel(self.groupBox) + self.label.setTextFormat(QtCore.Qt.RichText) + self.label.setAlignment(QtCore.Qt.AlignCenter) + self.label.setWordWrap(True) + self.label.setOpenExternalLinks(True) + self.label.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction) + self.label.setObjectName(_fromUtf8("label")) + self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1) + self.verticalLayout_4.addWidget(self.groupBox) self.label_71 = QtGui.QLabel(self.centralwidget) self.label_71.setAlignment(QtCore.Qt.AlignCenter) self.label_71.setObjectName(_fromUtf8("label_71")) self.verticalLayout_4.addWidget(self.label_71) - self.label = QtGui.QLabel(self.centralwidget) - self.label.setTextFormat(QtCore.Qt.RichText) - self.label.setAlignment(QtCore.Qt.AlignCenter) - self.label.setOpenExternalLinks(True) - self.label.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction) - self.label.setObjectName(_fromUtf8("label")) - self.verticalLayout_4.addWidget(self.label) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(MainWindow) - self.menubar.setGeometry(QtCore.QRect(0, 0, 662, 28)) + self.menubar.setGeometry(QtCore.QRect(0, 0, 742, 28)) self.menubar.setObjectName(_fromUtf8("menubar")) self.menuMenu = QtGui.QMenu(self.menubar) self.menuMenu.setObjectName(_fromUtf8("menuMenu")) @@ -71,7 +121,8 @@ class Ui_MainWindow(object): MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarDelayed) self.toolBarCheckable = QtGui.QToolBar(MainWindow) self.toolBarCheckable.setObjectName(_fromUtf8("toolBarCheckable")) - MainWindow.addToolBar(QtCore.Qt.LeftToolBarArea, self.toolBarCheckable) + MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarCheckable) + MainWindow.insertToolBarBreak(self.toolBarCheckable) self.actionActionA = QtGui.QAction(MainWindow) self.actionActionA.setObjectName(_fromUtf8("actionActionA")) self.actionActionSubA = QtGui.QAction(MainWindow) @@ -118,12 +169,27 @@ class Ui_MainWindow(object): self.toolBarCheckable.addAction(self.actionActionCheckableSubAUnchecked) self.retranslateUi(MainWindow) + self.tabWidget.setCurrentIndex(11) QtCore.QMetaObject.connectSlotsByName(MainWindow) def retranslateUi(self, MainWindow): MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None)) + self.groupBox_2.setTitle(_translate("MainWindow", "Issue #115 - Tabs scroller buttons", None)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "Tab 1", None)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Tab 2", None)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("MainWindow", "Page", None)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), _translate("MainWindow", "Page", None)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5), _translate("MainWindow", "Page", None)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_6), _translate("MainWindow", "Page", None)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_7), _translate("MainWindow", "Page", None)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_8), _translate("MainWindow", "Page", None)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_9), _translate("MainWindow", "Page", None)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_10), _translate("MainWindow", "Page", None)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_11), _translate("MainWindow", "Page", None)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_12), _translate("MainWindow", "Page", None)) + self.groupBox.setTitle(_translate("MainWindow", "Issue #112 - Hyperlinks color", None)) + self.label.setText(_translate("MainWindow", "

Hyperlink Example

CSS for the documents (RichText) is not the same as the application. We cannot change the internal content CSS, e.g., hyperlinks. We suggest you use the middle tons (0-255, use 125), so this works for both white and dark theme (this color). The original color is the blue link on top.


", None)) self.label_71.setText(_translate("MainWindow", "Inside Central Widget", None)) - self.label.setText(_translate("MainWindow", "

Hyperlink Example

CSS for the documents (RichText)

is not the same as the application.

We cannot change the internal

content CSS, e.g., hyperlinks.

See issue #112.

", None)) self.menuMenu.setTitle(_translate("MainWindow", "Menu", None)) self.menuMenuSub.setTitle(_translate("MainWindow", "Menu Sub", None)) self.menuMenuDelayed.setTitle(_translate("MainWindow", "Menu Delayed", None)) diff --git a/example/ui/mw_menus_pyqtgraph_ui.py b/example/ui/mw_menus_pyqtgraph_ui.py index 36144f387..2419f036c 100644 --- a/example/ui/mw_menus_pyqtgraph_ui.py +++ b/example/ui/mw_menus_pyqtgraph_ui.py @@ -25,25 +25,75 @@ except AttributeError: class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName(_fromUtf8("MainWindow")) - MainWindow.resize(662, 307) + MainWindow.resize(742, 439) self.centralwidget = QtGui.QWidget(MainWindow) self.centralwidget.setObjectName(_fromUtf8("centralwidget")) self.verticalLayout_4 = QtGui.QVBoxLayout(self.centralwidget) self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) + self.groupBox_2 = QtGui.QGroupBox(self.centralwidget) + self.groupBox_2.setObjectName(_fromUtf8("groupBox_2")) + self.gridLayout = QtGui.QGridLayout(self.groupBox_2) + self.gridLayout.setObjectName(_fromUtf8("gridLayout")) + self.tabWidget = QtGui.QTabWidget(self.groupBox_2) + self.tabWidget.setObjectName(_fromUtf8("tabWidget")) + self.tab = QtGui.QWidget() + self.tab.setObjectName(_fromUtf8("tab")) + self.tabWidget.addTab(self.tab, _fromUtf8("")) + self.tab_2 = QtGui.QWidget() + self.tab_2.setObjectName(_fromUtf8("tab_2")) + self.tabWidget.addTab(self.tab_2, _fromUtf8("")) + self.tab_3 = QtGui.QWidget() + self.tab_3.setObjectName(_fromUtf8("tab_3")) + self.tabWidget.addTab(self.tab_3, _fromUtf8("")) + self.tab_4 = QtGui.QWidget() + self.tab_4.setObjectName(_fromUtf8("tab_4")) + self.tabWidget.addTab(self.tab_4, _fromUtf8("")) + self.tab_5 = QtGui.QWidget() + self.tab_5.setObjectName(_fromUtf8("tab_5")) + self.tabWidget.addTab(self.tab_5, _fromUtf8("")) + self.tab_6 = QtGui.QWidget() + self.tab_6.setObjectName(_fromUtf8("tab_6")) + self.tabWidget.addTab(self.tab_6, _fromUtf8("")) + self.tab_7 = QtGui.QWidget() + self.tab_7.setObjectName(_fromUtf8("tab_7")) + self.tabWidget.addTab(self.tab_7, _fromUtf8("")) + self.tab_8 = QtGui.QWidget() + self.tab_8.setObjectName(_fromUtf8("tab_8")) + self.tabWidget.addTab(self.tab_8, _fromUtf8("")) + self.tab_9 = QtGui.QWidget() + self.tab_9.setObjectName(_fromUtf8("tab_9")) + self.tabWidget.addTab(self.tab_9, _fromUtf8("")) + self.tab_10 = QtGui.QWidget() + self.tab_10.setObjectName(_fromUtf8("tab_10")) + self.tabWidget.addTab(self.tab_10, _fromUtf8("")) + self.tab_11 = QtGui.QWidget() + self.tab_11.setObjectName(_fromUtf8("tab_11")) + self.tabWidget.addTab(self.tab_11, _fromUtf8("")) + self.tab_12 = QtGui.QWidget() + self.tab_12.setObjectName(_fromUtf8("tab_12")) + self.tabWidget.addTab(self.tab_12, _fromUtf8("")) + self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1) + self.verticalLayout_4.addWidget(self.groupBox_2) + self.groupBox = QtGui.QGroupBox(self.centralwidget) + self.groupBox.setObjectName(_fromUtf8("groupBox")) + self.gridLayout_2 = QtGui.QGridLayout(self.groupBox) + self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) + self.label = QtGui.QLabel(self.groupBox) + self.label.setTextFormat(QtCore.Qt.RichText) + self.label.setAlignment(QtCore.Qt.AlignCenter) + self.label.setWordWrap(True) + self.label.setOpenExternalLinks(True) + self.label.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction) + self.label.setObjectName(_fromUtf8("label")) + self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1) + self.verticalLayout_4.addWidget(self.groupBox) self.label_71 = QtGui.QLabel(self.centralwidget) self.label_71.setAlignment(QtCore.Qt.AlignCenter) self.label_71.setObjectName(_fromUtf8("label_71")) self.verticalLayout_4.addWidget(self.label_71) - self.label = QtGui.QLabel(self.centralwidget) - self.label.setTextFormat(QtCore.Qt.RichText) - self.label.setAlignment(QtCore.Qt.AlignCenter) - self.label.setOpenExternalLinks(True) - self.label.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction) - self.label.setObjectName(_fromUtf8("label")) - self.verticalLayout_4.addWidget(self.label) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(MainWindow) - self.menubar.setGeometry(QtCore.QRect(0, 0, 662, 28)) + self.menubar.setGeometry(QtCore.QRect(0, 0, 742, 28)) self.menubar.setObjectName(_fromUtf8("menubar")) self.menuMenu = QtGui.QMenu(self.menubar) self.menuMenu.setObjectName(_fromUtf8("menuMenu")) @@ -71,7 +121,8 @@ class Ui_MainWindow(object): MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarDelayed) self.toolBarCheckable = QtGui.QToolBar(MainWindow) self.toolBarCheckable.setObjectName(_fromUtf8("toolBarCheckable")) - MainWindow.addToolBar(QtCore.Qt.LeftToolBarArea, self.toolBarCheckable) + MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarCheckable) + MainWindow.insertToolBarBreak(self.toolBarCheckable) self.actionActionA = QtGui.QAction(MainWindow) self.actionActionA.setObjectName(_fromUtf8("actionActionA")) self.actionActionSubA = QtGui.QAction(MainWindow) @@ -118,12 +169,27 @@ class Ui_MainWindow(object): self.toolBarCheckable.addAction(self.actionActionCheckableSubAUnchecked) self.retranslateUi(MainWindow) + self.tabWidget.setCurrentIndex(11) QtCore.QMetaObject.connectSlotsByName(MainWindow) def retranslateUi(self, MainWindow): MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None)) + self.groupBox_2.setTitle(_translate("MainWindow", "Issue #115 - Tabs scroller buttons", None)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "Tab 1", None)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Tab 2", None)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("MainWindow", "Page", None)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), _translate("MainWindow", "Page", None)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5), _translate("MainWindow", "Page", None)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_6), _translate("MainWindow", "Page", None)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_7), _translate("MainWindow", "Page", None)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_8), _translate("MainWindow", "Page", None)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_9), _translate("MainWindow", "Page", None)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_10), _translate("MainWindow", "Page", None)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_11), _translate("MainWindow", "Page", None)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_12), _translate("MainWindow", "Page", None)) + self.groupBox.setTitle(_translate("MainWindow", "Issue #112 - Hyperlinks color", None)) + self.label.setText(_translate("MainWindow", "

Hyperlink Example

CSS for the documents (RichText) is not the same as the application. We cannot change the internal content CSS, e.g., hyperlinks. We suggest you use the middle tons (0-255, use 125), so this works for both white and dark theme (this color). The original color is the blue link on top.


", None)) self.label_71.setText(_translate("MainWindow", "Inside Central Widget", None)) - self.label.setText(_translate("MainWindow", "

Hyperlink Example

CSS for the documents (RichText)

is not the same as the application.

We cannot change the internal

content CSS, e.g., hyperlinks.

See issue #112.

", None)) self.menuMenu.setTitle(_translate("MainWindow", "Menu", None)) self.menuMenuSub.setTitle(_translate("MainWindow", "Menu Sub", None)) self.menuMenuDelayed.setTitle(_translate("MainWindow", "Menu Delayed", None)) diff --git a/example/ui/mw_menus_pyside2_ui.py b/example/ui/mw_menus_pyside2_ui.py index 1a197615d..7e3d12196 100644 --- a/example/ui/mw_menus_pyside2_ui.py +++ b/example/ui/mw_menus_pyside2_ui.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'mw_menus.ui' # -# Created: Sat Oct 27 00:00:52 2018 +# Created: Thu Nov 1 16:06:04 2018 # by: pyside2-uic 2.0.0 running on PySide2 5.6.0~a1 # # WARNING! All changes made in this file will be lost! @@ -12,25 +12,75 @@ from PySide2 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") - MainWindow.resize(662, 307) + MainWindow.resize(742, 439) self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.centralwidget) self.verticalLayout_4.setObjectName("verticalLayout_4") + self.groupBox_2 = QtWidgets.QGroupBox(self.centralwidget) + self.groupBox_2.setObjectName("groupBox_2") + self.gridLayout = QtWidgets.QGridLayout(self.groupBox_2) + self.gridLayout.setObjectName("gridLayout") + self.tabWidget = QtWidgets.QTabWidget(self.groupBox_2) + self.tabWidget.setObjectName("tabWidget") + self.tab = QtWidgets.QWidget() + self.tab.setObjectName("tab") + self.tabWidget.addTab(self.tab, "") + self.tab_2 = QtWidgets.QWidget() + self.tab_2.setObjectName("tab_2") + self.tabWidget.addTab(self.tab_2, "") + self.tab_3 = QtWidgets.QWidget() + self.tab_3.setObjectName("tab_3") + self.tabWidget.addTab(self.tab_3, "") + self.tab_4 = QtWidgets.QWidget() + self.tab_4.setObjectName("tab_4") + self.tabWidget.addTab(self.tab_4, "") + self.tab_5 = QtWidgets.QWidget() + self.tab_5.setObjectName("tab_5") + self.tabWidget.addTab(self.tab_5, "") + self.tab_6 = QtWidgets.QWidget() + self.tab_6.setObjectName("tab_6") + self.tabWidget.addTab(self.tab_6, "") + self.tab_7 = QtWidgets.QWidget() + self.tab_7.setObjectName("tab_7") + self.tabWidget.addTab(self.tab_7, "") + self.tab_8 = QtWidgets.QWidget() + self.tab_8.setObjectName("tab_8") + self.tabWidget.addTab(self.tab_8, "") + self.tab_9 = QtWidgets.QWidget() + self.tab_9.setObjectName("tab_9") + self.tabWidget.addTab(self.tab_9, "") + self.tab_10 = QtWidgets.QWidget() + self.tab_10.setObjectName("tab_10") + self.tabWidget.addTab(self.tab_10, "") + self.tab_11 = QtWidgets.QWidget() + self.tab_11.setObjectName("tab_11") + self.tabWidget.addTab(self.tab_11, "") + self.tab_12 = QtWidgets.QWidget() + self.tab_12.setObjectName("tab_12") + self.tabWidget.addTab(self.tab_12, "") + self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1) + self.verticalLayout_4.addWidget(self.groupBox_2) + self.groupBox = QtWidgets.QGroupBox(self.centralwidget) + self.groupBox.setObjectName("groupBox") + self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox) + self.gridLayout_2.setObjectName("gridLayout_2") + self.label = QtWidgets.QLabel(self.groupBox) + self.label.setTextFormat(QtCore.Qt.RichText) + self.label.setAlignment(QtCore.Qt.AlignCenter) + self.label.setWordWrap(True) + self.label.setOpenExternalLinks(True) + self.label.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction) + self.label.setObjectName("label") + self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1) + self.verticalLayout_4.addWidget(self.groupBox) self.label_71 = QtWidgets.QLabel(self.centralwidget) self.label_71.setAlignment(QtCore.Qt.AlignCenter) self.label_71.setObjectName("label_71") self.verticalLayout_4.addWidget(self.label_71) - self.label = QtWidgets.QLabel(self.centralwidget) - self.label.setTextFormat(QtCore.Qt.RichText) - self.label.setAlignment(QtCore.Qt.AlignCenter) - self.label.setOpenExternalLinks(True) - self.label.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction) - self.label.setObjectName("label") - self.verticalLayout_4.addWidget(self.label) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtWidgets.QMenuBar(MainWindow) - self.menubar.setGeometry(QtCore.QRect(0, 0, 662, 28)) + self.menubar.setGeometry(QtCore.QRect(0, 0, 742, 28)) self.menubar.setObjectName("menubar") self.menuMenu = QtWidgets.QMenu(self.menubar) self.menuMenu.setObjectName("menuMenu") @@ -58,7 +108,8 @@ class Ui_MainWindow(object): MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarDelayed) self.toolBarCheckable = QtWidgets.QToolBar(MainWindow) self.toolBarCheckable.setObjectName("toolBarCheckable") - MainWindow.addToolBar(QtCore.Qt.LeftToolBarArea, self.toolBarCheckable) + MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarCheckable) + MainWindow.insertToolBarBreak(self.toolBarCheckable) self.actionActionA = QtWidgets.QAction(MainWindow) self.actionActionA.setObjectName("actionActionA") self.actionActionSubA = QtWidgets.QAction(MainWindow) @@ -105,12 +156,27 @@ class Ui_MainWindow(object): self.toolBarCheckable.addAction(self.actionActionCheckableSubAUnchecked) self.retranslateUi(MainWindow) + self.tabWidget.setCurrentIndex(11) QtCore.QMetaObject.connectSlotsByName(MainWindow) def retranslateUi(self, MainWindow): MainWindow.setWindowTitle(QtWidgets.QApplication.translate("MainWindow", "MainWindow", None, -1)) + self.groupBox_2.setTitle(QtWidgets.QApplication.translate("MainWindow", "Issue #115 - Tabs scroller buttons", None, -1)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QtWidgets.QApplication.translate("MainWindow", "Tab 1", None, -1)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QtWidgets.QApplication.translate("MainWindow", "Tab 2", None, -1)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), QtWidgets.QApplication.translate("MainWindow", "Page", None, -1)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), QtWidgets.QApplication.translate("MainWindow", "Page", None, -1)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5), QtWidgets.QApplication.translate("MainWindow", "Page", None, -1)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_6), QtWidgets.QApplication.translate("MainWindow", "Page", None, -1)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_7), QtWidgets.QApplication.translate("MainWindow", "Page", None, -1)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_8), QtWidgets.QApplication.translate("MainWindow", "Page", None, -1)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_9), QtWidgets.QApplication.translate("MainWindow", "Page", None, -1)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_10), QtWidgets.QApplication.translate("MainWindow", "Page", None, -1)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_11), QtWidgets.QApplication.translate("MainWindow", "Page", None, -1)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_12), QtWidgets.QApplication.translate("MainWindow", "Page", None, -1)) + self.groupBox.setTitle(QtWidgets.QApplication.translate("MainWindow", "Issue #112 - Hyperlinks color", None, -1)) + self.label.setText(QtWidgets.QApplication.translate("MainWindow", "

Hyperlink Example

CSS for the documents (RichText) is not the same as the application. We cannot change the internal content CSS, e.g., hyperlinks. We suggest you use the middle tons (0-255, use 125), so this works for both white and dark theme (this color). The original color is the blue link on top.


", None, -1)) self.label_71.setText(QtWidgets.QApplication.translate("MainWindow", "Inside Central Widget", None, -1)) - self.label.setText(QtWidgets.QApplication.translate("MainWindow", "

Hyperlink Example

CSS for the documents (RichText)

is not the same as the application.

We cannot change the internal

content CSS, e.g., hyperlinks.

See issue #112.

", None, -1)) self.menuMenu.setTitle(QtWidgets.QApplication.translate("MainWindow", "Menu", None, -1)) self.menuMenuSub.setTitle(QtWidgets.QApplication.translate("MainWindow", "Menu Sub", None, -1)) self.menuMenuDelayed.setTitle(QtWidgets.QApplication.translate("MainWindow", "Menu Delayed", None, -1)) diff --git a/example/ui/mw_menus_pyside_ui.py b/example/ui/mw_menus_pyside_ui.py index 79ff58820..08fc09cfd 100644 --- a/example/ui/mw_menus_pyside_ui.py +++ b/example/ui/mw_menus_pyside_ui.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'mw_menus.ui' # -# Created: Sat Oct 27 00:00:52 2018 +# Created: Thu Nov 1 16:06:04 2018 # by: pyside-uic 0.2.15 running on PySide 1.2.2 # # WARNING! All changes made in this file will be lost! @@ -12,25 +12,75 @@ from PySide import QtCore, QtGui class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") - MainWindow.resize(662, 307) + MainWindow.resize(742, 439) self.centralwidget = QtGui.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.verticalLayout_4 = QtGui.QVBoxLayout(self.centralwidget) self.verticalLayout_4.setObjectName("verticalLayout_4") + self.groupBox_2 = QtGui.QGroupBox(self.centralwidget) + self.groupBox_2.setObjectName("groupBox_2") + self.gridLayout = QtGui.QGridLayout(self.groupBox_2) + self.gridLayout.setObjectName("gridLayout") + self.tabWidget = QtGui.QTabWidget(self.groupBox_2) + self.tabWidget.setObjectName("tabWidget") + self.tab = QtGui.QWidget() + self.tab.setObjectName("tab") + self.tabWidget.addTab(self.tab, "") + self.tab_2 = QtGui.QWidget() + self.tab_2.setObjectName("tab_2") + self.tabWidget.addTab(self.tab_2, "") + self.tab_3 = QtGui.QWidget() + self.tab_3.setObjectName("tab_3") + self.tabWidget.addTab(self.tab_3, "") + self.tab_4 = QtGui.QWidget() + self.tab_4.setObjectName("tab_4") + self.tabWidget.addTab(self.tab_4, "") + self.tab_5 = QtGui.QWidget() + self.tab_5.setObjectName("tab_5") + self.tabWidget.addTab(self.tab_5, "") + self.tab_6 = QtGui.QWidget() + self.tab_6.setObjectName("tab_6") + self.tabWidget.addTab(self.tab_6, "") + self.tab_7 = QtGui.QWidget() + self.tab_7.setObjectName("tab_7") + self.tabWidget.addTab(self.tab_7, "") + self.tab_8 = QtGui.QWidget() + self.tab_8.setObjectName("tab_8") + self.tabWidget.addTab(self.tab_8, "") + self.tab_9 = QtGui.QWidget() + self.tab_9.setObjectName("tab_9") + self.tabWidget.addTab(self.tab_9, "") + self.tab_10 = QtGui.QWidget() + self.tab_10.setObjectName("tab_10") + self.tabWidget.addTab(self.tab_10, "") + self.tab_11 = QtGui.QWidget() + self.tab_11.setObjectName("tab_11") + self.tabWidget.addTab(self.tab_11, "") + self.tab_12 = QtGui.QWidget() + self.tab_12.setObjectName("tab_12") + self.tabWidget.addTab(self.tab_12, "") + self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1) + self.verticalLayout_4.addWidget(self.groupBox_2) + self.groupBox = QtGui.QGroupBox(self.centralwidget) + self.groupBox.setObjectName("groupBox") + self.gridLayout_2 = QtGui.QGridLayout(self.groupBox) + self.gridLayout_2.setObjectName("gridLayout_2") + self.label = QtGui.QLabel(self.groupBox) + self.label.setTextFormat(QtCore.Qt.RichText) + self.label.setAlignment(QtCore.Qt.AlignCenter) + self.label.setWordWrap(True) + self.label.setOpenExternalLinks(True) + self.label.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction) + self.label.setObjectName("label") + self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1) + self.verticalLayout_4.addWidget(self.groupBox) self.label_71 = QtGui.QLabel(self.centralwidget) self.label_71.setAlignment(QtCore.Qt.AlignCenter) self.label_71.setObjectName("label_71") self.verticalLayout_4.addWidget(self.label_71) - self.label = QtGui.QLabel(self.centralwidget) - self.label.setTextFormat(QtCore.Qt.RichText) - self.label.setAlignment(QtCore.Qt.AlignCenter) - self.label.setOpenExternalLinks(True) - self.label.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction) - self.label.setObjectName("label") - self.verticalLayout_4.addWidget(self.label) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(MainWindow) - self.menubar.setGeometry(QtCore.QRect(0, 0, 662, 28)) + self.menubar.setGeometry(QtCore.QRect(0, 0, 742, 28)) self.menubar.setObjectName("menubar") self.menuMenu = QtGui.QMenu(self.menubar) self.menuMenu.setObjectName("menuMenu") @@ -58,7 +108,8 @@ class Ui_MainWindow(object): MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarDelayed) self.toolBarCheckable = QtGui.QToolBar(MainWindow) self.toolBarCheckable.setObjectName("toolBarCheckable") - MainWindow.addToolBar(QtCore.Qt.LeftToolBarArea, self.toolBarCheckable) + MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarCheckable) + MainWindow.insertToolBarBreak(self.toolBarCheckable) self.actionActionA = QtGui.QAction(MainWindow) self.actionActionA.setObjectName("actionActionA") self.actionActionSubA = QtGui.QAction(MainWindow) @@ -105,12 +156,27 @@ class Ui_MainWindow(object): self.toolBarCheckable.addAction(self.actionActionCheckableSubAUnchecked) self.retranslateUi(MainWindow) + self.tabWidget.setCurrentIndex(11) QtCore.QMetaObject.connectSlotsByName(MainWindow) def retranslateUi(self, MainWindow): MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8)) + self.groupBox_2.setTitle(QtGui.QApplication.translate("MainWindow", "Issue #115 - Tabs scroller buttons", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QtGui.QApplication.translate("MainWindow", "Tab 1", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QtGui.QApplication.translate("MainWindow", "Tab 2", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), QtGui.QApplication.translate("MainWindow", "Page", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), QtGui.QApplication.translate("MainWindow", "Page", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5), QtGui.QApplication.translate("MainWindow", "Page", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_6), QtGui.QApplication.translate("MainWindow", "Page", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_7), QtGui.QApplication.translate("MainWindow", "Page", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_8), QtGui.QApplication.translate("MainWindow", "Page", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_9), QtGui.QApplication.translate("MainWindow", "Page", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_10), QtGui.QApplication.translate("MainWindow", "Page", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_11), QtGui.QApplication.translate("MainWindow", "Page", None, QtGui.QApplication.UnicodeUTF8)) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_12), QtGui.QApplication.translate("MainWindow", "Page", None, QtGui.QApplication.UnicodeUTF8)) + self.groupBox.setTitle(QtGui.QApplication.translate("MainWindow", "Issue #112 - Hyperlinks color", None, QtGui.QApplication.UnicodeUTF8)) + self.label.setText(QtGui.QApplication.translate("MainWindow", "

Hyperlink Example

CSS for the documents (RichText) is not the same as the application. We cannot change the internal content CSS, e.g., hyperlinks. We suggest you use the middle tons (0-255, use 125), so this works for both white and dark theme (this color). The original color is the blue link on top.


", None, QtGui.QApplication.UnicodeUTF8)) self.label_71.setText(QtGui.QApplication.translate("MainWindow", "Inside Central Widget", None, QtGui.QApplication.UnicodeUTF8)) - self.label.setText(QtGui.QApplication.translate("MainWindow", "

Hyperlink Example

CSS for the documents (RichText)

is not the same as the application.

We cannot change the internal

content CSS, e.g., hyperlinks.

See issue #112.

", None, QtGui.QApplication.UnicodeUTF8)) self.menuMenu.setTitle(QtGui.QApplication.translate("MainWindow", "Menu", None, QtGui.QApplication.UnicodeUTF8)) self.menuMenuSub.setTitle(QtGui.QApplication.translate("MainWindow", "Menu Sub", None, QtGui.QApplication.UnicodeUTF8)) self.menuMenuDelayed.setTitle(QtGui.QApplication.translate("MainWindow", "Menu Delayed", None, QtGui.QApplication.UnicodeUTF8)) diff --git a/example/ui/mw_menus_qtpy_ui.py b/example/ui/mw_menus_qtpy_ui.py index f8cfef443..d4e4d0848 100644 --- a/example/ui/mw_menus_qtpy_ui.py +++ b/example/ui/mw_menus_qtpy_ui.py @@ -11,25 +11,75 @@ from qtpy import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") - MainWindow.resize(662, 307) + MainWindow.resize(742, 439) self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.centralwidget) self.verticalLayout_4.setObjectName("verticalLayout_4") + self.groupBox_2 = QtWidgets.QGroupBox(self.centralwidget) + self.groupBox_2.setObjectName("groupBox_2") + self.gridLayout = QtWidgets.QGridLayout(self.groupBox_2) + self.gridLayout.setObjectName("gridLayout") + self.tabWidget = QtWidgets.QTabWidget(self.groupBox_2) + self.tabWidget.setObjectName("tabWidget") + self.tab = QtWidgets.QWidget() + self.tab.setObjectName("tab") + self.tabWidget.addTab(self.tab, "") + self.tab_2 = QtWidgets.QWidget() + self.tab_2.setObjectName("tab_2") + self.tabWidget.addTab(self.tab_2, "") + self.tab_3 = QtWidgets.QWidget() + self.tab_3.setObjectName("tab_3") + self.tabWidget.addTab(self.tab_3, "") + self.tab_4 = QtWidgets.QWidget() + self.tab_4.setObjectName("tab_4") + self.tabWidget.addTab(self.tab_4, "") + self.tab_5 = QtWidgets.QWidget() + self.tab_5.setObjectName("tab_5") + self.tabWidget.addTab(self.tab_5, "") + self.tab_6 = QtWidgets.QWidget() + self.tab_6.setObjectName("tab_6") + self.tabWidget.addTab(self.tab_6, "") + self.tab_7 = QtWidgets.QWidget() + self.tab_7.setObjectName("tab_7") + self.tabWidget.addTab(self.tab_7, "") + self.tab_8 = QtWidgets.QWidget() + self.tab_8.setObjectName("tab_8") + self.tabWidget.addTab(self.tab_8, "") + self.tab_9 = QtWidgets.QWidget() + self.tab_9.setObjectName("tab_9") + self.tabWidget.addTab(self.tab_9, "") + self.tab_10 = QtWidgets.QWidget() + self.tab_10.setObjectName("tab_10") + self.tabWidget.addTab(self.tab_10, "") + self.tab_11 = QtWidgets.QWidget() + self.tab_11.setObjectName("tab_11") + self.tabWidget.addTab(self.tab_11, "") + self.tab_12 = QtWidgets.QWidget() + self.tab_12.setObjectName("tab_12") + self.tabWidget.addTab(self.tab_12, "") + self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1) + self.verticalLayout_4.addWidget(self.groupBox_2) + self.groupBox = QtWidgets.QGroupBox(self.centralwidget) + self.groupBox.setObjectName("groupBox") + self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox) + self.gridLayout_2.setObjectName("gridLayout_2") + self.label = QtWidgets.QLabel(self.groupBox) + self.label.setTextFormat(QtCore.Qt.RichText) + self.label.setAlignment(QtCore.Qt.AlignCenter) + self.label.setWordWrap(True) + self.label.setOpenExternalLinks(True) + self.label.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction) + self.label.setObjectName("label") + self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1) + self.verticalLayout_4.addWidget(self.groupBox) self.label_71 = QtWidgets.QLabel(self.centralwidget) self.label_71.setAlignment(QtCore.Qt.AlignCenter) self.label_71.setObjectName("label_71") self.verticalLayout_4.addWidget(self.label_71) - self.label = QtWidgets.QLabel(self.centralwidget) - self.label.setTextFormat(QtCore.Qt.RichText) - self.label.setAlignment(QtCore.Qt.AlignCenter) - self.label.setOpenExternalLinks(True) - self.label.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction) - self.label.setObjectName("label") - self.verticalLayout_4.addWidget(self.label) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtWidgets.QMenuBar(MainWindow) - self.menubar.setGeometry(QtCore.QRect(0, 0, 662, 28)) + self.menubar.setGeometry(QtCore.QRect(0, 0, 742, 28)) self.menubar.setObjectName("menubar") self.menuMenu = QtWidgets.QMenu(self.menubar) self.menuMenu.setObjectName("menuMenu") @@ -57,7 +107,8 @@ class Ui_MainWindow(object): MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarDelayed) self.toolBarCheckable = QtWidgets.QToolBar(MainWindow) self.toolBarCheckable.setObjectName("toolBarCheckable") - MainWindow.addToolBar(QtCore.Qt.LeftToolBarArea, self.toolBarCheckable) + MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarCheckable) + MainWindow.insertToolBarBreak(self.toolBarCheckable) self.actionActionA = QtWidgets.QAction(MainWindow) self.actionActionA.setObjectName("actionActionA") self.actionActionSubA = QtWidgets.QAction(MainWindow) @@ -104,13 +155,28 @@ class Ui_MainWindow(object): self.toolBarCheckable.addAction(self.actionActionCheckableSubAUnchecked) self.retranslateUi(MainWindow) + self.tabWidget.setCurrentIndex(11) QtCore.QMetaObject.connectSlotsByName(MainWindow) def retranslateUi(self, MainWindow): _translate = QtCore.QCoreApplication.translate MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow")) + self.groupBox_2.setTitle(_translate("MainWindow", "Issue #115 - Tabs scroller buttons")) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "Tab 1")) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Tab 2")) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("MainWindow", "Page")) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), _translate("MainWindow", "Page")) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5), _translate("MainWindow", "Page")) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_6), _translate("MainWindow", "Page")) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_7), _translate("MainWindow", "Page")) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_8), _translate("MainWindow", "Page")) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_9), _translate("MainWindow", "Page")) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_10), _translate("MainWindow", "Page")) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_11), _translate("MainWindow", "Page")) + self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_12), _translate("MainWindow", "Page")) + self.groupBox.setTitle(_translate("MainWindow", "Issue #112 - Hyperlinks color")) + self.label.setText(_translate("MainWindow", "

Hyperlink Example

CSS for the documents (RichText) is not the same as the application. We cannot change the internal content CSS, e.g., hyperlinks. We suggest you use the middle tons (0-255, use 125), so this works for both white and dark theme (this color). The original color is the blue link on top.


")) self.label_71.setText(_translate("MainWindow", "Inside Central Widget")) - self.label.setText(_translate("MainWindow", "

Hyperlink Example

CSS for the documents (RichText)

is not the same as the application.

We cannot change the internal

content CSS, e.g., hyperlinks.

See issue #112.

")) self.menuMenu.setTitle(_translate("MainWindow", "Menu")) self.menuMenuSub.setTitle(_translate("MainWindow", "Menu Sub")) self.menuMenuDelayed.setTitle(_translate("MainWindow", "Menu Delayed"))