summaryrefslogtreecommitdiff
path: root/cad/src/ne1_ui/help/HelpDialog.py
blob: 65e3825c1bfaae150d0822494108876c16053b2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'HelpDialog.ui'
#
# Created: Tue Mar 04 16:01:31 2008
#      by: PyQt4 UI code generator 4.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_HelpDialog(object):
    def setupUi(self, HelpDialog):
        HelpDialog.setObjectName("HelpDialog")
        HelpDialog.resize(QtCore.QSize(QtCore.QRect(0,0,600,480).size()).expandedTo(HelpDialog.minimumSizeHint()))

        self.gridlayout = QtGui.QGridLayout(HelpDialog)
        self.gridlayout.setMargin(9)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")

        self.help_tab = QtGui.QTabWidget(HelpDialog)
        self.help_tab.setObjectName("help_tab")

        self.tab = QtGui.QWidget()
        self.tab.setObjectName("tab")

        self.gridlayout1 = QtGui.QGridLayout(self.tab)
        self.gridlayout1.setMargin(0)
        self.gridlayout1.setSpacing(6)
        self.gridlayout1.setObjectName("gridlayout1")

        self.mouse_controls_textbrowser = QtGui.QTextBrowser(self.tab)
        self.mouse_controls_textbrowser.setObjectName("mouse_controls_textbrowser")
        self.gridlayout1.addWidget(self.mouse_controls_textbrowser,0,0,1,1)
        self.help_tab.addTab(self.tab,"")

        self.tab1 = QtGui.QWidget()
        self.tab1.setObjectName("tab1")

        self.gridlayout2 = QtGui.QGridLayout(self.tab1)
        self.gridlayout2.setMargin(0)
        self.gridlayout2.setSpacing(6)
        self.gridlayout2.setObjectName("gridlayout2")

        self.keyboard_shortcuts_textbrowser = QtGui.QTextBrowser(self.tab1)
        self.keyboard_shortcuts_textbrowser.setObjectName("keyboard_shortcuts_textbrowser")
        self.gridlayout2.addWidget(self.keyboard_shortcuts_textbrowser,0,0,1,1)
        self.help_tab.addTab(self.tab1,"")

        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName("tab_2")

        self.gridlayout3 = QtGui.QGridLayout(self.tab_2)
        self.gridlayout3.setMargin(0)
        self.gridlayout3.setSpacing(6)
        self.gridlayout3.setObjectName("gridlayout3")

        self.selection_shortcuts_textbrowser = QtGui.QTextBrowser(self.tab_2)
        self.selection_shortcuts_textbrowser.setObjectName("selection_shortcuts_textbrowser")
        self.gridlayout3.addWidget(self.selection_shortcuts_textbrowser,0,0,1,1)
        self.help_tab.addTab(self.tab_2,"")
        self.gridlayout.addWidget(self.help_tab,0,0,1,1)

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setObjectName("hboxlayout")

        spacerItem = QtGui.QSpacerItem(40,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
        self.hboxlayout.addItem(spacerItem)

        self.close_btn = QtGui.QPushButton(HelpDialog)
        self.close_btn.setObjectName("close_btn")
        self.hboxlayout.addWidget(self.close_btn)
        self.gridlayout.addLayout(self.hboxlayout,1,0,1,1)

        self.retranslateUi(HelpDialog)
        self.help_tab.setCurrentIndex(2)
        QtCore.QObject.connect(self.close_btn,QtCore.SIGNAL("clicked()"),HelpDialog.close)
        QtCore.QMetaObject.connectSlotsByName(HelpDialog)

    def retranslateUi(self, HelpDialog):
        HelpDialog.setWindowTitle(QtGui.QApplication.translate("HelpDialog", "NanoEngineer-1 Help", None, QtGui.QApplication.UnicodeUTF8))
        self.help_tab.setTabText(self.help_tab.indexOf(self.tab), QtGui.QApplication.translate("HelpDialog", "Mouse Controls", None, QtGui.QApplication.UnicodeUTF8))
        self.help_tab.setTabText(self.help_tab.indexOf(self.tab1), QtGui.QApplication.translate("HelpDialog", "Keyboard Shortcuts", None, QtGui.QApplication.UnicodeUTF8))
        self.help_tab.setTabText(self.help_tab.indexOf(self.tab_2), QtGui.QApplication.translate("HelpDialog", "Selection Shortcuts", None, QtGui.QApplication.UnicodeUTF8))
        self.close_btn.setText(QtGui.QApplication.translate("HelpDialog", "Close", None, QtGui.QApplication.UnicodeUTF8))