mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-16 09:01:59 -05:00
260 lines
16 KiB
Python
260 lines
16 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 PyQt4 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(596, 569)
|
|
self.centralwidget = QtGui.QWidget(MainWindow)
|
|
self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
|
|
self.gridLayout_7 = QtGui.QGridLayout(self.centralwidget)
|
|
self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7"))
|
|
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.gridLayout_4 = QtGui.QGridLayout(self.tab)
|
|
self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
|
|
self.groupBox_3 = QtGui.QGroupBox(self.tab)
|
|
self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
|
|
self.gridLayout_5 = QtGui.QGridLayout(self.groupBox_3)
|
|
self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
|
|
self.label_2 = QtGui.QLabel(self.groupBox_3)
|
|
self.label_2.setObjectName(_fromUtf8("label_2"))
|
|
self.gridLayout_5.addWidget(self.label_2, 0, 0, 1, 1)
|
|
self.lineEdit = QtGui.QLineEdit(self.groupBox_3)
|
|
self.lineEdit.setObjectName(_fromUtf8("lineEdit"))
|
|
self.gridLayout_5.addWidget(self.lineEdit, 0, 1, 1, 1)
|
|
self.frame = QtGui.QFrame(self.groupBox_3)
|
|
self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
|
|
self.frame.setFrameShadow(QtGui.QFrame.Raised)
|
|
self.frame.setObjectName(_fromUtf8("frame"))
|
|
self.formLayout = QtGui.QFormLayout(self.frame)
|
|
self.formLayout.setObjectName(_fromUtf8("formLayout"))
|
|
self.label_3 = QtGui.QLabel(self.frame)
|
|
self.label_3.setObjectName(_fromUtf8("label_3"))
|
|
self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_3)
|
|
self.lineEdit_2 = QtGui.QLineEdit(self.frame)
|
|
self.lineEdit_2.setObjectName(_fromUtf8("lineEdit_2"))
|
|
self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.lineEdit_2)
|
|
self.gridLayout_5.addWidget(self.frame, 1, 0, 1, 2)
|
|
self.gridLayout_4.addWidget(self.groupBox_3, 1, 0, 1, 1)
|
|
self.tabWidget.addTab(self.tab, _fromUtf8(""))
|
|
self.tab_2 = QtGui.QWidget()
|
|
self.tab_2.setObjectName(_fromUtf8("tab_2"))
|
|
self.gridLayout_6 = QtGui.QGridLayout(self.tab_2)
|
|
self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6"))
|
|
self.label_4 = QtGui.QLabel(self.tab_2)
|
|
self.label_4.setObjectName(_fromUtf8("label_4"))
|
|
self.gridLayout_6.addWidget(self.label_4, 0, 0, 1, 1)
|
|
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.gridLayout_3 = QtGui.QGridLayout(self.tab_12)
|
|
self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
|
|
self.tabWidget.addTab(self.tab_12, _fromUtf8(""))
|
|
self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)
|
|
self.gridLayout_7.addWidget(self.groupBox_2, 0, 0, 1, 1)
|
|
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.setLineWidth(0)
|
|
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.gridLayout_7.addWidget(self.groupBox, 1, 0, 1, 1)
|
|
self.label_71 = QtGui.QLabel(self.centralwidget)
|
|
self.label_71.setAlignment(QtCore.Qt.AlignCenter)
|
|
self.label_71.setObjectName(_fromUtf8("label_71"))
|
|
self.gridLayout_7.addWidget(self.label_71, 2, 0, 1, 1)
|
|
MainWindow.setCentralWidget(self.centralwidget)
|
|
self.menubar = QtGui.QMenuBar(MainWindow)
|
|
self.menubar.setGeometry(QtCore.QRect(0, 0, 596, 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(1)
|
|
QtCore.QMetaObject.connectSlotsByName(MainWindow)
|
|
MainWindow.setTabOrder(self.lineEdit, self.tabWidget)
|
|
MainWindow.setTabOrder(self.tabWidget, self.lineEdit_2)
|
|
|
|
def retranslateUi(self, MainWindow):
|
|
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
|
|
self.groupBox_2.setTitle(_translate("MainWindow", "Issue #115 - Tabs scroller buttons", None))
|
|
self.groupBox_3.setTitle(_translate("MainWindow", "Issue #123 - Missing borders", None))
|
|
self.label_2.setText(_translate("MainWindow", "TextLabel", None))
|
|
self.lineEdit.setText(_translate("MainWindow", "Inside tab, outside frame", None))
|
|
self.label_3.setText(_translate("MainWindow", "TextLabel", None))
|
|
self.lineEdit_2.setText(_translate("MainWindow", "Inside tab and frame", None))
|
|
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "Tab 1", None))
|
|
self.label_4.setText(_translate("MainWindow", "TextLabel", 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))
|
|
|