WSJT-X/example/ui/mw_menus_pyqtgraph_ui.py
2018-11-01 16:07:48 -03:00

218 lines
14 KiB
Python

# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'mw_menus.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!
from pyqtgraph.Qt import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName(_fromUtf8("MainWindow"))
MainWindow.resize(742, 439)
self.centralwidget = QtGui.QWidget(MainWindow)
self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
self.verticalLayout_4 = QtGui.QVBoxLayout(self.centralwidget)
self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
self.groupBox_2 = QtGui.QGroupBox(self.centralwidget)
self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
self.gridLayout = QtGui.QGridLayout(self.groupBox_2)
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
self.tabWidget = QtGui.QTabWidget(self.groupBox_2)
self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
self.tab = QtGui.QWidget()
self.tab.setObjectName(_fromUtf8("tab"))
self.tabWidget.addTab(self.tab, _fromUtf8(""))
self.tab_2 = QtGui.QWidget()
self.tab_2.setObjectName(_fromUtf8("tab_2"))
self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
self.tab_3 = QtGui.QWidget()
self.tab_3.setObjectName(_fromUtf8("tab_3"))
self.tabWidget.addTab(self.tab_3, _fromUtf8(""))
self.tab_4 = QtGui.QWidget()
self.tab_4.setObjectName(_fromUtf8("tab_4"))
self.tabWidget.addTab(self.tab_4, _fromUtf8(""))
self.tab_5 = QtGui.QWidget()
self.tab_5.setObjectName(_fromUtf8("tab_5"))
self.tabWidget.addTab(self.tab_5, _fromUtf8(""))
self.tab_6 = QtGui.QWidget()
self.tab_6.setObjectName(_fromUtf8("tab_6"))
self.tabWidget.addTab(self.tab_6, _fromUtf8(""))
self.tab_7 = QtGui.QWidget()
self.tab_7.setObjectName(_fromUtf8("tab_7"))
self.tabWidget.addTab(self.tab_7, _fromUtf8(""))
self.tab_8 = QtGui.QWidget()
self.tab_8.setObjectName(_fromUtf8("tab_8"))
self.tabWidget.addTab(self.tab_8, _fromUtf8(""))
self.tab_9 = QtGui.QWidget()
self.tab_9.setObjectName(_fromUtf8("tab_9"))
self.tabWidget.addTab(self.tab_9, _fromUtf8(""))
self.tab_10 = QtGui.QWidget()
self.tab_10.setObjectName(_fromUtf8("tab_10"))
self.tabWidget.addTab(self.tab_10, _fromUtf8(""))
self.tab_11 = QtGui.QWidget()
self.tab_11.setObjectName(_fromUtf8("tab_11"))
self.tabWidget.addTab(self.tab_11, _fromUtf8(""))
self.tab_12 = QtGui.QWidget()
self.tab_12.setObjectName(_fromUtf8("tab_12"))
self.tabWidget.addTab(self.tab_12, _fromUtf8(""))
self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)
self.verticalLayout_4.addWidget(self.groupBox_2)
self.groupBox = QtGui.QGroupBox(self.centralwidget)
self.groupBox.setObjectName(_fromUtf8("groupBox"))
self.gridLayout_2 = QtGui.QGridLayout(self.groupBox)
self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
self.label = QtGui.QLabel(self.groupBox)
self.label.setTextFormat(QtCore.Qt.RichText)
self.label.setAlignment(QtCore.Qt.AlignCenter)
self.label.setWordWrap(True)
self.label.setOpenExternalLinks(True)
self.label.setTextInteractionFlags(QtCore.Qt.TextBrowserInteraction)
self.label.setObjectName(_fromUtf8("label"))
self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1)
self.verticalLayout_4.addWidget(self.groupBox)
self.label_71 = QtGui.QLabel(self.centralwidget)
self.label_71.setAlignment(QtCore.Qt.AlignCenter)
self.label_71.setObjectName(_fromUtf8("label_71"))
self.verticalLayout_4.addWidget(self.label_71)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtGui.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 742, 28))
self.menubar.setObjectName(_fromUtf8("menubar"))
self.menuMenu = QtGui.QMenu(self.menubar)
self.menuMenu.setObjectName(_fromUtf8("menuMenu"))
self.menuMenuSub = QtGui.QMenu(self.menuMenu)
self.menuMenuSub.setObjectName(_fromUtf8("menuMenuSub"))
self.menuMenuDelayed = QtGui.QMenu(self.menubar)
self.menuMenuDelayed.setObjectName(_fromUtf8("menuMenuDelayed"))
self.menuMenuSubDelayed = QtGui.QMenu(self.menuMenuDelayed)
self.menuMenuSubDelayed.setObjectName(_fromUtf8("menuMenuSubDelayed"))
self.menuMenuCheckale = QtGui.QMenu(self.menubar)
self.menuMenuCheckale.setObjectName(_fromUtf8("menuMenuCheckale"))
self.menuAbout = QtGui.QMenu(self.menubar)
self.menuAbout.setObjectName(_fromUtf8("menuAbout"))
self.menuHelp = QtGui.QMenu(self.menubar)
self.menuHelp.setObjectName(_fromUtf8("menuHelp"))
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtGui.QStatusBar(MainWindow)
self.statusbar.setObjectName(_fromUtf8("statusbar"))
MainWindow.setStatusBar(self.statusbar)
self.toolBar = QtGui.QToolBar(MainWindow)
self.toolBar.setObjectName(_fromUtf8("toolBar"))
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
self.toolBarDelayed = QtGui.QToolBar(MainWindow)
self.toolBarDelayed.setObjectName(_fromUtf8("toolBarDelayed"))
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarDelayed)
self.toolBarCheckable = QtGui.QToolBar(MainWindow)
self.toolBarCheckable.setObjectName(_fromUtf8("toolBarCheckable"))
MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBarCheckable)
MainWindow.insertToolBarBreak(self.toolBarCheckable)
self.actionActionA = QtGui.QAction(MainWindow)
self.actionActionA.setObjectName(_fromUtf8("actionActionA"))
self.actionActionSubA = QtGui.QAction(MainWindow)
self.actionActionSubA.setObjectName(_fromUtf8("actionActionSubA"))
self.actionActionSubB = QtGui.QAction(MainWindow)
self.actionActionSubB.setObjectName(_fromUtf8("actionActionSubB"))
self.actionActionDelayedA = QtGui.QAction(MainWindow)
self.actionActionDelayedA.setObjectName(_fromUtf8("actionActionDelayedA"))
self.actionActionDelayedSubA = QtGui.QAction(MainWindow)
self.actionActionDelayedSubA.setObjectName(_fromUtf8("actionActionDelayedSubA"))
self.actionActionCheckableA = QtGui.QAction(MainWindow)
self.actionActionCheckableA.setCheckable(True)
self.actionActionCheckableA.setObjectName(_fromUtf8("actionActionCheckableA"))
self.actionActionCheckableSubAChecked = QtGui.QAction(MainWindow)
self.actionActionCheckableSubAChecked.setCheckable(True)
self.actionActionCheckableSubAChecked.setChecked(True)
self.actionActionCheckableSubAChecked.setObjectName(_fromUtf8("actionActionCheckableSubAChecked"))
self.actionActionCheckableSubAUnchecked = QtGui.QAction(MainWindow)
self.actionActionCheckableSubAUnchecked.setCheckable(True)
self.actionActionCheckableSubAUnchecked.setObjectName(_fromUtf8("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)
self.tabWidget.setCurrentIndex(11)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
self.groupBox_2.setTitle(_translate("MainWindow", "Issue #115 - Tabs scroller buttons", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "Tab 1", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Tab 2", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("MainWindow", "Page", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), _translate("MainWindow", "Page", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5), _translate("MainWindow", "Page", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_6), _translate("MainWindow", "Page", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_7), _translate("MainWindow", "Page", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_8), _translate("MainWindow", "Page", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_9), _translate("MainWindow", "Page", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_10), _translate("MainWindow", "Page", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_11), _translate("MainWindow", "Page", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_12), _translate("MainWindow", "Page", None))
self.groupBox.setTitle(_translate("MainWindow", "Issue #112 - Hyperlinks color", None))
self.label.setText(_translate("MainWindow", "<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.menuMenu.setTitle(_translate("MainWindow", "Menu", None))
self.menuMenuSub.setTitle(_translate("MainWindow", "Menu Sub", None))
self.menuMenuDelayed.setTitle(_translate("MainWindow", "Menu Delayed", None))
self.menuMenuSubDelayed.setTitle(_translate("MainWindow", "Menu Sub Delayed", None))
self.menuMenuCheckale.setTitle(_translate("MainWindow", "Menu Checkable", None))
self.menuAbout.setTitle(_translate("MainWindow", "About QDarkStyle", None))
self.menuHelp.setTitle(_translate("MainWindow", "Help", None))
self.toolBar.setWindowTitle(_translate("MainWindow", "Tool bar actions", None))
self.toolBarDelayed.setWindowTitle(_translate("MainWindow", "Tool bar actions delayed", None))
self.toolBarCheckable.setWindowTitle(_translate("MainWindow", "Tool bar action checkable", None))
self.actionActionA.setText(_translate("MainWindow", "Action A", None))
self.actionActionSubA.setText(_translate("MainWindow", "Action A Sub", None))
self.actionActionSubA.setToolTip(_translate("MainWindow", "Action A Sub", None))
self.actionActionSubB.setText(_translate("MainWindow", "Action B Sub", None))
self.actionActionDelayedA.setText(_translate("MainWindow", "Action Delayed A", None))
self.actionActionDelayedA.setToolTip(_translate("MainWindow", "Action Delayed A", None))
self.actionActionDelayedSubA.setText(_translate("MainWindow", "Action Delayed Sub A", None))
self.actionActionDelayedSubA.setToolTip(_translate("MainWindow", "Action Delayed Sub A", None))
self.actionActionCheckableA.setText(_translate("MainWindow", "Action Checkable A", None))
self.actionActionCheckableA.setToolTip(_translate("MainWindow", "Action Checkable A", None))
self.actionActionCheckableSubAChecked.setText(_translate("MainWindow", "Action Checkable Sub A Checked", None))
self.actionActionCheckableSubAChecked.setToolTip(_translate("MainWindow", "Action Checkable Sub A Checked", None))
self.actionActionCheckableSubAUnchecked.setText(_translate("MainWindow", "Action Checkable Sub A Unchecked", None))
self.actionActionCheckableSubAUnchecked.setToolTip(_translate("MainWindow", "Action Checkable Sub A Unchecked", None))