Fix names of tabs

This commit is contained in:
Daniel Pizetta 2018-11-01 16:07:48 -03:00
parent e712b30164
commit 561a6f8d06
28 changed files with 599 additions and 115 deletions

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'dw_buttons.ui' # 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 # by: pyside2-uic 2.0.0 running on PySide2 5.6.0~a1
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'dw_buttons.ui' # 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 # by: pyside-uic 0.2.15 running on PySide 1.2.2
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!

View File

@ -11,7 +11,7 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Containers</string> <string>Containers - No Tabs</string>
</property> </property>
<widget class="QWidget" name="dockWidgetContents"> <widget class="QWidget" name="dockWidgetContents">
<layout class="QGridLayout" name="gridLayout_45"> <layout class="QGridLayout" name="gridLayout_45">

View File

@ -337,7 +337,7 @@ class Ui_DockWidget(object):
def retranslateUi(self, DockWidget): def retranslateUi(self, DockWidget):
_translate = QtCore.QCoreApplication.translate _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_126.setText(_translate("DockWidget", "Disabled"))
self.label_124.setText(_translate("DockWidget", "Enabled")) self.label_124.setText(_translate("DockWidget", "Enabled"))
self.label_133.setText(_translate("DockWidget", "MDI Area")) self.label_133.setText(_translate("DockWidget", "MDI Area"))

View File

