summaryrefslogtreecommitdiffstats
path: root/python/pyqt/examples2
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-14 19:47:20 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-14 19:47:20 +0000
commit875ae8e38bc3663e5057ca910e7ebe4b2994edb9 (patch)
treeddd3b3bc4d6f0343bae986aebbf9555c20f8e558 /python/pyqt/examples2
parentcb61a0436524f8ceba31db51ce3f1c5d4afbbb0e (diff)
downloadtdebindings-875ae8e38bc3663e5057ca910e7ebe4b2994edb9.tar.gz
tdebindings-875ae8e38bc3663e5057ca910e7ebe4b2994edb9.zip
Updated python directory
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1175349 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'python/pyqt/examples2')
-rw-r--r--python/pyqt/examples2/README11
-rwxr-xr-xpython/pyqt/examples2/aclock.py61
-rwxr-xr-xpython/pyqt/examples2/addressbook.py457
-rwxr-xr-xpython/pyqt/examples2/application.py277
-rwxr-xr-xpython/pyqt/examples2/buttongroups.py113
-rwxr-xr-xpython/pyqt/examples2/dclock.py58
-rwxr-xr-xpython/pyqt/examples2/desktop.py219
-rwxr-xr-xpython/pyqt/examples2/dirview.py76
-rwxr-xr-xpython/pyqt/examples2/dragdrop.py57
-rw-r--r--python/pyqt/examples2/dropsite.py96
-rwxr-xr-xpython/pyqt/examples2/gears.py235
-rwxr-xr-xpython/pyqt/examples2/menu.py301
-rw-r--r--python/pyqt/examples2/qt.pngbin355 -> 0 bytes
-rw-r--r--python/pyqt/examples2/qtlogo.pngbin3734 -> 0 bytes
-rw-r--r--python/pyqt/examples2/secret.py65
-rwxr-xr-xpython/pyqt/examples2/semaphore.py203
-rwxr-xr-xpython/pyqt/examples2/splitter.py65
-rwxr-xr-xpython/pyqt/examples2/table.py115
-rwxr-xr-xpython/pyqt/examples2/themes.py2484
-rw-r--r--python/pyqt/examples2/trolltech.bmpbin30054 -> 0 bytes
-rw-r--r--python/pyqt/examples2/trolltech.gifbin42629 -> 0 bytes
-rw-r--r--python/pyqt/examples2/tt-logo.pngbin4547 -> 0 bytes
-rwxr-xr-xpython/pyqt/examples2/tut1.py16
-rwxr-xr-xpython/pyqt/examples2/tut10.py145
-rwxr-xr-xpython/pyqt/examples2/tut11.py213
-rwxr-xr-xpython/pyqt/examples2/tut12.py252
-rwxr-xr-xpython/pyqt/examples2/tut13.py329
-rwxr-xr-xpython/pyqt/examples2/tut14.py377
-rwxr-xr-xpython/pyqt/examples2/tut2.py19
-rwxr-xr-xpython/pyqt/examples2/tut3.py20
-rwxr-xr-xpython/pyqt/examples2/tut4.py29
-rwxr-xr-xpython/pyqt/examples2/tut5.py32
-rwxr-xr-xpython/pyqt/examples2/tut6.py41
-rwxr-xr-xpython/pyqt/examples2/tut7.py57
-rwxr-xr-xpython/pyqt/examples2/tut8.py96
-rwxr-xr-xpython/pyqt/examples2/tut9.py104
-rwxr-xr-xpython/pyqt/examples2/widgets.py512
37 files changed, 0 insertions, 7135 deletions
diff --git a/python/pyqt/examples2/README b/python/pyqt/examples2/README
deleted file mode 100644
index 1c1938f1..00000000
--- a/python/pyqt/examples2/README
+++ /dev/null
@@ -1,11 +0,0 @@
-To run these examples, make sure you have your PYTHONPATH environment variable
-set if needed and explicitly set the path to python at the top of each script
-if you don't have /usr/bin/env.
-
-The examples are written for Qt v2.x.
-
-A much better source of information about using PyQt is Boudewijn Rempt's
-book at http://stage.linuxports.com/projects/pyqt/.
-
-Phil Thompson
-phil@riverbankcomputing.co.uk
diff --git a/python/pyqt/examples2/aclock.py b/python/pyqt/examples2/aclock.py
deleted file mode 100755
index 38ed36c9..00000000
--- a/python/pyqt/examples2/aclock.py
+++ /dev/null
@@ -1,61 +0,0 @@
-#!/usr/bin/env python
-
-import sys
-from qt import *
-
-def QMIN(x, y):
- if y > x: return y
- return x
-class AnalogClock(QWidget):
- def __init__(self, *args):
- apply(QWidget.__init__,(self,) + args)
- self.time = QTime.currentTime()
- internalTimer = QTimer(self)
- self.connect(internalTimer, SIGNAL("timeout()"), self.timeout)
- internalTimer.start(5000)
-
- def timeout(self):
- new_time = QTime.currentTime()
- if new_time.minute() != self.time.minute():
- self.update()
-
- def paintEvent(self, qe):
- if not self.isVisible():
- return
- self.time = QTime.currentTime()
-
- pts = QPointArray()
- paint = QPainter(self)
- paint.setBrush(self.foregroundColor())
-
- cp = QPoint(self.rect().center())
- d = QMIN(self.width(), self.height())
- matrix = QWMatrix()
- matrix.translate(cp.x(), cp.y())
- matrix.scale(d/1000.0, d/1000.0)
-
- h_angle = 30*(self.time.hour()%12 - 3) + self.time.minute()/2
- matrix.rotate(h_angle)
- paint.setWorldMatrix(matrix)
- pts.setPoints([-20,0,0,-20,300,0,0,20])
- paint.drawPolygon(pts)
- matrix.rotate(-h_angle)
-
- m_angle = (self.time.minute()-15)*6
- matrix.rotate(m_angle)
- paint.setWorldMatrix(matrix)
- pts.setPoints([-10,0,0,-10,400,0,0,10])
- paint.drawPolygon(pts)
- matrix.rotate(-m_angle)
-
- for i in range(0,12):
- paint.setWorldMatrix(matrix)
- paint.drawLine(450,0, 500,0)
- matrix.rotate(30)
-
-a = QApplication(sys.argv)
-clock = AnalogClock()
-clock.resize(100,100)
-a.setMainWidget(clock)
-clock.show()
-a.exec_loop()
diff --git a/python/pyqt/examples2/addressbook.py b/python/pyqt/examples2/addressbook.py
deleted file mode 100755
index d7316e33..00000000
--- a/python/pyqt/examples2/addressbook.py
+++ /dev/null
@@ -1,457 +0,0 @@
-#!/usr/bin/env python
-
-# A port to PyQt of the application example from Qt v2.x.
-
-
-import sys, string
-from qt import *
-
-TRUE = 1
-FALSE = 0
-fileopen = [
-' 16 13 5 1',
-'. c #040404',
-'# c #808304',
-'a c None',
-'b c #f3f704',
-'c c #f3f7f3',
-'aaaaaaaaa...aaaa',
-'aaaaaaaa.aaa.a.a',
-'aaaaaaaaaaaaa..a',
-'a...aaaaaaaa...a',
-'.bcb.......aaaaa',
-'.cbcbcbcbc.aaaaa',
-'.bcbcbcbcb.aaaaa',
-'.cbcb...........',
-'.bcb.#########.a',
-'.cb.#########.aa',
-'.b.#########.aaa',
-'..#########.aaaa',
-'...........aaaaa'
-]
-
-filesave = [
-' 14 14 4 1',
-'. c #040404',
-'# c #808304',
-'a c #bfc2bf',
-'b c None',
-'..............',
-'.#.aaaaaaaa.a.',
-'.#.aaaaaaaa...',
-'.#.aaaaaaaa.#.',
-'.#.aaaaaaaa.#.',
-'.#.aaaaaaaa.#.',
-'.#.aaaaaaaa.#.',
-'.##........##.',
-'.############.',
-'.##.........#.',
-'.##......aa.#.',
-'.##......aa.#.',
-'.##......aa.#.',
-'b.............'
-]
-
-fileprint = [
-' 16 14 6 1',
-'. c #000000',
-'# c #848284',
-'a c #c6c3c6',
-'b c #ffff00',
-'c c #ffffff',
-'d c None',
-'ddddd.........dd',
-'dddd.cccccccc.dd',
-'dddd.c.....c.ddd',
-'ddd.cccccccc.ddd',
-'ddd.c.....c....d',
-'dd.cccccccc.a.a.',
-'d..........a.a..',
-'.aaaaaaaaaa.a.a.',
-'.............aa.',
-'.aaaaaa###aa.a.d',
-'.aaaaaabbbaa...d',
-'.............a.d',
-'d.aaaaaaaaa.a.dd',
-'dd...........ddd'
-]
-
-class ABCentralWidget( QWidget ):
- def __init__( self, *args ):
- apply( QWidget.__init__, (self, ) + args )
- self.mainGrid = QGridLayout( self, 2, 1, 5, 5 )
-
- self.setupTabWidget()
- self.setupListView()
-
- self.mainGrid.setRowStretch( 0, 0 )
- self.mainGrid.setRowStretch( 1, 1 )
-
- def save( self, filename ):
- if not self.listView.firstChild():
- return
-
- f = QFile( filename )
- if not f.open( IO_WriteOnly ):
- return
-
- t = QTextStream( f )
-
- #it = QListViewItemIterator( self.listView )
-
- while not t.eof():
- item = QListViewItem( self.listView )
- for i in range (0, 4):
- t << item.text( i ) << '\n'
- #for it in it.current():
- #for i in range (0, 4):
- #t << it.current().text[ i ] << "\n"
-
- f.close()
-
-
- def load( self, filename ):
- self.listView.clear()
-
- f = QFile( filename )
- if not f.open( IO_ReadOnly ):
- return
-
- t = QTextStream( f )
-
- while not t.eof():
- item = QListViewItem( self.listView )
- for i in range (0, 4):
- item.setText( i, t.readLine() )
-
- f.close();
-
-
- def setupTabWidget( self ):
- self.tabWidget = QTabWidget( self )
-
- self.input = QWidget( self.tabWidget )
- self.grid1 = QGridLayout( self.input, 2, 5, 5, 5 )
-
- self.liFirstName = QLabel( 'First &Name', self.input )
- self.liFirstName.resize( self.liFirstName.sizeHint() )
- self.grid1.addWidget( self.liFirstName, 0, 0 )
-
- self.liLastName = QLabel( '&Last Name', self.input )
- self.liLastName.resize( self.liLastName.sizeHint() )
- self.grid1.addWidget( self.liLastName, 0, 1 )
-
- self.liAddress = QLabel( '&Address', self.input )
- self.liAddress.resize( self.liAddress.sizeHint() )
- self.grid1.addWidget( self.liAddress, 0, 2 )
-
- self.liEMail = QLabel( '&E-Mail', self.input )
- self.liEMail.resize( self.liEMail.sizeHint() )
- self.grid1.addWidget( self.liEMail, 0, 3 )
-
- self.add = QPushButton( '&Add', self.input )
- self.add.resize( self.add.sizeHint() )
- self.grid1.addWidget( self.add, 0, 4 )
- self.connect( self.add, SIGNAL( 'clicked()' ), self.addEntry )
-
- self.iFirstName = QLineEdit( self.input )
- self.iFirstName.resize( self.iFirstName.sizeHint() )
- self.grid1.addWidget( self.iFirstName, 1, 0 )
- self.liFirstName.setBuddy( self.iFirstName )
-
- self.iLastName = QLineEdit( self.input )
- self.iLastName.resize( self.iLastName.sizeHint() )
- self.grid1.addWidget( self.iLastName, 1, 1 )
- self.liLastName.setBuddy( self.iLastName )
-
- self.iAddress = QLineEdit( self.input )
- self.iAddress.resize( self.iAddress.sizeHint() )
- self.grid1.addWidget( self.iAddress, 1, 2 )
- self.liAddress.setBuddy( self.iAddress )
-
- self.iEMail = QLineEdit( self.input )
- self.iEMail.resize( self.iEMail.sizeHint() )
- self.grid1.addWidget( self.iEMail, 1, 3 )
- self.liEMail.setBuddy( self.iEMail )
-
- self.change = QPushButton( '&Change', self.input )
- self.change.resize( self.change.sizeHint() )
- self.grid1.addWidget( self.change, 1, 4 )
- self.connect( self.change, SIGNAL( 'clicked()' ), self.changeEntry )
-
- self.tabWidget.addTab( self.input, '&Add/Change Entry' )
-
- # --------------------------------------
-
- self.search = QWidget( self )
- self.grid2 = QGridLayout( self.search, 2, 5, 5, 5 )
-
- self.cFirstName = QCheckBox( 'First &Name', self.search )
- self.cFirstName.resize( self.cFirstName.sizeHint() )
- self.grid2.addWidget( self.cFirstName, 0, 0 )
- self.connect( self.cFirstName, SIGNAL( 'clicked()' ), self.toggleFirstName )
-
- self.cLastName = QCheckBox( '&Last Name', self.search )
- self.cLastName.resize( self.cLastName.sizeHint() )
- self.grid2.addWidget( self.cLastName, 0, 1 )
- self.connect( self.cLastName, SIGNAL( 'clicked()' ), self.toggleLastName )
-
- self.cAddress = QCheckBox( '&Address', self.search )
- self.cAddress.resize( self.cAddress.sizeHint() )
- self.grid2.addWidget( self.cAddress, 0, 2 )
- self.connect( self.cAddress, SIGNAL( 'clicked()' ), self.toggleAddress )
-
- self.cEMail = QCheckBox( '&E-Mail', self.search )
- self.cEMail.resize( self.cEMail.sizeHint() )
- self.grid2.addWidget( self.cEMail, 0, 3 )
- self.connect( self.cEMail, SIGNAL( 'clicked()' ), self.toggleEMail )
-
- self.sFirstName = QLineEdit( self.search )
- self.sFirstName.resize( self.sFirstName.sizeHint() )
- self.grid2.addWidget( self.sFirstName, 1, 0 )
-
- self.sLastName = QLineEdit( self.search )
- self.sLastName.resize( self.sLastName.sizeHint() )
- self.grid2.addWidget( self.sLastName, 1, 1 )
-
- self.sAddress = QLineEdit( self.search )
- self.sAddress.resize( self.sAddress.sizeHint() )
- self.grid2.addWidget( self.sAddress, 1, 2 )
-
- self.sEMail = QLineEdit( self.search )
- self.sEMail.resize( self.sEMail.sizeHint() )
- self.grid2.addWidget( self.sEMail, 1, 3 )
-
- self.find = QPushButton( '&Find', self.search )
- self.find.resize( self.find.sizeHint() )
- self.grid2.addWidget( self.find, 1, 4 )
- self.connect( self.find, SIGNAL( 'clicked()' ), self.findEntries )
-
- self.cFirstName.setChecked( TRUE )
- self.sFirstName.setEnabled( TRUE )
- self.sLastName.setEnabled( FALSE )
- self.sAddress.setEnabled( FALSE )
- self.sEMail.setEnabled( FALSE )
-
- self.tabWidget.addTab( self.search, "&Search" )
-
- self.mainGrid.addWidget( self.tabWidget, 0, 0 )
-
- def setupListView( self ):
- self.listView = QListView( self )
- self.listView.addColumn( 'First Name' )
- self.listView.addColumn( 'Last Name' )
- self.listView.addColumn( 'Address' )
- self.listView.addColumn( 'E-Mail' )
-
- self.listView.setSelectionMode( QListView.Extended )
-
- self.connect( self.listView, SIGNAL( 'clicked( QListViewItem* )' ), self.itemSelected )
-
- self.mainGrid.addWidget( self.listView, 1, 0 )
- self.listView.setAllColumnsShowFocus( TRUE )
-
-
- def addEntry( self ):
- if not self.iFirstName.text().isEmpty() or not self.iLastName.text().isEmpty() or \
- not self.iAddress.text().isEmpty() or not self.iEMail.text().isEmpty() :
- self.item = QListViewItem( self.listView )
- self.item.setText( 0, self.iFirstName.text() )
- self.item.setText( 1, self.iLastName.text() )
- self.item.setText( 2, self.iAddress.text() )
- self.item.setText( 3, self.iEMail.text() )
-
- self.iFirstName.setText( '' )
- self.iLastName.setText( '' )
- self.iAddress.setText( '' )
- self.iEMail.setText( '' )
-
- def changeEntry( self ):
- self.item = self.listView.currentItem()
- if self.item and ( not self.iFirstName.text().isEmpty() or not self.iLastName.text().isEmpty() or \
- not self.iAddress.text().isEmpty() or not self.iEMail.text().isEmpty() ) :
- self.item.setText( 0, self.iFirstName.text() )
- self.item.setText( 1, self.iLastName.text() )
- self.item.setText( 2, self.iAddress.text() )
- self.item.setText( 3, self.iEMail.text() )
-
- def selectionChanged( self ):
- self.iFirstName.setText( '' )
- self.iLastName.setText( '' )
- self.iAddress.setText( '' )
- self.iEMail.setText( '' )
-
- def itemSelected( self, item ):
- self.item.setSelected( TRUE )
- self.item.repaint()
-
- self.iFirstName.setText( item.text( 0 ) )
- self.iLastName.setText( item.text( 1 ) )
- self.iAddress.setText( item.text( 2 ) )
- self.iEMail.setText( item.text( 3 ) )
-
- def toggleFirstName( self ):
- self.sFirstName.setText( '' )
- if self.cFirstName.isChecked():
- self.sFirstName.setEnabled( TRUE )
- self.sFirstName.setFocus()
- else:
- self.sFirstName.setEnabled( FALSE )
-
- def toggleLastName( self ):
- self.sLastName.setText( '' )
- if self.cLastName.isChecked():
- self.sLastName.setEnabled( TRUE )
- self.sLastName.setFocus()
- else:
- self.sLastName.setEnabled( FALSE )
-
-
- def toggleAddress( self ):
- self.sAddress.setText( '' )
- if self.cAddress.isChecked():
- self.sAddress.setEnabled( TRUE )
- self.sAddress.setFocus()
- else:
- self.sAddress.setEnabled( FALSE )
-
-
- def toggleEMail( self ):
- self.sEMail.setText( '' )
- if self.cEMail.isChecked():
- self.sEMail.setEnabled( TRUE )
- self.sEMail.setFocus()
-
- else:
- self.sEMail.setEnabled( FALSE )
-
-
- def findEntries( self ):
- if not self.cFirstName.isChecked() and not self.cLastName.isChecked() and \
- not self.cAddress.isChecked() and not self.cEMail.isChecked():
- self.listView.clearSelection()
- return
-
- it = QListViewItemIterator( self.listView )
-
- for it in it.current() :
- select = TRUE
-
- if self.cFirstName.isChecked():
- if select and it.current().text( 0 ).contains( self.sFirstName.text() ):
- select = TRUE
- else:
- select = FALSE
-
- if self.cLastName.isChecked():
- if select and it.current().text( 1 ).contains( self.sLastName.text() ):
- select = TRUE
- else:
- select = FALSE
-
- if self.cAddress.isChecked():
- if select and it.current().text( 2 ).contains( self.sAddress.text() ):
- select = TRUE
- else:
- select = FALSE
-
- if self.cEMail.isChecked():
- if select and it.current().text( 3 ).contains( self.sEMail.text() ):
- select = TRUE
- else:
- select = FALSE
-
-
- if select:
- it.current().setSelected( TRUE )
- else:
- it.current().setSelected( FALSE )
- it.current().repaint()
-
-
-class ABMainWindow(QMainWindow):
- def __init__( self ):
- QMainWindow.__init__( self, None, 'example addressbook application' )
-
- self.filename = QString.null
- self.setupMenuBar()
- self.setupFileTools()
- self.setupStatusBar()
- self.setupCentralWidget()
-
- def setupMenuBar( self ):
- self.file = QPopupMenu( self )
- self.menuBar().insertItem( '&File', self.file )
-
- openIcon = QIconSet( QPixmap( fileopen ) )
- self.file.insertItem( 'New', self.fileNew, Qt.CTRL + Qt.Key_N )
- self.file.insertItem( openIcon, 'Open', self.fileOpen, Qt.CTRL + Qt.Key_O )
- self.file.insertSeparator()
- saveIcon = QIconSet( QPixmap( filesave ) )
- self.file.insertItem( saveIcon, 'Save', self.fileSave, Qt.CTRL + Qt.Key_S )
- self.file.insertItem( 'Save As...', self.fileSaveAs )
- self.file.insertSeparator()
- printIcon = QIconSet( QPixmap( fileprint ) )
- self.file.insertItem( printIcon, 'Print...', self.filePrint, Qt.CTRL + Qt.Key_P )
- self.file.insertSeparator()
- #self.file.insertItem( 'Close', self.closeWindow, Qt.CTRL + Qt.Key_W )
- self.file.insertItem('Close', self, SLOT('close()'), Qt.CTRL+Qt.Key_W)
- self.file.insertItem( 'Quit', qApp, SLOT( 'quit()' ), Qt.CTRL + Qt.Key_Q )
-
- def setupFileTools( self ):
- pass
- #self.fileTools = QToolBar( self, 'file operations' )
-
- def setupStatusBar( self ):
- self.statusBar().message( "Ready", 2000 )
-
- def setupCentralWidget( self ):
- self.view = ABCentralWidget( self )
- #self.view.show()
- self.setCentralWidget( self.view )
-
- def closeWindow( self ):
- close()
-
-
- def fileNew( self ):
- pass
-
- def fileOpen( self ):
- fn = QFileDialog.getOpenFileName( QString.null, QString.null, self )
- if not fn.isEmpty():
- self.filename = fn
- self.view.load( self.filename )
-
- def fileSave( self ):
- if self.filename.isEmpty():
- self.fileSaveAs()
- return
-
- self.view.save( self.filename )
-
- def fileSaveAs( self ):
- fn = QFileDialog.getSaveFileName( QString.null, QString.null, self )
- if not fn.isEmpty():
- self.filename = fn
- self.fileSave
-
- def filePrint( self ):
- pass
-
-
-a = QApplication( sys.argv )
-
-mw = ABMainWindow()
-#mw.setupMenuBar()
-#mw.setupFileTools
-#mw.setupStatusBar
-#mw.setupCentralWidget
-#view = ABCentralWidget()
-#mw.setCentralWidget( view )
-mw.setCaption( 'Addressbook 1' )
-a.setMainWidget( mw )
-mw.show()
-
-a.connect( a, SIGNAL( 'lastWindowClosed()' ), a, SLOT( 'quit()' ) )
-a.exec_loop()
diff --git a/python/pyqt/examples2/application.py b/python/pyqt/examples2/application.py
deleted file mode 100755
index 294c6cb4..00000000
--- a/python/pyqt/examples2/application.py
+++ /dev/null
@@ -1,277 +0,0 @@
-#!/usr/bin/env python
-
-# A simple application.
-
-
-import sys, string
-from qt import *
-
-
-fileopen = [
- '16 13 5 1',
- '. c #040404',
- '# c #808304',
- 'a c None',
- 'b c #f3f704',
- 'c c #f3f7f3',
- 'aaaaaaaaa...aaaa',
- 'aaaaaaaa.aaa.a.a',
- 'aaaaaaaaaaaaa..a',
- 'a...aaaaaaaa...a',
- '.bcb.......aaaaa',
- '.cbcbcbcbc.aaaaa',
- '.bcbcbcbcb.aaaaa',
- '.cbcb...........',
- '.bcb.#########.a',
- '.cb.#########.aa',
- '.b.#########.aaa',
- '..#########.aaaa',
- '...........aaaaa'
-]
-
-filesave = [
- '14 14 4 1',
- '. c #040404',
- '# c #808304',
- 'a c #bfc2bf',
- 'b c None',
- '..............',
- '.#.aaaaaaaa.a.',
- '.#.aaaaaaaa...',
- '.#.aaaaaaaa.#.',
- '.#.aaaaaaaa.#.',
- '.#.aaaaaaaa.#.',
- '.#.aaaaaaaa.#.',
- '.##........##.',
- '.############.',
- '.##.........#.',
- '.##......aa.#.',
- '.##......aa.#.',
- '.##......aa.#.',
- 'b.............'
-]
-
-fileprint = [
- '16 14 6 1',
- '. c #000000',
- '# c #848284',
- 'a c #c6c3c6',
- 'b c #ffff00',
- 'c c #ffffff',
- 'd c None',
- 'ddddd.........dd',
- 'dddd.cccccccc.dd',
- 'dddd.c.....c.ddd',
- 'ddd.cccccccc.ddd',
- 'ddd.c.....c....d',
- 'dd.cccccccc.a.a.',
- 'd..........a.a..',
- '.aaaaaaaaaa.a.a.',
- '.............aa.',
- '.aaaaaa###aa.a.d',
- '.aaaaaabbbaa...d',
- '.............a.d',
- 'd.aaaaaaaaa.a.dd',
- 'dd...........ddd'
-]
-
-
-fileOpenText = \
-'''<img source="fileopen">
-Click this button to open a <em>new file</em>.<br><br>
-You can also select the <b>Open</b> command from the <b>File</b> menu.'''
-
-fileSaveText = \
-'''Click this button to save the file you are editing.<br><br>
-You will be prompted for a filename.<br><br>
-You can also select the <b>Save</b> command from the <b>File</b> menu.'''
-
-filePrintText = \
-'''Click this button to print the file you are editing.<br><br>
-You can also select the <b>Print</b> command from the <b>File</b> menu.'''
-
-
-editorList = []
-
-
-class ApplicationWindow(QMainWindow):
- def __init__(self):
- QMainWindow.__init__(self,None,'example application main window',Qt.WDestructiveClose)
-
- self.filename = QString.null
- self.printer = QPrinter()
-
- self.fileTools = QToolBar(self,'file operations')
-
- openIcon = QPixmap(fileopen)
- self.fileOpen = QToolButton(openIcon,'Open File',QString.null,self.load,self.fileTools,'open file')
-
- saveIcon = QPixmap(filesave)
- self.fileSave = QToolButton(saveIcon,'Save File',QString.null,self.save,self.fileTools,'save file')
-
- printIcon = QPixmap(fileprint)
- self.filePrint = QToolButton(printIcon,'Print File',QString.null,self.printDoc,self.fileTools,'print file')
-
- QWhatsThis.whatsThisButton(self.fileTools)
-
- QWhatsThis.add(self.fileOpen,fileOpenText)
- QMimeSourceFactory.defaultFactory().setPixmap('fileopen',openIcon)
- QWhatsThis.add(self.fileSave,fileSaveText)
- QWhatsThis.add(self.filePrint,filePrintText)
-
- self.file = QPopupMenu(self)
- self.menuBar().insertItem('&File',self.file)
-
- self.file.insertItem('&New',self.newDoc,Qt.CTRL + Qt.Key_N)
-
- id = self.file.insertItem(QIconSet(openIcon),'&Open',self.load,Qt.CTRL + Qt.Key_O)
- self.file.setWhatsThis(id,fileOpenText)
-
- id = self.file.insertItem(QIconSet(saveIcon),'&Save',self.save,Qt.CTRL + Qt.Key_S)
- self.file.setWhatsThis(id,fileSaveText)
-
- id = self.file.insertItem('Save &as',self.saveAs)
- self.file.setWhatsThis(id,fileSaveText)
-
- self.file.insertSeparator()
-
- id = self.file.insertItem(QIconSet(printIcon),'&Print',self.printDoc,Qt.CTRL + Qt.Key_P)
- self.file.setWhatsThis(id,filePrintText)
-
- self.file.insertSeparator()
-
- self.file.insertItem('&Close',self,SLOT('close()'),Qt.CTRL + Qt.Key_W)
- self.file.insertItem('&Quit',qApp,SLOT('closeAllWindows()'),Qt.CTRL + Qt.Key_Q)
-
- self.help = QPopupMenu(self)
- self.menuBar().insertSeparator()
- self.menuBar().insertItem('&Help',self.help)
-
- self.help.insertItem('&About',self.about,Qt.Key_F1)
- self.help.insertItem('About &Qt',self.aboutQt)
-
- self.e = QMultiLineEdit(self,'editor')
- self.e.setFocus()
- self.setCentralWidget(self.e)
-
- self.statusBar().message('Ready',2000)
- self.resize(450,600)
-
- def newDoc(self):
- ed = ApplicationWindow()
- ed.show()
- editorList.append(ed)
-
- def load(self):
- fn = QFileDialog.getOpenFileName(QString.null,QString.null,self)
- if fn.isEmpty():
- self.statusBar().message('Loading aborted',2000)
- return
-
- fileName = str(fn)
-
- self.e.setAutoUpdate(0)
- self.e.clear()
-
- try:
- f = open(fileName,'r')
- except:
- return
-
- for l in f.readlines():
- self.e.append(string.rstrip(l))
-
- f.close()
-
- self.e.setAutoUpdate(1)
- self.e.repaint()
- self.e.setEdited(0)
- self.setCaption(fileName)
- self.statusBar().message('Loaded document %s' % (fileName),2000)
-
- def save(self):
- if self.filename.isEmpty():
- self.saveAs()
- return
-
- try:
- f = open(str(self.filename),'w+')
- except:
- self.statusBar().message('Could not write to %s' % (self.filename),2000)
- return
-
- f.write(str(self.e.text()))
- f.close()
-
- self.e.setEdited(0)
- self.setCaption(self.filename)
- self.statusBar().message('File %s saved' % (self.filename),2000)
-
- def saveAs(self):
- fn = QFileDialog.getSaveFileName(QString.null,QString.null,self)
- if not fn.isEmpty():
- self.filename = fn
- self.save()
- else:
- self.statusBar().message('Saving aborted',2000)
-
- def printDoc(self):
- Margin = 10
- pageNo = 1
-
- if self.printer.setup(self):
- self.statusBar().message('Printing...')
-
- p = QPainter()
- p.begin(self.printer)
- p.setFont(self.e.font())
- yPos = 0
- fm = p.fontMetrics()
- metrics = QPaintDeviceMetrics(self.printer)
-
- for i in range(self.e.numLines):
- if Margin + yPos > metrics.height() - Margin:
- pageNo = pageNo + 1
- self.statusBar().message('Printing (page %d)...' % (pageNo))
- self.printer.newPage()
- yPos = 0
-
- p.drawText(Margin,Margin + yPos,metrics.width(),fm.lineSpacing(),Qt.ExpandTabs | Qt.DontClip,self.e.textLine(i))
- yPos = yPos + fm.lineSpacing()
-
- p.end()
- self.statusBar().message('Printing completed',2000)
- else:
- self.statusBar().message('Printing aborted',2000)
-
- def closeEvent(self,ce):
- if not self.e.edited():
- ce.accept()
- return
-
- rc = QMessageBox.information(self,'Qt Application Example',
- 'The document has been changed since the last save.',
- 'Save Now','Cancel','Leave Anyway',0,1)
-
- if rc == 0:
- self.save()
- ce.accept()
- elif rc == 2:
- ce.accept()
- else:
- ce.ignore()
-
- def about(self):
- QMessageBox.about(self,'Qt Application Example',
- 'This example demonstrates simple use of QMainWindow,\nQMenuBar and QToolBar.')
-
- def aboutQt(self):
- QMessageBox.aboutQt(self,'Qt Application Example')
-
-
-a = QApplication(sys.argv)
-mw = ApplicationWindow()
-mw.setCaption('Document 1')
-mw.show()
-a.connect(a, SIGNAL('lastWindowClosed()'), a, SLOT('quit()'))
-a.exec_loop()
diff --git a/python/pyqt/examples2/buttongroups.py b/python/pyqt/examples2/buttongroups.py
deleted file mode 100755
index a8c94575..00000000
--- a/python/pyqt/examples2/buttongroups.py
+++ /dev/null
@@ -1,113 +0,0 @@
-#!/usr/bin/env python
-#/****************************************************************************
-#** $Id$
-#**
-#** Copyright (C) 1992-2000 Trolltech AS. All rights reserved.
-#**
-#** This file is part of an example program for Qt. This example
-#** program may be used, distributed and modified without limitation.
-#**
-#*****************************************************************************/
-
-import sys
-from qt import *
-
-TRUE = 1
-FALSE = 0
-
-##
-# Creates all child widgets of the ButtonGroups window
-##
-
-class ButtonsGroups( QWidget ):
- def __init__( self, *args ):
- apply( QWidget.__init__, (self,) + args )
-
- # Create Widgets which allow easy layouting
- self.vbox = QVBoxLayout( self )
- self.box1 = QHBoxLayout( self.vbox )
- self.box2 = QHBoxLayout( self.vbox )
-
- # ------- first group
-
- # Create an exclusive button group
- self.grp1 = QButtonGroup( 1, QGroupBox.Horizontal, "Button Group 1 (exclusive)", self )
- self.box1.addWidget( self.grp1 )
- self.grp1.setExclusive( TRUE )
-
- # insert 3 radiobuttons
- self.rb11 = QRadioButton( "&Radiobutton 1", self.grp1 )
- self.rb11.setChecked( TRUE )
- QRadioButton( "R&adiobutton 2", self.grp1 )
- QRadioButton( "Ra&diobutton 3", self.grp1 )
-
- # ------- second group
-
- # Create a non-exclusive buttongroup
- self.grp2 = QButtonGroup( 1, QGroupBox.Horizontal, "Button Group 2 (non-exclusive)", self )
- self.box1.addWidget( self.grp2 )
- self.grp2.setExclusive( FALSE )
-
- # insert 3 checkboxes
- QCheckBox( "&Checkbox 1", self.grp2 )
- self.cb12 = QCheckBox( "C&heckbox 2", self.grp2 )
- self.cb12.setChecked( TRUE )
- self.cb13 = QCheckBox( "Triple &State Button", self.grp2 )
- self.cb13.setTristate( TRUE )
- self.cb13.setChecked( TRUE )
-
- # ------------ third group
-
- # create a buttongroup which is exclusive for radiobuttons and non-exclusive for all other buttons
- self.grp3 = QButtonGroup( 1, QGroupBox.Horizontal, "Button Group 3 (Radiobutton-exclusive)", self )
- self.box2.addWidget( self.grp3 )
- self.grp3.setRadioButtonExclusive( TRUE )
-
- # insert three radiobuttons
- self.rb21 = QRadioButton( "Rad&iobutton 1", self.grp3 )
- self.rb22 = QRadioButton( "Radi&obutton 2", self.grp3 )
- self.rb23 = QRadioButton( "Radio&button 3", self.grp3 )
- self.rb23.setChecked( TRUE )
-
- # insert a checkbox...
- self.state = QCheckBox( "E&nable Radiobuttons", self.grp3 )
- self.state.setChecked( TRUE )
- # ...and connect its SIGNAL clicked() with the SLOT slotChangeGrp3State()
- self.connect( self.state, SIGNAL( "clicked()" ), self.slotChangeGrp3State )
-
- # ------------ fourth group
-
- # create a groupbox which layouts its childs in a columns
- self.grp4 = QButtonGroup( 1, QGroupBox.Horizontal, "Groupbox with normal buttons", self )
- self.box2.addWidget( self.grp4 )
-
- # insert two pushbuttons...
- QPushButton( "&Push Button", self.grp4 )
- self.tb = QPushButton( "&Toggle Button", self.grp4 )
-
- # ... and make the second one a toggle button
- self.tb.setToggleButton( TRUE )
- self.tb.setOn( TRUE )
-
-
- #
- # SLOT slotChangeGrp3State()
- # enables/disables the radiobuttons of the third buttongroup
- #
-
- def slotChangeGrp3State( self ):
- self.rb21.setEnabled( self.state.isChecked() )
- self.rb22.setEnabled( self.state.isChecked() )
- self.rb23.setEnabled( self.state.isChecked() )
-
-
-## main program
-a = QApplication( sys.argv )
-
-buttonsgroups = ButtonsGroups()
-buttonsgroups.resize( 500, 250 )
-buttonsgroups.setCaption( "Examples for Buttons and Groups" )
-a.setMainWidget( buttonsgroups )
-buttonsgroups.show()
-
-a.exec_loop()
diff --git a/python/pyqt/examples2/dclock.py b/python/pyqt/examples2/dclock.py
deleted file mode 100755
index 5382d4fa..00000000
--- a/python/pyqt/examples2/dclock.py
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/usr/bin/env python
-
-# A port to PyQt of the dclock example from Qt v2.x.
-
-
-import sys, string
-from qt import *
-
-
-class DigitalClock(QLCDNumber):
- def __init__(self, parent=None, name=None):
- QLCDNumber.__init__(self, parent, name)
- self.showingColon = 0
- self.setFrameStyle(QFrame.Panel | QFrame.Raised)
- self.setLineWidth(2)
- self.showTime()
- self.normalTimer = self.startTimer(500)
- self.showDateTimer = -1
-
- def timerEvent(self, e):
- if e.timerId() == self.showDateTimer:
- self.stopDate()
- else:
- if self.showDateTimer == -1:
- self.showTime()
-
- def mousePressEvent(self, e):
- if e.button() == Qt.LeftButton:
- self.showDate()
-
- def showDate(self):
- if self.showDateTimer != -1:
- return
- d = QDate.currentDate()
- self.display('%2d %2d' % (d.month(), d.day()))
- self.showDateTimer = self.startTimer(2000)
-
- def stopDate(self):
- self.killTimer(self.showDateTimer)
- self.showDateTimer = -1
- self.showTime()
-
- def showTime(self):
- self.showingColon = not self.showingColon
- s = list(str(QTime.currentTime().toString())[:5]) #.left(5)
- if not self.showingColon:
- s[2] = ' '
- if s[0] == '0':
- s[0] = ' '
- s = string.join(s,'')
- self.display(s)
-
-a = QApplication(sys.argv)
-clock = DigitalClock()
-clock.resize(170,80)
-a.setMainWidget(clock)
-clock.show()
-a.exec_loop()
diff --git a/python/pyqt/examples2/desktop.py b/python/pyqt/examples2/desktop.py
deleted file mode 100755
index a1177f24..00000000
--- a/python/pyqt/examples2/desktop.py
+++ /dev/null
@@ -1,219 +0,0 @@
-#!/usr/bin/env python
-
-import sys
-from qt import *
-
-seed = 0.353535353535
-KINDA_RAND_MAX = 32767
-
-def kindaRand():
- global seed
- seed = seed * 147
- seed = seed - int(seed)
- return int(seed*(KINDA_RAND_MAX + 1))
-
-velmax = 15
-velmin = 4
-
-def velocity(i):
- if i == 1 or i == 2:
- i = (kindaRand()&0x7fff % velmax)/3 + velmin
- else:
- i = (kindaRand()&0x7fff % velmax) + velmin
-
-maxpoints = 5
-maxcurves = 8
-
-def poly():
- d = QApplication.desktop()
- d.setBackgroundColor(white)
- xvel = [ 0 ] * 8
- yvel = [ 0 ] * 8
- head = 0
- tail = -maxcurves + 2
- a = QPointArray() * maxcurves
- r = d.rect()
- for i in range(maxcurves):
- a[i].resize(maxpoints)
- p = a[0]
- for i in range(maxpoints):
- p.setPoint(i, (kindaRand()&0x7fff) % r.width(),
- (kindaRand()&0x7fff) % r.height() )
- xvel[i] = velocity(i)
- yvel[i] = velocity(i)
-
- paint = QPainter()
- paint.begin(d)
-
- for ntimes in range(2000):
- paint.setBrush(QColor(kindaRand()%360,180,255, QColor.Hsv))
- paint.drawPolygon(a[head])
- tail = tail + 1
- if tail >= maxcurves:
- tail = 0
- minx = r.left()
- maxx = r.right()
- miny = r.top()
- maxy = r.bottom()
- p = a[head]
- head = head + 1
- if head >= maxcurves:
- head = 0
- for i in range(maxpoints):
- x, y = p.point(i)
- x = x + xvel[i]
- y = y + yvel[i]
- if x >= maxx:
- x = maxx - (x - maxx + 1)
- xvel[i] = -velocity(i)
- if x <= minx:
- x = minx + (minx - x + 1)
- xvel[i] = velocity(i)
- if y >= maxy:
- y = maxy - (y - maxy + 1)
- yvel[i] = -velocity(i)
- if y <= miny:
- y = miny + (miny - y + 1)
- yvel[i] = velocity(i)
- a[head].setPoint(i, x, y)
- paint.end()
-
-def rotate():
- w = 64
- h = 64
- image = QImage(w, h, 8, 128)
- for i in range(128):
- image.setColor(i, qRgb(i,0,0))
- for y in range(h):
- for x in range(w):
- image.setPixel(x,y,(x+y)%128)
-
- pm = QPixmap()
- pm.convertFromImage(image)
- #pm.optimize(1)
-
- d = QApplication.desktop()
-
- for i in range(0,361,2):
- m = QWMatrix()
- m.rotate(i)
- rpm = pm.xForm(m)
- d.setBackgroundPixmap(rpm)
- d.update()
-
-def generateStone(pm, c1, c2, c3):
- p = QPainter()
- p1 = QPen(c1, 0)
- p2 = QPen(c2, 0)
- p3 = QPen(c3, 0)
-
- p.begin(pm)
- for i in range(pm.width()):
- for j in range(pm.height()):
- r = kindaRand()
- if r < KINDA_RAND_MAX / 3:
- p.setPen(p1)
- elif r < KINDA_RAND_MAX / 3 * 2:
- p.setPen(p2)
- else:
- p.setPen(p3)
- p.drawPoint(i, j)
- p.end()
-
-def drawShadeText(p, x, y, text, topColor, bottomColor, sw=2):
- if not p.isActive():
- return
-
- p.setPen(bottomColor)
- p.drawText(x+sw, y+sw, text)
- p.setPen(topColor)
- p.drawText(x, y, text)
-
-class DesktopWidget(QWidget):
- def __init__(self, s, parent=None, name=''):
- QWidget.__init__(self, parent, name, WType_Desktop | WPaintDesktop)
- self.text = s
- self.pm = None
-
- def paintEvent(self, pe):
- c1 = self.backgroundColor()
- c2 = c1.light(104)
- c3 = c1.dark(106)
- if not self.pm:
- self.pm = QPixmap(64, 64)
- generateStone(self.pm, c1, c2, c3)
- self.setBackgroundPixmap(self.pm)
- self.update()
- br = self.fontMetrics().boundingRect(self.text)
- offscreen = QPixmap(br.width(), br.height())
- x = self.width()/2 - br.width()/2
- y = self.height()/2 - br.height()/2
- offscreen.fill(self, x, y)
- p = QPainter()
- p.begin(offscreen)
- drawShadeText(p, -br.x(), -br.y(), self.text, c2, c3, 3)
- p.end()
- bitBlt(self, x, y, offscreen)
-
-def desktopWidget(s='Troll Tech'):
- t = DesktopWidget(s)
- t.update()
- qApp.exec_loop()
-
-def desktopText(s='Troll Tech'):
- border = 20
-
- c1 = qApp.palette().normal().background()
- c2 = c1.light(104)
- c3 = c1.dark(106)
-
- pm = QPixmap(10, 10)
- p = QPainter()
- p.begin(pm)
- r = p.fontMetrics().boundingRect(s)
- p.end()
-
- appWidth = qApp.desktop().width()
- appHeight = qApp.desktop().height()
- if r.width() > appWidth - border*2:
- r.setWidth(appWidth - border*2)
- if r.height() > appHeight - border*2:
- r.setHeight(appHeight - border*2)
-
- pm.resize(r.size().width()+border*2,r.size().height()+border*2)
- generateStone(pm, c1, c2, c3)
- p.begin(pm)
- drawShadeText(p, -r.x()+border, -r.y()+border, s, c2, c3)
- p.end()
-
- qApp.desktop().setBackgroundPixmap(pm)
-
-a = QApplication(sys.argv)
-if len(sys.argv) > 1:
- f = QFont('charter', 96, QFont.Weight.Black)
- f.setStyleHint(QFont.StyleHint.Times)
- a.setFont(f)
-validOptions = 0
-if len(sys.argv) == 2:
- validOptions = 1
- if sys.argv[1] == '-poly':
- poly()
- elif sys.argv[1] == '-rotate':
- rotate()
- elif sys.argv[1] == '-troll':
- desktopText()
- elif sys.argv[1] == '-trollwidget':
- desktopWidget()
- else:
- validOptions = 0
-if len(sys.argv) == 3:
- validOptions = 1
- if sys.argv[1] == '-shadetext':
- desktopText(sys.argv[2])
- elif sys.argv[1] == '-shadewidget':
- desktopWidget(sys.argv[2])
- else:
- validOptions = 0
-
-if not validOptions:
- rotate()
diff --git a/python/pyqt/examples2/dirview.py b/python/pyqt/examples2/dirview.py
deleted file mode 100755
index ae232e98..00000000
--- a/python/pyqt/examples2/dirview.py
+++ /dev/null
@@ -1,76 +0,0 @@
-#!/usr/bin/env python
-
-import sys
-from qt import *
-
-class Directory(QListViewItem):
- def __init__(self, parent, name=None):
- apply(QListViewItem.__init__,(self,parent))
- if isinstance(parent, QListView):
- self.p = None
- self.f = '/'
- else:
- self.p = parent
- self.f = name
- self.c = []
- self.readable = 1
-
- def setOpen(self, o):
- if o and not self.childCount():
- s = self.fullName()
- thisDir = QDir(s)
- if not thisDir.isReadable():
- self.readable = 0
- return
-
- files = thisDir.entryInfoList()
- if files:
- for f in files:
- fileName = str(f.fileName())
- if fileName == '.' or fileName == '..':
- continue
- elif f.isSymLink():
- d = QListViewItem(self, fileName, 'Symbolic Link')
- elif f.isDir():
- d = Directory(self, fileName)
- else:
- if f.isFile():
- s = 'File'
- else:
- s = 'Special'
- d = QListViewItem(self, fileName, s)
- self.c.append(d)
-
- QListViewItem.setOpen(self, o)
-
- def setup(self):
- self.setExpandable(1)
- QListViewItem.setup(self)
-
- def fullName(self):
- if self.p:
- s = self.p.fullName() + self.f + '/'
- else:
- s = '/'
- return s
-
- def text(self, column):
- if column == 0:
- return self.f
- elif self.readable:
- return 'Directory'
- else:
- return 'Unreadable Directory'
-
-a = QApplication(sys.argv)
-mw = QListView()
-a.setMainWidget(mw)
-mw.setCaption('Directory Browser')
-mw.addColumn('Name')
-mw.addColumn('Type')
-mw.resize(400, 400)
-mw.setTreeStepSize(20)
-root = Directory(mw)
-root.setOpen(1)
-mw.show()
-a.exec_loop()
diff --git a/python/pyqt/examples2/dragdrop.py b/python/pyqt/examples2/dragdrop.py
deleted file mode 100755
index 4cc8c738..00000000
--- a/python/pyqt/examples2/dragdrop.py
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/usr/bin/env python
-
-# Ported to PyQt by Issac Trotts on Jan 1, 2002
-
-import sys
-from qt import *
-
-import dropsite, secret
-
-
-def addStuff( parent, yn_image, yn_secret = 0 ):
- tll = QVBoxLayout( parent, 10 )
- d = dropsite.DropSite( parent, 'dropsite' )
- d.setFrameStyle( QFrame.Sunken + QFrame.WinPanel )
- tll.addWidget( d )
- if yn_image:
- stuff = QPixmap()
- if not stuff.load( "trolltech.bmp" ):
- stuff = QPixmap(20,20)
- stuff.fill(Qt.green)
- d.setPixmap( stuff )
- else:
- d.setText("Drag and Drop")
- d.setFont(QFont("Helvetica",18))
- if secret:
- s = secret.SecretSource( 42, parent )
- tll.addWidget( s )
-
- format = QLabel( "\n\n\n\nNone\n\n\n\n", parent )
- tll.addWidget( format )
- tll.activate()
- parent.resize( parent.sizeHint() )
-
- QObject.connect( d, PYSIGNAL('message(QString &)'),
- format, SLOT('setText(QString &)') )
-
-
-app = QApplication( sys.argv )
-
-mw = QWidget()
-addStuff( mw, 1 )
-mw.setCaption( "Qt Example - Drag and Drop" )
-mw.show()
-
-mw2 = QWidget()
-addStuff( mw2, 0 )
-mw2.setCaption( "Qt Example - Drag and Drop" )
-mw2.show()
-
-mw3 = QWidget()
-addStuff( mw3, 1, 1 )
-mw3.setCaption( "Qt Example - Drag and Drop" )
-mw3.show()
-
-QObject.connect(qApp,SIGNAL('lastWindowClosed()'),qApp,SLOT('quit()'))
-
-app.exec_loop()
diff --git a/python/pyqt/examples2/dropsite.py b/python/pyqt/examples2/dropsite.py
deleted file mode 100644
index 7897109c..00000000
--- a/python/pyqt/examples2/dropsite.py
+++ /dev/null
@@ -1,96 +0,0 @@
-# This is part of the dragdrop example.
-
-
-from qt import *
-
-import secret
-
-
-class DropSite(QLabel):
- def __init__(self, parent=None, name=None):
- QLabel.__init__( self, parent, name )
- self.setAcceptDrops(1)
-
- # this is a normal event
- def mousePressEvent( self, e ):
- if ( self.pixmap() ) :
- drobj = QImageDrag( self.pixmap().convertToImage(), self )
- pm = QPixmap()
- pm.convertFromImage(self.pixmap().convertToImage().smoothScale(
- self.pixmap().width()/3,self.pixmap().height()/3))
- drobj.setPixmap(pm,QPoint(-5,-7))
- else :
- drobj = QTextDrag( self.text(), self )
- drobj.dragCopy()
-
- def backgroundColorChange( self, qcolor ):
- # Reduce flicker by using repaint() rather than update()
- self.repaint()
-
- def dragMoveEvent( self, e ):
- # Check if you want the drag at e.pos()...
- # Give the user some feedback...
- pass
-
- def dragEnterEvent( self, e ):
- # Check if you want the drag...
- if (secret.canDecode( e ) or
- QTextDrag.canDecode( e ) or
- QImageDrag.canDecode( e ) or
- QUriDrag.canDecode( e )):
- e.accept()
-
- # Give the user some feedback...
- t = ''
- i = 0
- while e.format( i ):
- if ( t != '' ):
- t += "\n"
- t += str(e.format( i ))
- i += 1
- self.emit(PYSIGNAL('message(QString &)'), (QString(t),))
- self.setBackgroundColor(Qt.white)
-
- def dragLeaveEvent( self, QDragLeaveEvent ):
- # Give the user some feedback...
- self.emit(PYSIGNAL('message(QString &)'), (QString(''),))
- self.setBackgroundColor(Qt.lightGray)
-
- def dropEvent( self, e ):
- self.setBackgroundColor(Qt.lightGray)
- # Try to decode to the data you understand...
- str = QString()
- if ( QTextDrag.decode( e, str ) ) :
- self.setText( str )
- self.setMinimumSize( self.minimumSize().expandedTo(self.sizeHint()) )
- return
-
- pm = QPixmap()
- if ( QImageDrag.decode( e, pm ) ) :
- self.setPixmap( pm )
- self.setMinimumSize(self.minimumSize().expandedTo(self.sizeHint()))
- return
-
- # QStrList strings
- #strings = QStrList()
- strings = []
- if ( QUriDrag.decode( e, strings ) ) :
- m = QString("Full URLs:\n")
- for u in strings:
- m = m + " " + u + '\n'
- # QStringList files
- files = []
- if ( QUriDrag.decodeLocalFiles( e, files ) ) :
- m += "Files:\n"
- # for (QStringList.Iterator i=files.begin() i!=files.end() ++i)
- for i in files:
- m = m + " " + i + '\n'
- self.setText( m )
- self.setMinimumSize(self.minimumSize().expandedTo(self.sizeHint()))
- return
-
- str = secret.decode( e )
- if str:
- self.setText( str )
- self.setMinimumSize(self.minimumSize().expandedTo(self.sizeHint()))
- return
diff --git a/python/pyqt/examples2/gears.py b/python/pyqt/examples2/gears.py
deleted file mode 100755
index bf5b913f..00000000
--- a/python/pyqt/examples2/gears.py
+++ /dev/null
@@ -1,235 +0,0 @@
-#!/usr/bin/env python
-
-
-import sys
-import math
-from qt import *
-from qtgl import *
-from OpenGL.GL import *
-
-def gear(inner_radius,outer_radius,width,teeth,tooth_depth):
- r0 = inner_radius;
- r1 = outer_radius - tooth_depth/2.0;
- r2 = outer_radius + tooth_depth/2.0;
-
- da = 2.0*math.pi/teeth/4.0;
-
- glShadeModel(GL_FLAT)
-
- glNormal3f(0.0,0.0,1.0)
-
- # draw front face
-
- glBegin(GL_QUAD_STRIP)
-
- for i in range(teeth+1):
- angle = i * 2.0*math.pi/teeth;
- glVertex3f(r0*math.cos(angle), r0*math.sin(angle), width*0.5 )
- glVertex3f(r1*math.cos(angle), r1*math.sin(angle), width*0.5 )
- glVertex3f(r0*math.cos(angle), r0*math.sin(angle), width*0.5 )
- glVertex3f(r1*math.cos(angle+3*da), r1*math.sin(angle+3*da), width*0.5 )
-
- glEnd()
-
- # draw front sides of teeth
-
- da = 2.0*math.pi/teeth/4.0;
-
- glBegin(GL_QUADS)
-
- for i in range(teeth):
- angle = i*2.0*math.pi/teeth
-
- glVertex3f( r1*math.cos(angle), r1*math.sin(angle), width*0.5 )
- glVertex3f( r2*math.cos(angle+da), r2*math.sin(angle+da), width*0.5 )
- glVertex3f( r2*math.cos(angle+2*da), r2*math.sin(angle+2*da), width*0.5 )
- glVertex3f( r1*math.cos(angle+3*da), r1*math.sin(angle+3*da), width*0.5 )
-
- glEnd()
-
-
- glNormal3f( 0.0, 0.0, -1.0 )
-
- # draw back face
-
- glBegin( GL_QUAD_STRIP );
-
- for i in range(teeth+1):
- angle = i*2.0*math.pi/teeth;
-
- glVertex3f( r1*math.cos(angle), r1*math.sin(angle), -width*0.5 )
- glVertex3f( r0*math.cos(angle), r0*math.sin(angle), -width*0.5 )
- glVertex3f( r1*math.cos(angle+3*da), r1*math.sin(angle+3*da), -width*0.5 )
- glVertex3f( r0*math.cos(angle), r0*math.sin(angle), -width*0.5 )
-
- glEnd()
-
- # draw back sides of teeth
-
- da = 2.0*math.pi/teeth/4.0
-
- glBegin( GL_QUADS )
-
- for i in range(teeth):
- angle = i*2.0*math.pi/teeth
-
- glVertex3f( r1*math.cos(angle+3*da), r1*math.sin(angle+3*da), -width*0.5 )
- glVertex3f( r2*math.cos(angle+2*da), r2*math.sin(angle+2*da), -width*0.5 )
- glVertex3f( r2*math.cos(angle+da), r2*math.sin(angle+da), -width*0.5 )
- glVertex3f( r1*math.cos(angle), r1*math.sin(angle), -width*0.5 )
-
- glEnd()
-
- # draw outward faces of teeth
-
- glBegin( GL_QUAD_STRIP )
-
- for i in range(teeth):
- angle = i*2.0*math.pi/teeth
-
- glVertex3f( r1*math.cos(angle), r1*math.sin(angle), width*0.5 )
- glVertex3f( r1*math.cos(angle), r1*math.sin(angle), -width*0.5 )
-
- u = r2*math.cos(angle+da) - r1*math.cos(angle)
- v = r2*math.sin(angle+da) - r1*math.sin(angle)
-
- len = math.sqrt( u*u + v*v )
- u /= len
- v /= len
- glNormal3f( v, -u, 0.0 )
- glVertex3f( r2*math.cos(angle+da), r2*math.sin(angle+da), width*0.5 )
- glVertex3f( r2*math.cos(angle+da), r2*math.sin(angle+da), -width*0.5 )
- glNormal3f( math.cos(angle), math.sin(angle), 0.0 )
- glVertex3f( r2*math.cos(angle+2*da), r2*math.sin(angle+2*da), width*0.5 )
- glVertex3f( r2*math.cos(angle+2*da), r2*math.sin(angle+2*da), -width*0.5 )
- u = r1*math.cos(angle+3*da) - r2*math.cos(angle+2*da)
- v = r1*math.sin(angle+3*da) - r2*math.sin(angle+2*da)
- glNormal3f( v, -u, 0.0 )
- glVertex3f( r1*math.cos(angle+3*da), r1*math.sin(angle+3*da), width*0.5 )
- glVertex3f( r1*math.cos(angle+3*da), r1*math.sin(angle+3*da), -width*0.5 )
- glNormal3f( math.cos(angle), math.sin(angle), 0.0 )
-
- glVertex3f( r1*math.cos(0.0), r1*math.sin(0.0), width*0.5 )
- glVertex3f( r1*math.cos(0.0), r1*math.sin(0.0), -width*0.5 )
-
- glEnd()
-
- glShadeModel (GL_SMOOTH)
-
- # draw inside radius cylinder
-
- glBegin( GL_QUAD_STRIP )
-
- for i in range(teeth+1):
- angle = i * 2.0*math.pi / teeth;
- glNormal3f( -math.cos(angle), -math.sin(angle), 0.0 );
- glVertex3f( r0*math.cos(angle), r0*math.sin(angle), -width*0.5 );
- glVertex3f( r0*math.cos(angle), r0*math.sin(angle), width*0.5 );
-
- glEnd()
-
-##############################################################################
-class GearWidget(QGLWidget):
- def __init__(self,parent=None,name=None):
- QGLWidget.__init__(self,parent,name)
-
- self.angle=0.0
- self.view_rotx=0.0
- self.view_roty=0.0
- self.view_rotz=0.0
-
- self.startTimer(10)
-
- def timerEvent(self,event):
- self.updateGL()
-
- def paintGL(self):
- self.angle = self.angle + 2.0
- self.view_rotx = self.view_rotx + 1.0
- self.view_roty = self.view_roty + 3.0
- self.view_rotz = self.view_rotz + 2.0
-
- glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT )
-
- glPushMatrix()
- glRotatef( self.view_rotx, 1.0, 0.0, 0.0 )
- glRotatef( self.view_roty, 0.0, 1.0, 0.0 )
- glRotatef( self.view_rotz, 0.0, 0.0, 1.0 )
-
- glPushMatrix()
- glTranslatef( -3.0, -2.0, 0.0 )
- glRotatef( self.angle, 0.0, 0.0, 1.0 )
- glCallList(self.gear1)
- glPopMatrix()
-
- glPushMatrix()
- glTranslatef( 3.1, -2.0, 0.0 )
- glRotatef( -2.0*self.angle-9.0, 0.0, 0.0, 1.0 )
- glCallList(self.gear2)
- glPopMatrix()
-
- glPushMatrix()
- glTranslatef( -3.1, 2.2, -1.8 )
- glRotatef( 90.0, 1.0, 0.0, 0.0 )
- glRotatef( 2.0*self.angle-2.0, 0.0, 0.0, 1.0 )
- glCallList(self.gear3)
- glPopMatrix()
-
- glPopMatrix()
-
- def resizeGL(self,width,height):
- w = width / float(height)
- h = 1.0
-
- glViewport( 0, 0, width, height )
- glMatrixMode(GL_PROJECTION)
- glLoadIdentity()
- glFrustum( -w, w, -h, h, 5.0, 60.0 )
- glMatrixMode(GL_MODELVIEW)
- glLoadIdentity()
- glTranslatef( 0.0, 0.0, -40.0 )
-
- def initializeGL(self):
- pos=(5.0, 5.0, 10.0, 1.0 )
- ared=(0.8, 0.1, 0.0, 1.0 )
- agreen=(0.0, 0.8, 0.2, 1.0 )
- ablue=(0.2, 0.2, 1.0, 1.0 )
-
- glLightfv(GL_LIGHT0,GL_POSITION,pos)
- glEnable(GL_CULL_FACE)
- glEnable(GL_LIGHTING)
- glEnable(GL_LIGHT0)
- glEnable(GL_DEPTH_TEST)
-
- self.gear1=glGenLists(1)
- glNewList(self.gear1,GL_COMPILE)
- glMaterialfv(GL_FRONT,GL_AMBIENT_AND_DIFFUSE,ared)
- gear(1.0,4.0,1.0,20,0.7)
- glEndList()
-
- self.gear2=glGenLists(1)
- glNewList(self.gear2,GL_COMPILE)
- glMaterialfv(GL_FRONT,GL_AMBIENT_AND_DIFFUSE,agreen)
- gear(0.5,2.0,2.0,10,0.7)
- glEndList()
-
- self.gear3=glGenLists(1)
- glNewList(self.gear3,GL_COMPILE)
- glMaterialfv(GL_FRONT,GL_AMBIENT_AND_DIFFUSE,ablue)
- gear(1.3,2.0,0.5,10,0.7)
- glEndList()
-
- glEnable(GL_NORMALIZE)
-
-##############################################################################
-if __name__=='__main__':
- QApplication.setColorSpec(QApplication.CustomColor)
- app=QApplication(sys.argv)
-
- if not QGLFormat.hasOpenGL():
- raise 'No Qt OpenGL support.'
-
- widget=GearWidget()
- app.setMainWidget(widget)
- widget.show()
- app.exec_loop()
diff --git a/python/pyqt/examples2/menu.py b/python/pyqt/examples2/menu.py
deleted file mode 100755
index 36efffa8..00000000
--- a/python/pyqt/examples2/menu.py
+++ /dev/null
@@ -1,301 +0,0 @@
-#!/usr/bin/env python
-
-#****************************************************************************
-#** $Id$
-#**
-#** Copyright (C) 1992-1998 Troll Tech AS. All rights reserved.
-#**
-#** This file is part of an example program for PyQt. This example
-#** program may be used, distributed and modified without limitation.
-#**
-#*****************************************************************************/
-
-import sys, string
-from qt import *
-
-TRUE = 1
-FALSE = 0
-
-# XPM
-p1_xpm = [
-"16 16 3 1",
-" c None",
-". c #000000000000",
-"X c #FFFFFFFF0000",
-" ",
-" ",
-" .... ",
-" .XXXX. ",
-" .............. ",
-" .XXXXXXXXXXXX. ",
-" .XXXXXXXXXXXX. ",
-" .XXXXXXXXXXXX. ",
-" .XXXXXXXXXXXX. ",
-" .XXXXXXXXXXXX. ",
-" .XXXXXXXXXXXX. ",
-" .XXXXXXXXXXXX. ",
-" .XXXXXXXXXXXX. ",
-" .XXXXXXXXXXXX. ",
-" .............. ",
-" "
-]
-
-# XPM
-p2_xpm = [
-"16 16 3 1",
-" c None",
-". c #000000000000",
-"X c #FFFFFFFFFFFF",
-" ",
-" ...... ",
-" .XXX.X. ",
-" .XXX.XX. ",
-" .XXX.XXX. ",
-" .XXX..... ",
-" .XXXXXXX. ",
-" .XXXXXXX. ",
-" .XXXXXXX. ",
-" .XXXXXXX. ",
-" .XXXXXXX. ",
-" .XXXXXXX. ",
-" .XXXXXXX. ",
-" ......... ",
-" ",
-" "
-]
-
-# XPM
-p3_xpm = [
-"16 16 3 1",
-" c None",
-". c #000000000000",
-"X c #FFFFFFFFFFFF",
-" ",
-" ",
-" ......... ",
-" ........... ",
-" ........ .. ",
-" ........... ",
-" ........... ",
-" ........... ",
-" ........... ",
-" ...XXXXX... ",
-" ...XXXXX... ",
-" ...XXXXX... ",
-" ...XXXXX... ",
-" ......... ",
-" ",
-" "
-]
-
-p4_xpm = [
-' 16 14 5 1',
-'. c #000000',
-'# c #848284',
-'a c #c6c3c6',
-'b c #ffff00',
-'c c #ffffff',
-'aaaaa.........aa',
-'aaaa.cccccccc.aa',
-'aaaa.c.....c.aaa',
-'aaa.cccccccc.aaa',
-'aaa.c.....c....a',
-'aa.cccccccc.a.a.',
-'a..........a.a..',
-'.aaaaaaaaaa.a.a.',
-'.............aa.',
-'.aaaaaa###aa.a.a',
-'.aaaaaabbbaa...a',
-'.............a.a',
-'a.aaaaaaaaa.a.aa',
-'aa...........aaa'
-]
-
-# Auxiliary class to provide fancy menu items with different fonts.
-# Used for the "bold" and "underline" menu items in the options menu.
-
-#class MyMenuItem( QCustomMenuItem ):
-# def __init__( self, s=None, f=None ):
-# apply( QCustomMenuItem.__init__,( self, s, f ) )
-# string = QString( s )
-# font = QFont( f )
-
-# def paint( self, p, TRUE, FALSE, x, y, w, h ) :
-# p.setFont ( font )
-# p.drawText( x, y, w, h, Qt.AlignLeft | Qt.AlignVCenter | Qt.ShowPrefix | Qt.DontClip, string )
-# def sizeHint( self ):
-# return QFontMetrics( font ).size( Qt.AlignLeft | Qt.AlignVCenter | Qt.ShowPrefix | Qt.DontClip, string )
-
-
-#
-### Implementation of MenuExample class
-#
-
-class MenuExample( QWidget ):
- def __init__( self, parent=None, name=None ):
- apply( QWidget.__init__,(self, parent, name) )
- self.p1 = QIconSet( QPixmap ( p1_xpm ) )
- self.p2 = QIconSet( QPixmap ( p2_xpm ) )
- self.p3 = QIconSet( QPixmap ( p3_xpm ) )
- self.p4 = QIconSet( QPixmap ( p4_xpm ) )
- #openIcon = QPixmap()
- #saveIcon = QPixmap()
- #printIcon = QPixmap()
-
- self.printer = QPopupMenu( self )
- #CHECK_PTR( self.printer )
- self.printer.insertTearOffHandle()
- self.printer.insertItem( "&Print to printer", self.printDoc )
- self.printer.insertItem( "Print to &file", self.file )
- self.printer.insertItem( "Print to fa&x", self.fax )
- self.printer.insertSeparator()
- self.printer.insertItem( "Printer &Setup", self.printerSetup )
-
- self.file = QPopupMenu( self )
- #CHECK_PTR( self.file );
- self.file.insertItem( self.p1, "&Open", self.open, Qt.CTRL+Qt.Key_O )
- self.file.insertItem( self.p2, "&New", self.news, Qt.CTRL+Qt.Key_N )
- self.file.insertItem( self.p3, "&Save", self.save, Qt.CTRL+Qt.Key_S )
- self.file.insertItem( "&Close", self.closeDoc, Qt.CTRL+Qt.Key_W )
- self.file.insertSeparator()
- self.file.insertItem( self.p4, "&Print", self.printer, Qt.CTRL+Qt.Key_P )
- self.file.insertSeparator()
- self.file.insertItem( "E&xit", qApp, SLOT( "quit()" ), Qt.CTRL+Qt.Key_Q )
-
- self.edit = QPopupMenu( self )
- #CHECK_PTR( self.edit )
- undoID = self.edit.insertItem( "&Undo", self.undo )
- redoID = self.edit.insertItem( "&Redo", self.redo )
- self.edit.setItemEnabled( undoID, TRUE )
- self.edit.setItemEnabled( redoID, FALSE )
-
- self.options = QPopupMenu( self )
- #CHECK_PTR( self.options )
- self.options.insertTearOffHandle()
- self.options.setCaption( 'Options' )
- self.options.insertItem( "&Normal Font", self.normal )
- self.options.insertSeparator()
-
- self.options.polish() # adjust system settings
- self.f = QFont( self.options.font() )
- self.f.setBold( TRUE )
- self.boldID = self.options.insertItem( "&Bold" )
- self.options.setAccel( Qt.CTRL+Qt.Key_B, self.boldID )
- self.options.connectItem( self.boldID, self.bold )
-
- self.f = QFont( self.options.font() )
- self.f.setUnderline( TRUE )
- self.underlineID = self.options.insertItem( "&Underline" )
- self.options.setAccel( Qt.CTRL+Qt.Key_U, self.underlineID )
- self.options.connectItem( self.underlineID, self.underline )
-
- self.isBold = FALSE
- self.isUnderline = FALSE
- self.options.setCheckable( TRUE )
-
- self.options = QPopupMenu()
- #CHECK_PTR( self.options )
- self.options.insertItem( "&Normal Font", self.normal )
- self.options.insertSeparator()
- self.boldID = self.options.insertItem( "&Bold", self.bold )
- self.underlineID = self.options.insertItem( "&Underline", self.underline )
-
- self.isBold = FALSE
- self.isUnderline = FALSE
- self.options.setCheckable( TRUE )
-
- self.help = QPopupMenu( self )
- #CHECK_PTR( self.help )
- self.help.insertItem( "&About", self.about, Qt.CTRL+Qt.Key_H )
- self.help.insertItem( "About &Qt", self.aboutQt )
-
- self.menu = QMenuBar( self )
- #CHECK_PTR( self.menu );
- self.menu.insertItem( "&File", self.file )
- self.menu.insertItem( "&Edit", self.edit )
- self.menu.insertItem( "&Options", self.options )
- self.menu.insertSeparator()
- self.menu.insertItem( "&Help", self.help )
- self.menu.setSeparator( QMenuBar.InWindowsStyle )
-
- self.label = QLabel( self )
- #CHECK_PTR( self.label )
- self.label.setGeometry( 20, self.rect().center().y()-20, self.width()-40, 40 )
- self.label.setFrameStyle( QFrame.Box | QFrame.Raised )
- self.label.setLineWidth( 1 )
- self.label.setAlignment( Qt.AlignCenter )
-
- self.label.setFont( QFont( "times", 12, QFont.Bold ) )
- self.connect( self, PYSIGNAL( "explain" ), self.label.setText )
- #self.connect( self, PYSIGNAL( "explain(const char *)" ),
- # self.label, SLOT( "setText(const char *)" ) )
-
- self.setMinimumSize( 100, 80 )
-
- def open( self ):
- self.emit ( PYSIGNAL( "explain" ), ( "File/Open selected", ) )
-
- def news( self ):
- self.emit ( PYSIGNAL( "explain" ), ( "File/New selected", ) )
-
- def save( self ):
- self.emit ( PYSIGNAL( "explain" ), ( "File/Save selected", ) )
-
- def closeDoc( self ):
- self.emit ( PYSIGNAL( "explain" ), ( "File/Close selected", ) )
-
- def undo( self ):
- self.emit ( PYSIGNAL( "explain" ), ( "Edit/Undo selected", ) )
-
- def redo( self ):
- self.emit ( PYSIGNAL( "explain" ), ( "Edit/Redo selected", ) )
-
- def normal( self ):
- self.isBold = FALSE
- self.isUnderline = FALSE
- self.options.setItemChecked( self.boldID, self.isBold )
- self.options.setItemChecked( self.underlineID, self.isUnderline )
- self.emit(PYSIGNAL("explain"), ("Options/Normal selected",))
-
- def bold( self ):
- self.isBold = not self.isBold
- self.options.setItemChecked( self.boldID, self.isBold )
- self.emit ( PYSIGNAL( "explain" ), ( "Options/Bold selected", ) )
-
- def underline( self ):
- self.isUnderline = not self.isUnderline
- self.options.setItemChecked( self.underlineID, self.isUnderline )
- self.emit(PYSIGNAL("explain"), ("Options/Underline selected",))
-
- def about( self ):
- QMessageBox.about( self, "Qt Menu Example",
- "This example demonstrates simple use of Qt menus.\n"
- "You can cut and paste lines from it to your own\n"
- "programs." )
-
- def aboutQt( self ):
- QMessageBox.aboutQt( self, "Qt Menu Example" )
-
- def printDoc( self ):
- self.emit ( PYSIGNAL( "explain" ), ( "File/Printer/Print selected", ) )
-
- def file( self ):
- self.emit ( PYSIGNAL( "explain" ), ( "File/Printer/Print To File selected", ) )
-
- def fax( self ):
- self.emit ( PYSIGNAL( "explain" ), ( "File/Printer/Print To Fax selected", ) )
-
- def printerSetup( self ):
- self.emit ( PYSIGNAL( "explain" ), ( "File/Printer/Printer Setup selected", ) )
-
- def resizeEvent( self, ev ):
- self.label.setGeometry( 20, self.rect().center().y()-20, self.width()-40, 40 )
-
-a = QApplication( sys.argv )
-m = MenuExample()
-
-a.setMainWidget( m )
-m.setCaption( 'MenuExample' )
-m.show()
-#a.connect( a, SIGNAL('lastWindowClosed()'), a, SLOT('quit()') )
-a.exec_loop()
diff --git a/python/pyqt/examples2/qt.png b/python/pyqt/examples2/qt.png
deleted file mode 100644
index ca630a56..00000000
--- a/python/pyqt/examples2/qt.png
+++ /dev/null
Binary files differ
diff --git a/python/pyqt/examples2/qtlogo.png b/python/pyqt/examples2/qtlogo.png
deleted file mode 100644
index 25c1ebb5..00000000
--- a/python/pyqt/examples2/qtlogo.png
+++ /dev/null
Binary files differ
diff --git a/python/pyqt/examples2/secret.py b/python/pyqt/examples2/secret.py
deleted file mode 100644
index 7023a0b0..00000000
--- a/python/pyqt/examples2/secret.py
+++ /dev/null
@@ -1,65 +0,0 @@
-# This is part of the dragdrop example.
-
-
-from qt import *
-
-
-def canDecode(e):
- return e.provides( "secret/magic" )
-
-
-def decode(e):
- payload = str(e.data( "secret/magic" ))
- if ( str(payload) != '' ):
- e.accept()
- return QString("The secret number is "+str(ord(payload)) )
-
- return None
-
-
-class SecretDrag(QStoredDrag):
- def __init__(self, secret, parent=None, name=None):
- QStoredDrag.__init__(self, 'secret/magic', parent, name)
- data = QByteArray(chr(secret))
- self.setEncodedData( data )
-
-
-# XPM
-picture_xpm = [
- "16 16 3 1",
- " c None",
- ". c #000000",
- "X c #FFFF00",
- " ..... ",
- " ..XXXXX.. ",
- " .XXXXXXXXX. ",
- " .XXXXXXXXXXX. ",
- " .XX..XXX..XX. ",
- ".XXXXXXXXXXXXX. ",
- ".XX...XXX...XX. ",
- ".XXX..XXX..XXX. ",
- ".XXXXXXXXXXXXX. ",
- ".XXXXXX.XXXXXX. ",
- " .XX.XX.XX.XX. ",
- " .XXX..X..XXX. ",
- " .XXXXXXXXX. ",
- " ..XXXXX.. ",
- " ..... ",
- " "
-]
-
-
-class SecretSource(QLabel):
- def __init__(self, secret, parent=None, name=None):
- QLabel.__init__(self, "Secret", parent, name)
- self.setBackgroundColor( Qt.blue.light() )
- self.setFrameStyle( QLabel.Box | QLabel.Sunken )
- self.setMinimumHeight( self.sizeHint().height()*2 )
- self.setAlignment( QLabel.AlignCenter )
- self.mySecret = secret
-
- def mousePressEvent(self, e):
- sd = SecretDrag( self.mySecret, self )
- sd.setPixmap(QPixmap(picture_xpm),QPoint(8,8))
- sd.dragCopy()
- self.mySecret = self.mySecret + 1
diff --git a/python/pyqt/examples2/semaphore.py b/python/pyqt/examples2/semaphore.py
deleted file mode 100755
index 5a3ab92c..00000000
--- a/python/pyqt/examples2/semaphore.py
+++ /dev/null
@@ -1,203 +0,0 @@
-#!/usr/bin/env python
-#
-# A port of the semaphore example from Qt.
-
-
-import sys
-
-# Check if thread support was enabled.
-try:
- from qt import QThread
-except:
- print "Thread support not enabled"
- sys.exit(1)
-
-from qt import *
-
-
-# The semaphore instances.
-yellowSem = None
-greenSem = None
-
-
-class YellowThread(QThread):
- def __init__(self,o):
- QThread.__init__(self)
-
- self.receiver = o
- self.stopped = 0
- self.mutex = QMutex()
-
- def run(self):
- global yellowSem, greenSem
-
- for i in range(20):
- yellowSem += 1
-
- event = QCustomEvent(12345)
- event.setData(QString("Yellow!"))
- QThread.postEvent(self.receiver,event)
- self.msleep(200);
-
- greenSem -= 1
-
- self.mutex.lock()
- if self.stopped:
- self.stopped = 0
- self.mutex.unlock()
- break
-
- self.mutex.unlock()
-
- yellowSem += 1
-
- event = QCustomEvent(12346)
- event.setData(QString("Yellow!"))
- QThread.postEvent(self.receiver,event)
-
- greenSem -= 1
-
- def stop(self):
- self.mutex.lock()
- self.stopped = 1
- self.mutex.unlock()
-
-
-class GreenThread(QThread):
- def __init__(self,o):
- QThread.__init__(self)
-
- self.receiver = o
- self.stopped = 0
- self.mutex = QMutex()
-
- def run(self):
- global yellowSem, greenSem
-
- for i in range(20):
- greenSem += 1
-
- event = QCustomEvent(12345)
- event.setData(QString("Green!"))
- QThread.postEvent(self.receiver,event)
- self.msleep(200)
-
- yellowSem -= 1
-
- self.mutex.lock()
- if self.stopped:
- self.stopped = 0
- self.mutex.unlock()
- break
-
- self.mutex.unlock()
-
- greenSem += 1
-
- event = QCustomEvent(12346)
- event.setData(QString("Green!"))
- QThread.postEvent(self.receiver,event)
- self.msleep(10)
-
- yellowSem -= 1
-
- def stop(self):
- self.mutex.lock()
- self.stopped = 1
- self.mutex.unlock()
-
-
-class SemaphoreExample(QWidget):
- def __init__(self):
- QWidget.__init__(self)
-
- self.yellowThread = YellowThread(self)
- self.greenThread = GreenThread(self)
-
- global yellowSem, greenSem
- yellowSem = QSemaphore(1)
- greenSem = QSemaphore(1)
-
- self.button = QPushButton("&Ignition!",self)
- self.connect(self.button,SIGNAL("clicked()"),self.startExample)
-
- self.mlineedit = QMultiLineEdit(self)
- self.label = QLabel(self)
-
- vbox = QVBoxLayout(self,5)
- vbox.addWidget(self.button)
- vbox.addWidget(self.mlineedit)
- vbox.addWidget(self.label)
-
- def __del__(self):
- stopYellow = self.yellowThread.running()
- stopGreen = self.greenThread.running()
-
- if stopYellow:
- self.yellowThread.stop()
-
- if self.greenThread.running():
- self.greenThread.stop()
-
- if stopYellow:
- self.yellowThread.wait()
-
- if stopGreen:
- self.greenThread.wait()
-
- global yellowSem, greenSem
- yellowSem = None
- greenSem = None
-
- def startExample(self):
- if self.yellowThread.running() or self.greenThread.running():
- QMessageBox.information(self,"Sorry",
- "The threads have not completed yet, and must finish before "
- "they can be started again.")
-
- return
-
- self.mlineedit.clear()
-
- global yellowSem
-
- while yellowSem.available() < yellowSem.total():
- yellowSem -= 1
-
- yellowSem += 1
-
- self.yellowThread.start()
- self.greenThread.start()
-
- def customEvent(self,event):
- if event.type() == 12345:
- s = event.data()
-
- self.mlineedit.append(s)
-
- if s.latin1() == "Green!":
- self.label.setBackgroundColor(Qt.green)
- else:
- self.label.setBackgroundColor(Qt.yellow)
-
- self.label.setText(s)
-
- del s
- elif event.type() == 12346:
- s = event.data()
-
- QMessageBox.information(self,s.latin1() + " - Finished",
- "The thread creating the \"" + s.latin1() +
- "\" events has finished.")
-
- del s
- else:
- print "Unknown custom event type:", event.type()
-
-
-app = QApplication(sys.argv)
-se = SemaphoreExample()
-app.setMainWidget(se)
-se.show()
-
-sys.exit(app.exec_loop())
diff --git a/python/pyqt/examples2/splitter.py b/python/pyqt/examples2/splitter.py
deleted file mode 100755
index 1c2fef7b..00000000
--- a/python/pyqt/examples2/splitter.py
+++ /dev/null
@@ -1,65 +0,0 @@
-#!/usr/bin/env python
-
-import sys
-from qt import *
-
-class Test(QWidget):
- def __init__(self, parent=None, name='Test', f=0):
- QWidget.__init__(self, parent, name, f)
-
- def paintEvent(self, e):
- p = QPainter(self)
- p.setClipRect(e.rect())
- d = 1000
- x1 = 0
- x2 = self.width() - 1
- y1 = 0
- y2 = self.height() - 1
-
- x = (x1+x2)/2
- p.drawLine(x, y1, x+d, y1+d)
- p.drawLine(x, y1, x-d, y1+d)
- p.drawLine(x, y2, x+d, y2-d)
- p.drawLine(x, y2, x-d, y2-d)
-
- y = (y1+y2)/2
- p.drawLine(x1, y, x1+d, y+d)
- p.drawLine(x1, y, x1+d, y-d)
- p.drawLine(x2, y, x2-d, y+d)
- p.drawLine(x2, y, x2-d, y-d)
-
-
-if __name__=="__main__":
- a = QApplication(sys.argv)
-
- s1 = QSplitter(Qt.Vertical, None, "main")
- s2 = QSplitter(Qt.Horizontal, s1, "top")
-
- t1 = Test(s2)
- t1.setBackgroundColor(Qt.blue.light(180))
- t1.setMinimumSize(50,0)
-
- t2 = Test(s2)
- t2.setBackgroundColor(Qt.green.light(180))
- s2.setResizeMode(t2, QSplitter.KeepSize)
- s2.moveToFirst(t2)
-
- s3 = QSplitter(Qt.Horizontal, s1, "bottom")
-
- t3 = Test(s3)
- t3.setBackgroundColor(Qt.red)
- t4 = Test(s3)
- t4.setBackgroundColor(Qt.white)
-
- t5 = Test(s3)
- t5.setMaximumHeight(250)
- t5.setMinimumSize(80,50)
- t5.setBackgroundColor(Qt.yellow)
-
- s1.setOpaqueResize(1)
- s2.setOpaqueResize(1)
- s3.setOpaqueResize(1)
-
- a.setMainWidget(s1)
- s1.show()
- a.exec_loop()
diff --git a/python/pyqt/examples2/table.py b/python/pyqt/examples2/table.py
deleted file mode 100755
index 58fd04bd..00000000
--- a/python/pyqt/examples2/table.py
+++ /dev/null
@@ -1,115 +0,0 @@
-#!/usr/bin/env python
-
-import sys
-from qt import *
-
-class Table(QTableView):
- def __init__(self, numRows, numCols, parent=None, name=''):
- QTableView.__init__(self, parent, name)
- self.curRow = self.curCol = 0
- self.setFocusPolicy(QWidget.StrongFocus)
- self.setBackgroundMode(QWidget.PaletteBase)
- self.setNumCols(numCols)
- self.setNumRows(numRows)
- self.setCellWidth(100)
- self.setCellHeight(30)
- self.setTableFlags(Tbl_vScrollBar |
- Tbl_hScrollBar |
- Tbl_clipCellPainting)
- self.resize(400,200)
- self.contents = [''] * (numRows * numCols)
-
- def cellContent(self, row, col):
- return self.contents[self.indexOf(row,col)]
-
- def setCellContent(self, row, col, c):
- self.contents[self.indexOf(row,col)] = c
- self.updateCell(row, col)
-
- def paintCell(self, p, row, col):
- w = self.cellWidth(col)
- h = self.cellHeight(row)
- x2 = w-1
- y2 = h-1
-
- p.drawLine(x2,0,x2,y2)
- p.drawLine(0,y2,x2,y2)
-
- if row == self.curRow and col == self.curCol:
- if self.hasFocus():
- p.drawRect(0, 0, x2, y2)
- else:
- p.setPen(Qt.DotLine)
- p.drawRect(0, 0, x2, y2)
- p.setPen(Qt.SolidLine)
-
- p.drawText(0,0,w,h,Qt.AlignCenter,self.contents[self.indexOf(row,col)])
-
- def mousePressEvent(self, me):
- oldRow = self.curRow
- oldCol = self.curCol
- clickedPos = me.pos()
- self.curRow = self.findRow(clickedPos.y())
- self.curCol = self.findCol(clickedPos.x())
- if self.curRow != oldRow or \
- self.curCol != oldCol:
- self.updateCell(oldRow, oldCol)
- self.updateCell(self.curRow, self.curCol)
-
- def keyPressEvent(self, ke):
- oldRow = self.curRow
- oldCol = self.curCol
- edge = 0
- key = ke.key()
- if key == Key_Left:
- if self.curCol > 0:
- self.curCol = self.curCol - 1
- edge = self.leftCell()
- if self.curCol < edge:
- self.setLeftCell(edge-1)
- elif key == Key_Right:
- if self.curCol < self.numCols()-1:
- self.curCol = self.curCol + 1
- edge = self.lastColVisible()
- if self.curCol >= edge:
- self.setLeftCell(self.leftCell()+1)
- elif key == Key_Up:
- if self.curRow > 0:
- self.curRow = self.curRow - 1
- edge = self.topCell()
- if self.curRow < edge:
- self.setTopCell(edge-1)
- elif key == Key_Down:
- if self.curRow < self.numRows()-1:
- self.curRow = self.curRow + 1
- edge = self.lastRowVisible()
- if self.curRow >= edge:
- self.setTopCell(self.topCell()+1)
- else:
- ke.ignore()
- return
-
- if self.curRow != oldRow or \
- self.curCol != oldCol:
- self.updateCell(oldRow, oldCol)
- self.updateCell(self.curRow, self.curCol)
-
- def focusInEvnet(self, fie):
- self.updateCell(self.curRow, self.curCol)
-
- def focusOutEvent(self, foe):
- self.updateCell(self.curRow, self.curCol)
-
- def indexOf(self, row, col):
- return (row * self.numCols()) + col
-
-numRows = 20
-numCols = 20
-a = QApplication(sys.argv)
-v = Table(numRows, numCols)
-for i in range(numRows):
- for j in range(numCols):
- v.setCellContent(i,j,'%d %c' % (j, 65+(i%26)))
-a.setMainWidget(v)
-v.show()
-a.exec_loop()
diff --git a/python/pyqt/examples2/themes.py b/python/pyqt/examples2/themes.py
deleted file mode 100755
index b3dae552..00000000
--- a/python/pyqt/examples2/themes.py
+++ /dev/null
@@ -1,2484 +0,0 @@
-#!/usr/bin/env python
-
-# This is a port to PyQt of the Qt v2.x example program. It does not (yet)
-# include the implementation of all of the example widgets.
-
-
-FALSE=0
-TRUE=1
-
-# Python modules
-
-import os, sys
-
-# include files for QT
-
-from qt import *
-
-
-class ButtonsGroups(QVBox):
-
- def __init__(self, parent=None, name=None):
- QVBox.__init__(self, parent, name)
-
- # Create widgets which allow easy layouting
- box1=QHBox(self)
- box2=QHBox(self)
-
- # first group
-
- # Create an exclusive button group
- grp1=QButtonGroup( 1
- , QGroupBox.Horizontal
- , "Button Group 1 (exclusive)"
- , box1
- )
- grp1.setExclusive(TRUE)
-
- # insert 3 radiobuttons
- rb11=QRadioButton("&Radiobutton 1", grp1)
- rb11.setChecked(TRUE)
- QRadioButton("R&adiobutton 2", grp1)
- QRadioButton("Ra&diobutton 3", grp1)
-
- # second group
-
- # Create a non-exclusive buttongroup
- grp2=QButtonGroup( 1
- , QGroupBox.Horizontal
- , "Button Group 2 (non-exclusive)"
- , box1
- )
- grp2.setExclusive(FALSE)
-
- # insert 3 checkboxes
- QCheckBox("&Checkbox 1", grp2)
- cb12=QCheckBox("C&heckbox 2", grp2)
- cb12.setChecked(TRUE)
- cb13=QCheckBox("Triple &State Button", grp2)
- cb13.setTristate(TRUE)
- cb13.setChecked(TRUE)
-
- # third group
-
- # create a buttongroup which is exclusive for radiobuttons and
- # non-exclusive for all other buttons
- grp3=QButtonGroup( 1
- , QGroupBox.Horizontal
- , "Button Group 3 (Radiobutton-exclusive)"
- , box2
- )
- grp3.setRadioButtonExclusive(TRUE)
-
- # insert three radiobuttons
- self.rb21=QRadioButton("Rad&iobutton 1", grp3)
- self.rb22=QRadioButton("Radi&obutton 2", grp3)
- self.rb23=QRadioButton("Radio&button 3", grp3)
- self.rb23.setChecked(TRUE)
-
- # insert a checkbox...
- self.state=QCheckBox("E&nable Radiobuttons", grp3)
- self.state.setChecked(TRUE)
- # ...and connect its SIGNAL clicked() with the SLOT slotChangeGrp3State()
- self.connect(self.state, SIGNAL('clicked()'),self.slotChangeGrp3State)
-
- # fourth group
-
- # create a groupbox which lays out its childs in a column
- grp4=QGroupBox( 1
- , QGroupBox.Horizontal
- , "Groupbox with normal buttons"
- , box2
- )
-
- # insert two pushbuttons...
- QPushButton("&Push Button", grp4)
- tb=QPushButton("&Toggle Button", grp4)
-
- # ...and make the second one a toggle button
- tb.setToggleButton(TRUE)
- tb.setOn(TRUE)
-
- def slotChangeGrp3State(self):
- self.rb21.setEnabled(self.state.isChecked())
- self.rb22.setEnabled(self.state.isChecked())
- self.rb23.setEnabled(self.state.isChecked())
-
-
-class LineEdits(QVBox):
-
- def __init__(self, parent=None, name=None):
- QVBox.__init__(self, parent, name)
-
- self.setMargin(10)
-
- # Widget for layouting
- row1=QHBox(self)
- row1.setMargin(5)
-
- # Create a label
- QLabel("Echo Mode: ", row1)
-
- # Create a Combobox with three items...
- self.combo1=QComboBox(FALSE, row1)
- self.combo1.insertItem("Normal", -1)
- self.combo1.insertItem("Password", -1)
- self.combo1.insertItem("No Echo", -1)
- # ...and connect the activated() SIGNAL with the slotEchoChanged SLOT to be
- # able to react when an item is selected
- self.connect(self.combo1, SIGNAL('activated(int)'), self.slotEchoChanged)
-
- # insert the first LineEdit
- self.lined1=QLineEdit(self)
-
- # another widget which is used for layouting
- row2=QHBox(self)
- row2.setMargin(5)
-
- # and the second label
- QLabel("Validator: ", row2)
-
- # A second Combobox with again three items...
- self.combo2=QComboBox(FALSE, row2)
- self.combo2.insertItem("No Validator", -1)
- self.combo2.insertItem("Integer Validator", -1)
- self.combo2.insertItem("Double Validator", -1)
- # ...and again the activated() SIGNAL gets connected with a SLOT
- self.connect(self.combo2, SIGNAL('activated(int)'), self.slotValidatorChanged)
-
- # and the second LineEdit
- self.lined2=QLineEdit(self)
-
- # yet another widget which is used for layouting
- row3=QHBox(self)
- row3.setMargin(5)
-
- # we need a label for this too
- QLabel("Alignment: ", row3)
-
- # A combo box for setting alignment
- self.combo3=QComboBox(FALSE, row3)
- self.combo3.insertItem("Left", -1)
- self.combo3.insertItem("Centered", -1)
- self.combo3.insertItem("Right", -1)
- # ...and again the activated() SIGNAL gets connected with a SLOT
- self.connect(self.combo3, SIGNAL('activated(int)'), self.slotAlignmentChanged)
-
- # and the lineedit
- self.lined3=QLineEdit(self)
-
- # give the first LineEdit the focus at the beginning
- self.lined1.setFocus()
-
- def slotEchoChanged(self, i):
- if i == 0:
- self.lined1.setEchoMode(QLineEdit.EchoMode.Normal)
- elif i == 1:
- self.lined1.setEchoMode(QLineEdit.EchoMode.Password)
- elif i == 2:
- self.lined1.setEchoMode(QLineEdit.EchoMode.NoEcho)
-
- self.lined1.setFocus()
-
- def slotValidatorChanged(self, i):
- if i == 0:
- self.validator=None
- self.lined2.setValidator(self.validator)
- elif i == 1:
- self.validator=QIntValidator(self.lined2)
- self.lined2.setValidator(self.validator)
- elif i == 2:
- self.validator=QDoubleValidator(-999.0, 999.0, 2, self.lined2)
- self.lined2.setValidator(self.validator)
-
- self.lined2.setText("")
- self.lined2.setFocus()
-
- def slotAlignmentChanged(self, i):
- if i == 0:
- self.lined3.setAlignment(Qt.AlignLeft)
- elif i == 1:
- self.lined3.setAlignment(Qt.AlignCenter)
- elif i == 2:
- self.lined3.setAlignment(Qt.AlignRight)
-
- self.lined3.setFocus()
-
-
-class ProgressBar(QVBox):
-
- def __init__(self, parent=None, name=None):
- QVBox.__init__(self, parent, name)
-
- self.timer=QTimer()
-
- self.setMargin(10)
-
- # Create a radiobutton-exclusive Buttongroup which aligns its childs in two
- # columns
- bg=QButtonGroup(2, QGroupBox.Horizontal, self)
- bg.setRadioButtonExclusive(TRUE)
-
- # insert three radiobuttons which the user can use to set the speed of the
- # progress and two pushbuttons to start/pause/continue and reset the
- # progress
- self.slow=QRadioButton("&Slow", bg)
- self.start=QPushButton("S&tart", bg)
- self.normal=QRadioButton("&Normal", bg)
- self.reset=QPushButton("&Reset", bg)
- self.fast=QRadioButton("&Fast", bg)
-
- # Create the progressbar
- self.progress=QProgressBar(100, self)
-
- # connect the clicked() SIGNALs of the pushbuttons to SLOTs
- self.connect(self.start, SIGNAL('clicked()'), self.slotStart)
- self.connect(self.reset, SIGNAL('clicked()'), self.slotReset)
-
- # connect the timeout() SIGNAL of the progress-timer to a SLOT
- self.connect(self.timer, SIGNAL('timeout()'), self.slotTimeout)
-
- # Let's start with normal speed...
- self.normal.setChecked(TRUE)
-
- def slotStart(self):
- # If the progress bar is at the beginning...
- if self.progress.progress() == -1:
- # ...set according to the checked speed-radionbutton the number of steps
- # which are needed to complete the process
- if self.slow.isChecked():
- self.progress.setTotalSteps(10000)
- elif self.normal.isChecked():
- self.progress.setTotalSteps(1000)
- else:
- self.progress.setTotalSteps(50)
-
- # disable the speed-radiobuttons
- self.slow.setEnabled(FALSE)
- self.normal.setEnabled(FALSE)
- self.fast.setEnabled(FALSE)
-
- # If the progress is not running...
- if not self.timer.isActive():
- # ...start the time (and so the progress) with an interval fo 1ms...
- self.timer.start(1)
- # ...and rename the start/pause/continue button to Pause
- self.start.setText("&Pause")
- else:
- # ...stop the timer (and so the progress)...
- self.timer.stop()
- # ...and rename the start/pause/continue button to Continue
- self.start.setText("&Continue")
-
- def slotReset(self):
- # stop the timer and progress
- self.timer.stop()
-
- # rename the start/pause/continue button to Start...
- self.start.setText("&Start")
- # ...and enable this button
- self.start.setEnabled(TRUE)
-
- # enable the speed-radiobuttons
- self.slow.setEnabled(TRUE)
- self.normal.setEnabled(TRUE)
- self.fast.setEnabled(TRUE)
-
- # reset the progressbar
- self.progress.reset()
-
- def slotTimeout(self):
- p = self.progress.progress()
-
- # If the progress is complete...
- if p == self.progress.totalSteps():
- # ...rename the start/pause/continue button to Start...
- self.start.setText("&Start")
- # ...and disable it...
- self.start.setEnabled(FALSE)
- # ...and return
- return
-
- # If the progress is not complete increase it
- self.progress.setProgress(p+1)
-
-
-class ListBoxCombo(QVBox):
-
- def __init__(self, parent=None, name=None):
- QVBox.__init__(self, parent, name)
-
- self.setMargin(5)
-
- row1=QHBox(self)
- row1.setMargin(5)
-
- # Create a multi-selection ListBox...
- self.lb1=QListBox(row1)
- self.lb1.setMultiSelection(TRUE)
-
- # ...insert a pixmap item...
- self.lb1.insertItem(QPixmap("qtlogo.png"))
- # ...and 100 text items
- for i in range(100):
- str=QString("Listbox Item %1").arg(i)
- self.lb1.insertItem(str)
-
- # Create a pushbutton...
- self.arrow1=QPushButton(" -> ", row1)
- # ...and connect the clicked SIGNAL with the SLOT slotLeft2Right
- self.connect(self.arrow1, SIGNAL('clicked()'), self.slotLeft2Right)
-
- # create an empty single-selection ListBox
- self.lb2=QListBox(row1)
-
- def slotLeft2Right(self):
- # Go through all items of the first ListBox
- for i in range(self.lb1.count()):
- item=self.lb1.item(i)
- # if the item is selected...
- if item.selected():
- # ...and it is a text item...
- if not item.text().isEmpty():
- # ...insert an item with the same text into the second ListBox
- self.lb2.insertItem(QListBoxText(item.text()))
- # ...and if it is a pixmap item...
- elif item.pixmap():
- # ...insert an item with the same pixmap into the second ListBox
- self.lb2.insertItem(QListBoxPixmap(item.pixmap()))
-
-
-class NorwegianWoodStyle(QMotifStyle):
-
- def __init__(self):
- QMotifStyle.__init__(self)
-
- def polish(self,o):
- if isinstance(o,QApplication):
- self.polish_qapplication(o)
- elif isinstance(o,QWidget):
- self.polish_qwidget(o)
- else:
- QMotifStyle.polish(self,o)
-
- def unPolish(self,o):
- if isinstance(o,QApplication):
- self.unPolish_qapplication(o)
- elif isinstance(o,QWidget):
- self.unPolish_qwidget(o)
- else:
- QMotifStyle.unPolish(self,o)
-
- def polish_qapplication(self,app):
- global button_xpm, polish_xpm
-
- self.oldPalette=app.palette()
-
- # we simply create a nice QColorGroup with a couple of fancy wood pixmaps
- # here and apply it to all widgets
-
- img=QImage(button_xpm)
- orig=QImage(img)
- orig.detach()
- button=QPixmap()
- button.convertFromImage(img)
-
- background=QPixmap(polish_xpm)
-
- for i in range(img.numColors()):
- rgb=img.color(i)
- c=QColor(rgb)
- (r, g, b)=c.dark().rgb()
- img.setColor(i,qRgb(r, g, b))
- mid=QPixmap()
- mid.convertFromImage(img)
-
- img=QImage(orig)
- for i in range(img.numColors()):
- rgb=img.color(i)
- c=QColor(rgb)
- (r, g, b)=c.light().rgb()
- img.setColor(i,qRgb(r, g, b))
- light=QPixmap()
- light.convertFromImage(img)
-
- img=QImage(orig)
- for i in range(img.numColors()):
- rgb=img.color(i)
- c=QColor(rgb)
- (r, g, b)=c.dark().rgb()
- img.setColor(i,qRgb(r, g, b))
- dark=QPixmap()
- dark.convertFromImage(img)
-
- op=QPalette(QColor(212,140,95))
-
- nor=QColorGroup(QBrush(op.normal().foreground()),
- QBrush(op.normal().button(), button),
- QBrush(op.normal().light(), light),
- QBrush(op.normal().dark(), dark),
- QBrush(op.normal().mid(), mid),
- QBrush(op.normal().text()),
- QBrush(Qt.white),
- QBrush(QColor(236,182,120)),
- QBrush(op.normal().background(), background))
- disabled=QColorGroup(QBrush(op.disabled().foreground()),
- QBrush(op.disabled().button(), button),
- QBrush(op.disabled().light(), light),
- QBrush(op.disabled().dark()),
- QBrush(op.disabled().mid(), mid),
- QBrush(op.disabled().text()),
- QBrush(Qt.white),
- QBrush(QColor(236,182,120)),
- QBrush(op.disabled().background(), background))
- active=QColorGroup(QBrush(op.active().foreground()),
- QBrush(op.active().button(), button),
- QBrush(op.active().light(), light),
- QBrush(op.active().dark()),
- QBrush(op.active().mid(), mid),
- QBrush(op.active().text()),
- QBrush(Qt.white),
- QBrush(QColor(236,182,120)),
- QBrush(op.active().background(), background))
-
- app.setPalette(QPalette(nor, disabled, active), TRUE)
-
- def unPolish_qapplication(self,app):
- app.setPalette(self.oldPalette, TRUE)
-
- def polish_qwidget(self,w):
- # the polish function will set some widgets to transparent mode, to get the
- # full benefit from the nice pixmaps in the color group.
-
- if w.inherits("QTipLabel"):
- return
-
- if w.inherits("QLCDNumber"):
- return
-
- if not w.isTopLevel():
- if w.inherits("QLabel") \
- or w.inherits("QButton") \
- or w.inherits("QComboBox") \
- or w.inherits("QGroupBox") \
- or w.inherits("QSlider") \
- or w.inherits("QTabWidget") \
- or w.inherits("QTabBar"):
- w.setAutoMask(TRUE)
-
- def unPolish_qwidget(self,w):
- if w.inherits("QTipLabel"):
- return
-
- if w.inherits("QLCDNumber"):
- return
-
- if not w.isTopLevel():
- if w.inherits("QLabel") \
- or w.inherits("QButton") \
- or w.inherits("QComboBox") \
- or w.inherits("QGroupBox") \
- or w.inherits("QSlider") \
- or w.inherits("QTabWidget") \
- or w.inherits("QTabBar"):
- w.setAutoMask(FALSE)
-
- def drawroundrect(self, p, x, y, w, h, d):
- rx=(200*d)/w
- ry=(200*d)/h
- p.drawRoundRect(x, y, w, h, rx, ry)
-
- def drawButton(self, p, x, y, w, h, g, sunken=FALSE, fill=None):
- qDrawShadePanel(p, x, y, w, h, g, sunken, 5)
-
- oldBrush=p.brush()
- oldPen=p.pen()
- p.setPen(Qt.NoPen)
- if fill != None:
- newBrush=fill
- else:
- if sunken:
- newBrush=g.brush(QColorGroup.Mid)
- else:
- newBrush=g.brush(QColorGroup.Button)
- self.drawroundrect(p, x+3, y+3, w-6, h-6, 5)
- p.setBrush(oldBrush)
- p.setPen(g.foreground())
- self.drawroundrect(p, x, y, w, h, 8)
- p.setPen(oldPen)
-
- def drawBevelButton(self, p, x, y, w, h, g, sunken=FALSE, fill=None):
- QMotifStyle.drawBevelButton(self, p, x, y, w, h, g, sunken, fill)
-
- def drawPushButton(self, btn, p):
- g = btn.colorGroup()
-
- (x1, y1, x2, y2)=btn.rect().coords()
-
- p.setPen(g.foreground())
- p.setBrush(QBrush(g.button(),Qt.NoBrush))
-
- if btn.isDown():
- fill=g.brush(QColorGroup.Mid)
- elif btn.isOn():
- fill=QBrush(g.mid(),Qt.Dense4Pattern)
- else:
- fill=g.brush(QColorGroup.Button)
-
- if btn.isDefault():
- a=QPointArray([x1, y1, x2, y1, x2, y2, x1, y2, x1, y1+1,
- x2-1, y1+1, x2-1, y2-1, x1+1, y2-1, x1+1, y1+1])
- p.setPen(Qt.black)
- p.drawPolyline(a)
- x1=x1+2
- y1=y1+2
- x2=x2-2
- y2=y2-2
-
- if btn.isOn() or btn.isDown():
- sunken=TRUE
- else:
- sunken=FALSE
-
- self.drawButton(p, x1, y1, x2-x1+1, y2-y1+1, g, sunken, fill)
-
- if btn.isMenuButton():
- dx=(y1-y2-4)/3
- self.drawArrow(p, Qt.DownArrow, FALSE,
- x2-dx, dx, y1, y2-y1,
- g, btn.isEnabled())
-
- if p.brush().style != Qt.NoBrush:
- p.setBrush(Qt.NoBrush)
-
- def drawPushButtonLabel(self, btn, p):
- r=btn.rect()
- (x, y, w, h)=r.rect()
-
- (x1, y1, x2, y2)=btn.rect().coords()
- dx=0
- dy=0
- if btn.isMenuButton():
- dx=(y2-y1)/3
- if dx or dy:
- p.translate(dx,dy)
-
- x=x+2
- y=y+2
- w=w-4
- h=h-4
- g=btn.colorGroup()
- if btn.isDown() or btn.isOn():
- pencolour=btn.colorGroup().brightText()
- else:
- pencolour=btn.colorGroup().buttonText()
- self.drawItem(p, x, y, w, h,
- Qt.AlignCenter|Qt.ShowPrefix,
- g, btn.isEnabled(),
- btn.pixmap(), btn.text(), -1,
- pencolour)
-
- if dx or dy:
- p.translate(-dx,-dy)
-
- def buttonRect(self, x, y, w, h):
- return QRect(x+3, y+2, w-6, h-4)
-
- def drawButtonMask(self, p, x, y, w, h):
- self.drawroundrect(p, x, y, w, h, 8)
-
-
-class MetalStyle(QWindowsStyle):
-
- def __init__(self):
- QWindowsStyle.__init__(self)
-
- def polish(self,o):
- if isinstance(o,QApplication):
- self.polish_qapplication(o)
- elif isinstance(o,QWidget):
- self.polish_qwidget(o)
- else:
- QWindowsStyle.polish(self,o)
-
- def unPolish(self,o):
- if isinstance(o,QApplication):
- self.unPolish_qapplication(o)
- elif isinstance(o,QWidget):
- self.unPolish_qwidget(o)
- else:
- QWindowsStyle.unPolish(self,o)
-
- def polish_qapplication(self,app):
- global stone1_xpm, stonebright_xpm
-
- self.oldPalette=app.palette()
-
- # we simply create a nice QColorGroup with a couple of fancy pixmaps here
- # and apply it to all widgets
-
- f=QFont("times", app.font().pointSize())
- f.setBold(TRUE)
- f.setItalic(TRUE)
- app.setFont(f, TRUE, "QMenuBar")
- app.setFont(f, TRUE, "QPopupMenu")
-
- button=QPixmap(stone1_xpm)
- background=QPixmap(stonebright_xpm)
- dark=QPixmap(1,1)
- dark.fill(Qt.red.dark())
- mid=QPixmap(stone1_xpm)
- light=QPixmap(stone1_xpm)
- op=app.palette()
-
- backCol=QColor(227,227,227)
-
- nor=QColorGroup(QBrush(op.normal().foreground()),
- QBrush(op.normal().button(), button),
- QBrush(op.normal().light(), light),
- QBrush(op.normal().dark(), dark),
- QBrush(op.normal().mid(), mid),
- QBrush(op.normal().text()),
- QBrush(Qt.white),
- QBrush(op.normal().base()),
- QBrush(backCol, background))
- nor.setColor(QColorGroup.ButtonText, Qt.white)
- nor.setColor(QColorGroup.Shadow, Qt.black)
- disabled=QColorGroup(QBrush(op.disabled().foreground()),
- QBrush(op.disabled().button(), button),
- QBrush(op.disabled().light(), light),
- QBrush(op.disabled().dark()),
- QBrush(op.disabled().mid(), mid),
- QBrush(op.disabled().text()),
- QBrush(Qt.white),
- QBrush(op.disabled().base()),
- QBrush(backCol, background))
- active=QColorGroup(QBrush(op.active().foreground()),
- QBrush(op.active().button(), button),
- QBrush(op.active().light(), light),
- QBrush(op.active().dark()),
- QBrush(op.active().mid(), mid),
- QBrush(op.active().text()),
- QBrush(Qt.white),
- QBrush(op.active().base()),
- QBrush(backCol, background))
- active.setColor(QColorGroup.ButtonText, Qt.white)
-
- newPalette=QPalette(nor, disabled, active)
- app.setPalette(newPalette, TRUE)
-
- def unPolish_qapplication(self,app):
- app.setPalette(self.oldPalette, TRUE)
- app.setFont(app.font(), TRUE)
-
- def polish_qwidget(self,w):
- # the polish function will set some widgets to transparent mode, to get the
- # full benefit from the nice pixmaps in the color group.
-
- if w.inherits("QPushButton"):
- w.setBackgroundMode(QWidget.NoBackground)
-
- def unPolish_qwidget(self,w):
- if w.inherits("QPushButton"):
- w.setBackgroundMode(QWidget.PaletteButton)
-
- def drawButton(self, p, x, y, w, h, g, sunken=FALSE, fill=None):
- global img1, metal_xpm
-
- if not img1:
- img1=QImage(metal_xpm)
-
- scaledImage=img1.smoothScale(w, h)
- pix=QPixmap()
- pix.convertFromImage(scaledImage)
- p.drawPixmap(x, y, pix)
- g2=QColorGroup()
- g2.setColor(QColorGroup.Light, Qt.white)
- g2.setColor(QColorGroup.Dark, Qt.black)
-
- if sunken:
- linewidth=2
- else:
- linewidth=1
-
- qDrawShadePanel(p, x, y, w, h, g2, sunken, linewidth)
-
- def drawBevelButton(self, p, x, y, w, h, g, sunken=FALSE, fill=None):
- self.drawButton(p, x, y, w, h, g, sunken, fill)
-
- def drawPushButton(self, btn, p):
- g = btn.colorGroup()
-
- (x1, y1, x2, y2)=btn.rect().coords()
-
- p.setPen(g.foreground())
- p.setBrush(QBrush(g.button(),Qt.NoBrush))
-
- if btn.isDown():
- fill=g.brush(QColorGroup.Mid)
- elif btn.isOn():
- fill=QBrush(g.mid(),Qt.Dense4Pattern)
- else:
- fill=g.brush(QColorGroup.Button)
-
- if btn.isDefault():
- a=QPointArray([x1, y1, x2, y1, x2, y2, x1, y2, x1, y1+1,
- x2-1, y1+1, x2-1, y2-1, x1+1, y2-1, x1+1, y1+1])
- p.setPen(Qt.black)
- p.drawPolyline(a)
- x1=x1+2
- y1=y1+2
- x2=x2-2
- y2=y2-2
-
- if btn.isOn() or btn.isDown():
- sunken=TRUE
- else:
- sunken=FALSE
-
- self.drawButton(p, x1, y1, x2-x1+1, y2-y1+1, g, sunken, fill)
-
- if btn.isMenuButton():
- dx=(y1-y2-4)/3
- self.drawArrow(p, Qt.DownArrow, FALSE,
- x2-dx, dx, y1, y2-y1,
- g, btn.isEnabled())
-
- if p.brush().style != Qt.NoBrush:
- p.setBrush(Qt.NoBrush)
-
- def drawPushButtonLabel(self, btn, p):
- r=btn.rect()
- (x, y, w, h)=r.rect()
-
- (x1, y1, x2, y2)=btn.rect().coords()
- dx=0
- dy=0
- if btn.isMenuButton():
- dx=(y2-y1)/3
- if btn.isOn() or btn.isDown():
- dx=dx-1
- dy=dy-1
- pencolour=btn.colorGroup().brightText()
- else:
- pencolour=btn.colorGroup().buttonText()
- if dx or dy:
- p.translate(dx,dy)
-
- x=x+2
- y=y+2
- w=w-4
- h=h-4
- g=btn.colorGroup()
- self.drawItem(p, x, y, w, h,
- Qt.AlignCenter|Qt.ShowPrefix,
- g, btn.isEnabled(),
- btn.pixmap(), btn.text(), -1,
- pencolour)
-
- if dx or dy:
- p.translate(-dx,-dy)
-
- def drawPanel(self, p, x, y, w, h, g, sunken, lineWidth, fill):
- QStyle.drawPanel(self, p, x, y, w, h, g, sunken, lineWidth, fill)
-
-
-class Themes(QMainWindow):
-
- def __init__(self, parent=None, name=None, f=Qt.WType_TopLevel):
- QMainWindow.__init__(self, parent, name, f)
-
- self.appFont=QApplication.font()
- self.tabwidget=QTabWidget(self)
-
- self.buttonsgroups=ButtonsGroups(self.tabwidget)
- self.tabwidget.addTab(self.buttonsgroups,"Buttons/Groups")
- self.hbox=QHBox(self.tabwidget)
- self.hbox.setMargin(5)
- self.linedits=LineEdits(self.hbox)
- self.progressbar=ProgressBar(self.hbox)
- self.tabwidget.addTab(self.hbox, "Lineedits/Progressbar")
- self.listboxcombo=ListBoxCombo(self.tabwidget)
- self.tabwidget.addTab(self.listboxcombo, "Listboxes/Comboboxes")
-
- self.setCentralWidget(self.tabwidget)
-
- self.style=QPopupMenu(self)
- self.style.setCheckable(TRUE)
- self.menuBar().insertItem("&Style", self.style)
-
- self.sMetal=self.style.insertItem("&Metal", self.styleMetal)
- self.sWood=self.style.insertItem("&Norwegian Wood", self.styleWood)
- self.sPlatinum=self.style.insertItem("&Platinum", self.stylePlatinum)
- self.sWindows=self.style.insertItem("&Windows", self.styleWindows)
- self.sCDE=self.style.insertItem("&CDE", self.styleCDE)
- self.sMotif=self.style.insertItem("M&otif", self.styleMotif)
- self.sMotifPlus=self.style.insertItem("Motif P&lus", self.styleMotifPlus)
- self.style.insertSeparator()
- self.style.insertItem("&Quit", qApp.quit, Qt.CTRL | Qt.Key_Q)
-
- self.help=QPopupMenu(self)
- self.menuBar().insertSeparator()
- self.menuBar().insertItem("&Help", self.help)
- self.help.insertItem("&About", self.about, Qt.Key_F1)
- self.help.insertItem("About &Qt", self.aboutQt)
-
- self.style=NorwegianWoodStyle()
- qApp.setStyle(self.style)
- self.menuBar().setItemChecked(self.sWood, TRUE)
-
- # In the following we cannot simply set the new style as we can in C++. We
- # need to keep the old style alive (if it is a Python one) so that it's
- # unPolish methods can still be called when the new style is set.
-
- def styleWood(self):
- newstyle=NorwegianWoodStyle()
- qApp.setStyle(newstyle)
- self.style=newstyle
- qApp.setFont(self.appFont, TRUE)
- self.selectStyleMenu(self.sWood)
-
- def styleMetal(self):
- newstyle=MetalStyle()
- qApp.setStyle(newstyle)
- self.style=newstyle
- qApp.setFont(self.appFont, TRUE)
- self.selectStyleMenu(self.sMetal)
-
- def stylePlatinum(self):
- newstyle=QPlatinumStyle()
- qApp.setStyle(newstyle)
- self.style=newstyle
- p=QPalette(QColor(239, 239, 239))
- qApp.setPalette(p, TRUE)
- qApp.setFont(self.appFont, TRUE)
- self.selectStyleMenu(self.sPlatinum)
-
- def styleWindows(self):
- newstyle=QWindowsStyle()
- qApp.setStyle(newstyle)
- self.style=newstyle
- qApp.setFont(self.appFont, TRUE)
- self.selectStyleMenu(self.sWindows)
-
- def styleCDE(self):
- newstyle=QCDEStyle(TRUE)
- qApp.setStyle(newstyle)
- self.style=newstyle
- self.selectStyleMenu(self.sCDE)
-
- p=QPalette(QColor(75, 123, 130))
- p.setColor(QPalette.Active, QColorGroup.Base, QColor(55, 77, 78));
- p.setColor(QPalette.Inactive, QColorGroup.Base, QColor(55, 77, 78));
- p.setColor(QPalette.Disabled, QColorGroup.Base, QColor(55, 77, 78));
- p.setColor(QPalette.Active, QColorGroup.Highlight, Qt.white);
- p.setColor(QPalette.Active, QColorGroup.HighlightedText, QColor(55, 77, 78));
- p.setColor(QPalette.Inactive, QColorGroup.Highlight, Qt.white);
- p.setColor(QPalette.Inactive, QColorGroup.HighlightedText, QColor(55, 77, 78));
- p.setColor(QPalette.Disabled, QColorGroup.Highlight, Qt.white);
- p.setColor(QPalette.Disabled, QColorGroup.HighlightedText, QColor(55, 77, 78));
- p.setColor(QPalette.Active, QColorGroup.Foreground, Qt.white);
- p.setColor(QPalette.Active, QColorGroup.Text, Qt.white);
- p.setColor(QPalette.Active, QColorGroup.ButtonText, Qt.white);
- p.setColor(QPalette.Inactive, QColorGroup.Foreground, Qt.white);
- p.setColor(QPalette.Inactive, QColorGroup.Text, Qt.white);
- p.setColor(QPalette.Inactive, QColorGroup.ButtonText, Qt.white);
- p.setColor(QPalette.Disabled, QColorGroup.Foreground, Qt.lightGray);
- p.setColor(QPalette.Disabled, QColorGroup.Text, Qt.lightGray);
- p.setColor(QPalette.Disabled, QColorGroup.ButtonText, Qt.lightGray);
- qApp.setPalette(p, TRUE)
- qApp.setFont(QFont("times", self.appFont.pointSize()), TRUE)
-
- def styleMotif(self):
- newstyle=QMotifStyle(TRUE)
- qApp.setStyle(newstyle)
- self.style=newstyle
- p=QPalette(QColor(192, 192, 192))
- qApp.setPalette(p, TRUE)
- qApp.setFont(self.appFont, TRUE)
- self.selectStyleMenu(self.sMotif)
-
- def styleMotifPlus(self):
- newstyle=QMotifPlusStyle(TRUE)
- qApp.setStyle(newstyle)
- self.style=newstyle
- p=QPalette(QColor(192, 192, 192))
- qApp.setPalette(p, TRUE)
- qApp.setFont(self.appFont, TRUE)
- self.selectStyleMenu(self.sMotifPlus)
-
- def about(self):
- QMessageBox.about(self, "Qt Themes Example",
- "<p>This example demonstrates the concept of "
- "<b>generalized GUI styles </b> first introduced "
- " with the 2.0 release of Qt.</p>" )
-
- def aboutQt(self):
- QMessageBox.aboutQt(self, "Qt Themes Example")
-
- def selectStyleMenu(self, s):
- self.menuBar().setItemChecked(self.sWood, FALSE)
- self.menuBar().setItemChecked(self.sMetal, FALSE)
- self.menuBar().setItemChecked(self.sPlatinum, FALSE)
- self.menuBar().setItemChecked(self.sCDE, FALSE)
- self.menuBar().setItemChecked(self.sMotif, FALSE)
- self.menuBar().setItemChecked(self.sMotifPlus, FALSE)
- self.menuBar().setItemChecked(self.sWindows, FALSE)
- self.menuBar().setItemChecked(s, TRUE)
-
-
-def main(argv):
- QApplication.setColorSpec(QApplication.CustomColor)
- QApplication.setStyle(QWindowsStyle())
- a=QApplication(sys.argv)
-
- themes=Themes()
- themes.setCaption('Theme (QStyle) example')
- themes.resize(640,400)
- a.setMainWidget(themes)
- themes.show()
-
- return a.exec_loop()
-
-
-# Put these here where they are out of the way of most of the code.
-
-polish_xpm = [
-" 96 96 254 2",
-".. c #9c4a34",
-".# c #a4825c",
-".a c #bc5e2c",
-".b c #d48432",
-".c c #dc9f51",
-".d c #bc6e1c",
-".e c #d4855d",
-".f c #94664c",
-".g c #bc714e",
-".h c #8c6664",
-".i c #d4923c",
-".j c #bc8444",
-".k c #d49360",
-".l c #d4794e",
-".m c #ecaf68",
-".n c #bc8365",
-".o c #d47439",
-".p c #a46954",
-".q c #dc9f70",
-".r c #e48544",
-".s c #bc7b51",
-".t c #a47761",
-".u c #bc7b42",
-".v c #a4523c",
-".w c #e4945e",
-".x c #9c784c",
-".y c #d4844a",
-".z c #eca053",
-".A c #bc614c",
-".B c #e4855c",
-".C c #bc8350",
-".D c #c48e68",
-".E c #b16634",
-".F c #e49339",
-".G c #bc703a",
-".H c #bc7c67",
-".I c #a45f34",
-".J c #cc714d",
-".K c #d48c5f",
-".L c #a47057",
-".M c #cc703a",
-".N c #dca674",
-".O c #b47859",
-".P c #bc6729",
-".Q c #d49475",
-".R c #d48b4a",
-".S c #cc8351",
-".T c #cc8466",
-".U c #ac6841",
-".V c #e4a651",
-".W c #e49576",
-".X c #d47d31",
-".Y c #ac6e4b",
-".Z c #c07650",
-".0 c #e48c43",
-".1 c #e49452",
-".2 c #9c745f",
-".3 c #e47e54",
-".4 c #cc7c4f",
-".5 c #cc7c32",
-".6 c #b46133",
-".7 c #d49a68",
-".8 c #d67e4f",
-".9 c #bc7643",
-"#. c #b47056",
-"## c #d48b3a",
-"#a c #dc9f5e",
-"#b c #e49a60",
-"#c c #cc6a31",
-"#d c #8c6244",
-"#e c #dc9a41",
-"#f c #eca753",
-"#g c #bc8a58",
-"#h c #d48c76",
-"#i c #bc693f",
-"#j c #bc715d",
-"#k c #9c6857",
-"#l c #f4b171",
-"#m c #bc8a6a",
-"#n c #eca16d",
-"#o c #a87e58",
-"#p c #a4613f",
-"#q c #a48569",
-"#r c #d4846d",
-"#s c #dc935f",
-"#t c #c47c50",
-"#u c #dc8449",
-"#v c #bc6950",
-"#w c #cc9678",
-"#x c #c4703a",
-"#y c #cc7b67",
-"#z c #dc8c5e",
-"#A c #ac7067",
-"#B c #eca86e",
-"#C c #b4786d",
-"#D c #dc8c4a",
-"#E c #b46842",
-"#F c #d47c41",
-"#G c #e48d51",
-"#H c #e59a52",
-"#I c #9c6e3f",
-"#J c #d49351",
-"#K c #cc843b",
-"#L c #ecb678",
-"#M c #9c5a38",
-"#N c #d4795c",
-"#O c #c47b39",
-"#P c #ec9560",
-"#Q c #ac764c",
-"#R c #c48351",
-"#S c #c48e74",
-"#T c #cc7650",
-"#U c #cc8a84",
-"#V c #bc6a5c",
-"#W c #e4af74",
-"#X c #b46855",
-"#Y c #e4a06e",
-"#Z c #ac775b",
-"#0 c #e48d5d",
-"#1 c #c47d65",
-"#2 c #cc763f",
-"#3 c #b47e5d",
-"#4 c #cc8a55",
-"#5 c #cc8a67",
-"#6 c #bf622f",
-"#7 c #dc853b",
-"#8 c #e49f4a",
-"#9 c #9c505c",
-"a. c #8c5644",
-"a# c #cc7329",
-"aa c #a45a51",
-"ab c #b48264",
-"ac c #9c7a7c",
-"ad c #9c5f4f",
-"ae c #b4844c",
-"af c #a46749",
-"ag c #dca664",
-"ah c #b46e1c",
-"ai c #c4762c",
-"aj c #a45a3c",
-"ak c #dc9a74",
-"al c #ac7e46",
-"am c #ac6a6c",
-"an c #eca862",
-"ao c #e49a41",
-"ap c #e49a78",
-"aq c #bc7660",
-"ar c #d57e5e",
-"as c #9c6e5c",
-"at c #ab7e65",
-"au c #cc8a44",
-"av c #9c6240",
-"aw c #bc6244",
-"ax c #bc5d3f",
-"ay c #e48550",
-"az c #eca060",
-"aA c #cc7160",
-"aB c #cc7c42",
-"aC c #b46241",
-"aD c #b4726c",
-"aE c #eca67f",
-"aF c #9c6a3c",
-"aG c #94685a",
-"aH c #c48240",
-"aI c #c48465",
-"aJ c #dc7640",
-"aK c #cc8f54",
-"aL c #e4a76f",
-"aM c #c4692e",
-"aN c #dc9474",
-"aO c #ac6050",
-"aP c #b47048",
-"aQ c #94614b",
-"aR c #ac836c",
-"aS c #a47048",
-"aT c #b4764a",
-"aU c #ec8e5c",
-"aV c #dc9a53",
-"aW c #cc765e",
-"aX c #b48a64",
-"aY c #dc9a63",
-"aZ c #c47640",
-"a0 c #ec9a60",
-"a1 c #c48a54",
-"a2 c #c48a67",
-"a3 c #ac5a3c",
-"a4 c #ac8458",
-"a5 c #dc855d",
-"a6 c #c4714d",
-"a7 c #dc9243",
-"a8 c #dc794e",
-"a9 c #ac6955",
-"b. c #cc8f67",
-"b# c #ac6032",
-"ba c #ac7056",
-"bb c #dc7a34",
-"bc c #ec9553",
-"bd c #dc8d3b",
-"be c #e4a060",
-"bf c #f4a654",
-"bg c #c46842",
-"bh c #c46f62",
-"bi c #ac613d",
-"bj c #dc866c",
-"bk c #c4694e",
-"bl c #dc7d42",
-"bm c #ec8d4f",
-"bn c #dc9351",
-"bo c #cc9177",
-"bp c #c4695f",
-"bq c #ecb075",
-"br c #e4a75f",
-"bs c #d4843c",
-"bt c #bc722c",
-"bu c #d4936c",
-"bv c #d47644",
-"bw c #bc7d5c",
-"bx c #ac563c",
-"by c #e4956c",
-"bz c #a47a4c",
-"bA c #d48454",
-"bB c #bc825c",
-"bC c #e49544",
-"bD c #bc7044",
-"bE c #bc7e74",
-"bF c #d48d6c",
-"bG c #cc7144",
-"bH c #b47864",
-"bI c #bc6a34",
-"bJ c #d49684",
-"bK c #d48b54",
-"bL c #cc845c",
-"bM c #cc8474",
-"bN c #ac684c",
-"bO c #cc7d5c",
-"bP c #eca27c",
-"bQ c #dc946c",
-"bR c #c47c5c",
-"bS c #dc8554",
-"bT c #c47244",
-"bU c #dc8c6c",
-"bV c #dc8c54",
-"bW c #b4684c",
-"bX c #cc8344",
-"bY c #c47b44",
-"bZ c #c4825c",
-"b0 c #e4a17c",
-"b1 c #ac7a64",
-"b2 c #e48c6c",
-"b3 c #c47a74",
-"b4 c #e49f54",
-"b5 c #9c674c",
-"b6 c #946764",
-"b7 c #c48674",
-"#u#G#G#P#G#G#G.1#G#G.1.1.1.w#G.r#D.1.1.1#D#DbVbV.K.K.K.KbO.Z.Z#TaP.GaT.Z.O.O.O.H.9aP.ZaPaPaPbZbo.i.k#J.k#JbKbnbn#b#sbVbV#G#G.r.ray.r.0#G.0#G.1bc.r.0.0bc.0.0.0.r.1.1.1.1#G#D.0#D.0.0.0bcbcbc.1.0",
-"#aagaLbrag#a#a#a#DbVbn#G#0.1#0#Da5#za5.4.J.Jbk#vbt.G#x.9bY.4#tbYbw.saPaP.Ub#af.Y.s.s.Z.saP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c #bc5a2c",
-".h c #8c4e4b",
-".i c #d47e16",
-".j c #bc7422",
-".k c #d47d3a",
-".l c #d45e28",
-".m c #ec9b3e",
-".n c #bc6b43",
-".o c #d45a13",
-".p c #a45236",
-".q c #dc8848",
-".r c #e46b1b",
-".s c #bc652f",
-".t c #a46243",
-".u c #bc6920",
-".v c #a4391e",
-".w c #e47b35",
-".x c #9c6b30",
-".y c #d46d24",
-".z c #ec8a29",
-".A c #bc452a",
-".B c #e46833",
-".C c #bc702e",
-".D c #c47845",
-".E c #b15314",
-".F c #e47e10",
-".G c #bc5a18",
-".H c #bc6145",
-".I c #a44d16",
-".J c #cc5728",
-".K c #d47439",
-".L c #a45b39",
-".M c #cc5815",
-".N c #dc8f4c",
-".O c #b46239",
-".P c #bc5307",
-".Q c #d4794f",
-".R c #d47624",
-".S c #cc6c2c",
-".T c #cc6941",
-".U c #ac5222",
-".V c #e49328",
-".W c #e4754d",
-".X c #d4650b",
-".Y c #ac592c",
-".Z c #c05e2d",
-".0 c #e4751a",
-".1 c #e47d29",
-".2 c #9c6143",
-".3 c #e45f2b",
-".4 c #cc632a",
-".5 c #cc660d",
-".6 c #b44b13",
-".7 c #d48442",
-".8 c #d66228",
-".9 c #bc6221",
-"#. c #b45736",
-"## c #d47714",
-"#a c #dc8936",
-"#b c #e48237",
-"#c c #cc530c",
-"#d c #8c522b",
-"#e c #dc8819",
-"#f c #ec9129",
-"#g c #bc7936",
-"#h c #d46f50",
-"#i c #bc521d",
-"#j c #bc553b",
-"#k c #9c523b",
-"#l c #f49a45",
-"#m c #bc7548",
-"#n c #ec8643",
-"#o c #a86d3a",
-"#p c #a44d21",
-"#q c #a4754b",
-"#r c #d46547",
-"#s c #dc7937",
-"#t c #c4642d",
-"#u c #dc6c21",
-"#v c #bc4d2e",
-"#w c #cc7e53",
-"#x c #c45917",
-"#y c #cc5c42",
-"#z c #dc7036",
-"#A c #ac5448",
-"#B c #ec8f44",
-"#C c #b45c4d",
-"#D c #dc7622",
-"#E c #b45222",
-"#F c #d4651b",
-"#G c #e47328",
-"#H c #e58429",
-"#I c #9c5f23",
-"#J c #d47f2b",
-"#K c #cc7116",
-"#L c #eca24e",
-"#M c #9c471c",
-"#N c #d45b36",
-"#O c #c46716",
-"#P c #ec7836",
-"#Q c #ac642d",
-"#R c #c46f2e",
-"#S c #c47551",
-"#T c #cc5b2b",
-"#U c #cc685f",
-"#V c #bc4b3a",
-"#W c #e49a4b",
-"#X c #b44c35",
-"#Y c #e48745",
-"#Z c #ac613c",
-"#0 c #e47234",
-"#1 c #c46242",
-"#2 c #cc5e1a",
-"#3 c #b4683d",
-"#4 c #cc7430",
-"#5 c #cc7042",
-"#6 c #bf4b0d",
-"#7 c #dc6e13",
-"#8 c #e48c21",
-"#9 c #9c3445",
-"a. c #8c432b",
-"a# c #cc5e04",
-"aa c #a43f33",
-"ab c #b46d44",
-"ac c #9c5e62",
-"ad c #9c4833",
-"ae c #b4742c",
-"af c #a4522b",
-"ag c #dc943c",
-"ah c #b46000",
-"ai c #c46309",
-"aj c #a4441e",
-"ak c #dc7f4c",
-"al c #ac6e27",
-"am c #ac4b4e",
-"an c #ec9238",
-"ao c #e48518",
-"ap c #e47c4f",
-"aq c #bc5c3e",
-"ar c #d56238",
-"as c #9c5840",
-"at c #ab6946",
-"au c #cc761f",
-"av c #9c5024",
-"aw c #bc4922",
-"ax c #bc421d",
-"ay c #e46927",
-"az c #ec8836",
-"aA c #cc513b",
-"aB c #cc661d",
-"aC c #b44a21",
-"aD c #b4544c",
-"aE c #ec8a55",
-"aF c #9c5a20",
-"aG c #94533f",
-"aH c #c4701d",
-"aI c #c46b42",
-"aJ c #dc5a18",
-"aK c #cc7b2f",
-"aL c #e49046",
-"aM c #c4520b",
-"aN c #dc774c",
-"aO c #ac4631",
-"aP c #b45b28",
-"aQ c #944e30",
-"aR c #ac6e4d",
-"aS c #a45f2a",
-"aT c #b4612a",
-"aU c #ec7032",
-"aV c #dc872b",
-"aW c #cc5939",
-"aX c #b47844",
-"aY c #dc843b",
-"aZ c #c4601d",
-"a0 c #ec7f36",
-"a1 c #c47531",
-"a2 c #c47344",
-"a3 c #ac431d",
-"a4 c #ac7439",
-"a5 c #dc6735",
-"a6 c #c4582a",
-"a7 c #dc7c1b",
-"a8 c #dc5d26",
-"a9 c #ac5036",
-"b. c #cc7742",
-"b# c #ac4b13",
-"ba c #ac5a37",
-"bb c #dc5f0c",
-"bc c #ec7a29",
-"bd c #dc7813",
-"be c #e48b37",
-"bf c #f48e28",
-"bg c #c44e1f",
-"bh c #c44e3f",
-"bi c #ac4b1e",
-"bj c #dc6544",
-"bk c #c44c2b",
-"bl c #dc611a",
-"bm c #ec7125",
-"bn c #dc7d29",
-"bo c #cc7752",
-"bp c #c4473c",
-"bq c #ec994b",
-"br c #e49336",
-"bs c #d46f16",
-"bt c #bc600a",
-"bu c #d47a46",
-"bv c #d45b1e",
-"bw c #bc653a",
-"bx c #ac3c1d",
-"by c #e47943",
-"bz c #a46b2e",
-"bA c #d46b2e",
-"bB c #bc6c3a",
-"bC c #e47f1b",
-"bD c #bc5b22",
-"bE c #bc6052",
-"bF c #d47346",
-"bG c #cc561f",
-"bH c #b46044",
-"bI c #bc5312",
-"bJ c #d4775e",
-"bK c #d4732e",
-"bL c #cc6b37",
-"bM c #cc644f",
-"bN c #ac512d",
-"bO c #cc6137",
-"bP c #ec8552",
-"bQ c #dc7944",
-"bR c #c46339",
-"bS c #dc6a2c",
-"bT c #c45a21",
-"bU c #dc6f44",
-"bV c #dc732c",
-"bW c #b4502c",
-"bX c #cc6d1f",
-"bY c #c46521",
-"bZ c #c46939",
-"b0 c #e48653",
-"b1 c #ac6445",
-"b2 c #e46e43",
-"b3 c #c45851",
-"b4 c #e48b2b",
-"b5 c #9c5430",
-"b6 c #944d49",
-"b7 c #c46a51",
-".waB.U#5#Dba.##u#sbn#H.8#z.0#Db2.4#E.g.e#T#F#z#4bL.n#EbSbm.kauaz#Bbnbr#B.y#b#bb4.w.z#D.z#haKaZbr#Ha6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K#T#t.U.Q#z.w#F#YazanaNan.bap#Ga0az#0#P#b#KbR.Z#aaz#ibK#h#u.wbC#B#b.1bebs#B#D#baLbcbA.k#P#G#E#S#2.K.8bAbL.Tbw.6.K#G#0.wbVbVbV#s#s.e.Oba.K.4aT.k.0"
-]
-
-stone1_xpm = [
-" 96 96 250 2",
-".. c #343e34",
-".# c #94a28c",
-".a c #64726c",
-".b c #c4d2c4",
-".c c #7c8a7c",
-".d c #acbaac",
-".e c #4c5a4c",
-".f c #dceadc",
-".g c #949284",
-".h c #7c7a6c",
-".i c #acaaa4",
-".j c #c4c2b4",
-".k c #64625c",
-".l c #dcdad4",
-".m c #8c967c",
-".n c #a4ae9c",
-".o c #6c7e74",
-".p c #f4f2ec",
-".q c #444e3c",
-".r c #bcc6b4",
-".s c #8c8a7c",
-".t c #5c6654",
-".u c #ccdecc",
-".v c #7c826c",
-".w c #a4a294",
-".x c #949a8c",
-".y c #bcbaac",
-".z c #747264",
-".A c #5c5a4c",
-".B c #c4cabc",
-".C c #d4d2c4",
-".D c #ecf2e4",
-".E c #acb2a4",
-".F c #646a5c",
-".G c #8c867c",
-".H c #54524c",
-".I c #9c9a8c",
-".J c #849284",
-".K c #7c827c",
-".L c #44463c",
-".M c #9caa9c",
-".N c #b4c2b4",
-".O c #dce2d4",
-".P c #cccabc",
-".Q c #b4b2a4",
-".R c #94a29c",
-".S c #848a7c",
-".T c #f4faec",
-".U c #6c6a5c",
-".V c #6c7a6c",
-".W c #acbab4",
-".X c #546254",
-".Y c #4c564c",
-".Z c #a4aa9c",
-".0 c #747a6c",
-".1 c #ccdacc",
-".2 c #545a4c",
-".3 c #74867c",
-".4 c #4c4e44",
-".5 c #bcc2b4",
-".6 c #5c6254",
-".7 c #d4dacc",
-".8 c #fcfaf4",
-".9 c #3c463c",
-"#. c #6c7264",
-"## c #e4eadc",
-"#a c #949294",
-"#b c #847e74",
-"#c c #8c968c",
-"#d c #a4b6ac",
-"#e c #747e6c",
-"#f c #949a9c",
-"#g c #9c9a9c",
-"#h c #84827c",
-"#i c #e4e2d4",
-"#j c #848a8c",
-"#k c #9ca294",
-"#l c #ccd2c4",
-"#m c #7c7e7c",
-"#n c #c4c6c4",
-"#o c #a4aeac",
-"#p c #bcc6c4",
-"#q c #8c8e8c",
-"#r c #d4decc",
-"#s c #848274",
-"#t c #a4a6a4",
-"#u c #bcbebc",
-"#v c #747674",
-"#w c #c4cecc",
-"#x c #d4d6d4",
-"#y c #acb6b4",
-"#z c #646a6c",
-"#A c #cccecc",
-"#B c #b4b6b4",
-"#C c #545e5c",
-"#D c #6c7674",
-"#E c #747e7c",
-"#F c #3c3e34",
-"#G c #b4baa4",
-"#H c #949684",
-"#I c #7c7e6c",
-"#J c #acaeac",
-"#K c #c4c6b4",
-"#L c #646664",
-"#M c #dcdedc",
-"#N c #8c8e7c",
-"#O c #a4a694",
-"#P c #949e8c",
-"#Q c #bcbeac",
-"#R c #747664",
-"#S c #5c5e5c",
-"#T c #c4cebc",
-"#U c #d4d6c4",
-"#V c #acb6a4",
-"#W c #545654",
-"#X c #9c9e8c",
-"#Y c #eceedc",
-"#Z c #4c4a44",
-"#0 c #dce6d4",
-"#1 c #cccebc",
-"#2 c #b4b6a4",
-"#3 c #9ca29c",
-"#4 c #848e7c",
-"#5 c #8c928c",
-"#6 c #b4bab4",
-"#7 c #7c8e8c",
-"#8 c #44524c",
-"#9 c #6c6e6c",
-"a. c #e4eeec",
-"a# c #d4e2dc",
-"aa c #a4aaac",
-"ab c #747a7c",
-"ac c #5c6264",
-"ad c #94a694",
-"ae c #acae9c",
-"af c #646654",
-"ag c #dcdecc",
-"ah c #a4b2a4",
-"ai c #bccabc",
-"aj c #5c6a5c",
-"ak c #7c8674",
-"al c #5c5e54",
-"am c #ecf6ec",
-"an c #646e64",
-"ao c #545644",
-"ap c #7c867c",
-"aq c #444a40",
-"ar c #f4fef4",
-"as c #6c6e64",
-"at c #545e54",
-"au c #4c5249",
-"av c #fcfef7",
-"aw c #6c766c",
-"ax c #e4eee4",
-"ay c #8c9a8e",
-"az c #748274",
-"aA c #84867d",
-"aB c #e4e6dc",
-"aC c #ccd6cb",
-"aD c #d4e2d4",
-"aE c #3c4238",
-"aF c #b4beac",
-"aG c #9ca69c",
-"aH c #b4beb4",
-"aI c #f4f6ec",
-"aJ c #3c4a3c",
-"aK c #949694",
-"aL c #949e9c",
-"aM c #9c9e9c",
-"aN c #848e8c",
-"aO c #9ca694",
-"aP c #a4b2ac",
-"aQ c #bccac4",
-"aR c #5c6a64",
-"aS c #848674",
-"aT c #646e6c",
-"aU c #74827c",
-"aV c #94a294",
-"aW c #7c8a84",
-"aX c #dceae4",
-"aY c #94928c",
-"aZ c #7c7a74",
-"a0 c #c4c2bc",
-"a1 c #8c9684",
-"a2 c #a4aea4",
-"a3 c #444e44",
-"a4 c #bcc6bc",
-"a5 c #8c8a84",
-"a6 c #5c665c",
-"a7 c #7c8274",
-"a8 c #a4a29c",
-"a9 c #949a94",
-"b. c #bcbab4",
-"b# c #74726c",
-"ba c #5c5a54",
-"bb c #c4cac4",
-"bc c #d4d2cc",
-"bd c #ecf2ec",
-"be c #acb2ac",
-"bf c #646a64",
-"bg c #8c8684",
-"bh c #9c9a94",
-"bi c #84928c",
-"bj c #eceae4",
-"bk c #b4c2bc",
-"bl c #dce2dc",
-"bm c #cccac4",
-"bn c #b4b2ac",
-"bo c #848a84",
-"bp c #f4faf4",
-"bq c #8c9284",
-"br c #6c6a64",
-"bs c #6c7a74",
-"bt c #a4aaa4",
-"bu c #747a74",
-"bv c #ccdad4",
-"bw c #545a54",
-"bx c #4c4e4c",
-"by c #bcc2bc",
-"bz c #5c625c",
-"bA c #d4dad4",
-"bB c #6c726c",
-"bC c #e4eae4",
-"bD c #8c9694",
-"bE c #747e74",
-"bF c #ccd2cc",
-"bG c #d4ded4",
-"bH c #b4baac",
-"bI c #94968c",
-"bJ c #7c7e74",
-"bK c #c4c6bc",
-"bL c #8c8e84",
-"bM c #a4a69c",
-"bN c #949e94",
-"bO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ebfceb",
-".c c #cce2cb",
-".d c #e5f8e5",
-".e c #99b499",
-".f c #effeef",
-".g c #e8e4cf",
-".h c #d7d3bb",
-".i c #f3f0e7",
-".j c #faf7e6",
-".k c #bfbbb0",
-".l c #fdfbf4",
-".m c #dae9c1",
-".n c #e6f4db",
-".o c #bbd9c7",
-".p c #fffdf7",
-".q c #91a680",
-".r c #effbe4",
-".s c #e3e0c9",
-".t c #b0c2a0",
-".u c #eafeea",
-".v c #d3ddb8",
-".w c #f0ecd8",
-".x c #e3ecd7",
-".y c #f8f5e3",
-".z c #d0ccb3",
-".A c #b6b297",
-".B c #f4fbea",
-".C c #fdfaea",
-".D c #f9fff0",
-".E c #eef6e3",
-".F c #bbc6ab",
-".G c #e3d9c9",
-".H c #ada99d",
-".I c #ede9d5",
-".J c #d1e7d1",
-".K c #d3ddd3",
-".L c #989c86",
-".M c #dff3df",
-".N c #e8fae7",
-".O c #f7feee",
-".P c #fcf9e9",
-".Q c #f6f3e0",
-".R c #daefe6",
-".S c #d9e2cb",
-".T c #f9fff1",
-".U c #c8c4ab",
-".V c #bdd6bd",
-".W c #e5f8f0",
-".X c #a2bda2",
-".Y c #9baf9b",
-".Z c #ebf3df",
-".0 c #ccd6bd",
-".1 c #edfded",
-".2 c #a9b499",
-".3 c #c1dfce",
-".4 c #a2a690",
-".5 c #f3fae7",
-".6 c #b2bda2",
-".7 c #f6fded",
-".8 c #fffdf7",
-".9 c #869c86",
-"#. c #c4ceb5",
-"## c #f8feef",
-"#a c #e8e5e8",
-"#b c #ded3c3",
-"#c c #d9e9d9",
-"#d c #dff7e9",
-"#e c #c8d9bb",
-"#f c #e1eaed",
-"#g c #edeaed",
-"#h c #dedbd0",
-"#i c #fefcec",
-"#j c #d7e0e3",
-"#k c #e6efda",
-"#l c #f5fceb",
-"#m c #d5d9d5",
-"#n c #f9fbf9",
-"#o c #e6f4f1",
-"#p c #effbf9",
-"#q c #e2e5e2",
-"#r c #f3feea",
-"#s c #dedac3",
-"#t c #eef1ee",
-"#u c #f6f9f6",
-"#v c #ced2ce",
-"#w c #f0fcfa",
-"#x c #fbfdfb",
-"#y c #e9f7f4",
-"#z c #b9c4c8",
-"#A c #fafcfa",
-"#B c #f4f7f4",
-"#C c #a4b8b4",
-"#D c #c0d2ce",
-"#E c #c7d9d5",
-"#F c #8d927b",
-"#G c #f0f8db",
-"#H c #e6e9cd",
-"#I c #d6d9bb",
-"#J c #f1f4f1",
-"#K c #f9fbe4",
-"#L c #bec2be",
-"#M c #fcfefc",
-"#N c #e2e5c8",
-"#O c #eff1d7",
-"#P c #dfeed3",
-"#Q c #f7f9e1",
-"#R c #cfd2b2",
-"#S c #b4b8b4",
-"#T c #f0fce6",
-"#U c #fbfde8",
-"#V c #eaf7df",
-"#W c #abafab",
-"#X c #eceed3",
-"#Y c #fdffec",
-"#Z c #a39f92",
-"#0 c #f3feea",
-"#1 c #fafce6",
-"#2 c #f5f7df",
-"#3 c #e6efe6",
-"#4 c #d5e5c8",
-"#5 c #dee7de",
-"#6 c #f0f8f0",
-"#7 c #c8e5e2",
-"#8 c #8daa9d",
-"#9 c #c6cac6",
-"a. c #f4fffd",
-"a# c #eefef7",
-"aa c #e7f0f3",
-"ab c #c9d4d7",
-"ac c #b0bcbf",
-"ad c #d8f1d7",
-"ae c #f2f4db",
-"af c #bfc2a0",
-"ag c #fcfeea",
-"ah c #e3f6e3",
-"ai c #eafbea",
-"aj c #abc6ab",
-"ak c #cfdfc1",
-"al c #b4b8a4",
-"am c #f5fff5",
-"an c #b8cab8",
-"ao c #abaf8a",
-"ap c #cfdfcf",
-"aq c #94a18b",
-"ar c #f5fff5",
-"as c #c6cab8",
-"at c #a4b8a4",
-"au c #9daa97",
-"av c #fdfff8",
-"aw c #c0d2c0",
-"ax c #f4fff4",
-"ay c #d7ecd9",
-"az c #c6ddc6",
-"aA c #dcdfd0",
-"aB c #fcfef3",
-"aC c #f1fdf0",
-"aD c #eefeee",
-"aE c #899780",
-"aF c #ecf9e1",
-"aG c #e2f1e2",
-"aH c #ecf9ec",
-"aI c #fdfff5",
-"aJ c #83a182",
-"aK c #e6e9e6",
-"aL c #dfeeeb",
-"aM c #ebeeeb",
-"aN c #d5e5e2",
-"aO c #e3f1d7",
-"aP c #e3f6ed",
-"aQ c #eafbf4",
-"aR c #abc6bb",
-"aS c #dcdfc1",
-"aT c #b8cac6",
-"aU c #c6ddd3",
-"aV c #dbefda",
-"aW c #cbe2d8",
-"aX c #effef7",
-"aY c #e8e5dc",
-"aZ c #d7d3c9",
-"a0 c #faf7f0",
-"a1 c #dae9cd",
-"a2 c #e6f4e6",
-"a3 c #91a690",
-"a4 c #effbef",
-"a5 c #e3dfd7",
-"a6 c #b0c2b0",
-"a7 c #d3ddc6",
-"a8 c #f0ede4",
-"a9 c #e3ece3",
-"b. c #f8f5ee",
-"b# c #d0ccc2",
-"ba c #b6b2a6",
-"bb c #f4fbf4",
-"bc c #fdfaf4",
-"bd c #f9fff9",
-"be c #eef6ee",
-"bf c #bbc6bb",
-"bg c #e3d9d7",
-"bh c #edeae1",
-"bi c #d1e7dd",
-"bj c #fffdf6",
-"bk c #e7faf2",
-"bl c #f7fef7",
-"bm c #fcf9f2",
-"bn c #f6f3ec",
-"bo c #d8e2d8",
-"bp c #f9fff9",
-"bq c #dee7d1",
-"br c #c8c4b9",
-"bs c #bdd6cb",
-"bt c #eaf3ea",
-"bu c #cbd6cb",
-"bv c #edfdf6",
-"bw c #a9b4a8",
-"bx c #a2a6a2",
-"by c #f2faf2",
-"bz c #b2bdb2",
-"bA c #f6fdf6",
-"bB c #c3cec3",
-"bC c #f8fef8",
-"bD c #d9e9e6",
-"bE c #c9d9c7",
-"bF c #f5fcf5",
-"bG c #f3fef3",
-"bH c #f1f8e5",
-"bI c #e6e9d9",
-"bJ c #d6d9c7",
-"bK c #f9fbef",
-"bL c #e2e5d5",
-"bM c #eef1e2",
-"bN c #dfeedf",
-"bO c #f6f9ec",
-"bP c #cfd2c0",
-"bQ c #f0fcf0",
-"bR c #fbfd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284",
-"f c #646e74",
-"g c #3c3e3c",
-"h c #444644",
-"i c #8c9294",
-"j c #4c565c",
-"k c #7c7e84",
-"l c #646a6c",
-"m c #747e84",
-"n c #4c525c",
-"o c #74767c",
-"p c #64666c",
-"q c #8c8e94",
-"r c #5c5e64",
-"s c #84868c",
-"t c #6c6e74",
-"u c #444244",
-"v c #4c4a4c",
-"w c #4c5254",
-"x c #5c666c",
-"y c #848e94",
-"z c #545e64",
-"A c #7c868c",
-"B c #3c4244",
-"C c #444a4c",
-"D c #8c969c",
-"E c #747a7c",
-"F c #6c7274",
-"G c #4c4e54",
-"H c #5c626c",
-"I c #848a94",
-"J c #545a64",
-"K c #7c828c",
-"L c #3c3e44",
-"M c #44464c",
-"N c #8c929c",
-"O c #54565c",
-"P c #646a74",
-"Q c #747a84",
-"R c #6c727c",
-"DNDDDDDDDDDDNDNDNDNNiNNiNiNyiyiyqyyyyIyIcIcIcAsAsAAKAKeKememkmmmQEQEEaoaoaaFRFFFftftlfPllllpxpxpxHbbbrbrzrzrJddddOdOOjOjOnwwwwwGwGG#GCGC#CCCCCCCMCMMMhMBhB",
-"DDDNDNDNDNDNDDNDiDNDNDiyNNiNNyNyiyqyqyIyIIcIcIAcAsAseAKeKekemkmkEmEQEEoaoaoRFRFFtFtftltlPllplpxpbpbHbbrbrrzrdrdJdddOOOOjOwOwOGwwwGwGGGCGCG#CvCCMCMCCMMMMMM",
-"NNDNDNDNDNDNDiDNDNiNiNNDNNyNyqNqyqyqycyIcIcIAIAsAsAKAKKeKkKmkmkEmQQoQoEaoFoaFRtRFftftfPlPpllpxpbpbHbbbbrzrrdrdrdddOddOOwOOwOwwwwGwGwCGwCGGCvCCvCCChCMCBhMB",
-"DDiDNDNDNDiDNNNiNNDiNyNiyNiyNyyNyyyIqIIcIcIAIcAsAAseKeKemKmkmkQmEEQEoaEaoaFRoFFtttftltlPlPppxppxbpbHbrrrrzrzrdddJdOdjOOOjwOwwOGwGwGGw#CGGCvCvCCCMMCMhCMCBM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FRFFRFtFtFttftfttfftftltllPllPlPplppppxpxpbxpbpbbHrbrrzrrzrzdrddrOOdOdOOjOjOOwwOwwOGwGwGG#CwCGCGCGCGCCvMCCMCMMMBCBMBuBMBuBMBMLBuBLB",
-"RFtRFRFFFRFFFRFRFFtFRFtFtttttRttfFftftftftltlPlPllPllpplxlxpxpbpbpbbbrHrbrbzbrzrdrdrdddOddOdOdOOwOOwOwwOwGwGwGwGwGGGC#GCGCCvCCCvMCMChCMMMMBMBMBMBuBBuBLuBL",
-"tFRFtFRFFFFRFFFtRFtFtFtRtFtfFftfttftftfltlflPtllPllplplppxpxpxpbHbprbbbrbrrrrzrrzdrddrOddOdOOjOOOwwOwOw#wwO#GGG#GCGCGCGCCvCCCvMCMCMMMMBhBMMhBMBuBBuBBBBBLB",
-"fFtFtFtttttttttFtFtRfttftfFtfttftftftltfPltlllPlllpPpxpxppxpbpbbpHbbbHrbrbzrzrdrdrdrOdddOdOOOOjOwOwOwwGOwGGwGwGwCGGGGCGCvCCvCMCMCMMMMhMMhMBMBuBuBMBBuLuLBL",
-"ttfttttRtRtFtfRftftftfttftftftftfltlPllltlPlPlllpPppppxpxpxpbHpbbbrHrrbrrrrzrzrdrdOdddOdOOdjOjOOwOwwOwwGwGwGG#GCwGC#CGCvCCGMCMCMMMChBCBMBMuBMBMBBuBLBBBLBL",
-"tfttfftfftffttftttftftftftftftPltflPltPPlPlplpplpplxpxppxpbbpbbHbHbbrbrrrzrzrdrdddrdOddOdOOOwOOwOwwOw#OwwGwGGGGwCGCGCvCCGCMCCCMCCMMMMMCBhMBMBuBuBBuBuLuLBL",
-"ftffttftftftftftfftftftfftlltlftlltlPlllplpPplppxpxpxpxbpbbpbbbrbrrbrrzrzrzdrddrddOddOdOOjOOOwwOwOwwwGGGwGG#GCwGGCGCGCGCCCvCMMCMMMhBCuMMBMBMBMBBMBBBBBLBLL",
-"ltftffftftftfftfPtltltltlltPlPlllPlPlllPplplppxpxppxpbpHbpHbbHbHrbbrbrrzrrdrdrdddOddOdOdOOjOwOOwwwOGOwwwGwGwGwCGCGCGCvCCvCMCMCMMMMCMMBMBMBMBuBuBuBLuBLBLBg",
-"PlPtltlltltltlltlflPlPlPlPllPtlPlplplpplpppxpxppxpxpbxpbbbbbprbrbrrrzrzrzdrdrOdrOdOdOOOjOjOOwOwOwwwwGwGwG#GCG#GCGCGCCCvCMCCMCMMCMhBMMhBMhBMBMBBuBLuBLBuLLL",
-"ltllPltlPlPlPltPltltlfPlltlPlplplPlpPpPpplxpppxpxpbbpbbrpbHbrbrbrrrrzrrdrdrddddOddOdOdOdwOOwOwwwwOGwwGwGGwGwCGC#GCvCvCCGCMvCMCMhMMCBMBMMBMBuBBuBBBBLBLBLBg",
-"lPlPllPlPlPllPlllPllPtllPplllPplpplpppxpxppxxpxpbpbpbbpbrbrrbrrrrzrzrzrdrddrOdrOOdOOOjOOOwwOwOwOw#wO#wGG#GCwGCGCCGCCGCCMCMCMMMMMhBMMhBMBhBuBuBBBMLuBLBLLLL",
-"lllllPlPllPlPllPplpllppllplplplplpplxpxppxxppbpbpbHrbHbrbHbbrbzrzrrzrdrddrdddOdOdOOdOOjOwOOwOww#OwwGGGGwGGwCGGCGGCCvCCCMvCMCMCMMMMhMBMMBuBMBuBuBLBBLuLBLBg",
-"lpPlPllllPlllPplPlpPpllpPplpppxpxpxppxpxpxpbxbbbbbpbbbbHrrrrrrrzrzrdrddrOdOdddOdOOdjOjOOwOwwwOwwGGGwGw#GCG#GCGCGCGCCCvCCMMCMMMhBCBMBMBhBMBBuBBBuLBLBLBLgLL",
-"PplppppppppppplplplplppppppxlxpppxpxxpxpbpbpbpbpHbrHrbrrbrbzrzrrzrdrdrdOrdOrOOdOdjOOOwOwOwwOww#OwwGwGGGGwCGCGCGCCCCGCCMCMCMMCMMMMCBhMBMBuBuBBMBLBuBLBLLBLg",
-"pppplplplplplppppppxpxlxxpxppxpxxpbppbbpbbbbbbHbrbbbrHrbrzrrzrzrdrdddddddOdOOdOOOOjOwOwOw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uLBLBLBLLgLLgLgLg",
-"zrzrzrzrzrzrzrzrzrzrzrdrdrdrdzrddrdrddddrOddOJddOOOdOOOOdOOjOOjOjwOOwOwwww#GwwwGwG#Gw#GGGCGGCGCvCCvCCCCMCvMCMMMMMBCBMBMBMuBuBuBBuBBBuLBLBLBLLgLgLgLgLgLgLg",
-"rdrdrdrdrdrdrdrdrdrdddrdrdrdrddrJdddOrJOddddddOOdOdOdOdOjOjOOwOwOwOwwwwOwOwGOGwGwGwGGGCGCGGCGCGCCvCvCGCCMMCMCMCMMMMMhMhMBMBMBMBuBBuBLBLuLBLBLBLLLgLLgLgLgg",
-"drddrddrddrddrddrdrdrddrdddddrOddrdddOddrOOOdOddOOOOOOjOOjOwOjOwOwwwOwww#Gww#GGGGG#GCwGGCGCGCGCvCGCCCMCMCCMMMMMhBCBMBMBuBMBuBBuBBuBLuBLBLLLgLgLgLLggLgLgLg",
-"ddrddrdddrddrddrdddddrddOrdrddddOdOJdddOOOdOdOOOdjOOjOOOwOOwOwOwwwwO#OwGOwGwGwGwGwCGGCGCGC#CvCGCCCMvCCMvMMCMCMCBMhMhMBMBMBMBuBBuBLBBBLBLBLBLBLgLgLgLgLgLgg"
-]
-
-img1=None
-
-if __name__=="__main__":
- main(sys.argv)
diff --git a/python/pyqt/examples2/trolltech.bmp b/python/pyqt/examples2/trolltech.bmp
deleted file mode 100644
index 220861e2..00000000
--- a/python/pyqt/examples2/trolltech.bmp
+++ /dev/null
Binary files differ
diff --git a/python/pyqt/examples2/trolltech.gif b/python/pyqt/examples2/trolltech.gif
deleted file mode 100644
index f674369e..00000000
--- a/python/pyqt/examples2/trolltech.gif
+++ /dev/null
Binary files differ
diff --git a/python/pyqt/examples2/tt-logo.png b/python/pyqt/examples2/tt-logo.png
deleted file mode 100644
index a0d9e340..00000000
--- a/python/pyqt/examples2/tt-logo.png
+++ /dev/null
Binary files differ
diff --git a/python/pyqt/examples2/tut1.py b/python/pyqt/examples2/tut1.py
deleted file mode 100755
index 2eca8c5d..00000000
--- a/python/pyqt/examples2/tut1.py
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/env python
-
-# Qt tutorial 1.
-
-import sys
-from qt import *
-
-
-a = QApplication(sys.argv)
-
-hello = QPushButton("Hello world!",None)
-hello.resize(100,30)
-
-a.setMainWidget(hello)
-hello.show()
-a.exec_loop()
diff --git a/python/pyqt/examples2/tut10.py b/python/pyqt/examples2/tut10.py
deleted file mode 100755
index 0470a85d..00000000
--- a/python/pyqt/examples2/tut10.py
+++ /dev/null
@@ -1,145 +0,0 @@
-#!/usr/bin/env python
-
-# Qt tutorial 10.
-
-import sys
-from qt import *
-
-
-class LCDRange(QVBox):
- def __init__(self,parent=None,name=None):
- QVBox.__init__(self,parent,name)
-
- lcd = QLCDNumber(2,self,'lcd')
- self.slider = QSlider(Qt.Horizontal,self,'slider')
- self.slider.setRange(0,99)
- self.slider.setValue(0)
- self.connect(self.slider,SIGNAL('valueChanged(int)'),lcd,SLOT('display(int)'))
- self.connect(self.slider,SIGNAL('valueChanged(int)'),self,PYSIGNAL('valueChanged(int)'))
-
- self.setFocusProxy(self.slider)
-
- def value(self):
- return self.slider.value()
-
- def setValue(self,value):
- self.slider.setValue(value)
-
- def setRange(self,minVal,maxVal):
- if minVal < 0 or maxVal > 99 or minVal > maxVal:
- raise ValueError, 'LCDRange.setRange(): invalid range'
- self.slider.setRange(minVal,maxVal)
-
-
-class CannonField(QWidget):
- def __init__(self,parent=None,name=None):
- QWidget.__init__(self,parent,name)
-
- self.ang = 45
- self.f = 0
- self.setPalette(QPalette(QColor(250,250,200)))
-
- def angle(self):
- return self.ang
-
- def setAngle(self,degrees):
- if degrees < 5:
- degrees = 5
- if degrees > 70:
- degrees = 70
- if self.ang == degrees:
- return
- self.ang = degrees
- self.repaint(self.cannonRect(),0)
- self.emit(PYSIGNAL('angleChanged(int)'),(self.ang,))
-
- def force(self):
- return self.f
-
- def setForce(self,newton):
- if newton < 0:
- newton = 0
- if self.f == newton:
- return
- self.f = newton
- self.emit(PYSIGNAL('forceChanged(int)'),(self.f,))
-
- def paintEvent(self,ev):
- if not ev.rect().intersects(self.cannonRect()):
- return
-
- cr = self.cannonRect()
- pix = QPixmap(cr.size())
- pix.fill(self,cr.topLeft())
-
- p = QPainter(pix)
-
- p.setBrush(Qt.blue)
- p.setPen(Qt.NoPen)
-
- p.translate(0,pix.height() - 1)
- p.drawPie(QRect(-35,-35,70,70),0,90 * 16)
- p.rotate(-self.ang)
- p.drawRect(QRect(33,-4,15,8))
- p.end()
-
- p.begin(self)
- p.drawPixmap(cr.topLeft(),pix)
-
- def cannonRect(self):
- r = QRect(0,0,50,50)
- r.moveBottomLeft(self.rect().bottomLeft())
- return r
-
- def sizePolicy(self):
- return QSizePolicy(QSizePolicy.Expanding,QSizePolicy.Expanding)
-
-
-class MyWidget(QWidget):
- def __init__(self,parent=None,name=None):
- QWidget.__init__(self,parent,name)
-
- quit = QPushButton('&Quit',self,'quit')
- quit.setFont(QFont('Times',18,QFont.Bold))
- self.connect(quit,SIGNAL('clicked()'),qApp,SLOT('quit()'))
-
- self.angle = LCDRange(self,'angle')
- self.angle.setRange(5,70)
-
- self.force = LCDRange(self,'force')
- self.force.setRange(10,50)
-
- self.cannonField = CannonField(self,'cannonField')
-
- self.connect(self.angle,PYSIGNAL('valueChanged(int)'),self.cannonField.setAngle)
- self.connect(self.cannonField,PYSIGNAL('angleChanged(int)'),self.angle.setValue)
-
- self.connect(self.force,PYSIGNAL('valueChanged(int)'),self.cannonField.setForce)
- self.connect(self.cannonField,PYSIGNAL('forceChanged(int)'),self.force.setValue)
-
- grid = QGridLayout(self,2,2,10)
-
- grid.addWidget(quit,0,0)
- grid.addWidget(self.cannonField,1,1)
- grid.setColStretch(1,10)
-
- leftBox = QVBoxLayout()
-
- grid.addLayout(leftBox,1,0)
-
- leftBox.addWidget(self.angle)
- leftBox.addWidget(self.force)
-
- self.angle.setValue(60)
- self.force.setValue(25)
- self.angle.setFocus()
-
-
-QApplication.setColorSpec(QApplication.CustomColor)
-a = QApplication(sys.argv)
-
-w = MyWidget()
-w.setGeometry(100,100,500,355)
-a.setMainWidget(w)
-w.show()
-a.exec_loop()
diff --git a/python/pyqt/examples2/tut11.py b/python/pyqt/examples2/tut11.py
deleted file mode 100755
index 32fb436d..00000000
--- a/python/pyqt/examples2/tut11.py
+++ /dev/null
@@ -1,213 +0,0 @@
-#!/usr/bin/env python
-
-# Qt tutorial 11.
-
-import sys
-import math
-from qt import *
-
-
-class LCDRange(QVBox):
- def __init__(self,parent=None,name=None):
- QVBox.__init__(self,parent,name)
-
- lcd = QLCDNumber(2,self,'lcd')
- self.slider = QSlider(Qt.Horizontal,self,'slider')
- self.slider.setRange(0,99)
- self.slider.setValue(0)
- self.connect(self.slider,SIGNAL('valueChanged(int)'),lcd,SLOT('display(int)'))
- self.connect(self.slider,SIGNAL('valueChanged(int)'),self,PYSIGNAL('valueChanged(int)'))
-
- self.setFocusProxy(self.slider)
-
- def value(self):
- return self.slider.value()
-
- def setValue(self,value):
- self.slider.setValue(value)
-
- def setRange(self,minVal,maxVal):
- if minVal < 0 or maxVal > 99 or minVal > maxVal:
- raise ValueError, 'LCDRange.setRange(): invalid range'
- self.slider.setRange(minVal,maxVal)
-
-
-class CannonField(QWidget):
- def __init__(self,parent=None,name=None):
- QWidget.__init__(self,parent,name)
-
- self.ang = 45
- self.f = 0
- self.timerCount = 0
-
- self.autoShootTimer = QTimer(self,'movement handler')
- self.connect(self.autoShootTimer,SIGNAL('timeout()'),self.moveShot)
-
- self.shoot_ang = 0
- self.shoot_f = 0
-
- self.setPalette(QPalette(QColor(250,250,200)))
-
- self.barrelRect = QRect(33,-4,15,8)
-
- def angle(self):
- return self.ang
-
- def setAngle(self,degrees):
- if degrees < 5:
- degrees = 5
- if degrees > 70:
- degrees = 70
- if self.ang == degrees:
- return
- self.ang = degrees
- self.repaint(self.cannonRect(),0)
- self.emit(PYSIGNAL('angleChanged(int)'),(self.ang,))
-
- def force(self):
- return self.f
-
- def setForce(self,newton):
- if newton < 0:
- newton = 0
- if self.f == newton:
- return
- self.f = newton
- self.emit(PYSIGNAL('forceChanged(int)'),(self.f,))
-
- def shoot(self):
- if self.autoShootTimer.isActive():
- return
-
- self.timerCount = 0
- self.shoot_ang = self.ang
- self.shoot_f = self.f
- self.autoShootTimer.start(50)
-
- def moveShot(self):
- r = QRegion(self.shotRect())
- self.timerCount = self.timerCount + 1
-
- shotR = self.shotRect()
-
- if shotR.x() > self.width() or shotR.y() > self.height():
- self.autoShootTimer.stop()
- else:
- r = r.unite(QRegion(shotR))
-
- self.repaint(r)
-
- def paintEvent(self,ev):
- updateR = ev.rect()
- p = QPainter(self)
-
- if updateR.intersects(self.cannonRect()):
- self.paintCannon(p)
-
- if self.autoShootTimer.isActive() and updateR.intersects(self.shotRect()):
- self.paintShot(p)
-
- def paintShot(self,p):
- p.setBrush(Qt.black)
- p.setPen(Qt.NoPen)
- p.drawRect(self.shotRect())
-
- def paintCannon(self,p):
- cr = self.cannonRect()
- pix = QPixmap(cr.size())
- pix.fill(self,cr.topLeft())
-
- tmp = QPainter(pix)
- tmp.setBrush(Qt.blue)
- tmp.setPen(Qt.NoPen)
-
- tmp.translate(0,pix.height() - 1)
- tmp.drawPie(QRect(-35,-35,70,70),0,90 * 16)
- tmp.rotate(-self.ang)
- tmp.drawRect(self.barrelRect)
- tmp.end()
-
- p.drawPixmap(cr.topLeft(),pix)
-
- def cannonRect(self):
- r = QRect(0,0,50,50)
- r.moveBottomLeft(self.rect().bottomLeft())
- return r
-
- def shotRect(self):
- gravity = 4.0
-
- time = self.timerCount / 4.0
- velocity = self.shoot_f
- radians = self.shoot_ang * 3.14159265 / 180
-
- velx = velocity * math.cos(radians)
- vely = velocity * math.sin(radians)
- x0 = (self.barrelRect.right() + 5) * math.cos(radians)
- y0 = (self.barrelRect.right() + 5) * math.sin(radians)
- x = x0 + velx * time
- y = y0 + vely * time - 0.5 * gravity * time * time
-
- r = QRect(0,0,6,6)
- r.moveCenter(QPoint(x,self.height() - 1 - y))
- return r
-
- def sizePolicy(self):
- return QSizePolicy(QSizePolicy.Expanding,QSizePolicy.Expanding)
-
-
-class MyWidget(QWidget):
- def __init__(self,parent=None,name=None):
- QWidget.__init__(self,parent,name)
-
- quit = QPushButton('&Quit',self,'quit')
- quit.setFont(QFont('Times',18,QFont.Bold))
- self.connect(quit,SIGNAL('clicked()'),qApp,SLOT('quit()'))
-
- self.angle = LCDRange(self,'angle')
- self.angle.setRange(5,70)
-
- self.force = LCDRange(self,'force')
- self.force.setRange(10,50)
-
- self.cannonField = CannonField(self,'cannonField')
-
- self.connect(self.angle,PYSIGNAL('valueChanged(int)'),self.cannonField.setAngle)
- self.connect(self.cannonField,PYSIGNAL('angleChanged(int)'),self.angle.setValue)
-
- self.connect(self.force,PYSIGNAL('valueChanged(int)'),self.cannonField.setForce)
- self.connect(self.cannonField,PYSIGNAL('forceChanged(int)'),self.force.setValue)
-
- shoot = QPushButton('&Shoot',self,'shoot')
- shoot.setFont(QFont('Times',18,QFont.Bold))
- self.connect(shoot,SIGNAL('clicked()'),self.cannonField.shoot)
-
- grid = QGridLayout(self,2,2,10)
-
- grid.addWidget(quit,0,0)
- grid.addWidget(self.cannonField,1,1)
- grid.setColStretch(1,10)
-
- leftBox = QVBoxLayout()
- grid.addLayout(leftBox,1,0)
- leftBox.addWidget(self.angle)
- leftBox.addWidget(self.force)
-
- topBox = QHBoxLayout()
- grid.addLayout(topBox,0,1)
- topBox.addWidget(shoot)
- topBox.addStretch(1)
-
- self.angle.setValue(60)
- self.force.setValue(25)
- self.angle.setFocus()
-
-
-QApplication.setColorSpec(QApplication.CustomColor)
-a = QApplication(sys.argv)
-
-w = MyWidget()
-w.setGeometry(100,100,500,355)
-a.setMainWidget(w)
-w.show()
-a.exec_loop()
diff --git a/python/pyqt/examples2/tut12.py b/python/pyqt/examples2/tut12.py
deleted file mode 100755
index 65490cab..00000000
--- a/python/pyqt/examples2/tut12.py
+++ /dev/null
@@ -1,252 +0,0 @@
-#!/usr/bin/env python
-
-# Qt tutorial 12.
-
-import sys
-import math
-import random
-from qt import *
-
-
-class LCDRange(QVBox):
- def __init__(self,s=None,parent=None,name=None):
- QVBox.__init__(self,parent,name)
-
- lcd = QLCDNumber(2,self,'lcd')
- self.slider = QSlider(Qt.Horizontal,self,'slider')
- self.slider.setRange(0,99)
- self.slider.setValue(0)
-
- self.label = QLabel(' ',self,'label')
- self.label.setAlignment(Qt.AlignCenter)
-
- self.connect(self.slider,SIGNAL('valueChanged(int)'),lcd,SLOT('display(int)'))
- self.connect(self.slider,SIGNAL('valueChanged(int)'),self,PYSIGNAL('valueChanged(int)'))
-
- self.setFocusProxy(self.slider)
-
- if s is not None:
- self.setText(s)
-
- def value(self):
- return self.slider.value()
-
- def setValue(self,value):
- self.slider.setValue(value)
-
- def setRange(self,minVal,maxVal):
- if minVal < 0 or maxVal > 99 or minVal > maxVal:
- raise ValueError, 'LCDRange.setRange(): invalid range'
- self.slider.setRange(minVal,maxVal)
-
- def text(self):
- return self.label.text()
-
- def setText(self,s):
- self.label.setText(s)
-
-
-class CannonField(QWidget):
- def __init__(self,parent=None,name=None):
- QWidget.__init__(self,parent,name)
-
- self.ang = 45
- self.f = 0
- self.timerCount = 0
-
- self.autoShootTimer = QTimer(self,'movement handler')
- self.connect(self.autoShootTimer,SIGNAL('timeout()'),self.moveShot)
-
- self.shoot_ang = 0
- self.shoot_f = 0
- self.target = QPoint(0,0)
-
- self.setPalette(QPalette(QColor(250,250,200)))
-
- self.barrelRect = QRect(33,-4,15,8)
-
- self.newTarget()
-
- def angle(self):
- return self.ang
-
- def setAngle(self,degrees):
- if degrees < 5:
- degrees = 5
- if degrees > 70:
- degrees = 70
- if self.ang == degrees:
- return
- self.ang = degrees
- self.repaint(self.cannonRect(),0)
- self.emit(PYSIGNAL('angleChanged(int)'),(self.ang,))
-
- def force(self):
- return self.f
-
- def setForce(self,newton):
- if newton < 0:
- newton = 0
- if self.f == newton:
- return
- self.f = newton
- self.emit(PYSIGNAL('forceChanged(int)'),(self.f,))
-
- def shoot(self):
- if self.autoShootTimer.isActive():
- return
-
- self.timerCount = 0
- self.shoot_ang = self.ang
- self.shoot_f = self.f
- self.autoShootTimer.start(50)
-
- def newTarget(self):
- r = QRegion(self.targetRect())
- self.target = QPoint(random.randint(200,390),random.randint(10,265))
- self.repaint(r.unite(QRegion(self.targetRect())))
-
- def moveShot(self):
- r = QRegion(self.shotRect())
- self.timerCount = self.timerCount + 1
-
- shotR = self.shotRect()
-
- if shotR.intersects(self.targetRect()):
- self.autoShootTimer.stop()
- self.emit(PYSIGNAL('hit()'),())
- elif shotR.x() > self.width() or shotR.y() > self.height():
- self.autoShootTimer.stop()
- self.emit(PYSIGNAL('missed()'),())
- else:
- r = r.unite(QRegion(shotR))
-
- self.repaint(r)
-
- def paintEvent(self,ev):
- updateR = ev.rect()
- p = QPainter(self)
-
- if updateR.intersects(self.cannonRect()):
- self.paintCannon(p)
-
- if self.autoShootTimer.isActive() and updateR.intersects(self.shotRect()):
- self.paintShot(p)
-
- if updateR.intersects(self.targetRect()):
- self.paintTarget(p)
-
- def paintShot(self,p):
- p.setBrush(Qt.black)
- p.setPen(Qt.NoPen)
- p.drawRect(self.shotRect())
-
- def paintTarget(self,p):
- p.setBrush(Qt.red)
- p.setPen(Qt.black)
- p.drawRect(self.targetRect())
-
- def paintCannon(self,p):
- cr = self.cannonRect()
- pix = QPixmap(cr.size())
- pix.fill(self,cr.topLeft())
-
- tmp = QPainter(pix)
- tmp.setBrush(Qt.blue)
- tmp.setPen(Qt.NoPen)
-
- tmp.translate(0,pix.height() - 1)
- tmp.drawPie(QRect(-35,-35,70,70),0,90 * 16)
- tmp.rotate(-self.ang)
- tmp.drawRect(self.barrelRect)
- tmp.end()
-
- p.drawPixmap(cr.topLeft(),pix)
-
- def cannonRect(self):
- r = QRect(0,0,50,50)
- r.moveBottomLeft(self.rect().bottomLeft())
- return r
-
- def shotRect(self):
- gravity = 4.0
-
- time = self.timerCount / 4.0
- velocity = self.shoot_f
- radians = self.shoot_ang * 3.14159265 / 180
-
- velx = velocity * math.cos(radians)
- vely = velocity * math.sin(radians)
- x0 = (self.barrelRect.right() + 5) * math.cos(radians)
- y0 = (self.barrelRect.right() + 5) * math.sin(radians)
- x = x0 + velx * time
- y = y0 + vely * time - 0.5 * gravity * time * time
-
- r = QRect(0,0,6,6)
- r.moveCenter(QPoint(x,self.height() - 1 - y))
- return r
-
- def targetRect(self):
- r = QRect(0,0,20,10)
- r.moveCenter(QPoint(self.target.x(),self.height() - 1 - self.target.y()))
- return r
-
- def sizePolicy(self):
- return QSizePolicy(QSizePolicy.Expanding,QSizePolicy.Expanding)
-
-
-class MyWidget(QWidget):
- def __init__(self,parent=None,name=None):
- QWidget.__init__(self,parent,name)
-
- quit = QPushButton('&Quit',self,'quit')
- quit.setFont(QFont('Times',18,QFont.Bold))
- self.connect(quit,SIGNAL('clicked()'),qApp,SLOT('quit()'))
-
- self.angle = LCDRange('ANGLE',self,'angle')
- self.angle.setRange(5,70)
-
- self.force = LCDRange('FORCE',self,'force')
- self.force.setRange(10,50)
-
- self.cannonField = CannonField(self,'cannonField')
-
- self.connect(self.angle,PYSIGNAL('valueChanged(int)'),self.cannonField.setAngle)
- self.connect(self.cannonField,PYSIGNAL('angleChanged(int)'),self.angle.setValue)
-
- self.connect(self.force,PYSIGNAL('valueChanged(int)'),self.cannonField.setForce)
- self.connect(self.cannonField,PYSIGNAL('forceChanged(int)'),self.force.setValue)
-
- shoot = QPushButton('&Shoot',self,'shoot')
- shoot.setFont(QFont('Times',18,QFont.Bold))
- self.connect(shoot,SIGNAL('clicked()'),self.cannonField.shoot)
-
- grid = QGridLayout(self,2,2,10)
-
- grid.addWidget(quit,0,0)
- grid.addWidget(self.cannonField,1,1)
- grid.setColStretch(1,10)
-
- leftBox = QVBoxLayout()
- grid.addLayout(leftBox,1,0)
- leftBox.addWidget(self.angle)
- leftBox.addWidget(self.force)
-
- topBox = QHBoxLayout()
- grid.addLayout(topBox,0,1)
- topBox.addWidget(shoot)
- topBox.addStretch(1)
-
- self.angle.setValue(60)
- self.force.setValue(25)
- self.angle.setFocus()
-
-
-QApplication.setColorSpec(QApplication.CustomColor)
-a = QApplication(sys.argv)
-
-w = MyWidget()
-w.setGeometry(100,100,500,355)
-a.setMainWidget(w)
-w.show()
-a.exec_loop()
diff --git a/python/pyqt/examples2/tut13.py b/python/pyqt/examples2/tut13.py
deleted file mode 100755
index 7231a7ab..00000000
--- a/python/pyqt/examples2/tut13.py
+++ /dev/null
@@ -1,329 +0,0 @@
-#!/usr/bin/env python
-
-# Qt tutorial 13.
-
-import sys
-import math
-import random
-from qt import *
-
-
-class LCDRange(QWidget):
- def __init__(self,s=None,parent=None,name=None):
- QWidget.__init__(self,parent,name)
-
- lcd = QLCDNumber(2,self,'lcd')
- self.slider = QSlider(Qt.Horizontal,self,'slider')
- self.slider.setRange(0,99)
- self.slider.setValue(0)
-
- self.label = QLabel(' ',self,'label')
- self.label.setAlignment(Qt.AlignCenter)
-
- self.connect(self.slider,SIGNAL('valueChanged(int)'),lcd,SLOT('display(int)'))
- self.connect(self.slider,SIGNAL('valueChanged(int)'),self,PYSIGNAL('valueChanged(int)'))
-
- self.setFocusProxy(self.slider)
-
- l = QVBoxLayout(self)
- l.addWidget(lcd,1)
- l.addWidget(self.slider)
- l.addWidget(self.label)
-
- if s is not None:
- self.setText(s)
-
- def value(self):
- return self.slider.value()
-
- def setValue(self,value):
- self.slider.setValue(value)
-
- def setRange(self,minVal,maxVal):
- if minVal < 0 or maxVal > 99 or minVal > maxVal:
- raise ValueError, 'LCDRange.setRange(): invalid range'
- self.slider.setRange(minVal,maxVal)
-
- def text(self):
- return self.label.text()
-
- def setText(self,s):
- self.label.setText(s)
-
-
-class CannonField(QWidget):
- def __init__(self,parent=None,name=None):
- QWidget.__init__(self,parent,name)
-
- self.ang = 45
- self.f = 0
- self.timerCount = 0
-
- self.autoShootTimer = QTimer(self,'movement handler')
- self.connect(self.autoShootTimer,SIGNAL('timeout()'),self.moveShot)
-
- self.shoot_ang = 0
- self.shoot_f = 0
- self.target = QPoint(0,0)
- self.gameEnded = 0
-
- self.setPalette(QPalette(QColor(250,250,200)))
-
- self.barrelRect = QRect(33,-4,15,8)
-
- self.newTarget()
-
- def angle(self):
- return self.ang
-
- def setAngle(self,degrees):
- if degrees < 5:
- degrees = 5
- if degrees > 70:
- degrees = 70
- if self.ang == degrees:
- return
- self.ang = degrees
- self.repaint(self.cannonRect(),0)
- self.emit(PYSIGNAL('angleChanged(int)'),(self.ang,))
-
- def force(self):
- return self.f
-
- def setForce(self,newton):
- if newton < 0:
- newton = 0
- if self.f == newton:
- return
- self.f = newton
- self.emit(PYSIGNAL('forceChanged(int)'),(self.f,))
-
- def shoot(self):
- if self.isShooting():
- return
-
- self.timerCount = 0
- self.shoot_ang = self.ang
- self.shoot_f = self.f
- self.autoShootTimer.start(50)
- self.emit(PYSIGNAL('canShoot(bool)'),(0,))
-
- def newTarget(self):
- r = QRegion(self.targetRect())
- self.target = QPoint(random.randint(200,390),random.randint(10,265))
- self.repaint(r.unite(QRegion(self.targetRect())))
-
- def gameOver(self):
- return self.gameEnded
-
- def setGameOver(self):
- if self.gameEnded:
- return
- if self.isShooting():
- self.autoShootTime.stop()
- self.gameEnded = 1
- self.repaint()
-
- def restartGame(self):
- if self.isShooting():
- self.autoShootTime.stop()
- self.gameEnded = 0
- self.repaint()
- self.emit(PYSIGNAL('canShoot(bool)'),(1,))
-
- def moveShot(self):
- r = QRegion(self.shotRect())
- self.timerCount = self.timerCount + 1
-
- shotR = self.shotRect()
-
- if shotR.intersects(self.targetRect()):
- self.autoShootTimer.stop()
- self.emit(PYSIGNAL('hit()'),())
- self.emit(PYSIGNAL('canShoot(bool)'),(1,))
- elif shotR.x() > self.width() or shotR.y() > self.height():
- self.autoShootTimer.stop()
- self.emit(PYSIGNAL('missed()'),())
- self.emit(PYSIGNAL('canShoot(bool)'),(1,))
- else:
- r = r.unite(QRegion(shotR))
-
- self.repaint(r)
-
- def paintEvent(self,ev):
- updateR = ev.rect()
- p = QPainter(self)
-
- if self.gameEnded:
- p.setPen(Qt.black)
- p.setFont(QFont('Courier',48,QFont.Bold))
- p.drawText(self.rect(),Qt.AlignCenter,'Game Over')
-
- if updateR.intersects(self.cannonRect()):
- self.paintCannon(p)
-
- if self.isShooting() and updateR.intersects(self.shotRect()):
- self.paintShot(p)
-
- if not self.gameEnded and updateR.intersects(self.targetRect()):
- self.paintTarget(p)
-
- def paintShot(self,p):
- p.setBrush(Qt.black)
- p.setPen(Qt.NoPen)
- p.drawRect(self.shotRect())
-
- def paintTarget(self,p):
- p.setBrush(Qt.red)
- p.setPen(Qt.black)
- p.drawRect(self.targetRect())
-
- def paintCannon(self,p):
- cr = self.cannonRect()
- pix = QPixmap(cr.size())
- pix.fill(self,cr.topLeft())
-
- tmp = QPainter(pix)
- tmp.setBrush(Qt.blue)
- tmp.setPen(Qt.NoPen)
-
- tmp.translate(0,pix.height() - 1)
- tmp.drawPie(QRect(-35,-35,70,70),0,90 * 16)
- tmp.rotate(-self.ang)
- tmp.drawRect(self.barrelRect)
- tmp.end()
-
- p.drawPixmap(cr.topLeft(),pix)
-
- def cannonRect(self):
- r = QRect(0,0,50,50)
- r.moveBottomLeft(self.rect().bottomLeft())
- return r
-
- def shotRect(self):
- gravity = 4.0
-
- time = self.timerCount / 4.0
- velocity = self.shoot_f
- radians = self.shoot_ang * 3.14159265 / 180
-
- velx = velocity * math.cos(radians)
- vely = velocity * math.sin(radians)
- x0 = (self.barrelRect.right() + 5) * math.cos(radians)
- y0 = (self.barrelRect.right() + 5) * math.sin(radians)
- x = x0 + velx * time
- y = y0 + vely * time - 0.5 * gravity * time * time
-
- r = QRect(0,0,6,6)
- r.moveCenter(QPoint(x,self.height() - 1 - y))
- return r
-
- def targetRect(self):
- r = QRect(0,0,20,10)
- r.moveCenter(QPoint(self.target.x(),self.height() - 1 - self.target.y()))
- return r
-
- def isShooting(self):
- return self.autoShootTimer.isActive()
-
- def sizePolicy(self):
- return QSizePolicy(QSizePolicy.Expanding,QSizePolicy.Expanding)
-
-
-class GameBoard(QWidget):
- def __init__(self,parent=None,name=None):
- QWidget.__init__(self,parent,name)
-
- quit = QPushButton('&Quit',self,'quit')
- quit.setFont(QFont('Times',18,QFont.Bold))
- self.connect(quit,SIGNAL('clicked()'),qApp,SLOT('quit()'))
-
- self.angle = LCDRange('ANGLE',self,'angle')
- self.angle.setRange(5,70)
-
- self.force = LCDRange('FORCE',self,'force')
- self.force.setRange(10,50)
-
- self.cannonField = CannonField(self,'cannonField')
-
- self.connect(self.angle,PYSIGNAL('valueChanged(int)'),self.cannonField.setAngle)
- self.connect(self.cannonField,PYSIGNAL('angleChanged(int)'),self.angle.setValue)
-
- self.connect(self.force,PYSIGNAL('valueChanged(int)'),self.cannonField.setForce)
- self.connect(self.cannonField,PYSIGNAL('forceChanged(int)'),self.force.setValue)
-
- self.connect(self.cannonField,PYSIGNAL('hit()'),self.hit)
- self.connect(self.cannonField,PYSIGNAL('missed()'),self.missed)
-
- self.shoot = QPushButton('&Shoot',self,'shoot')
- self.shoot.setFont(QFont('Times',18,QFont.Bold))
- self.connect(self.shoot,SIGNAL('clicked()'),self.fire)
- self.connect(self.cannonField,PYSIGNAL('canShoot(bool)'),self.shoot,SLOT('setEnabled(bool)'))
-
- restart = QPushButton('&New Game',self,'newgame')
- restart.setFont(QFont('Times',18,QFont.Bold))
- self.connect(restart,SIGNAL('clicked()'),self.newGame)
-
- self.hits = QLCDNumber(2,self,'hits')
- self.shotsLeft = QLCDNumber(2,self,'shotsleft')
- hitsL = QLabel('HITS',self,'hitsLabel')
- shotsLeftL = QLabel('SHOTS LEFT',self,'shotsleftLabel')
-
- grid = QGridLayout(self,2,2,10)
- grid.addWidget(quit,0,0)
- grid.addWidget(self.cannonField,1,1)
- grid.setColStretch(1,10)
-
- leftBox = QVBoxLayout()
- grid.addLayout(leftBox,1,0)
- leftBox.addWidget(self.angle)
- leftBox.addWidget(self.force)
-
- topBox = QHBoxLayout()
- grid.addLayout(topBox,0,1)
- topBox.addWidget(self.shoot)
- topBox.addWidget(self.hits)
- topBox.addWidget(hitsL)
- topBox.addWidget(self.shotsLeft)
- topBox.addWidget(shotsLeftL)
- topBox.addStretch(1)
- topBox.addWidget(restart)
-
- self.angle.setValue(60)
- self.force.setValue(25)
- self.angle.setFocus()
-
- self.newGame()
-
- def fire(self):
- if self.cannonField.gameOver() or self.cannonField.isShooting():
- return
- self.shotsLeft.display(self.shotsLeft.intValue() - 1)
- self.cannonField.shoot()
-
- def hit(self):
- self.hits.display(self.hits.intValue() + 1)
- if self.shotsLeft.intValue() == 0:
- self.cannonField.setGameOver()
- else:
- self.cannonField.newTarget()
-
- def missed(self):
- if self.shotsLeft.intValue() == 0:
- self.cannonField.setGameOver()
-
- def newGame(self):
- self.shotsLeft.display(15)
- self.hits.display(0)
- self.cannonField.restartGame()
- self.cannonField.newTarget()
-
-
-QApplication.setColorSpec(QApplication.CustomColor)
-a = QApplication(sys.argv)
-
-gb = GameBoard()
-gb.setGeometry(100,100,500,355)
-a.setMainWidget(gb)
-gb.show()
-a.exec_loop()
diff --git a/python/pyqt/examples2/tut14.py b/python/pyqt/examples2/tut14.py
deleted file mode 100755
index aeb4ca61..00000000
--- a/python/pyqt/examples2/tut14.py
+++ /dev/null
@@ -1,377 +0,0 @@
-#!/usr/bin/env python
-
-# Qt tutorial 14.
-
-import sys
-import math
-import random
-from qt import *
-
-
-class LCDRange(QWidget):
- def __init__(self,s=None,parent=None,name=None):
- QWidget.__init__(self,parent,name)
-
- lcd = QLCDNumber(2,self,'lcd')
- self.slider = QSlider(Qt.Horizontal,self,'slider')
- self.slider.setRange(0,99)
- self.slider.setValue(0)
-
- self.label = QLabel(' ',self,'label')
- self.label.setAlignment(Qt.AlignCenter)
-
- self.connect(self.slider,SIGNAL('valueChanged(int)'),lcd,SLOT('display(int)'))
- self.connect(self.slider,SIGNAL('valueChanged(int)'),self,PYSIGNAL('valueChanged(int)'))
-
- self.setFocusProxy(self.slider)
-
- l = QVBoxLayout(self)
- l.addWidget(lcd,1)
- l.addWidget(self.slider)
- l.addWidget(self.label)
-
- if s is not None:
- self.setText(s)
-
- def value(self):
- return self.slider.value()
-
- def setValue(self,value):
- self.slider.setValue(value)
-
- def setRange(self,minVal,maxVal):
- if minVal < 0 or maxVal > 99 or minVal > maxVal:
- raise ValueError, 'LCDRange.setRange(): invalid range'
- self.slider.setRange(minVal,maxVal)
-
- def text(self):
- return self.label.text()
-
- def setText(self,s):
- self.label.setText(s)
-
-
-class CannonField(QWidget):
- def __init__(self,parent=None,name=None):
- QWidget.__init__(self,parent,name)
-
- self.ang = 45
- self.f = 0
- self.timerCount = 0
-
- self.autoShootTimer = QTimer(self,'movement handler')
- self.connect(self.autoShootTimer,SIGNAL('timeout()'),self.moveShot)
-
- self.shoot_ang = 0
- self.shoot_f = 0
- self.target = QPoint(0,0)
- self.gameEnded = 0
- self.barrelPressed = 0
-
- self.setPalette(QPalette(QColor(250,250,200)))
-
- self.barrelRect = QRect(33,-4,15,8)
-
- self.newTarget()
-
- def angle(self):
- return self.ang
-
- def setAngle(self,degrees):
- if degrees < 5:
- degrees = 5
- if degrees > 70:
- degrees = 70
- if self.ang == degrees:
- return
- self.ang = degrees
- self.repaint(self.cannonRect(),0)
- self.emit(PYSIGNAL('angleChanged(int)'),(self.ang,))
-
- def force(self):
- return self.f
-
- def setForce(self,newton):
- if newton < 0:
- newton = 0
- if self.f == newton:
- return
- self.f = newton
- self.emit(PYSIGNAL('forceChanged(int)'),(self.f,))
-
- def shoot(self):
- if self.isShooting():
- return
-
- self.timerCount = 0
- self.shoot_ang = self.ang
- self.shoot_f = self.f
- self.autoShootTimer.start(50)
- self.emit(PYSIGNAL('canShoot(bool)'),(0,))
-
- def newTarget(self):
- r = QRegion(self.targetRect())
- self.target = QPoint(random.randint(200,390),random.randint(10,265))
- self.repaint(r.unite(QRegion(self.targetRect())))
-
- def gameOver(self):
- return self.gameEnded
-
- def setGameOver(self):
- if self.gameEnded:
- return
- if self.isShooting():
- self.autoShootTime.stop()
- self.gameEnded = 1
- self.repaint()
-
- def restartGame(self):
- if self.isShooting():
- self.autoShootTime.stop()
- self.gameEnded = 0
- self.repaint()
- self.emit(PYSIGNAL('canShoot(bool)'),(1,))
-
- def moveShot(self):
- r = QRegion(self.shotRect())
- self.timerCount = self.timerCount + 1
-
- shotR = self.shotRect()
-
- if shotR.intersects(self.targetRect()):
- self.autoShootTimer.stop()
- self.emit(PYSIGNAL('hit()'),())
- self.emit(PYSIGNAL('canShoot(bool)'),(1,))
- elif shotR.x() > self.width() or shotR.y() > self.height() or shotR.intersects(self.barrierRect()):
- self.autoShootTimer.stop()
- self.emit(PYSIGNAL('missed()'),())
- self.emit(PYSIGNAL('canShoot(bool)'),(1,))
- else:
- r = r.unite(QRegion(shotR))
-
- self.repaint(r)
-
- def mousePressEvent(self,ev):
- if ev.button() != Qt.LeftButton:
- return
- if self.barrelHit(ev.pos()):
- self.barrelPressed = 1
-
- def mouseMoveEvent(self,ev):
- if not self.barrelPressed:
- return
- pnt = ev.pos()
- if pnt.x() <= 0:
- pnt.setX(1)
- if pnt.y() >= self.height():
- pnt.setY(self.height() - 1)
- rad = math.atan(float(self.rect().bottom() - pnt.y()) / pnt.x())
- self.setAngle(int(round(rad * 180 / math.pi)))
-
- def mouseReleaseEvent(self,ev):
- if ev.button() == Qt.LeftButton:
- self.barrelPressed = 0
-
- def paintEvent(self,ev):
- updateR = ev.rect()
- p = QPainter(self)
-
- if self.gameEnded:
- p.setPen(Qt.black)
- p.setFont(QFont('Courier',48,QFont.Bold))
- p.drawText(self.rect(),Qt.AlignCenter,'Game Over')
-
- if updateR.intersects(self.cannonRect()):
- self.paintCannon(p)
-
- if updateR.intersects(self.barrierRect()):
- self.paintBarrier(p)
-
- if self.isShooting() and updateR.intersects(self.shotRect()):
- self.paintShot(p)
-
- if not self.gameEnded and updateR.intersects(self.targetRect()):
- self.paintTarget(p)
-
- def paintShot(self,p):
- p.setBrush(Qt.black)
- p.setPen(Qt.NoPen)
- p.drawRect(self.shotRect())
-
- def paintTarget(self,p):
- p.setBrush(Qt.red)
- p.setPen(Qt.black)
- p.drawRect(self.targetRect())
-
- def paintBarrier(self,p):
- p.setBrush(Qt.yellow)
- p.setPen(Qt.black)
- p.drawRect(self.barrierRect())
-
- def paintCannon(self,p):
- cr = self.cannonRect()
- pix = QPixmap(cr.size())
- pix.fill(self,cr.topLeft())
-
- tmp = QPainter(pix)
- tmp.setBrush(Qt.blue)
- tmp.setPen(Qt.NoPen)
-
- tmp.translate(0,pix.height() - 1)
- tmp.drawPie(QRect(-35,-35,70,70),0,90 * 16)
- tmp.rotate(-self.ang)
- tmp.drawRect(self.barrelRect)
- tmp.end()
-
- p.drawPixmap(cr.topLeft(),pix)
-
- def cannonRect(self):
- r = QRect(0,0,50,50)
- r.moveBottomLeft(self.rect().bottomLeft())
- return r
-
- def shotRect(self):
- gravity = 4.0
-
- time = self.timerCount / 4.0
- velocity = self.shoot_f
- radians = self.shoot_ang * math.pi / 180
-
- velx = velocity * math.cos(radians)
- vely = velocity * math.sin(radians)
- x0 = (self.barrelRect.right() + 5) * math.cos(radians)
- y0 = (self.barrelRect.right() + 5) * math.sin(radians)
- x = x0 + velx * time
- y = y0 + vely * time - 0.5 * gravity * time * time
-
- r = QRect(0,0,6,6)
- r.moveCenter(QPoint(x,self.height() - 1 - y))
- return r
-
- def targetRect(self):
- r = QRect(0,0,20,10)
- r.moveCenter(QPoint(self.target.x(),self.height() - 1 - self.target.y()))
- return r
-
- def barrierRect(self):
- return QRect(145,self.height() - 100,15,100)
-
- def barrelHit(self,p):
- mtx = QWMatrix()
- mtx.translate(0,self.height() - 1)
- mtx.rotate(-self.ang)
- (mtx, invertable) = mtx.invert()
- return self.barrelRect.contains(mtx.map(p))
-
- def isShooting(self):
- return self.autoShootTimer.isActive()
-
- def sizePolicy(self):
- return QSizePolicy(QSizePolicy.Expanding,QSizePolicy.Expanding)
-
-
-class GameBoard(QWidget):
- def __init__(self,parent=None,name=None):
- QWidget.__init__(self,parent,name)
-
- quit = QPushButton('&Quit',self,'quit')
- quit.setFont(QFont('Times',18,QFont.Bold))
- self.connect(quit,SIGNAL('clicked()'),qApp,SLOT('quit()'))
-
- self.angle = LCDRange('ANGLE',self,'angle')
- self.angle.setRange(5,70)
-
- self.force = LCDRange('FORCE',self,'force')
- self.force.setRange(10,50)
-
- box = QVBox(self,'cannonFrame')
- box.setFrameStyle(QFrame.WinPanel | QFrame.Sunken)
-
- self.cannonField = CannonField(box,'cannonField')
-
- self.connect(self.angle,PYSIGNAL('valueChanged(int)'),self.cannonField.setAngle)
- self.connect(self.cannonField,PYSIGNAL('angleChanged(int)'),self.angle.setValue)
-
- self.connect(self.force,PYSIGNAL('valueChanged(int)'),self.cannonField.setForce)
- self.connect(self.cannonField,PYSIGNAL('forceChanged(int)'),self.force.setValue)
-
- self.connect(self.cannonField,PYSIGNAL('hit()'),self.hit)
- self.connect(self.cannonField,PYSIGNAL('missed()'),self.missed)
-
- self.shoot = QPushButton('&Shoot',self,'shoot')
- self.shoot.setFont(QFont('Times',18,QFont.Bold))
- self.connect(self.shoot,SIGNAL('clicked()'),self.fire)
- self.connect(self.cannonField,PYSIGNAL('canShoot(bool)'),self.shoot,SLOT('setEnabled(bool)'))
-
- restart = QPushButton('&New Game',self,'newgame')
- restart.setFont(QFont('Times',18,QFont.Bold))
- self.connect(restart,SIGNAL('clicked()'),self.newGame)
-
- self.hits = QLCDNumber(2,self,'hits')
- self.shotsLeft = QLCDNumber(2,self,'shotsleft')
- hitsL = QLabel('HITS',self,'hitsLabel')
- shotsLeftL = QLabel('SHOTS LEFT',self,'shotsleftLabel')
-
- accel = QAccel(self)
- accel.connectItem(accel.insertItem(Qt.Key_Enter),self.fire)
- accel.connectItem(accel.insertItem(Qt.Key_Return),self.fire)
- accel.connectItem(accel.insertItem(Qt.CTRL + Qt.Key_Q),qApp,SLOT('quit()'))
-
- grid = QGridLayout(self,2,2,10)
- grid.addWidget(quit,0,0)
- grid.addWidget(box,1,1)
- grid.setColStretch(1,10)
-
- leftBox = QVBoxLayout()
- grid.addLayout(leftBox,1,0)
- leftBox.addWidget(self.angle)
- leftBox.addWidget(self.force)
-
- topBox = QHBoxLayout()
- grid.addLayout(topBox,0,1)
- topBox.addWidget(self.shoot)
- topBox.addWidget(self.hits)
- topBox.addWidget(hitsL)
- topBox.addWidget(self.shotsLeft)
- topBox.addWidget(shotsLeftL)
- topBox.addStretch(1)
- topBox.addWidget(restart)
-
- self.angle.setValue(60)
- self.force.setValue(25)
- self.angle.setFocus()
-
- self.newGame()
-
- def fire(self):
- if self.cannonField.gameOver() or self.cannonField.isShooting():
- return
- self.shotsLeft.display(self.shotsLeft.intValue() - 1)
- self.cannonField.shoot()
-
- def hit(self):
- self.hits.display(self.hits.intValue() + 1)
- if self.shotsLeft.intValue() == 0:
- self.cannonField.setGameOver()
- else:
- self.cannonField.newTarget()
-
- def missed(self):
- if self.shotsLeft.intValue() == 0:
- self.cannonField.setGameOver()
-
- def newGame(self):
- self.shotsLeft.display(15)
- self.hits.display(0)
- self.cannonField.restartGame()
- self.cannonField.newTarget()
-
-
-QApplication.setColorSpec(QApplication.CustomColor)
-a = QApplication(sys.argv)
-
-gb = GameBoard()
-gb.setGeometry(100,100,500,355)
-a.setMainWidget(gb)
-gb.show()
-a.exec_loop()
diff --git a/python/pyqt/examples2/tut2.py b/python/pyqt/examples2/tut2.py
deleted file mode 100755
index a31b7842..00000000
--- a/python/pyqt/examples2/tut2.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/env python
-
-# Qt tutorial 2.
-
-import sys
-from qt import *
-
-
-a = QApplication(sys.argv)
-
-quit = QPushButton("Quit",None)
-quit.resize(75,30)
-quit.setFont(QFont("Times",18,QFont.Bold))
-
-QObject.connect(quit,SIGNAL("clicked()"),a,SLOT("quit()"))
-
-a.setMainWidget(quit)
-quit.show()
-a.exec_loop()
diff --git a/python/pyqt/examples2/tut3.py b/python/pyqt/examples2/tut3.py
deleted file mode 100755
index 2cc3576c..00000000
--- a/python/pyqt/examples2/tut3.py
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/env python
-
-# Qt tutorial 3.
-
-import sys
-from qt import *
-
-a = QApplication(sys.argv)
-
-box = QVBox()
-box.resize(200,120)
-
-quit = QPushButton("Quit",box)
-quit.setFont(QFont("Times",18,QFont.Bold))
-
-QObject.connect(quit,SIGNAL("clicked()"),a,SLOT("quit()"))
-
-a.setMainWidget(box)
-box.show()
-a.exec_loop()
diff --git a/python/pyqt/examples2/tut4.py b/python/pyqt/examples2/tut4.py
deleted file mode 100755
index 23c44d0e..00000000
--- a/python/pyqt/examples2/tut4.py
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env python
-
-# Qt tutorial 4.
-
-import sys
-from qt import *
-
-
-class MyWidget(QWidget):
- def __init__(self,parent=None,name=None):
- QWidget.__init__(self,parent,name)
-
- self.setMinimumSize(200,120)
- self.setMaximumSize(200,120)
-
- quit = QPushButton("Quit",self,"quit")
- quit.setGeometry(62,40,75,30)
- quit.setFont(QFont("Times",18,QFont.Bold))
-
- self.connect(quit,SIGNAL("clicked()"),qApp,SLOT("quit()"))
-
-
-a = QApplication(sys.argv)
-
-w = MyWidget()
-w.setGeometry(100,100,200,120)
-a.setMainWidget(w)
-w.show()
-a.exec_loop()
diff --git a/python/pyqt/examples2/tut5.py b/python/pyqt/examples2/tut5.py
deleted file mode 100755
index 01c20aa0..00000000
--- a/python/pyqt/examples2/tut5.py
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/env python
-
-# Qt tutorial 5.
-
-import sys
-from qt import *
-
-
-class MyWidget(QVBox):
- def __init__(self,parent=None,name=None):
- QVBox.__init__(self,parent,name)
-
- quit = QPushButton("Quit",self,"quit")
- quit.setFont(QFont("Times",18,QFont.Bold))
-
- self.connect(quit,SIGNAL("clicked()"),qApp,SLOT("quit()"))
-
- lcd = QLCDNumber(2,self,"lcd")
-
- slider = QSlider(Qt.Horizontal,self,"slider")
- slider.setRange(0,99)
- slider.setValue(0)
-
- self.connect(slider,SIGNAL("valueChanged(int)"),lcd,SLOT("display(int)"))
-
-
-a = QApplication(sys.argv)
-
-w = MyWidget()
-a.setMainWidget(w)
-w.show()
-a.exec_loop()
diff --git a/python/pyqt/examples2/tut6.py b/python/pyqt/examples2/tut6.py
deleted file mode 100755
index 38f07d8b..00000000
--- a/python/pyqt/examples2/tut6.py
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/usr/bin/env python
-
-# Qt tutorial 6.
-
-import sys
-from qt import *
-
-
-class LCDRange(QVBox):
- def __init__(self,parent=None,name=None):
- QVBox.__init__(self,parent,name)
-
- lcd = QLCDNumber(2,self,"lcd")
- slider = QSlider(Qt.Horizontal,self,"slider")
- slider.setRange(0,99)
- slider.setValue(0)
- self.connect(slider,SIGNAL("valueChanged(int)"),lcd,SLOT("display(int)"))
-
-
-class MyWidget(QVBox):
- def __init__(self,parent=None,name=None):
- QVBox.__init__(self,parent,name)
-
- quit = QPushButton("Quit",self,"quit")
- quit.setFont(QFont("Times",18,QFont.Bold))
-
- self.connect(quit,SIGNAL("clicked()"),qApp,SLOT("quit()"))
-
- grid = QGrid(4,self)
-
- for c in range(4):
- for r in range(4):
- LCDRange(grid)
-
-
-a = QApplication(sys.argv)
-
-w = MyWidget()
-a.setMainWidget(w)
-w.show()
-a.exec_loop()
diff --git a/python/pyqt/examples2/tut7.py b/python/pyqt/examples2/tut7.py
deleted file mode 100755
index d40ae749..00000000
--- a/python/pyqt/examples2/tut7.py
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/usr/bin/env python
-
-# Qt tutorial 7.
-
-import sys
-from qt import *
-
-
-class LCDRange(QVBox):
- def __init__(self,parent=None,name=None):
- QVBox.__init__(self,parent,name)
-
- lcd = QLCDNumber(2,self,'lcd')
- self.slider = QSlider(Qt.Horizontal,self,'slider')
- self.slider.setRange(0,99)
- self.slider.setValue(0)
- self.connect(self.slider,SIGNAL('valueChanged(int)'),lcd,SLOT('display(int)'))
- self.connect(self.slider,SIGNAL('valueChanged(int)'),self,PYSIGNAL('valueChanged(int)'))
-
- def value(self):
- return self.slider.value()
-
- def setValue(self,value):
- self.slider.setValue(value)
-
-
-class MyWidget(QVBox):
- def __init__(self,parent=None,name=None):
- QVBox.__init__(self,parent,name)
-
- quit = QPushButton("Quit",self,"quit")
- quit.setFont(QFont("Times",18,QFont.Bold))
-
- self.connect(quit,SIGNAL("clicked()"),qApp,SLOT("quit()"))
-
- grid = QGrid(4,self)
-
- self.lcdlist = []
- previous = None
-
- for r in range(4):
- for c in range(4):
- lr = LCDRange(grid)
-
- if previous is not None:
- self.connect(lr,PYSIGNAL("valueChanged(int)"),previous.setValue)
-
- previous = lr
- self.lcdlist.append(lr)
-
-
-a = QApplication(sys.argv)
-
-w = MyWidget()
-a.setMainWidget(w)
-w.show()
-a.exec_loop()
diff --git a/python/pyqt/examples2/tut8.py b/python/pyqt/examples2/tut8.py
deleted file mode 100755
index 045a4ef9..00000000
--- a/python/pyqt/examples2/tut8.py
+++ /dev/null
@@ -1,96 +0,0 @@
-#!/usr/bin/env python
-
-# Qt tutorial 8.
-
-import sys
-from qt import *
-
-
-class LCDRange(QVBox):
- def __init__(self,parent=None,name=None):
- QVBox.__init__(self,parent,name)
-
- lcd = QLCDNumber(2,self,'lcd')
- self.slider = QSlider(Qt.Horizontal,self,'slider')
- self.slider.setRange(0,99)
- self.slider.setValue(0)
- self.connect(self.slider,SIGNAL('valueChanged(int)'),lcd,SLOT('display(int)'))
- self.connect(self.slider,SIGNAL('valueChanged(int)'),self,PYSIGNAL('valueChanged(int)'))
-
- self.setFocusProxy(self.slider)
-
- def value(self):
- return self.slider.value()
-
- def setValue(self,value):
- self.slider.setValue(value)
-
- def setRange(self,minVal,maxVal):
- if minVal < 0 or maxVal > 99 or minVal > maxVal:
- raise ValueError, 'LCDRange.setRange(): invalid range'
- self.slider.setRange(minVal,maxVal)
-
-
-class CannonField(QWidget):
- def __init__(self,parent=None,name=None):
- QWidget.__init__(self,parent,name)
-
- self.ang = 45
- self.setPalette(QPalette(QColor(250,250,200)))
-
- def angle(self):
- return self.ang
-
- def setAngle(self,degrees):
- if degrees < 5:
- degrees = 5
- if degrees > 70:
- degrees = 70
- if self.ang == degrees:
- return
- self.ang = degrees
- self.repaint()
- self.emit(PYSIGNAL('angleChanged(int)'),(self.ang,))
-
- def paintEvent(self,ev):
- p = QPainter(self)
- p.drawText(200,200,'Angle = %d' % (self.ang))
-
- def sizePolicy(self):
- return QSizePolicy(QSizePolicy.Expanding,QSizePolicy.Expanding)
-
-
-class MyWidget(QWidget):
- def __init__(self,parent=None,name=None):
- QWidget.__init__(self,parent,name)
-
- quit = QPushButton('Quit',self,'quit')
- quit.setFont(QFont('Times',18,QFont.Bold))
- self.connect(quit,SIGNAL('clicked()'),qApp,SLOT('quit()'))
-
- self.angle = LCDRange(self,'angle')
- self.angle.setRange(5,70)
-
- self.cannonField = CannonField(self,'cannonField')
-
- self.connect(self.angle,PYSIGNAL('valueChanged(int)'),self.cannonField.setAngle)
- self.connect(self.cannonField,PYSIGNAL('angleChanged(int)'),self.angle.setValue)
-
- grid = QGridLayout(self,2,2,10)
-
- grid.addWidget(quit,0,0)
- grid.addWidget(self.angle,1,0,Qt.AlignTop)
- grid.addWidget(self.cannonField,1,1)
- grid.setColStretch(1,10)
-
- self.angle.setValue(60)
- self.angle.setFocus()
-
-
-a = QApplication(sys.argv)
-
-w = MyWidget()
-w.setGeometry(100,100,500,355)
-a.setMainWidget(w)
-w.show()
-a.exec_loop()
diff --git a/python/pyqt/examples2/tut9.py b/python/pyqt/examples2/tut9.py
deleted file mode 100755
index 16c7d697..00000000
--- a/python/pyqt/examples2/tut9.py
+++ /dev/null
@@ -1,104 +0,0 @@
-#!/usr/bin/env python
-
-# Qt tutorial 9.
-
-import sys
-from qt import *
-
-
-class LCDRange(QVBox):
- def __init__(self,parent=None,name=None):
- QVBox.__init__(self,parent,name)
-
- lcd = QLCDNumber(2,self,'lcd')
- self.slider = QSlider(Qt.Horizontal,self,'slider')
- self.slider.setRange(0,99)
- self.slider.setValue(0)
- self.connect(self.slider,SIGNAL('valueChanged(int)'),lcd,SLOT('display(int)'))
- self.connect(self.slider,SIGNAL('valueChanged(int)'),self,PYSIGNAL('valueChanged(int)'))
-
- self.setFocusProxy(self.slider)
-
- def value(self):
- return self.slider.value()
-
- def setValue(self,value):
- self.slider.setValue(value)
-
- def setRange(self,minVal,maxVal):
- if minVal < 0 or maxVal > 99 or minVal > maxVal:
- raise ValueError, 'LCDRange.setRange(): invalid range'
- self.slider.setRange(minVal,maxVal)
-
-
-class CannonField(QWidget):
- def __init__(self,parent=None,name=None):
- QWidget.__init__(self,parent,name)
-
- self.ang = 45
- self.setPalette(QPalette(QColor(250,250,200)))
-
- def angle(self):
- return self.ang
-
- def setAngle(self,degrees):
- if degrees < 5:
- degrees = 5
- if degrees > 70:
- degrees = 70
- if self.ang == degrees:
- return
- self.ang = degrees
- self.repaint()
- self.emit(PYSIGNAL('angleChanged(int)'),(self.ang,))
-
- def paintEvent(self,ev):
- p = QPainter(self)
-
- p.setBrush(Qt.blue)
- p.setPen(Qt.NoPen)
-
- p.translate(0,self.rect().bottom())
- p.drawPie(QRect(-35,-35,70,70),0,90 * 16)
- p.rotate(-self.ang)
- p.drawRect(QRect(33,-4,15,8))
-
- def sizePolicy(self):
- return QSizePolicy(QSizePolicy.Expanding,QSizePolicy.Expanding)
-
-
-class MyWidget(QWidget):
- def __init__(self,parent=None,name=None):
- QWidget.__init__(self,parent,name)
-
- quit = QPushButton('&Quit',self,'quit')
- quit.setFont(QFont('Times',18,QFont.Bold))
- self.connect(quit,SIGNAL('clicked()'),qApp,SLOT('quit()'))
-
- self.angle = LCDRange(self,'angle')
- self.angle.setRange(5,70)
-
- self.cannonField = CannonField(self,'cannonField')
-
- self.connect(self.angle,PYSIGNAL('valueChanged(int)'),self.cannonField.setAngle)
- self.connect(self.cannonField,PYSIGNAL('angleChanged(int)'),self.angle.setValue)
-
- grid = QGridLayout(self,2,2,10)
-
- grid.addWidget(quit,0,0)
- grid.addWidget(self.angle,1,0,Qt.AlignTop)
- grid.addWidget(self.cannonField,1,1)
- grid.setColStretch(1,10)
-
- self.angle.setValue(60)
- self.angle.setFocus()
-
-
-QApplication.setColorSpec(QApplication.CustomColor)
-a = QApplication(sys.argv)
-
-w = MyWidget()
-w.setGeometry(100,100,500,355)
-a.setMainWidget(w)
-w.show()
-a.exec_loop()
diff --git a/python/pyqt/examples2/widgets.py b/python/pyqt/examples2/widgets.py
deleted file mode 100755
index 7b85ab35..00000000
--- a/python/pyqt/examples2/widgets.py
+++ /dev/null
@@ -1,512 +0,0 @@
-#!/usr/bin/env python
-
-
-import sys, string
-from qt import *
-
-#
-## Constructs an analog clock widget that uses an internal QTimer.
-#
-def QMIN( x, y ):
- if y > x:
- return y
- return x
-
-#
-## Constructs an analog clock widget that uses an internal QTimer.
-#
-
-class AnalogClock( QWidget ):
- def __init__( self, *args ):
- apply( QWidget.__init__, (self,) + args )
- self.time = QTime.currentTime() # get current time
- internalTimer = QTimer( self ) # create internal timer
- self.connect( internalTimer, SIGNAL("timeout()"), self.timeout )
- internalTimer.start( 5000 ) # emit signal every 5 seconds
-
-#
-## The QTimer::timeout() signal is received by this slot.
-#
-
- def timeout( self ):
- new_time = QTime.currentTime() # get the current time
- if new_time.minute() != self.time.minute(): # minute has changed
- self.update()
-
-#
-## The clock is painted using a 1000x1000 square coordinate system.
-#
- def paintEvent( self, qe ): # paint clock
- if not self.isVisible(): # is is invisible
- return
- self.time = QTime.currentTime() # save current time
-
- pts = QPointArray()
- paint = QPainter( self )
- paint.setBrush( self.foregroundColor() ) # fill with foreground color
-
- cp = QPoint( self.rect().center() ) # widget center point
- d = QMIN( self.width(), self.height() ) # we want a circular clock
-
- matrix = QWMatrix() # setup transformation matrix
- matrix.translate( cp.x(), cp.y() ) # origin at widget center
- matrix.scale( d / 1000.0, d / 1000.0 ) # scale coordinate system
-
- h_angle = 30 * ( self.time.hour() % 12 - 3 ) + self.time.minute() / 2
- matrix.rotate( h_angle ) # rotate to draw hour hand
- paint.setWorldMatrix( matrix )
- pts.setPoints( [ -20,0, 0,-20, 300,0, 0,20 ] )
- paint.drawPolygon( pts ) # draw hour hand
- matrix.rotate( -h_angle ) # rotate back to zero
-
- m_angle = ( self.time.minute() - 15 ) * 6
- matrix.rotate( m_angle ) # rotate to draw minute hand
- paint.setWorldMatrix( matrix )
- pts.setPoints( [ -10,0, 0,-10, 400,0, 0,10 ] )
- paint.drawPolygon( pts ) # draw minute hand
- matrix.rotate( -m_angle ) # rotate back to zero
-
- for i in range( 0, 12 ): # draw hour lines
- paint.setWorldMatrix( matrix )
- paint.drawLine( 450,0, 500,0 )
- matrix.rotate( 30 )
-
-
-class DigitalClock( QLCDNumber ):
- def __init__( self, *args ):
- apply( QLCDNumber.__init__,(self,) + args )
- self.showingColon = 0
- self.setFrameStyle(QFrame.Panel | QFrame.Raised)
- self.setLineWidth( 2 )
- self.showTime()
- self.normalTimer = self.startTimer( 500 )
- self.showDateTimer = -1
-
- def timerEvent( self, e ):
- if e.timerId() == self.showDateTimer:
- self.stopDate()
- else:
- if self.showDateTimer == -1:
- self.showTime()
-
- def mousePressEvent( self, e ):
- if e.button() == Qt.LeftButton:
- self.showDate()
-
- def showDate( self ):
- if self.showDateTimer != -1:
- return
- d = QDate.currentDate()
- self.display('%2d %2d' % (d.month(), d.day()))
- self.showDateTimer = self.startTimer(2000)
-
- def stopDate( self ):
- self.killTimer(self.showDateTimer)
- self.showDateTimer = -1
- self.showTime()
-
- def showTime( self ):
- self.showingColon = not self.showingColon
- s = list(str(QTime.currentTime().toString())[:5]) #.left(5)
- if not self.showingColon:
- s[2] = ' '
- if s[0] == '0':
- s[0] = ' '
- s = string.join(s,'')
- self.display( s )
-
- def QMIN( x, y ):
- if y > x:
- return y
- return x
-
-TRUE = 1
-FALSE = 0
-MOVIEFILENAME = "trolltech.gif"
-
-#
-# WidgetView contains lots of Qt widgets.
-#
-
-class WidgetView ( QWidget ):
- def __init__( self, *args ):
- apply( QWidget.__init__, (self,) + args )
-
- # Set the window caption/title
- self.setCaption( "Qt Widgets Demo Application" )
-
- # Install an application-global event filter
- qApp.installEventFilter( self )
-
- # Create a layout to position the widgets
- self.topLayout = QVBoxLayout( self, 10 )
-
- # Create a grid layout to hold most of the widgets
- self.grid = QGridLayout( 6, 3 )
-
- # This layout will get all of the stretch
- self.topLayout.addLayout( self.grid, 10 )
-
- # Create a menubar
- self.menubar = QMenuBar( self )
- #self.menubar.setSeparator( QMenuBar.InWindowsStyle )
- self.menubar.setSeparator( 1 )
-
- # Create an easter egg
- QToolTip.add( self.menubar, QRect( 0, 0, 2, 2 ), "easter egg" )
-
- self.popup = QPopupMenu()
- self.id = self.popup.insertItem( "&New" )
- self.popup.setItemEnabled( self.id, FALSE )
- self.id = self.popup.insertItem( "&Open" )
- self.popup.setItemEnabled( self.id, FALSE )
- self.popup.insertSeparator()
- self.popup.insertItem( "&Quit", qApp, SLOT("quit()"), Qt.CTRL+Qt.Key_Q )
-
- self.menubar.insertItem( "&File", self.popup )
-
- # Must tell the layout about a menubar in a widget
- self.topLayout.setMenuBar( self.menubar )
-
- # Create an analog and a digital clock
- self.aclock = AnalogClock( self )
- self.aclock.resize( 50, 50 )
- self.dclock = DigitalClock( self )
- self.dclock.setMaximumWidth( 200 )
- self.grid.addWidget( self.aclock, 0, 2 )
- self.grid.addWidget( self.dclock, 1, 2 )
-
- # Give the dclock widget a blue palette
- col = QColor()
- col.setRgb( 0xaa, 0xbe, 0xff )
- self.dclock.setPalette( QPalette( col ) )
-
- # make tool tips for both of them
- QToolTip.add( self.aclock, "custom widget: analog clock" )
- QToolTip.add( self.dclock, "custom widget: digital clock" )
-
- # Create a push button.
- self.pb = QPushButton( self, "button1" ) # create button 1
- self.pb.setText( "Push button 1" )
- self.pb.setFixedHeight( self.pb.sizeHint().height() )
- self.grid.addWidget( self.pb, 0, 0, Qt.AlignVCenter )
- self.connect( self.pb, SIGNAL("clicked()"), self.button1Clicked )
- QToolTip.add( self.pb, "push button 1" )
- self.pm = QPixmap()
- self.pix = self.pm.load( "qt.png" ) # load pixmap for button 2
- if not self.pix:
- QMessageBox.information( None, "Qt Widgets Example",
- "Could not load the file \"qt.png\", which\n"
- "contains an icon used...\n\n"
- "The text \"line 42\" will be substituted.",
- QMessageBox.Ok + QMessageBox.Default )
-
- # Create a label containing a QMovie
- self.movielabel = QLabel( self, "label0" )
- self.movie = QMovie( MOVIEFILENAME )
- self.movie.connectStatus( self.movieStatus )
- self.movie.connectUpdate( self.movieUpdate )
- self.movielabel.setFrameStyle( QFrame.Box | QFrame.Plain )
- self.movielabel.setMovie( self.movie )
- self.movielabel.setMargin( 0 )
- self.movielabel.setFixedSize( 128 + self.movielabel.frameWidth() * 2,
- 64 + self.movielabel.frameWidth() * 2 )
- self.grid.addWidget( self.movielabel, 0, 1, Qt.AlignCenter )
- QToolTip.add( self.movielabel, "movie" )
-
- # Create a group of check boxes
- self.bg = QButtonGroup( self, "checkGroup" )
- self.bg.setTitle( "Check Boxes" )
- self.grid.addWidget( self.bg, 1, 0 )
-
- # Create a layout for the check boxes
- self.vbox = QVBoxLayout(self.bg, 10)
-
- self.vbox.addSpacing( self.bg.fontMetrics().height() )
-
- self.cb = range(3)
- self.cb[0] = QCheckBox( self.bg )
- self.cb[0].setText( "Read" )
- self.vbox.addWidget( self.cb[0] )
- self.cb[0].setMinimumSize( self.cb[0].sizeHint() )
- self.cb[1] = QCheckBox( self.bg )
- self.cb[1].setText( "Write" )
- self.vbox.addWidget( self.cb[1] )
- self.cb[1].setMinimumSize( self.cb[1].sizeHint() )
- self.cb[2] = QCheckBox( self.bg )
- self.cb[2].setText( "Execute" )
- self.cb[2].setMinimumSize( self.cb[2].sizeHint() )
- self.vbox.addWidget( self.cb[2] )
- self.bg.setMinimumSize( self.bg.childrenRect().size() )
- self.vbox.activate()
-
- self.connect( self.bg, SIGNAL("clicked(int)"), self.checkBoxClicked )
-
- QToolTip.add( self.cb[0], "check box 1" )
- QToolTip.add( self.cb[1], "check box 2" )
- QToolTip.add( self.cb[2], "check box 3" )
-
- # Create a group of radio buttons
- self.bg = QButtonGroup( self, "radioGroup" )
- self.bg.setTitle( "Radio buttons" )
-
- self.grid.addWidget( self.bg, 1, 1 )
-
- # Create a layout for the radio buttons
- self.vbox = QVBoxLayout( self.bg, 10 )
-
- self.vbox.addSpacing( self.bg.fontMetrics().height() )
- self.rb = QRadioButton( self.bg )
- self.rb.setText( "&AM" )
- self.rb.setChecked( TRUE )
- self.vbox.addWidget( self.rb )
- self.rb.setMinimumSize( self.rb.sizeHint() )
- QToolTip.add( self.rb, "radio button 1" )
- self.rb = QRadioButton( self.bg )
- self.rb.setText( "&FM" )
- self.vbox.addWidget( self.rb )
- self.rb.setMinimumSize( self.rb.sizeHint() )
- QToolTip.add( self.rb, "radio button 2" )
- self.rb = QRadioButton( self.bg )
- self.rb.setText( "&Short Wave" )
- self.vbox.addWidget( self.rb )
- self.rb.setMinimumSize( self.rb.sizeHint() )
- self.vbox.activate()
-
- self.connect( self.bg, SIGNAL("clicked(int)"), self.radioButtonClicked )
- QToolTip.add( self.rb, "radio button 3" )
-
- # Create a list box
- self.lb = QListBox( self, "listBox" )
- for i in range( 0, 100, 1 ): # fill list box
- txt = QString()
- txt = "line %d" % i
- if i == 42 and self.pix:
- self.lb.insertItem( self.pm )
- else:
- self.lb.insertItem( txt )
-
- self.grid.addMultiCellWidget( self.lb, 2, 4, 0, 0 )
- self.connect( self.lb, SIGNAL("selected(int)"), self.listBoxItemSelected )
- QToolTip.add( self.lb, "list box" )
-
- self.vbox = QVBoxLayout( 8 )
- self.grid.addLayout( self.vbox, 2, 1 )
-
- # Create a slider
- self.sb = QSlider( 0, 300, 1, 100, QSlider.Horizontal, self, "Slider" )
- #self.sb.setTickmarks( QSlider.Below )
- self.sb.setTickmarks( 1 )
- self.sb.setTickInterval( 10 )
- #self.sb.setFocusPolicy( QWidget.TabFocus )
- self.sb.setFocusPolicy( 1 )
- self.sb.setFixedHeight( self.sb.sizeHint().height() )
- self.vbox.addWidget( self.sb )
-
- self.connect( self.sb, SIGNAL("valueChanged(int)"), self.sliderValueChanged )
- QToolTip.add( self.sb, "slider" )
-
- # Create a combo box
- self.combo = QComboBox( FALSE, self, "comboBox" )
- self.combo.insertItem( "darkBlue" )
- self.combo.insertItem( "darkRed" )
- self.combo.insertItem( "darkGreen" )
- self.combo.insertItem( "blue" )
- self.combo.insertItem( "red" )
- self.combo.setFixedHeight( self.combo.sizeHint().height() )
- self.vbox.addWidget( self.combo )
- self.connect( self.combo, SIGNAL("activated(int)"), self.comboBoxItemActivated )
- QToolTip.add( self.combo, "read-only combo box" )
-
- # Create an editable combo box
- self.edCombo = QComboBox( TRUE, self, "edComboBox" )
- self.edCombo.insertItem( "Permutable" )
- self.edCombo.insertItem( "Malleable" )
- self.edCombo.insertItem( "Adaptable" )
- self.edCombo.insertItem( "Alterable" )
- self.edCombo.insertItem( "Inconstant" )
- self.edCombo.setFixedHeight( self.edCombo.sizeHint().height() )
- self.vbox.addWidget( self.edCombo )
- self.connect( self.edCombo, SIGNAL("activated(const QString &)"), self.edComboBoxItemActivated)
- QToolTip.add( self.edCombo, "editable combo box" )
-
- self.edCombo.setAutoCompletion( TRUE )
-
- self.vbox.addStretch( 1 )
-
- self.vbox = QVBoxLayout( 8 )
- self.grid.addLayout( self.vbox, 2, 2 )
-
- # Create a spin box
- self.spin = QSpinBox( 0, 10, 1, self, "spin" )
- self.spin.setSuffix( " mm" )
- self.spin.setSpecialValueText( "Auto" )
- self.spin.setMinimumSize( self.spin.sizeHint() )
- self.connect( self.spin, SIGNAL( "valueChanged(const QString &)" ), self.spinBoxValueChanged )
- QToolTip.add( self.spin, "spin box" )
- self.vbox.addWidget( self.spin )
-
- self.vbox.addStretch( 1 )
-
- # Create a multi line edit
- self.mle = QMultiLineEdit( self, "multiLineEdit" )
-
- self.grid.addMultiCellWidget( self.mle, 3, 3, 1, 2 )
- self.mle.setMinimumHeight( self.mle.fontMetrics().height() * 3 )
- self.mle.setText("This is a QMultiLineEdit widget,\n"
- "useful for small multi-line\n"
- "input fields.")
- QToolTip.add( self.mle, "multi line editor" )
-
- # Create a single line edit
- self.le = QLineEdit( self, "lineEdit" )
- self.grid.addMultiCellWidget( self.le, 4, 4, 1, 2 )
- self.le.setFixedHeight( self.le.sizeHint().height() )
- self.connect( self.le, SIGNAL("textChanged(const QString &)"), self.lineEditTextChanged )
- QToolTip.add( self.le, "single line editor" )
-
- # Create a horizontal line (sort of QFrame) above the message line
- self.separator = QFrame( self, "separatorLine" )
- self.separator.setFrameStyle( QFrame.HLine | QFrame.Sunken )
- self.separator.setFixedHeight( self.separator.sizeHint().height() )
- self.grid.addMultiCellWidget( self.separator, 5, 5, 0, 2 )
- QToolTip.add( self.separator, "tool tips on a separator! wow!" )
-
- self.grid.setRowStretch( 0, 0 )
- self.grid.setRowStretch( 1, 0 )
- self.grid.setRowStretch( 2, 0 )
- self.grid.setRowStretch( 3, 1 )
- self.grid.setRowStretch( 4, 1 )
- self.grid.setRowStretch( 5, 0 )
-
- self.grid.setColStretch( 0, 1 )
- self.grid.setColStretch( 1, 1 )
- self.grid.setColStretch( 2, 1 )
-
- # Create an label and a message in a plain widget
- # The message is updated when buttons are clicked etc.
-
- self.hbox = QHBoxLayout()
- self.topLayout.addLayout( self.hbox )
- self.msgLabel = QLabel( self, "msgLabel" )
- self.msgLabel.setText( "Message:" )
- self.msgLabel.setAlignment( Qt.AlignHCenter | Qt.AlignVCenter )
- self.msgLabel.setFixedSize( self.msgLabel.sizeHint() )
- self.hbox.addWidget( self.msgLabel )
- QToolTip.add( self.msgLabel, "label 1" )
-
- self.msg = QLabel( self, "message" )
- self.msg.setFrameStyle( QFrame.Panel | QFrame.Sunken )
- self.msg.setAlignment( Qt.AlignCenter )
- self.msg.setFont( QFont( "times", 12, QFont.Bold ) )
- self.msg.setText( "Message" )
- self.msg.setFixedHeight( self.msg.sizeHint().height() )
- self.msg.setText( "" )
- self.hbox.addWidget( self.msg, 5 )
- QToolTip.add( self.msg, "label 2" )
-
- self.topLayout.activate()
-
- def setStatus(self, text):
- self.msg.setText( text )
-
- def movieUpdate( self, r ):
- # Uncomment this to test animated icons on your window manager
- self.setIcon( self.movie.framePixmap() )
-
- def movieStatus( self, s ):
- if s == QMovie.SourceEmpty or s == QMovie.UnrecognizedFormat:
- pm = QPixmap('tt-logo.png')
- self.movielabel.setPixmap(pm)
- self.movielabel.setFixedSize(pm.size())
- else:
- if ( self.movielabel.movie() ): # for flicker-free animation:
- self.movielabel.setBackgroundMode( QWidget.NoBackground )
-
- def button1Clicked( self ):
- self.msg.setText( "The first push button was clicked" )
-
- def checkBoxClicked( self, id ):
- txt = QString()
- txt = "Check box %s clicked : " % str(id)
- chk = ["-","-","-"]
- if self.cb[0].isChecked():
- chk[0] = "r"
- if self.cb[1].isChecked():
- chk[1] = "w"
- if self.cb[2].isChecked():
- chk[2] = "x"
- txt = txt + str(chk[0]+chk[1]+chk[2])
- self.msg.setText( txt )
-
- def edComboBoxItemActivated( self, text):
- txt = QString()
- txt = "Editable Combo Box set to %s" % text
- self.msg.setText( txt )
-
- def radioButtonClicked( self, id ):
- txt = QString()
- txt = "Radio button #%d clicked" % id
- self.msg.setText( txt )
-
- def listBoxItemSelected( self, index ):
- txt = QString()
- txt = "List box item %d selected" % index
- self.msg.setText( txt )
-
- def sliderValueChanged( self, value ):
- txt = QString()
- txt = "Movie set to %d%% of normal speed" % value
- self.msg.setText( txt )
- self.movie.setSpeed( value )
-
- def comboBoxItemActivated( self, index ):
- txt = QString()
- txt = "Comboxo box item %d activated" % index
- self.msg.setText( txt )
- if index == 0:
- QApplication.setWinStyleHighlightColor( Qt.darkBlue )
- elif index == 1:
- QApplication.setWinStyleHighlightColor( Qt.darkRed )
- elif index == 2:
- QApplication.setWinStyleHighlightColor( Qt.darkGreen )
- elif index == 3:
- QApplication.setWinStyleHighlightColor( Qt.blue )
- elif index == 4:
- QApplication.setWinStyleHighlightColor( Qt.red )
-
- def lineEditTextChanged( self, newText ):
- self.msg.setText("Line edit text: " + unicode(newText))
-
- def spinBoxValueChanged( self, valueText ):
- self.msg.setText("Spin box value: " + unicode(valueText))
-
- # All application events are passed throught this event filter.
- # We're using it to display some information about a clicked
- # widget (right mouse button + CTRL).
- #def eventFilter( self, event ):
- # identify_now = TRUE
- # if event.type() == Event_MouseButtonPress and identify_now:
- # e = QMouseEvent( event )
- # if (e.button() == Qt.RightButton) and (e.state() & Qt.ControlButton) != 0:
- # txt = QString( "The clicked widget is a\n" )
- # txt = txt + QObect.className()
- # txt = txt + "\nThe widget's name is\n"
- # if QObject.name():
- # txt = txt + QObject.name()
- # else:
- # txt = txt + "<no name>"
- # identify_now = FALSE # don't do it in message box
- # QMessageBox.message( "Identify Widget", txt, 0, QObject )
- # identify_now = TRUE; # allow it again
- # return FALSE # don't eat event
-
-################################################################################################
-
-#QApplication.setColourSpec( QApplication.CustomColor )
-a = QApplication( sys.argv )
-
-w = WidgetView()
-a.setMainWidget( w )
-w.show()
-a.exec_loop()