# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'commands.ui'
#
# Created: gio apr 7 16:46:09 2005
#      by: The PyQt User Interface Compiler (pyuic) 3.8.1
#
# WARNING! All changes made in this file will be lost!


from qt import *


class Form1(QWidget):
    def __init__(self,parent = None,name = None,fl = 0):
        QWidget.__init__(self,parent,name,fl)

        if not name:
            self.setName("Form1")



        self.examplesTE = QTextEdit(self,"examplesTE")
        self.examplesTE.setGeometry(QRect(0,270,541,171))

        self.runcowan = QPushButton(self,"runcowan")
        self.runcowan.setGeometry(QRect(10,40,171,31))

        self.loadExample = QPushButton(self,"loadExample")
        self.loadExample.setGeometry(QRect(10,220,351,31))

        self.languageChange()

        self.resize(QSize(600,483).expandedTo(self.minimumSizeHint()))
        self.clearWState(Qt.WState_Polished)

        self.connect(self.runcowan,SIGNAL("clicked()"),self.runcowan_clicked)
        self.connect(self.loadExample,SIGNAL("clicked()"),self.loadExample_clicked)


    def languageChange(self):
        self.setCaption(self.__tr("Form1"))
        self.runcowan.setText(self.__tr("Run RCN"))
        self.loadExample.setText(self.__tr("load the line"))


    def runcowan_clicked(self):
        print "Form1.runcowan_clicked(): Not implemented yet"

    def loadExample_clicked(self):
        print "Form1.loadExample_clicked(): Not implemented yet"

    def __tr(self,s,c = None):
        return qApp.translate("Form1",s,c)