@ -350,7 +350,7 @@ class Ui_DockWidget(object):
QtCore.QMetaObject.connectSlotsByName(DockWidget) QtCore.QMetaObject.connectSlotsByName(DockWidget)
def retranslateUi(self, 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_126.setText(_translate("DockWidget", "Disabled", None))
self.label_124.setText(_translate("DockWidget", "Enabled", None)) self.label_124.setText(_translate("DockWidget", "Enabled", None))
self.label_133.setText(_translate("DockWidget", "MDI Area", None)) self.label_133.setText(_translate("DockWidget", "MDI Area", None))

View File

@ -350,7 +350,7 @@ class Ui_DockWidget(object):
QtCore.QMetaObject.connectSlotsByName(DockWidget) QtCore.QMetaObject.connectSlotsByName(DockWidget)
def retranslateUi(self, 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_126.setText(_translate("DockWidget", "Disabled", None))
self.label_124.setText(_translate("DockWidget", "Enabled", None)) self.label_124.setText(_translate("DockWidget", "Enabled", None))
self.label_133.setText(_translate("DockWidget", "MDI Area", None)) self.label_133.setText(_translate("DockWidget", "MDI Area", None))

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'dw_containers_no_tabs.ui' # 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 # by: pyside2-uic 2.0.0 running on PySide2 5.6.0~a1
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!
@ -339,7 +339,7 @@ class Ui_DockWidget(object):
QtCore.QMetaObject.connectSlotsByName(DockWidget) QtCore.QMetaObject.connectSlotsByName(DockWidget)
def retranslateUi(self, 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_126.setText(QtWidgets.QApplication.translate("DockWidget", "Disabled", None, -1))
self.label_124.setText(QtWidgets.QApplication.translate("DockWidget", "Enabled", 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)) self.label_133.setText(QtWidgets.QApplication.translate("DockWidget", "MDI Area", None, -1))

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'dw_containers_no_tabs.ui' # 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 # by: pyside-uic 0.2.15 running on PySide 1.2.2
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!
@ -339,7 +339,7 @@ class Ui_DockWidget(object):
QtCore.QMetaObject.connectSlotsByName(DockWidget) QtCore.QMetaObject.connectSlotsByName(DockWidget)
def retranslateUi(self, 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_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_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)) self.label_133.setText(QtGui.QApplication.translate("DockWidget", "MDI Area", None, QtGui.QApplication.UnicodeUTF8))

View File

@ -337,7 +337,7 @@ class Ui_DockWidget(object):
def retranslateUi(self, DockWidget): def retranslateUi(self, DockWidget):
_translate = QtCore.QCoreApplication.translate _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_126.setText(_translate("DockWidget", "Disabled"))
self.label_124.setText(_translate("DockWidget", "Enabled")) self.label_124.setText(_translate("DockWidget", "Enabled"))
self.label_133.setText(_translate("DockWidget", "MDI Area")) self.label_133.setText(_translate("DockWidget", "MDI Area"))

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'dw_containers_tabs.ui' # 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 # by: pyside2-uic 2.0.0 running on PySide2 5.6.0~a1
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'dw_containers_tabs.ui' # 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 # by: pyside-uic 0.2.15 running on PySide 1.2.2
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'dw_displays.ui' # 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 # by: pyside2-uic 2.0.0 running on PySide2 5.6.0~a1
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'dw_displays.ui' # 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 # by: pyside-uic 0.2.15 running on PySide 1.2.2
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'dw_inputs_fields.ui' # 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 # by: pyside2-uic 2.0.0 running on PySide2 5.6.0~a1
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'dw_inputs_fields.ui' # 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 # by: pyside-uic 0.2.15 running on PySide 1.2.2
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'dw_inputs_no_fields.ui' # 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 # by: pyside2-uic 2.0.0 running on PySide2 5.6.0~a1
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'dw_inputs_no_fields.ui' # 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 # by: pyside-uic 0.2.15 running on PySide 1.2.2
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'dw_views.ui' # 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 # by: pyside2-uic 2.0.0 running on PySide2 5.6.0~a1
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'dw_views.ui' # 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 # by: pyside-uic 0.2.15 running on PySide 1.2.2
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'dw_widgets.ui' # 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 # by: pyside2-uic 2.0.0 running on PySide2 5.6.0~a1
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'dw_widgets.ui' # 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 # by: pyside-uic 0.2.15 running on PySide 1.2.2
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!

View File

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>662</width> <width>742</width>
<height>307</height> <height>439</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
@ -16,19 +16,91 @@
<widget class="QWidget" name="centralwidget"> <widget class="QWidget" name="centralwidget">
<layout class="QVBoxLayout" name="verticalLayout_4"> <layout class="QVBoxLayout" name="verticalLayout_4">
<item> <item>
<widget class="QLabel" name="label_71"> <widget class="QGroupBox" name="groupBox_2">
<property name="text"> <property name="title">
<string>Inside Central Widget</string> <string>Issue #115 - Tabs scroller buttons</string>
</property> </property>
<property name="alignment"> <layout class="QGridLayout" name="gridLayout">
<set>Qt::AlignCenter</set> <item row="0" column="0">
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>11</number>
</property> </property>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>Tab 1</string>
</attribute>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>Tab 2</string>
</attribute>
</widget>
<widget class="QWidget" name="tab_3">
<attribute name="title">
<string>Page</string>
</attribute>
</widget>
<widget class="QWidget" name="tab_4">
<attribute name="title">
<string>Page</string>
</attribute>
</widget>
<widget class="QWidget" name="tab_5">
<attribute name="title">
<string>Page</string>
</attribute>
</widget>
<widget class="QWidget" name="tab_6">
<attribute name="title">
<string>Page</string>
</attribute>
</widget>
<widget class="QWidget" name="tab_7">
<attribute name="title">
<string>Page</string>
</attribute>
</widget>
<widget class="QWidget" name="tab_8">
<attribute name="title">
<string>Page</string>
</attribute>
</widget>
<widget class="QWidget" name="tab_9">
<attribute name="title">
<string>Page</string>
</attribute>
</widget>
<widget class="QWidget" name="tab_10">
<attribute name="title">
<string>Page</string>
</attribute>
</widget>
<widget class="QWidget" name="tab_11">
<attribute name="title">
<string>Page</string>
</attribute>
</widget>
<widget class="QWidget" name="tab_12">
<attribute name="title">
<string>Page</string>
</attribute>
</widget>
</widget>
</item>
</layout>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Issue #112 - Hyperlinks color</string>
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="label"> <widget class="QLabel" name="label">
<property name="text"> <property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;a href=&quot;https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues/112&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;Hyperlink Example&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;a href=&quot;https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues/112&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#aa0000;&quot;&gt;CSS for the documents (RichText) &lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;a href=&quot;https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues/112&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#aa0000;&quot;&gt;is not the same as the application.&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;a href=&quot;https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues/112&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#aa0000;&quot;&gt;We cannot change the internal &lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;a href=&quot;https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues/112&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#aa0000;&quot;&gt;content CSS, e.g., hyperlinks.&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;a href=&quot;https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues/112&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#4d545b;&quot;&gt;See issue #112.&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;a href=&quot;https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues/112&quot;&gt;&lt;span style=&quot; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;Hyperlink Example&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-size:10pt; color:#7d7d7d;&quot;&gt;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.&lt;/span&gt;&lt;/p&gt;&lt;p align=&quot;center&quot;&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
<property name="textFormat"> <property name="textFormat">
<enum>Qt::RichText</enum> <enum>Qt::RichText</enum>
@ -36,6 +108,9 @@
<property name="alignment"> <property name="alignment">
<set>Qt::AlignCenter</set> <set>Qt::AlignCenter</set>
</property> </property>
<property name="wordWrap">
<bool>true</bool>
</property>
<property name="openExternalLinks"> <property name="openExternalLinks">
<bool>true</bool> <bool>true</bool>
</property> </property>
@ -46,12 +121,25 @@
</item> </item>
</layout> </layout>
</widget> </widget>
</item>
<item>
<widget class="QLabel" name="label_71">
<property name="text">
<string>Inside Central Widget</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar"> <widget class="QMenuBar" name="menubar">
<property name="geometry"> <property name="geometry">
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>662</width> <width>742</width>
<height>28</height> <height>28</height>
</rect> </rect>
</property> </property>
@ -139,10 +227,10 @@
<string>Tool bar action checkable</string> <string>Tool bar action checkable</string>
</property> </property>
<attribute name="toolBarArea"> <attribute name="toolBarArea">
<enum>LeftToolBarArea</enum> <enum>TopToolBarArea</enum>
</attribute> </attribute>
<attribute name="toolBarBreak"> <attribute name="toolBarBreak">
<bool>false</bool> <bool>true</bool>
</attribute> </attribute>
<addaction name="actionActionCheckableA"/> <addaction name="actionActionCheckableA"/>
<addaction name="separator"/> <addaction name="separator"/>

View File

@ -11,25 +11,75 @@ from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object): class Ui_MainWindow(object):
def setupUi(self, MainWindow): def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow") MainWindow.setObjectName("MainWindow")
MainWindow.resize(662, 307) MainWindow.resize(742, 439)
self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget") self.centralwidget.setObjectName("centralwidget")
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.centralwidget) self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.centralwidget)
self.verticalLayout_4.setObjectName("verticalLayout_4") 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 = QtWidgets.QLabel(self.centralwidget)
self.label_71.setAlignment(QtCore.Qt.AlignCenter) self.label_71.setAlignment(QtCore.Qt.AlignCenter)
self.label_71.setObjectName("label_71") self.label_71.setObjectName("label_71")
self.verticalLayout_4.addWidget(self.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) MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow) 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.menubar.setObjectName("menubar")
self.menuMenu = QtWidgets.QMenu(self.menubar) self.menuMenu = QtWidgets.QMenu(self.menubar)
self.menuMenu.setObjectName("menuMenu") self.menuMenu.setObjectName("menuMenu")
@ -57,7 +107,8 @@ class Ui_MainWindow(object):
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarDelayed) MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarDelayed)
self.toolBarCheckable = QtWidgets.QToolBar(MainWindow) self.toolBarCheckable = QtWidgets.QToolBar(MainWindow)
self.toolBarCheckable.setObjectName("toolBarCheckable") 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 = QtWidgets.QAction(MainWindow)
self.actionActionA.setObjectName("actionActionA") self.actionActionA.setObjectName("actionActionA")
self.actionActionSubA = QtWidgets.QAction(MainWindow) self.actionActionSubA = QtWidgets.QAction(MainWindow)
@ -104,13 +155,28 @@ class Ui_MainWindow(object):
self.toolBarCheckable.addAction(self.actionActionCheckableSubAUnchecked) self.toolBarCheckable.addAction(self.actionActionCheckableSubAUnchecked)
self.retranslateUi(MainWindow) self.retranslateUi(MainWindow)
self.tabWidget.setCurrentIndex(11)
QtCore.QMetaObject.connectSlotsByName(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow): def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate _translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow")) 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", "<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>"))
self.label_71.setText(_translate("MainWindow", "Inside Central Widget")) self.label_71.setText(_translate("MainWindow", "Inside Central Widget"))
self.label.setText(_translate("MainWindow", "<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>"))
self.menuMenu.setTitle(_translate("MainWindow", "Menu")) self.menuMenu.setTitle(_translate("MainWindow", "Menu"))
self.menuMenuSub.setTitle(_translate("MainWindow", "Menu Sub")) self.menuMenuSub.setTitle(_translate("MainWindow", "Menu Sub"))
self.menuMenuDelayed.setTitle(_translate("MainWindow", "Menu Delayed")) self.menuMenuDelayed.setTitle(_translate("MainWindow", "Menu Delayed"))

