Permalink
Browse files

Initial commit.

  • Loading branch information...
cederom committed Nov 25, 2014
1 parent d918686 commit 38d33e6f987124c2cf0eed93691c445140a49888
View
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<buildpath>
+ <buildpathentry kind="src" path=""/>
+ <buildpathentry exported="true" kind="con" path="org.eclipse.dltk.launching.INTERPRETER_CONTAINER"/>
+</buildpath>
View
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>iCeDeROM</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.dltk.core.scriptbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.dltk.python.core.nature</nature>
+ </natures>
+</projectDescription>
View
@@ -1,4 +1,5 @@
iCeDeROM
+In-Circuit Evaluate Debug and Edit for Research on Microelectronics
========
-iCeDeROM
+iCeDeROM has just started.. :-)
View
@@ -0,0 +1,12 @@
+#!/usr/bin/env python
+# -*- coding: UTF-8 -*-
+# vim: set fileencoding=UTF-8 :
+#
+# iCeDeROM: In-Circuit Evaluate Debug and Edit for Research on Microelectronics
+# (C) 2014 Tomasz Bolesław CEDRO (http://www.tomek.cedro.info)
+# All rights reserved, so far :-)
+
+__all__ = [
+'iCeDeROM',
+'modules'
+]
View
@@ -0,0 +1,22 @@
+#!/usr/bin/env python
+# -*- coding: UTF-8 -*-
+# vim: set fileencoding=UTF-8 :
+#
+# iCeDeROM: In-Circuit Evaluate Debug and Edit for Research on Microelectronics
+# (C) 2014 Tomasz Bolesław CEDRO (http://www.tomek.cedro.info)
+# All rights reserved, so far :-)
+
+import sys
+import modules.ui.qt.main
+
+class iCeDeROM(object):
+ """iCeDeROM main class."""
+ def __init__(self):
+ print 'iCeDeROM initializing...'
+ self.modules=dict()
+
+if __name__ == '__main__':
+ print 'Application loading...'
+ iCD=iCeDeROM()
+ iCD.modules['ui']=modules.ui.qt.main.MainWindow()
+ iCD.modules['ui'].start()
View
@@ -0,0 +1,12 @@
+#!/usr/bin/env python
+# -*- coding: UTF-8 -*-
+# vim: set fileencoding=UTF-8 :
+#
+# iCeDeROM: In-Circuit Evaluate Debug and Edit for Research on Microelectronics
+# (C) 2014 Tomasz Bolesław CEDRO (http://www.tomek.cedro.info)
+# All rights reserved, so far :-)
+
+__all__ = [
+'iCeDeROM_Module',
+'ui'
+]
View
@@ -0,0 +1,11 @@
+#!/usr/bin/env python
+# -*- coding: UTF-8 -*-
+# vim: set fileencoding=UTF-8 :
+#
+# iCeDeROM: In-Circuit Evaluate Debug and Edit for Research on Microelectronics
+# (C) 2014 Tomasz Bolesław CEDRO (http://www.tomek.cedro.info)
+# All rights reserved, so far :-)
+
+__all__ = [
+'qt'
+]
View
@@ -0,0 +1,11 @@
+#!/usr/bin/env python
+# -*- coding: UTF-8 -*-
+# vim: set fileencoding=UTF-8 :
+#
+# iCeDeROM: In-Circuit Evaluate Debug and Edit for Research on Microelectronics
+# (C) 2014 Tomasz Bolesław CEDRO (http://www.tomek.cedro.info)
+# All rights reserved, so far :-)
+
+__all__ = [
+'main'
+]
@@ -0,0 +1,64 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'icederom_ui_qt.ui'
+#
+# Created: Tue Nov 25 20:25:18 2014
+# by: PyQt4 UI code generator 4.11.2
+#
+# 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"))
+ self.centralwidget = QtGui.QWidget(MainWindow)
+ self.centralwidget.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))
+ self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
+ self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
+ self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
+ self.mdiArea = QtGui.QMdiArea(self.centralwidget)
+ self.mdiArea.viewport().setProperty("cursor", QtGui.QCursor(QtCore.Qt.ArrowCursor))
+ self.mdiArea.setAutoFillBackground(True)
+ self.mdiArea.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
+ self.mdiArea.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
+ self.mdiArea.setTabsMovable(True)
+ self.mdiArea.setObjectName(_fromUtf8("mdiArea"))
+ self.verticalLayout.addWidget(self.mdiArea)
+ MainWindow.setCentralWidget(self.centralwidget)
+ self.menubar = QtGui.QMenuBar(MainWindow)
+ self.menubar.setGeometry(QtCore.QRect(0, 0, 853, 22))
+ self.menubar.setObjectName(_fromUtf8("menubar"))
+ self.menu_File = QtGui.QMenu(self.menubar)
+ self.menu_File.setObjectName(_fromUtf8("menu_File"))
+ self.menuAbout = QtGui.QMenu(self.menubar)
+ self.menuAbout.setObjectName(_fromUtf8("menuAbout"))
+ MainWindow.setMenuBar(self.menubar)
+ self.statusbar = QtGui.QStatusBar(MainWindow)
+ self.statusbar.setObjectName(_fromUtf8("statusbar"))
+ MainWindow.setStatusBar(self.statusbar)
+ self.menubar.addAction(self.menu_File.menuAction())
+ self.menubar.addAction(self.menuAbout.menuAction())
+
+ self.retranslateUi(MainWindow)
+ QtCore.QMetaObject.connectSlotsByName(MainWindow)
+
+ def retranslateUi(self, MainWindow):
+ MainWindow.setWindowTitle(_translate("MainWindow", "iCeDeROM", None))
+ self.menu_File.setTitle(_translate("MainWindow", "&File", None))
+ self.menuAbout.setTitle(_translate("MainWindow", "About", None))
+
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>MainWindow</class>
+ <widget class="QMainWindow" name="MainWindow">
+ <property name="windowTitle">
+ <string>iCeDeROM</string>
+ </property>
+ <widget class="QWidget" name="centralwidget">
+ <property name="cursor">
+ <cursorShape>ArrowCursor</cursorShape>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item>
+ <widget class="QMdiArea" name="mdiArea">
+ <property name="cursor" stdset="0">
+ <cursorShape>ArrowCursor</cursorShape>
+ </property>
+ <property name="autoFillBackground">
+ <bool>true</bool>
+ </property>
+ <property name="verticalScrollBarPolicy">
+ <enum>Qt::ScrollBarAsNeeded</enum>
+ </property>
+ <property name="horizontalScrollBarPolicy">
+ <enum>Qt::ScrollBarAsNeeded</enum>
+ </property>
+ <property name="tabsMovable">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QMenuBar" name="menubar">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>853</width>
+ <height>22</height>
+ </rect>
+ </property>
+ <widget class="QMenu" name="menu_File">
+ <property name="title">
+ <string>&amp;File</string>
+ </property>
+ </widget>
+ <widget class="QMenu" name="menuAbout">
+ <property name="title">
+ <string>About</string>
+ </property>
+ </widget>
+ <addaction name="menu_File"/>
+ <addaction name="menuAbout"/>
+ </widget>
+ <widget class="QStatusBar" name="statusbar"/>
+ </widget>
+ <resources/>
+ <connections/>
+</ui>
View
@@ -0,0 +1,25 @@
+#!/usr/bin/env python
+# -*- coding: UTF-8 -*-
+# vim: set fileencoding=UTF-8 :
+#
+# iCeDeROM: In-Circuit Evaluate Debug and Edit for Research on Microelectronics
+# (C) 2014 Tomasz Bolesław CEDRO (http://www.tomek.cedro.info)
+# All rights reserved, so far :-)
+
+import sys
+from icederom_ui_qt import *
+from PyQt4 import Qt,QtGui
+
+class MainWindow(object):
+ def __init__(self):
+ self.app=QtGui.QApplication(sys.argv)
+ self.window=QtGui.QMainWindow()
+ self.setup()
+ def setup(self, **params):
+ self.QtDesigner=Ui_MainWindow()
+ self.QtDesigner.setupUi(self.window)
+ def start(self, **params):
+ self.window.showMaximized()
+ self.window.raise_()
+ self.window.show()
+ sys.exit(self.app.exec_())
View
@@ -0,0 +1,2 @@
+#!/bin/sh
+pyuic4-2.7 icederom_ui_qt.ui > icederom_ui_qt.py

0 comments on commit 38d33e6

Please sign in to comment.