C:/mesDocs/QT_confDbVis_canvas/GUImainPanel.py

Go to the documentation of this file.
00001 # -*- coding: utf-8 -*-
00002 
00003 # Form implementation generated from reading ui file 'mainpanel.ui'
00004 #
00005 # Created: Thu Apr 26 10:25:27 2007
00006 #      by: The PyQt User Interface Compiler (pyuic) 3.13
00007 #
00008 # WARNING! All changes made in this file will be lost!
00009 
00010 
00011 from qt import *
00012 from selectPanel import *
00013 from visWindow import *
00014 
00015 
00016 class GUImainPanel(QSplitter):
00017     def __init__(self,main=None,parent = None,name = None,modal = 0,fl = 0):
00018         QSplitter.__init__(self,parent,name)
00019 
00020         if not name:
00021             self.setName("Form1")
00022         self.main=main
00023         
00024 #       self.splitter = QSplitter(parent,"my Splitter")
00025         self.setOrientation(QSplitter.Horizontal)
00026         #self.setGeometry(0,0,800,602)
00027         
00028         self.selectWindow = selectWindow(self.main,parent=self)
00029         self.selectWindow.setMinimumSize(QSize(250,0))
00030         
00031         canvas = QCanvas(self)
00032         self.visWindow = visWindow(self.main,canvas,parent=self)
00033         self.visWindow.setPaletteBackgroundColor(QColor(255,255,255))
00034         self.visWindow.setMinimumSize(QSize(450,0))
00035         self.visWindow.setSizePolicy(QSizePolicy(7,7,1,0,self.visWindow.sizePolicy().hasHeightForWidth()))
00036         
00037         self.languageChange()
00038         self.clearWState(Qt.WState_Polished)
00039 
00040 
00041     def languageChange(self):
00042         self.setCaption(self.__tr("mainPanel"))
00043 #         self.comboBox.clear()
00044 #         self.comboBox.insertItem(self.__tr("All"))
00045 #         self.textLabel1.setText(self.__tr("Select by blabla"))
00046 
00047 
00048     def __tr(self,s,c = None):
00049         return qApp.translate("mainPanel",s,c)
00050 
00051 

Generated on Fri Aug 31 11:11:13 2007 for CDBVis by  doxygen 1.5.3