View File

@ -25,25 +25,75 @@ except AttributeError:
class Ui_MainWindow(object): class Ui_MainWindow(object):
def setupUi(self, MainWindow): def setupUi(self, MainWindow):
MainWindow.setObjectName(_fromUtf8("MainWindow")) MainWindow.setObjectName(_fromUtf8("MainWindow"))
MainWindow.resize(662, 307) MainWindow.resize(742, 439)
self.centralwidget = QtGui.QWidget(MainWindow) self.centralwidget = QtGui.QWidget(MainWindow)
self.centralwidget.setObjectName(_fromUtf8("centralwidget")) self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
self.verticalLayout_4 = QtGui.QVBoxLayout(self.centralwidget) self.verticalLayout_4 = QtGui.QVBoxLayout(self.centralwidget)
self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) 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 = QtGui.QLabel(self.centralwidget)
self.label_71.setAlignment(QtCore.Qt.AlignCenter) self.label_71.setAlignment(QtCore.Qt.AlignCenter)
self.label_71.setObjectName(_fromUtf8("label_71")) self.label_71.setObjectName(_fromUtf8("label_71"))
self.verticalLayout_4.addWidget(self.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) MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtGui.QMenuBar(MainWindow) 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.menubar.setObjectName(_fromUtf8("menubar"))
self.menuMenu = QtGui.QMenu(self.menubar) self.menuMenu = QtGui.QMenu(self.menubar)
self.menuMenu.setObjectName(_fromUtf8("menuMenu")) self.menuMenu.setObjectName(_fromUtf8("menuMenu"))
@ -71,7 +121,8 @@ class Ui_MainWindow(object):
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarDelayed) MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarDelayed)
self.toolBarCheckable = QtGui.QToolBar(MainWindow) self.toolBarCheckable = QtGui.QToolBar(MainWindow)
self.toolBarCheckable.setObjectName(_fromUtf8("toolBarCheckable")) 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 = QtGui.QAction(MainWindow)
self.actionActionA.setObjectName(_fromUtf8("actionActionA")) self.actionActionA.setObjectName(_fromUtf8("actionActionA"))
self.actionActionSubA = QtGui.QAction(MainWindow) self.actionActionSubA = QtGui.QAction(MainWindow)
@ -118,12 +169,27 @@ class Ui_MainWindow(object):
self.toolBarCheckable.addAction(self.actionActionCheckableSubAUnchecked) self.toolBarCheckable.addAction(self.actionActionCheckableSubAUnchecked)
self.retranslateUi(MainWindow) self.retranslateUi(MainWindow)
self.tabWidget.setCurrentIndex(11)
QtCore.QMetaObject.connectSlotsByName(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow): def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None)) 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", "<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>", None))
self.label_71.setText(_translate("MainWindow", "Inside Central Widget", None)) self.label_71.setText(_translate("MainWindow", "Inside Central Widget", None))
self.label.setText(_translate("MainWindow", "<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>", None))
self.menuMenu.setTitle(_translate("MainWindow", "Menu", None)) self.menuMenu.setTitle(_translate("MainWindow", "Menu", None))
self.menuMenuSub.setTitle(_translate("MainWindow", "Menu Sub", None)) self.menuMenuSub.setTitle(_translate("MainWindow", "Menu Sub", None))
self.menuMenuDelayed.setTitle(_translate("MainWindow", "Menu Delayed", None)) self.menuMenuDelayed.setTitle(_translate("MainWindow", "Menu Delayed", None))

