2018-02-20 11:15:47 -05:00
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'mw_menus.ui'
#
2018-11-01 15:07:48 -04:00
# Created: Thu Nov 1 16:06:04 2018
2018-10-24 23:19:00 -04:00
# by: pyside-uic 0.2.15 running on PySide 1.2.2
2018-02-20 11:15:47 -05:00
#
# WARNING! All changes made in this file will be lost!
from PySide import QtCore , QtGui
class Ui_MainWindow ( object ) :
def setupUi ( self , MainWindow ) :
MainWindow . setObjectName ( " MainWindow " )
2018-11-01 15:07:48 -04:00
MainWindow . resize ( 742 , 439 )
2018-02-20 11:15:47 -05:00
self . centralwidget = QtGui . QWidget ( MainWindow )
self . centralwidget . setObjectName ( " centralwidget " )
self . verticalLayout_4 = QtGui . QVBoxLayout ( self . centralwidget )
self . verticalLayout_4 . setObjectName ( " verticalLayout_4 " )
2018-11-01 15:07:48 -04:00
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 )
2018-10-25 00:34:50 -04:00
self . label . setTextFormat ( QtCore . Qt . RichText )
self . label . setAlignment ( QtCore . Qt . AlignCenter )
2018-11-01 15:07:48 -04:00
self . label . setWordWrap ( True )
2018-10-25 00:34:50 -04:00
self . label . setOpenExternalLinks ( True )
self . label . setTextInteractionFlags ( QtCore . Qt . TextBrowserInteraction )
self . label . setObjectName ( " label " )
2018-11-01 15:07:48 -04:00
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 )
2018-02-20 11:15:47 -05:00
MainWindow . setCentralWidget ( self . centralwidget )
self . menubar = QtGui . QMenuBar ( MainWindow )
2018-11-01 15:07:48 -04:00
self . menubar . setGeometry ( QtCore . QRect ( 0 , 0 , 742 , 28 ) )
2018-02-20 11:15:47 -05:00
self . menubar . setObjectName ( " menubar " )
self . menuMenu = QtGui . QMenu ( self . menubar )
self . menuMenu . setObjectName ( " menuMenu " )
self . menuMenuSub = QtGui . QMenu ( self . menuMenu )
self . menuMenuSub . setObjectName ( " menuMenuSub " )
self . menuMenuDelayed = QtGui . QMenu ( self . menubar )
self . menuMenuDelayed . setObjectName ( " menuMenuDelayed " )
self . menuMenuSubDelayed = QtGui . QMenu ( self . menuMenuDelayed )
self . menuMenuSubDelayed . setObjectName ( " menuMenuSubDelayed " )
self . menuMenuCheckale = QtGui . QMenu ( self . menubar )
self . menuMenuCheckale . setObjectName ( " menuMenuCheckale " )
self . menuAbout = QtGui . QMenu ( self . menubar )
self . menuAbout . setObjectName ( " menuAbout " )
self . menuHelp = QtGui . QMenu ( self . menubar )
self . menuHelp . setObjectName ( " menuHelp " )
MainWindow . setMenuBar ( self . menubar )
self . statusbar = QtGui . QStatusBar ( MainWindow )
self . statusbar . setObjectName ( " statusbar " )
MainWindow . setStatusBar ( self . statusbar )
self . toolBar = QtGui . QToolBar ( MainWindow )
self . toolBar . setObjectName ( " toolBar " )
MainWindow . addToolBar ( QtCore . Qt . TopToolBarArea , self . toolBar )
self . toolBarDelayed = QtGui . QToolBar ( MainWindow )
self . toolBarDelayed . setObjectName ( " toolBarDelayed " )
MainWindow . addToolBar ( QtCore . Qt . TopToolBarArea , self . toolBarDelayed )
self . toolBarCheckable = QtGui . QToolBar ( MainWindow )
self . toolBarCheckable . setObjectName ( " toolBarCheckable " )
2018-11-01 15:07:48 -04:00
MainWindow . addToolBar ( QtCore . Qt . TopToolBarArea , self . toolBarCheckable )
MainWindow . insertToolBarBreak ( self . toolBarCheckable )
2018-02-20 11:15:47 -05:00
self . actionActionA = QtGui . QAction ( MainWindow )
self . actionActionA . setObjectName ( " actionActionA " )
self . actionActionSubA = QtGui . QAction ( MainWindow )
self . actionActionSubA . setObjectName ( " actionActionSubA " )
self . actionActionSubB = QtGui . QAction ( MainWindow )
self . actionActionSubB . setObjectName ( " actionActionSubB " )
self . actionActionDelayedA = QtGui . QAction ( MainWindow )
self . actionActionDelayedA . setObjectName ( " actionActionDelayedA " )
self . actionActionDelayedSubA = QtGui . QAction ( MainWindow )
self . actionActionDelayedSubA . setObjectName ( " actionActionDelayedSubA " )
self . actionActionCheckableA = QtGui . QAction ( MainWindow )
self . actionActionCheckableA . setCheckable ( True )
self . actionActionCheckableA . setObjectName ( " actionActionCheckableA " )
self . actionActionCheckableSubAChecked = QtGui . QAction ( MainWindow )
self . actionActionCheckableSubAChecked . setCheckable ( True )
self . actionActionCheckableSubAChecked . setChecked ( True )
self . actionActionCheckableSubAChecked . setObjectName ( " actionActionCheckableSubAChecked " )
self . actionActionCheckableSubAUnchecked = QtGui . QAction ( MainWindow )
self . actionActionCheckableSubAUnchecked . setCheckable ( True )
self . actionActionCheckableSubAUnchecked . setObjectName ( " actionActionCheckableSubAUnchecked " )
self . menuMenuSub . addAction ( self . actionActionSubA )
self . menuMenuSub . addAction ( self . actionActionSubB )
self . menuMenu . addAction ( self . actionActionA )
self . menuMenu . addAction ( self . menuMenuSub . menuAction ( ) )
self . menuMenuSubDelayed . addAction ( self . actionActionDelayedSubA )
self . menuMenuDelayed . addAction ( self . actionActionDelayedA )
self . menuMenuDelayed . addAction ( self . menuMenuSubDelayed . menuAction ( ) )
self . menuMenuCheckale . addAction ( self . actionActionCheckableA )
self . menubar . addAction ( self . menuMenu . menuAction ( ) )
self . menubar . addAction ( self . menuMenuDelayed . menuAction ( ) )
self . menubar . addAction ( self . menuMenuCheckale . menuAction ( ) )
self . menubar . addAction ( self . menuHelp . menuAction ( ) )
self . menubar . addAction ( self . menuAbout . menuAction ( ) )
self . toolBar . addAction ( self . actionActionA )
self . toolBar . addSeparator ( )
self . toolBar . addAction ( self . actionActionSubA )
self . toolBar . addAction ( self . actionActionSubB )
self . toolBarDelayed . addAction ( self . actionActionDelayedA )
self . toolBarDelayed . addSeparator ( )
self . toolBarDelayed . addAction ( self . actionActionDelayedSubA )
self . toolBarCheckable . addAction ( self . actionActionCheckableA )
self . toolBarCheckable . addSeparator ( )
self . toolBarCheckable . addAction ( self . actionActionCheckableSubAChecked )
self . toolBarCheckable . addAction ( self . actionActionCheckableSubAUnchecked )
self . retranslateUi ( MainWindow )
2018-11-01 15:07:48 -04:00
self . tabWidget . setCurrentIndex ( 11 )
2018-02-20 11:15:47 -05:00
QtCore . QMetaObject . connectSlotsByName ( MainWindow )
def retranslateUi ( self , MainWindow ) :
MainWindow . setWindowTitle ( QtGui . QApplication . translate ( " MainWindow " , " MainWindow " , None , QtGui . QApplication . UnicodeUTF8 ) )
2018-11-01 15:07:48 -04:00
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 ) )
2018-10-25 00:34:50 -04:00
self . label_71 . setText ( QtGui . QApplication . translate ( " MainWindow " , " Inside Central Widget " , None , QtGui . QApplication . UnicodeUTF8 ) )
2018-02-20 11:15:47 -05:00
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 ) )
self . menuMenuSubDelayed . setTitle ( QtGui . QApplication . translate ( " MainWindow " , " Menu Sub Delayed " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . menuMenuCheckale . setTitle ( QtGui . QApplication . translate ( " MainWindow " , " Menu Checkable " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . menuAbout . setTitle ( QtGui . QApplication . translate ( " MainWindow " , " About QDarkStyle " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . menuHelp . setTitle ( QtGui . QApplication . translate ( " MainWindow " , " Help " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . toolBar . setWindowTitle ( QtGui . QApplication . translate ( " MainWindow " , " Tool bar actions " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . toolBarDelayed . setWindowTitle ( QtGui . QApplication . translate ( " MainWindow " , " Tool bar actions delayed " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . toolBarCheckable . setWindowTitle ( QtGui . QApplication . translate ( " MainWindow " , " Tool bar action checkable " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . actionActionA . setText ( QtGui . QApplication . translate ( " MainWindow " , " Action A " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . actionActionSubA . setText ( QtGui . QApplication . translate ( " MainWindow " , " Action A Sub " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . actionActionSubA . setToolTip ( QtGui . QApplication . translate ( " MainWindow " , " Action A Sub " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . actionActionSubB . setText ( QtGui . QApplication . translate ( " MainWindow " , " Action B Sub " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . actionActionDelayedA . setText ( QtGui . QApplication . translate ( " MainWindow " , " Action Delayed A " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . actionActionDelayedA . setToolTip ( QtGui . QApplication . translate ( " MainWindow " , " Action Delayed A " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . actionActionDelayedSubA . setText ( QtGui . QApplication . translate ( " MainWindow " , " Action Delayed Sub A " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . actionActionDelayedSubA . setToolTip ( QtGui . QApplication . translate ( " MainWindow " , " Action Delayed Sub A " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . actionActionCheckableA . setText ( QtGui . QApplication . translate ( " MainWindow " , " Action Checkable A " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . actionActionCheckableA . setToolTip ( QtGui . QApplication . translate ( " MainWindow " , " Action Checkable A " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . actionActionCheckableSubAChecked . setText ( QtGui . QApplication . translate ( " MainWindow " , " Action Checkable Sub A Checked " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . actionActionCheckableSubAChecked . setToolTip ( QtGui . QApplication . translate ( " MainWindow " , " Action Checkable Sub A Checked " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . actionActionCheckableSubAUnchecked . setText ( QtGui . QApplication . translate ( " MainWindow " , " Action Checkable Sub A Unchecked " , None , QtGui . QApplication . UnicodeUTF8 ) )
self . actionActionCheckableSubAUnchecked . setToolTip ( QtGui . QApplication . translate ( " MainWindow " , " Action Checkable Sub A Unchecked " , None , QtGui . QApplication . UnicodeUTF8 ) )