Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 91 lines (83 sloc) 5.354 kb
084020c @phooky initial commit of rom explorer gui
authored
1 # -*- coding: utf-8 -*-
2
3 # Form implementation generated from reading ui file 'mainwindow.ui'
4 #
2ce585e @phooky added mouseover position to explorer
authored
5 # Created: Thu Aug 23 01:07:24 2012
084020c @phooky initial commit of rom explorer gui
authored
6 # by: PyQt4 UI code generator 4.9.1
7 #
8 # WARNING! All changes made in this file will be lost!
9
10 from PyQt4 import QtCore, QtGui
11
12 try:
13 _fromUtf8 = QtCore.QString.fromUtf8
14 except AttributeError:
15 _fromUtf8 = lambda s: s
16
17 class Ui_MainWindow(object):
18 def setupUi(self, MainWindow):
19 MainWindow.setObjectName(_fromUtf8("MainWindow"))
20 MainWindow.resize(800, 600)
21 self.centralwidget = QtGui.QWidget(MainWindow)
22 self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
23 self.verticalLayout_2 = QtGui.QVBoxLayout(self.centralwidget)
24 self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
25 self.bitmapView = QtGui.QGraphicsView(self.centralwidget)
2ce585e @phooky added mouseover position to explorer
authored
26 self.bitmapView.setMouseTracking(True)
084020c @phooky initial commit of rom explorer gui
authored
27 self.bitmapView.setObjectName(_fromUtf8("bitmapView"))
28 self.verticalLayout_2.addWidget(self.bitmapView)
29 self.horizontalLayout = QtGui.QHBoxLayout()
30 self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
31 self.label_2 = QtGui.QLabel(self.centralwidget)
0e3bb4e @phooky latest work on rom explorer
authored
32 self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
084020c @phooky initial commit of rom explorer gui
authored
33 self.label_2.setObjectName(_fromUtf8("label_2"))
34 self.horizontalLayout.addWidget(self.label_2)
35 self.bitDepthComboBox = QtGui.QComboBox(self.centralwidget)
36 self.bitDepthComboBox.setObjectName(_fromUtf8("bitDepthComboBox"))
37 self.bitDepthComboBox.addItem(_fromUtf8(""))
38 self.bitDepthComboBox.addItem(_fromUtf8(""))
39 self.bitDepthComboBox.addItem(_fromUtf8(""))
40 self.bitDepthComboBox.addItem(_fromUtf8(""))
41 self.bitDepthComboBox.addItem(_fromUtf8(""))
42 self.bitDepthComboBox.addItem(_fromUtf8(""))
43 self.horizontalLayout.addWidget(self.bitDepthComboBox)
0e3bb4e @phooky latest work on rom explorer
authored
44 self.endianCheckBox = QtGui.QCheckBox(self.centralwidget)
45 self.endianCheckBox.setObjectName(_fromUtf8("endianCheckBox"))
46 self.horizontalLayout.addWidget(self.endianCheckBox)
47 self.wrapCheckBox = QtGui.QCheckBox(self.centralwidget)
48 self.wrapCheckBox.setChecked(True)
49 self.wrapCheckBox.setTristate(False)
50 self.wrapCheckBox.setObjectName(_fromUtf8("wrapCheckBox"))
51 self.horizontalLayout.addWidget(self.wrapCheckBox)
084020c @phooky initial commit of rom explorer gui
authored
52 self.label = QtGui.QLabel(self.centralwidget)
0e3bb4e @phooky latest work on rom explorer
authored
53 self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
084020c @phooky initial commit of rom explorer gui
authored
54 self.label.setObjectName(_fromUtf8("label"))
55 self.horizontalLayout.addWidget(self.label)
56 self.rowStrideBox = QtGui.QSpinBox(self.centralwidget)
57 self.rowStrideBox.setMinimum(1)
58 self.rowStrideBox.setMaximum(2096)
59 self.rowStrideBox.setObjectName(_fromUtf8("rowStrideBox"))
60 self.horizontalLayout.addWidget(self.rowStrideBox)
0e3bb4e @phooky latest work on rom explorer
authored
61 self.saveButton = QtGui.QPushButton(self.centralwidget)
62 self.saveButton.setObjectName(_fromUtf8("saveButton"))
63 self.horizontalLayout.addWidget(self.saveButton)
084020c @phooky initial commit of rom explorer gui
authored
64 self.verticalLayout_2.addLayout(self.horizontalLayout)
65 MainWindow.setCentralWidget(self.centralwidget)
66 self.menubar = QtGui.QMenuBar(MainWindow)
67 self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 25))
68 self.menubar.setObjectName(_fromUtf8("menubar"))
69 MainWindow.setMenuBar(self.menubar)
70 self.statusbar = QtGui.QStatusBar(MainWindow)
71 self.statusbar.setObjectName(_fromUtf8("statusbar"))
72 MainWindow.setStatusBar(self.statusbar)
73
74 self.retranslateUi(MainWindow)
75 QtCore.QMetaObject.connectSlotsByName(MainWindow)
76
77 def retranslateUi(self, MainWindow):
78 MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "ROM Bitmap Explorer", None, QtGui.QApplication.UnicodeUTF8))
79 self.label_2.setText(QtGui.QApplication.translate("MainWindow", "Bit Depth", None, QtGui.QApplication.UnicodeUTF8))
80 self.bitDepthComboBox.setItemText(0, QtGui.QApplication.translate("MainWindow", "1", None, QtGui.QApplication.UnicodeUTF8))
81 self.bitDepthComboBox.setItemText(1, QtGui.QApplication.translate("MainWindow", "2", None, QtGui.QApplication.UnicodeUTF8))
82 self.bitDepthComboBox.setItemText(2, QtGui.QApplication.translate("MainWindow", "4", None, QtGui.QApplication.UnicodeUTF8))
83 self.bitDepthComboBox.setItemText(3, QtGui.QApplication.translate("MainWindow", "8", None, QtGui.QApplication.UnicodeUTF8))
84 self.bitDepthComboBox.setItemText(4, QtGui.QApplication.translate("MainWindow", "16", None, QtGui.QApplication.UnicodeUTF8))
85 self.bitDepthComboBox.setItemText(5, QtGui.QApplication.translate("MainWindow", "24", None, QtGui.QApplication.UnicodeUTF8))
0e3bb4e @phooky latest work on rom explorer
authored
86 self.endianCheckBox.setText(QtGui.QApplication.translate("MainWindow", "Little-endian", None, QtGui.QApplication.UnicodeUTF8))
87 self.wrapCheckBox.setText(QtGui.QApplication.translate("MainWindow", "Wrap image", None, QtGui.QApplication.UnicodeUTF8))
084020c @phooky initial commit of rom explorer gui
authored
88 self.label.setText(QtGui.QApplication.translate("MainWindow", "Row Stride (bytes)", None, QtGui.QApplication.UnicodeUTF8))
0e3bb4e @phooky latest work on rom explorer
authored
89 self.saveButton.setText(QtGui.QApplication.translate("MainWindow", "Save Image...", None, QtGui.QApplication.UnicodeUTF8))
084020c @phooky initial commit of rom explorer gui
authored
90
Something went wrong with that request. Please try again.