View File

@ -25,25 +25,75 @@ except AttributeError:
class Ui_MainWindow(object): class Ui_MainWindow(object):
def setupUi(self, MainWindow): def setupUi(self, MainWindow):
MainWindow.setObjectName(_fromUtf8("MainWindow")) MainWindow.setObjectName(_fromUtf8("MainWindow"))
MainWindow.resize(662, 307) MainWindow.resize(742, 439)
self.centralwidget = QtGui.QWidget(MainWindow) self.centralwidget = QtGui.QWidget(MainWindow)
self.centralwidget.setObjectName(_fromUtf8("centralwidget")) self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
self.verticalLayout_4 = QtGui.QVBoxLayout(self.centralwidget) self.verticalLayout_4 = QtGui.QVBoxLayout(self.centralwidget)
self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) 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 = QtGui.QLabel(self.centralwidget)
self.label_71.setAlignment(QtCore.Qt.AlignCenter) self.label_71.setAlignment(QtCore.Qt.AlignCenter)
self.label_71.setObjectName(_fromUtf8("label_71")) self.label_71.setObjectName(_fromUtf8("label_71"))
self.verticalLayout_4.addWidget(self.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) MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtGui.QMenuBar(MainWindow) 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.menubar.setObjectName(_fromUtf8("menubar"))
self.menuMenu = QtGui.QMenu(self.menubar) self.menuMenu = QtGui.QMenu(self.menubar)
self.menuMenu.setObjectName(_fromUtf8("menuMenu")) self.menuMenu.setObjectName(_fromUtf8("menuMenu"))
@ -71,7 +121,8 @@ class Ui_MainWindow(object):
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarDelayed) MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarDelayed)
self.toolBarCheckable = QtGui.QToolBar(MainWindow) self.toolBarCheckable = QtGui.QToolBar(MainWindow)
self.toolBarCheckable.setObjectName(_fromUtf8("toolBarCheckable")) 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 = QtGui.QAction(MainWindow)
self.actionActionA.setObjectName(_fromUtf8("actionActionA")) self.actionActionA.setObjectName(_fromUtf8("actionActionA"))
self.actionActionSubA = QtGui.QAction(MainWindow) self.actionActionSubA = QtGui.QAction(MainWindow)
@ -118,12 +169,27 @@ class Ui_MainWindow(object):
self.toolBarCheckable.addAction(self.actionActionCheckableSubAUnchecked) self.toolBarCheckable.addAction(self.actionActionCheckableSubAUnchecked)
self.retranslateUi(MainWindow) self.retranslateUi(MainWindow)
self.tabWidget.setCurrentIndex(11)
QtCore.QMetaObject.connectSlotsByName(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow): def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None)) 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", "<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>", None))
self.label_71.setText(_translate("MainWindow", "Inside Central Widget", None)) self.label_71.setText(_translate("MainWindow", "Inside Central Widget", None))
self.label.setText(_translate("MainWindow", "<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>", None))
self.menuMenu.setTitle(_translate("MainWindow", "Menu", None)) self.menuMenu.setTitle(_translate("MainWindow", "Menu", None))
self.menuMenuSub.setTitle(_translate("MainWindow", "Menu Sub", None)) self.menuMenuSub.setTitle(_translate("MainWindow", "Menu Sub", None))
self.menuMenuDelayed.setTitle(_translate("MainWindow", "Menu Delayed", None)) self.menuMenuDelayed.setTitle(_translate("MainWindow", "Menu Delayed", None))

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'mw_menus.ui' # 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 # by: pyside2-uic 2.0.0 running on PySide2 5.6.0~a1
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!
@ -12,25 +12,75 @@ from PySide2 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object): class Ui_MainWindow(object):
def setupUi(self, MainWindow): def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow") MainWindow.setObjectName("MainWindow")
MainWindow.resize(662, 307) MainWindow.resize(742, 439)
self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget") self.centralwidget.setObjectName("centralwidget")
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.centralwidget) self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.centralwidget)
self.verticalLayout_4.setObjectName("verticalLayout_4") 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 = QtWidgets.QLabel(self.centralwidget)
self.label_71.setAlignment(QtCore.Qt.AlignCenter) self.label_71.setAlignment(QtCore.Qt.AlignCenter)
self.label_71.setObjectName("label_71") self.label_71.setObjectName("label_71")
self.verticalLayout_4.addWidget(self.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) MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow) 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.menubar.setObjectName("menubar")
self.menuMenu = QtWidgets.QMenu(self.menubar) self.menuMenu = QtWidgets.QMenu(self.menubar)
self.menuMenu.setObjectName("menuMenu") self.menuMenu.setObjectName("menuMenu")
@ -58,7 +108,8 @@ class Ui_MainWindow(object):
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarDelayed) MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarDelayed)
self.toolBarCheckable = QtWidgets.QToolBar(MainWindow) self.toolBarCheckable = QtWidgets.QToolBar(MainWindow)
self.toolBarCheckable.setObjectName("toolBarCheckable") 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 = QtWidgets.QAction(MainWindow)
self.actionActionA.setObjectName("actionActionA") self.actionActionA.setObjectName("actionActionA")
self.actionActionSubA = QtWidgets.QAction(MainWindow) self.actionActionSubA = QtWidgets.QAction(MainWindow)
@ -105,12 +156,27 @@ class Ui_MainWindow(object):
self.toolBarCheckable.addAction(self.actionActionCheckableSubAUnchecked) self.toolBarCheckable.addAction(self.actionActionCheckableSubAUnchecked)
self.retranslateUi(MainWindow) self.retranslateUi(MainWindow)
self.tabWidget.setCurrentIndex(11)
QtCore.QMetaObject.connectSlotsByName(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow): def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(QtWidgets.QApplication.translate("MainWindow", "MainWindow", None, -1)) 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", "<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>", None, -1))
self.label_71.setText(QtWidgets.QApplication.translate("MainWindow", "Inside Central Widget", None, -1)) self.label_71.setText(QtWidgets.QApplication.translate("MainWindow", "Inside Central Widget", None, -1))
self.label.setText(QtWidgets.QApplication.translate("MainWindow", "<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>", None, -1))
self.menuMenu.setTitle(QtWidgets.QApplication.translate("MainWindow", "Menu", None, -1)) self.menuMenu.setTitle(QtWidgets.QApplication.translate("MainWindow", "Menu", None, -1))
self.menuMenuSub.setTitle(QtWidgets.QApplication.translate("MainWindow", "Menu Sub", None, -1)) self.menuMenuSub.setTitle(QtWidgets.QApplication.translate("MainWindow", "Menu Sub", None, -1))
self.menuMenuDelayed.setTitle(QtWidgets.QApplication.translate("MainWindow", "Menu Delayed", None, -1)) self.menuMenuDelayed.setTitle(QtWidgets.QApplication.translate("MainWindow", "Menu Delayed", None, -1))

