GroupWizardDesign.py :  » Network » Luma » luma-2.4 » lib » luma » plugins » usermanagement » Python Open Source

Home
Python Open Source
1.3.1.2 Python
2.Ajax
3.Aspect Oriented
4.Blog
5.Build
6.Business Application
7.Chart Report
8.Content Management Systems
9.Cryptographic
10.Database
11.Development
12.Editor
13.Email
14.ERP
15.Game 2D 3D
16.GIS
17.GUI
18.IDE
19.Installer
20.IRC
21.Issue Tracker
22.Language Interface
23.Log
24.Math
25.Media Sound Audio
26.Mobile
27.Network
28.Parser
29.PDF
30.Project Management
31.RSS
32.Search
33.Security
34.Template Engines
35.Test
36.UML
37.USB Serial
38.Web Frameworks
39.Web Server
40.Web Services
41.Web Unit
42.Wiki
43.Windows
44.XML
Python Open Source » Network » Luma 
Luma » luma 2.4 » lib » luma » plugins » usermanagement » GroupWizardDesign.py
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'GroupWizardDesign.ui'
#
# Created: Mon Dec 10 20:36:20 2007
#      by: The PyQt User Interface Compiler (pyuic) 3.16
#
# WARNING! All changes made in this file will be lost!


from qt import *


class GroupWizardDesign(QWizard):
    def __init__(self,parent = None,name = None,modal = 0,fl = 0):
        QWizard.__init__(self,parent,name,modal,fl)

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



        self.WizardPage = QWidget(self,"WizardPage")
        WizardPageLayout = QGridLayout(self.WizardPage,1,1,11,6,"WizardPageLayout")

        self.locationLabel = QLabel(self.WizardPage,"locationLabel")
        self.locationLabel.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.locationLabel.sizePolicy().hasHeightForWidth()))
        self.locationLabel.setMinimumSize(QSize(64,64))

        WizardPageLayout.addWidget(self.locationLabel,0,0)

        self.line1 = QFrame(self.WizardPage,"line1")
        self.line1.setFrameShape(QFrame.HLine)
        self.line1.setFrameShadow(QFrame.Sunken)
        self.line1.setFrameShape(QFrame.HLine)

        WizardPageLayout.addMultiCellWidget(self.line1,1,1,0,2)

        self.textLabel2 = QLabel(self.WizardPage,"textLabel2")
        self.textLabel2.setSizePolicy(QSizePolicy(QSizePolicy.Preferred,QSizePolicy.Minimum,0,0,self.textLabel2.sizePolicy().hasHeightForWidth()))

        WizardPageLayout.addMultiCellWidget(self.textLabel2,0,0,1,2)

        self.browserFrame = QFrame(self.WizardPage,"browserFrame")
        self.browserFrame.setFrameShape(QFrame.NoFrame)
        self.browserFrame.setFrameShadow(QFrame.Raised)

        WizardPageLayout.addMultiCellWidget(self.browserFrame,2,2,0,2)

        self.locationEdit = QLineEdit(self.WizardPage,"locationEdit")
        self.locationEdit.setReadOnly(1)

        WizardPageLayout.addWidget(self.locationEdit,3,2)

        self.textLabel3 = QLabel(self.WizardPage,"textLabel3")

        WizardPageLayout.addMultiCellWidget(self.textLabel3,3,3,0,1)
        self.addPage(self.WizardPage,QString(""))

        self.WizardPage_2 = QWidget(self,"WizardPage_2")
        WizardPageLayout_2 = QVBoxLayout(self.WizardPage_2,0,6,"WizardPageLayout_2")

        self.accountFrame = QFrame(self.WizardPage_2,"accountFrame")
        self.accountFrame.setFrameShape(QFrame.NoFrame)
        self.accountFrame.setFrameShadow(QFrame.Sunken)

        self.textLabel1 = QLabel(self.accountFrame,"textLabel1")
        self.textLabel1.setGeometry(QRect(63,53,120,20))

        self.textLabel2_2 = QLabel(self.accountFrame,"textLabel2_2")
        self.textLabel2_2.setGeometry(QRect(63,103,75,20))

        self.lineEdit2 = QLineEdit(self.accountFrame,"lineEdit2")
        self.lineEdit2.setGeometry(QRect(210,50,240,25))

        self.pushButton1 = QPushButton(self.accountFrame,"pushButton1")
        self.pushButton1.setGeometry(QRect(300,90,150,34))

        self.spinBox1 = QSpinBox(self.accountFrame,"spinBox1")
        self.spinBox1.setGeometry(QRect(210,100,59,25))
        WizardPageLayout_2.addWidget(self.accountFrame)
        self.addPage(self.WizardPage_2,QString(""))

        self.languageChange()

        self.resize(QSize(665,456).expandedTo(self.minimumSizeHint()))
        self.clearWState(Qt.WState_Polished)



    def languageChange(self):
        self.setCaption(self.__tr("Add Group"))
        self.locationLabel.setText(self.__tr("LOC","DO NOT TRANSLATE"))
        self.textLabel2.setText(self.__tr("Please select a location where the new group should be stored."))
        self.textLabel3.setText(self.__tr("Location:"))
        self.setTitle(self.WizardPage,self.__tr("Select location"))
        self.textLabel1.setText(self.__tr("Name of group:"))
        self.textLabel2_2.setText(self.__tr("Group ID:"))
        self.pushButton1.setText(self.__tr("Find next free"))
        self.setTitle(self.WizardPage_2,self.__tr("Fill contact data"))


    def nextFreeGroupID(self):
        print "GroupWizardDesign.nextFreeGroupID(): Not implemented yet"

    def __tr(self,s,c = None):
        return qApp.translate("GroupWizardDesign",s,c)
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.