View File

@ -2,7 +2,7 @@
# Form implementation generated from reading ui file 'mw_menus.ui' # 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 # by: pyside-uic 0.2.15 running on PySide 1.2.2
# #
# WARNING! All changes made in this file will be lost! # WARNING! All changes made in this file will be lost!
@ -12,25 +12,75 @@ from PySide import QtCore, QtGui
class Ui_MainWindow(object): class Ui_MainWindow(object):
def setupUi(self, MainWindow): def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow") MainWindow.setObjectName("MainWindow")
MainWindow.resize(662, 307) MainWindow.resize(742, 439)
self.centralwidget = QtGui.QWidget(MainWindow) self.centralwidget = QtGui.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget") self.centralwidget.setObjectName("centralwidget")
self.verticalLayout_4 = QtGui.QVBoxLayout(self.centralwidget) self.verticalLayout_4 = QtGui.QVBoxLayout(self.centralwidget)
self.verticalLayout_4.setObjectName("verticalLayout_4") 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 = QtGui.QLabel(self.centralwidget)
self.label_71.setAlignment(QtCore.Qt.AlignCenter) self.label_71.setAlignment(QtCore.Qt.AlignCenter)
self.label_71.setObjectName("label_71") self.label_71.setObjectName("label_71")
self.verticalLayout_4.addWidget(self.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) MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtGui.QMenuBar(MainWindow) 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.menubar.setObjectName("menubar")
self.menuMenu = QtGui.QMenu(self.menubar) self.menuMenu = QtGui.QMenu(self.menubar)
self.menuMenu.setObjectName("menuMenu") self.menuMenu.setObjectName("menuMenu")
@ -58,7 +108,8 @@ class Ui_MainWindow(object):
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarDelayed) MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarDelayed)
self.toolBarCheckable = QtGui.QToolBar(MainWindow) self.toolBarCheckable = QtGui.QToolBar(MainWindow)
self.toolBarCheckable.setObjectName("toolBarCheckable") 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 = QtGui.QAction(MainWindow)
self.actionActionA.setObjectName("actionActionA") self.actionActionA.setObjectName("actionActionA")
self.actionActionSubA = QtGui.QAction(MainWindow) self.actionActionSubA = QtGui.QAction(MainWindow)
@ -105,12 +156,27 @@ class Ui_MainWindow(object):
self.toolBarCheckable.addAction(self.actionActionCheckableSubAUnchecked) self.toolBarCheckable.addAction(self.actionActionCheckableSubAUnchecked)
self.retranslateUi(MainWindow) self.retranslateUi(MainWindow)
self.tabWidget.setCurrentIndex(11)
QtCore.QMetaObject.connectSlotsByName(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow): def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8)) 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", "<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>", None, QtGui.QApplication.UnicodeUTF8))
self.label_71.setText(QtGui.QApplication.translate("MainWindow", "Inside Central Widget", 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", "<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>", None, QtGui.QApplication.UnicodeUTF8))
self.menuMenu.setTitle(QtGui.QApplication.translate("MainWindow", "Menu", 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.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)) self.menuMenuDelayed.setTitle(QtGui.QApplication.translate("MainWindow", "Menu Delayed", None, QtGui.QApplication.UnicodeUTF8))

View File

@ -11,25 +11,75 @@ from qtpy import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object): class Ui_MainWindow(object):
def setupUi(self, MainWindow): def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow") MainWindow.setObjectName("MainWindow")
MainWindow.resize(662, 307) MainWindow.resize(742, 439)
self.centralwidget = QtWidgets.QWidget(MainWindow) self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget") self.centralwidget.setObjectName("centralwidget")
self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.centralwidget) self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.centralwidget)
self.verticalLayout_4.setObjectName("verticalLayout_4") 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 = QtWidgets.QLabel(self.centralwidget)
self.label_71.setAlignment(QtCore.Qt.AlignCenter) self.label_71.setAlignment(QtCore.Qt.AlignCenter)
self.label_71.setObjectName("label_71") self.label_71.setObjectName("label_71")
self.verticalLayout_4.addWidget(self.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) MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow) 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.menubar.setObjectName("menubar")
self.menuMenu = QtWidgets.QMenu(self.menubar) self.menuMenu = QtWidgets.QMenu(self.menubar)
self.menuMenu.setObjectName("menuMenu") self.menuMenu.setObjectName("menuMenu")
@ -57,7 +107,8 @@ class Ui_MainWindow(object):
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarDelayed) MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarDelayed)
self.toolBarCheckable = QtWidgets.QToolBar(MainWindow) self.toolBarCheckable = QtWidgets.QToolBar(MainWindow)
self.toolBarCheckable.setObjectName("toolBarCheckable") 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 = QtWidgets.QAction(MainWindow)
self.actionActionA.setObjectName("actionActionA") self.actionActionA.setObjectName("actionActionA")
self.actionActionSubA = QtWidgets.QAction(MainWindow) self.actionActionSubA = QtWidgets.QAction(MainWindow)
@ -104,13 +155,28 @@ class Ui_MainWindow(object):
self.toolBarCheckable.addAction(self.actionActionCheckableSubAUnchecked) self.toolBarCheckable.addAction(self.actionActionCheckableSubAUnchecked)
self.retranslateUi(MainWindow) self.retranslateUi(MainWindow)
self.tabWidget.setCurrentIndex(11)
QtCore.QMetaObject.connectSlotsByName(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow): def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate _translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow")) 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", "<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>"))
self.label_71.setText(_translate("MainWindow", "Inside Central Widget")) self.label_71.setText(_translate("MainWindow", "Inside Central Widget"))
self.label.setText(_translate("MainWindow", "<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>"))
self.menuMenu.setTitle(_translate("MainWindow", "Menu")) self.menuMenu.setTitle(_translate("MainWindow", "Menu"))
self.menuMenuSub.setTitle(_translate("MainWindow", "Menu Sub")) self.menuMenuSub.setTitle(_translate("MainWindow", "Menu Sub"))
self.menuMenuDelayed.setTitle(_translate("MainWindow", "Menu Delayed")) self.menuMenuDelayed.setTitle(_translate("MainWindow", "Menu Delayed"))