[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyKDE] Using QXEmbed
From:       "Adrien Vermeulen" <adrien.vermeulen () gmail ! com>
Date:       2006-09-27 21:35:30
Message-ID: 736ed6010609271435v4016c2cy1ddaf273ab50afb1 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


I am currently writing a frontend application for snes9x (a command line
snes emulator) with pyqt3/pykde. I first wanted to write it with pyqt4 but
because QX11EmbedContainer is missing I switched to pykde and its QXEmbed
class.
But that's not the problem. It is that the application always reacts
differently each time I start snes9x (loading a rom with it : a snes game
file) with a QProcess and then try to embed it. Sometimes it isn't embeded
at all and stay in a X window, sometimes it seems to be embeded (sound works
but nothing more is displayed in the pykde window) and minimizing the pykde
application make snes9x appear in an external X window, and sometimes it
simply works.
The two questions are why and what can I do to improve my code and make it
stable?

Thank you in advance, AdrienV

PS: my script is joined to this email.

[Attachment #5 (text/html)]

I am currently writing a frontend application for snes9x (a command line snes \
emulator) with pyqt3/pykde. I first wanted to write it with pyqt4 but because \
QX11EmbedContainer is missing I switched to pykde and its QXEmbed class. <br>But \
that's not the problem. It is that the application always reacts differently each \
time I start snes9x (loading a rom with it : a snes game file) with a QProcess and \
then try to embed it. Sometimes it isn't embeded at all and stay in a X window, \
sometimes it seems to be embeded (sound works but nothing more is displayed in the \
pykde window) and minimizing the pykde application make snes9x appear in an external \
X window, and sometimes it simply works. <br>The two questions are why and what can I \
do to improve my code and make it stable?<br><br>Thank you in advance, \
AdrienV<br><br>PS: my script is joined to this email.<br>


["ksnes.py" (text/x-python)]

#!/usr/bin/python
# -*- coding: utf-8 -*-

# Copyright (C) 2006 by Vermeulen Adrien <adrien.vermeulen@free.fr>
# 
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the
# Free Software Foundation, Inc.,
# 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

''' Standart Python Modules '''
import os
import re
import sys

''' PyQt and PyKDE Modules'''
from qt import *
from kdecore import KAboutData, KCmdLineArgs, KApplication, KProcess, KWinModule, \
KWin from kfile import KFileDialog
from kdeui import QXEmbed
import ksnes_ui

home = os.popen("echo $HOME").read()[:-1] + "/"

def getWindow(pid):
	""" return a window info object for the process id (or None)
	
	"""
	for winid in KWinModule().windows():
		info = KWin.info(winid)
		if info.name.find("Snes9X") != -1: #the only way I found to catch the right window \
and yes it doesn't use the pid  return info

class MainDialog(ksnes_ui.MainWindow):
	
	def __init__(self, *args):
		apply(ksnes_ui.MainWindow.__init__, (self,) + args)
		
		self.binPath = "/home/adrien/Snes/snes9x-1.5-src/snes9x" #my path to snes9x
		
		self.snesProcess = QProcess(self, "snes")
		self.snesProcess.addArgument(self.binPath)
		
		#self.embeded.setProtocol(QXEmbed.XPLAIN)
		#self.view.addWidget(self.embeded, 12)
		#embeded = self.embeded
		#stack.addWidget(embeded)
		#self.view.raiseWidget(self.embeded)
		
		self.options = []
		
		self.playButton.setEnabled(False)
		self.stopButton.setEnabled(False)
		
		self.connect(self.openButton, SIGNAL("released()"), self.openClicked)
		self.connect(self.stopButton, SIGNAL("released()"), self.stopClicked)
		self.connect(self.playButton, SIGNAL("released()"), self.playClicked)
		self.connect(self.resetButton, SIGNAL("released()"), self.resetClicked)
		self.connect(self.configButton, SIGNAL("released()"), self.configClicked)
		self.connect(self.fsButton, SIGNAL("released()"), self.fsClicked)
		self.connect(self.aboutButton, SIGNAL("released()"), self.aboutClicked)
	
	def openClicked(self):
		filename = KFileDialog.getOpenFileName(home + "Snes/roms", "", self, "Select a snes \
rom to open")  self.launchRom(filename)
	
	def stopClicked(self):
		if (self.snesProcess.isRunning()):
			self.snesProcess.tryTerminate()
			self.snesProcess.clearArguments()
			self.snesProcess.addArgument(self.binPath)
	
	def playClicked(self):
		pass
	
	def resetClicked(self):
		#self.view.raiseWidget(12)
		pass
	
	def configClicked(self):
		pass
	
	def fsClicked(self):
		if self.isFullScreen():
			self.setWindowState(QWidget.WindowNoState)
		else:
			self.setWindowState(QWidget.WindowFullScreen)
	
	def aboutClicked(self):
		pass
	
	def launchRom(self, romfile):
		self.snesProcess.addArgument(romfile)
		code = self.snesProcess.start()
		if code:
			pid = self.snesProcess.processIdentifier()
			self.launchPid = pid
			QTimer.singleShot(2000, self.embedLaunchedWindow)
		else:
			print 'failed to start %s' % romfile
	
	def embedLaunchedWindow(self):
		winobj = getWindow(self.launchPid)
		if winobj:
			stack = self.view # the widget stack in wich I want to embed snes9x
			embeded = QXEmbed(self)
			stack.addWidget(embeded,12)
			embeded.embed(winobj.win)
			stack.raiseWidget(embeded)
			self.stopButton.setEnabled(True)

#-------------------- main ------------------------------------------------
if __name__ == "__main__":
	description = "A frontend for snes9x 1.5"
	version     = "0.1"
	aboutData   = KAboutData ("KSnes","KSnes", version, description, \
KAboutData.License_GPL_V2, "(C) 2006 AdrienV")  
	aboutData.addAuthor ("AdrienV", "", "adrien.vermeulen@free.fr")
	
	KCmdLineArgs.init (sys.argv, aboutData)
	
	KCmdLineArgs.addCmdLineOptions ([("+files", "File to open")])
	
	app = KApplication()
	app.connect(app,SIGNAL("lastWindowClosed()"),app,SLOT("quit()"))
	mainWindow = MainDialog()
	#app.setMainWindow(mainWindow)
	mainWindow.show()
	sys.exit(app.exec_loop())


["ksnes_ui.py" (text/x-python)]

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

# Form implementation generated from reading ui file 'ksnes.ui'
#
# Created: mar sep 26 23:06:33 2006
#      by: The PyQt User Interface Compiler (pyuic) 3.16
#
# WARNING! All changes made in this file will be lost!


import sys
from qt import *
from kdeui import KMainWindow, QXEmbed

image0_data = \
    "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
    "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \
    "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x03" \
    "\x83\x49\x44\x41\x54\x38\x8d\xd5\x95\xcb\x8b\x1c" \
    "\x55\x14\xc6\xbf\xfb\xa8\x47\x3f\x32\xdd\xa3\x64" \
    "\x26\x0c\x68\x32\x18\x30\x88\x59\xe8\x46\xdc\xfa" \
    "\x0f\xf8\x58\x04\xa2\x10\x10\x03\xba\xf1\x9f\x70" \
    "\xa1\x4b\x17\xa2\xcb\x88\x6e\x86\x88\x20\xb8\x71" \
    "\xa7\x44\x8d\x99\x44\x5d\x08\x8e\x30\x8c\xc9\xbc" \
    "\xf2\x70\x26\x33\x3d\x3d\xdd\xd5\x55\x5d\xf7\x9c" \
    "\x73\xaf\x8b\xae\x9e\x97\xaf\xd5\x2c\x2c\xb8\x9c" \
    "\xba\x87\xfa\x7e\xf5\xd5\x57\x70\xae\x0a\x21\xe0" \
    "\x38\x2e\x7d\x2c\x54\x00\x16\x00\x6a\x53\xef\xd6" \
    "\xa6\x4e\x36\x5f\x9d\x7c\xa4\x7e\xb1\xdd\x4a\xda" \
    "\xcd\x46\x92\x6a\xad\x55\xa7\xeb\x64\xfd\x7e\xfe" \
    "\xc6\xea\x2f\x97\x7f\xfc\x27\xc0\x63\xcf\x5c\x4d" \
    "\x94\x32\x33\x5a\xeb\xa0\xb4\x5e\x5b\xbe\xf5\x92" \
    "\x07\x00\x15\x42\xc0\xf4\xd9\xf7\x2f\xbe\xfd\xe6" \
    "\xb3\x9f\x5e\xbe\x74\xde\xa6\xa9\xdd\x13\x15\x05" \
    "\xe1\xb5\xb7\xbe\x59\x5e\x5e\xcd\xde\x69\xb5\xd2" \
    "\xc9\x7a\x3d\x7a\xd2\x68\xfd\x78\x92\x46\xad\x7a" \
    "\x2d\xaa\xa7\xa9\xad\x37\x1b\x51\x3a\x73\xaa\x96" \
    "\x30\x4b\xb8\x36\xdf\x59\x59\xbe\xb3\xf9\xba\xd2" \
    "\x66\x45\x9d\x7e\xfa\x83\x17\x26\x4e\x24\x1f\x7e" \
    "\x39\xf7\xe2\xb9\xc9\x76\x0a\x00\x38\x98\xba\x73" \
    "\x8c\xef\x6f\x6e\x86\xc9\x76\xa2\xb6\x3b\x03\xac" \
    "\xdd\xcb\xb0\x7e\x2f\xc7\x6e\x9f\xe1\x45\x81\x05" \
    "\x10\xf1\x20\x0a\xe8\x67\xec\x45\x24\xdf\x78\x48" \
    "\xeb\xe6\xdc\xf9\x0b\xd7\xbe\xfa\xfc\x95\x27\x9a" \
    "\x8d\x78\x0f\xa6\x0e\x80\x8d\xd1\x98\x3d\xdd\x54" \
    "\x4b\xb7\x77\x30\xf7\xc5\x1f\x18\xb8\x3a\xa0\x53" \
    "\x58\x5b\x83\x36\x11\x94\xd2\x40\x50\x50\x0a\x30" \
    "\x3a\x28\xa3\x7d\x5c\x92\x2a\xed\xc4\x44\x9a\x25" \
    "\xb1\xf9\x4b\x76\xaa\x72\xde\xd9\x19\x62\x79\xad" \
    "\x87\x2b\x73\x6b\x38\x33\x3b\x03\x47\x0c\xe7\x18" \
    "\x44\x0c\x22\x02\x57\x7b\x26\x82\x73\x04\x22\x02" \
    "\xf9\x48\x6c\x36\x90\x5e\x08\x01\x5b\xdb\x05\x3e" \
    "\xb9\xba\x84\xbb\x0f\x86\xf0\xc1\x40\xbc\x86\x78" \
    "\x40\x69\x0b\xad\x63\x4c\xcf\x9c\x42\x5e\x54\x50" \
    "\x26\xf0\x01\xf8\x18\xc8\x8e\xe1\x9c\x83\x70\xcc" \
    "\xd6\x71\x58\xdd\xdc\x1a\x3c\xf7\xd1\x95\x45\x48" \
    "\x3c\x8b\x99\x33\x31\x44\x18\x44\x32\x72\x43\x0c" \
    "\x66\x46\x59\x1e\x70\x38\xae\x65\xe5\x90\x18\xe4" \
    "\x08\xe4\x08\x45\x59\xa2\x90\x9a\xb3\x83\x3c\x5c" \
    "\x5f\xfc\xbd\x7b\x21\x2b\x02\x1e\x9d\x8c\x51\x94" \
    "\x02\x66\x01\xb9\x11\x90\x2a\x67\xcc\x0c\x57\x32" \
    "\x98\xa9\x72\xb9\x0f\x23\x22\x94\xa5\x43\xaf\x57" \
    "\x20\xcb\x0a\xb4\xa7\x4f\x8a\xed\x74\xf9\xd6\xc2" \
    "\x62\x77\x17\x50\xad\x62\x28\x20\x27\x23\x20\xc9" \
    "\x28\x3b\xae\x00\xd5\x67\x0f\x0b\x42\x9e\x0f\x51" \
    "\x0c\x1d\xdc\xd0\x61\x58\x3a\xb8\x6a\x89\x30\x3c" \
    "\x33\x8c\xb1\x6c\xb5\x31\xbf\x2d\x2c\xf6\xfb\x49" \
    "\x92\xb6\x8a\x42\x46\xc0\x2a\x86\xb2\x24\x0c\x32" \
    "\x87\x41\x5e\x62\x90\x3b\x0c\xf3\x12\x8e\x08\x5e" \
    "\x08\xc2\xbc\x57\x45\x18\x21\x78\x04\xef\x11\x82" \
    "\x87\xb6\x11\xf4\x83\x5f\x2f\xf5\xb6\x76\x28\x53" \
    "\x5a\x23\x2f\x04\x79\xce\x78\xb8\x5d\x62\x65\x3d" \
    "\xc7\xed\x95\x01\xee\x6f\x14\xe8\x74\x4b\xe4\x39" \
    "\x81\x45\x46\xe2\x0a\xe0\xab\x1a\x42\xa8\x7a\x02" \
    "\xef\x3d\x8c\x89\x22\x0b\x00\x83\x3c\xec\x42\x69" \
    "\xec\xf6\x09\x1b\x9b\x05\x88\x09\x9e\x79\x5f\x3c" \
    "\x06\x8c\x81\xe1\x48\xcf\x4b\xd5\x0b\x08\xc1\x23" \
    "\x4e\xe2\x54\x03\x80\x78\x75\xa7\x74\xc0\xe6\xb6" \
    "\x83\xc8\xe8\xe1\x43\xe2\x70\xa4\xe7\x8f\xf4\x8e" \
    "\xbc\x28\x8e\xe3\xa6\x06\x80\x7c\x88\xef\xf2\x21" \
    "\x20\x2c\x7f\x2f\x3e\xe2\xf8\x50\x0c\x87\xa2\x11" \
    "\x84\xe0\x91\xd4\xea\x6c\x01\xa0\x3f\xd0\x3f\x65" \
    "\xb9\x72\x21\xf8\xf8\xbf\xc5\xfb\xf7\xd6\xc6\xa8" \
    "\x35\x5a\x38\xd1\x6e\xfb\x5a\x63\xc2\xdb\x28\x96" \
    "\x38\xad\xf7\xa3\xb8\xf6\x9e\x05\x00\x6d\xcc\x42" \
    "\x56\x68\x0a\xde\xc7\xe3\x1f\x10\xbc\x1f\xcd\x0a" \
    "\x1b\xa3\xde\xa8\x87\x38\x4d\xbd\x31\x91\x18\x6b" \
    "\xc9\x18\x5b\x1a\x1b\x77\xa1\xf4\x52\x40\xfc\xad" \
    "\x32\xf6\x86\x52\x7a\xfe\xeb\x8f\xa7\x8a\xbd\x91" \
    "\x30\x3e\x41\x9e\x7f\xf9\xe6\xcf\x41\x45\x4f\x29" \
    "\x20\x28\xa5\x9d\xd6\x3a\x57\x5a\xaf\x4b\x30\xf3" \
    "\x80\xfd\x21\x40\x5d\xbf\xf1\xd9\xd9\xbb\xff\x3e" \
    "\xde\x0f\xcc\x9a\xff\xdd\xd1\x74\x6c\xe0\x3f\x01" \
    "\x2d\x29\x05\x34\x9b\x3c\xb2\xe6\x00\x00\x00\x00" \
    "\x49\x45\x4e\x44\xae\x42\x60\x82"
image1_data = \
    "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
    "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \
    "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x04" \
    "\xd3\x49\x44\x41\x54\x38\x8d\x75\x95\x5d\x6c\x14" \
    "\x55\x14\xc7\x7f\xe7\xce\xee\xec\x47\xe9\xc7\x6d" \
    "\xbb\xbb\x14\xb6\xd3\xa5\xa5\x6c\x69\xf9\xa8\xe1" \
    "\xa3\x4a\x2a\x26\xd8\x10\x12\xc1\x20\x7d\x51\xd0" \
    "\x68\x34\x26\x6a\x7c\x30\x51\x31\x3e\x98\x18\xdf" \
    "\x88\x0f\xfa\xa8\x89\x26\x26\x04\xf5\x01\x05\xb5" \
    "\x3e\xa0\x81\x44\x53\x15\x0c\x31\x94\x40\x42\x8d" \
    "\xb4\xb0\xa5\xad\xbb\x4b\x59\x41\x29\xbb\xcb\xce" \
    "\x5c\x1f\xa6\x5d\xa8\xd4\x93\xfc\x93\xc9\xdc\x33" \
    "\xff\xf3\x3f\xe7\xdc\x39\x47\x8c\x31\x2c\x66\x22" \
    "\x62\x03\x4b\x81\x04\x10\x9f\x03\x40\x6e\x0e\x59" \
    "\xe0\x4f\x63\x4c\x79\xb1\xef\x03\xff\x43\xba\x42" \
    "\xa9\xe0\xb6\x07\x1e\xde\xb3\xbe\xb5\xa3\xc7\x69" \
    "\x4e\x38\x4e\x43\x63\xc2\x01\xf8\xeb\x5a\x36\x73" \
    "\x35\x9b\xc9\x4c\x5c\x3c\x9f\xf9\xe5\xf8\x97\x23" \
    "\x22\x72\xc2\x18\x33\x7e\x0f\xc7\xdd\x8a\x45\x24" \
    "\x04\x6c\xed\xe8\xe9\xeb\xdf\xfd\xd4\xeb\xfb\x52" \
    "\x6d\x4e\xc7\xb2\x58\x2d\x31\x1d\x25\xa6\xa3\x00" \
    "\xe4\x0b\xb3\xe4\x0b\xb3\x4c\xe5\xff\xe6\xd2\xe5" \
    "\xcc\xc5\xa3\x07\xdf\x3d\x74\xf1\xfc\xa9\x61\xe0" \
    "\x47\x63\x4c\xe9\x1e\x62\x11\x09\x29\xa5\x9e\x18" \
    "\x7c\xf6\xad\x5d\xeb\x36\x6d\xdb\xb9\x69\x4d\xd2" \
    "\x5e\x9f\x8e\x63\x2b\x21\x60\x29\x2c\xf1\xfd\x5c" \
    "\x23\x54\x5c\x8f\xb2\x67\x18\x19\xcd\x71\xfa\xdc" \
    "\x95\xf2\xd9\xd3\x27\xbe\xf9\xfa\xe0\x81\x21\xcf" \
    "\xf3\x3e\x2b\x95\x4a\xa5\x05\xa5\xa8\xab\xab\xdb" \
    "\xfa\xc8\xde\xfd\x3b\x1f\xd8\xba\x63\xcf\x40\x5f" \
    "\x8a\xb8\x8e\x10\x09\x0a\x72\x27\x1f\x00\x94\x40" \
    "\x50\x29\xc2\xc0\xc6\xd5\x4b\x71\x96\xd6\xdb\x75" \
    "\xb5\x35\x83\xb6\x1d\xe6\xfb\xc3\xef\x4f\x02\xdf" \
    "\x03\x28\x80\xb6\xb6\xb6\x15\x3d\x1b\x1e\xea\xef" \
    "\xee\xdd\xba\x6b\xa0\x2f\x45\x4b\x63\x98\x48\xd0" \
    "\x27\x9a\xc8\x1a\x0c\xdc\x03\x80\x48\x50\x68\x69" \
    "\x0c\x33\xd0\x97\x22\xbd\xae\x7f\xd7\xea\xfb\x1e" \
    "\xec\xef\xee\xee\x5e\x01\x60\x1d\x39\x72\xc4\x8e" \
    "\x46\x6b\x77\x0f\x0c\xbe\xf6\xd2\x96\x0d\x1d\xb1" \
    "\xce\xd6\x7a\x42\x01\x55\xd5\xf9\xe2\x3b\xd7\x29" \
    "\x5c\xbf\x4d\x6f\x57\x68\xb1\x3e\x63\x29\xc1\xb6" \
    "\x2d\x10\xcb\xf2\xec\x64\x32\x77\xf9\xb7\xc9\x8f" \
    "\x3f\xfe\xe8\xbc\xd5\xd5\xd5\xb5\xbc\xb3\x77\x60" \
    "\x4f\x7a\xcd\xe6\x1d\xdb\x36\x3b\x44\x6d\xe5\xe7" \
    "\x2b\x3e\x0e\x7d\x71\x91\x6f\x86\x7e\xe5\x7c\xa6" \
    "\x96\xde\x9e\x1a\x6a\x97\x58\xd5\xb3\x79\x58\x22" \
    "\x34\x36\x44\xb9\x9c\x2d\x37\xba\x9e\x77\xd9\x2d" \
    "\xce\x9c\x55\x5a\xeb\x44\xac\xa5\xdd\x59\x16\x5b" \
    "\x42\x30\xa0\x40\x04\x63\xa8\xc2\x33\x1e\xb7\x6e" \
    "\x16\x39\xf6\xed\x30\x2f\xbe\x79\x8e\x4f\xbf\x9e" \
    "\x59\x70\x6e\x0c\x20\x42\x30\xa0\x58\x1e\xab\xa1" \
    "\x29\x9e\x72\xb4\xd6\x89\x80\xd6\x3a\x1e\xa9\x8b" \
    "\x3b\xb1\xc6\x28\x0a\x0f\x63\xd4\x82\x54\x8d\xeb" \
    "\x62\x87\xfd\xab\xf6\xfb\x85\x71\xde\x9b\xca\xf3" \
    "\xd3\xe9\x36\xde\x7e\x25\x45\x53\x43\xb0\xea\xa7" \
    "\xf0\x68\xd2\x51\x42\xb5\xcd\x8e\xd6\x3a\xae\xb4" \
    "\xd6\xf1\x80\x5d\xe7\xc4\x75\x04\x51\xea\x1e\x35" \
    "\x9e\xf1\xb0\xc3\x35\x55\x94\xca\x86\xe1\x9f\x2f" \
    "\xf1\xfc\xfe\x73\x1c\xfd\x2e\x5f\xf5\x13\xa5\x88" \
    "\x35\x44\xb0\x82\xb5\x8e\xd6\x3a\x1e\xd0\x5a\x4b" \
    "\x45\x94\xdf\x6d\x03\x9e\xc8\x02\xc5\x9e\xe7\x55" \
    "\x15\xdf\x6d\x57\xa6\x67\xf9\xe0\xe0\x38\xa9\xd6" \
    "\x30\x6b\xbb\xea\x30\xc6\xbf\x3d\x22\x8a\x06\xad" \
    "\x25\xa0\xb5\xce\x15\xa8\x64\xf2\xd7\x8a\x4d\x31" \
    "\x1d\xc1\x0f\x21\xb8\xbe\x5c\x3c\xd7\xc5\x0e\xd7" \
    "\x2c\x20\x8d\xd8\x65\x7a\x56\x86\xd9\xff\x72\x9a" \
    "\x58\x53\x18\xcf\x18\x3c\x03\x57\x0b\x45\x82\xe2" \
    "\x66\xb4\xd6\xb9\x80\xd6\x3a\x5b\xbc\xe9\x4e\xe4" \
    "\xae\xdd\xba\x6f\x55\xaa\x61\xbe\xb2\x08\x60\x59" \
    "\xbe\x7a\x9f\xd8\x80\x3b\x4b\x42\x17\x79\xf5\x85" \
    "\x2e\x7a\xd7\x68\x5c\xcf\x70\xbb\xe2\x55\xef\x75" \
    "\xbe\x50\x24\x1a\x32\x13\x5a\xeb\x6c\x40\x6b\x9d" \
    "\x2b\x2a\x95\xb9\x92\x9d\xf5\x6b\x35\x57\x09\xa5" \
    "\x04\x25\x82\xf1\x3c\x2c\xcb\x22\x2a\xd3\x0c\x3e" \
    "\xda\xc2\xd3\x8f\x6f\xc4\x60\xf0\x3c\xe3\xd7\x57" \
    "\x81\x3b\xf7\x3c\x99\x9b\x25\x56\x1f\xc8\x68\xad" \
    "\x73\x4a\x6b\x3d\xdd\xe5\x84\x47\x8a\xb7\x4a\x63" \
    "\x67\x2e\xcc\x54\x7f\x2d\x01\x44\x84\xdc\xf4\x14" \
    "\x1b\x3a\x0b\x7c\xfe\xe1\x16\x9e\x7b\x32\x8d\x65" \
    "\xf9\x01\x65\x1e\x7e\x82\x9c\xb9\x30\x43\xa9\x54" \
    "\x1e\x5b\xdb\xb1\x64\x44\x6b\x3d\x2d\xc6\x18\x46" \
    "\x47\x47\xdb\xff\xbc\xe6\x3e\xf3\xc3\x99\xd2\x1b" \
    "\x83\xdb\x53\x76\x53\x7d\xc8\x1f\x3c\x96\x30\x3e" \
    "\x5e\xa0\x2b\xdd\x8c\xa5\x04\x11\xbf\xc1\xae\x67" \
    "\x70\x5d\x43\xc5\xf5\x70\x5d\x43\xae\x50\xe4\xf0" \
    "\x77\xe3\xe5\xed\x9b\xeb\x0f\x24\xe3\xf6\x27\xc9" \
    "\x64\x72\x4c\x01\xa4\xd3\xe9\xb1\xee\x95\xb1\xe1" \
    "\xf6\x64\x74\xe8\xd8\xf0\x14\x85\x1b\xfe\xec\x16" \
    "\x11\x56\x75\x36\x21\xe2\x97\xc6\x52\x0a\x35\x17" \
    "\x40\x04\x04\x61\xe6\x7a\x89\x63\xc3\x93\x74\x3a" \
    "\xb5\x43\x6b\xd3\x89\xe1\x64\x32\x39\x06\x77\x8d" \
    "\xcd\x4a\xa5\x12\x72\x61\xef\x57\xc7\x33\x3b\x47" \
    "\xc7\x6e\xec\xdc\xb4\x36\x66\xf7\xad\x6b\x26\x18" \
    "\x50\x55\xf5\x01\x4b\xa8\xb8\xbe\xda\xf2\x6d\x8f" \
    "\x93\x67\x73\x9c\x1a\xc9\x97\x57\x77\xe8\xa1\xc7" \
    "\xb6\xb7\x7d\x6b\xc1\x21\xa0\xb4\x80\x78\xce\x42" \
    "\xc0\x43\x7f\x64\x6e\xf4\x1f\x3d\x31\xb1\x4f\x89" \
    "\xb4\xb7\x2d\xab\x61\x59\x2c\xca\xf2\x44\x14\x25" \
    "\x30\x99\xbb\xc5\x54\x6e\x96\x4b\x53\xff\xe0\x7a" \
    "\x66\x6c\xf7\xb6\xd6\x43\x2b\x9d\xba\x61\xe0\x87" \
    "\x79\xd2\xc5\x88\xe7\xad\xdd\x75\x79\xf8\xe4\xd9" \
    "\xfc\xfa\x89\xec\xcd\xd6\xab\x33\x25\xe7\xaf\x7f" \
    "\xca\xad\x00\x0d\x4b\xec\x89\xe6\xa6\x50\xa6\x35" \
    "\x51\x33\x71\xff\xba\xd8\x88\x65\x71\x1c\x18\xfb" \
    "\x2f\xc1\xff\x11\x03\xd8\x40\x0b\x77\x96\x69\x62" \
    "\xee\x7d\x96\x3b\xcb\x74\x1a\x58\x74\x99\xfe\x0b" \
    "\xb4\x01\xfa\xf9\xc0\x66\xac\x6a\x00\x00\x00\x00" \
    "\x49\x45\x4e\x44\xae\x42\x60\x82"
image2_data = \
    "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
    "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \
    "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x04" \
    "\x7d\x49\x44\x41\x54\x38\x8d\x7d\x95\xdd\x4f\x54" \
    "\x47\x18\x87\x9f\x99\x3d\x7b\xce\xee\x22\xb0\x03" \
    "\x9c\x5d\xc0\x65\x41\xb0\xa2\xa0\x6c\xfd\x2a\x1a" \
    "\x29\xa6\x60\x48\x6b\x31\xb1\xda\x9b\x4a\x9a\xb4" \
    "\xbd\xe9\x1f\xd0\xb4\xbd\xea\x7d\x4d\x93\xc6\x3f" \
    "\xa1\x89\x31\xbd\xb1\xad\x6d\xe9\x85\x35\x90\x68" \
    "\x48\x8a\x89\x17\x62\x34\x91\xa4\xae\x76\x57\xd0" \
    "\x5d\x84\xf5\x13\xd9\xdd\x73\xce\xf4\x62\x97\x05" \
    "\x0a\xf4\x4d\xde\xcc\x64\x3e\x9e\xf9\xbd\x33\xf3" \
    "\xce\x08\xad\x35\x1b\x99\x10\xc2\x04\x1a\x81\x28" \
    "\x10\x29\x3b\x40\xb6\xec\x19\xe0\xb1\xd6\xba\xb0" \
    "\xd1\x7c\x63\x13\xe8\x36\x29\xfd\x03\x87\x07\x4f" \
    "\x25\x5a\x3a\xba\xe3\x0d\xd1\x78\x3c\x5c\x17\x8d" \
    "\x03\x3c\x5d\xc8\xa4\x9e\x64\x52\xa9\xf4\xbd\x3b" \
    "\xa9\xbf\xc6\x7e\x9e\x12\x42\x8c\x6b\xad\xef\xaf" \
    "\x63\xac\x56\x2c\x84\xb0\x80\xfe\x8e\xee\xde\xbe" \
    "\x93\x1f\x7f\x39\xd2\xd6\x1a\xef\x68\xb6\xab\xb1" \
    "\x55\x08\x5b\x85\x00\x98\xcb\x2d\x32\x97\x5b\x64" \
    "\x76\xee\x05\x0f\xfe\x49\xdd\xbb\x74\xfe\xbb\x0b" \
    "\xf7\xee\x5c\x9f\x00\xae\x69\xad\xf3\xeb\xc0\x42" \
    "\x08\x4b\x4a\xf9\xd1\xe9\xcf\xbe\x39\xd1\x73\x70" \
    "\x60\xf8\xe0\xee\x98\x99\xe8\x8c\x60\x4a\x81\xe1" \
    "\x93\xf8\x44\x69\x9c\xab\x05\x8e\xeb\x51\xf0\x34" \
    "\x53\xd3\x59\x6e\xdc\x7e\x58\xb8\x75\x63\xfc\xf7" \
    "\xdf\xce\x9f\x1d\xf5\x3c\xef\xc7\x7c\x3e\x9f\x5f" \
    "\xb3\x15\x35\x35\x35\xfd\xef\x9f\xf9\x6a\xf8\x70" \
    "\xff\xbb\xa7\x8e\xf5\xb6\x11\x51\x41\x82\x7e\x81" \
    "\x58\x89\x07\x00\x29\xc0\x2f\x25\x01\xe0\xc0\xae" \
    "\x46\xe2\x8d\xb5\x66\x4d\x75\xd5\x69\xd3\x0c\x70" \
    "\xe5\xe2\xb9\x19\xe0\x0a\x80\x04\x68\x6d\x6d\xdd" \
    "\xd6\xbd\xff\x68\x5f\xd7\x9b\xfd\x27\x8e\xf5\xb6" \
    "\xd1\x54\x17\x20\xe8\x2f\x81\xf4\x26\x0e\x10\xf4" \
    "\x0b\x9a\xea\x02\x1c\xeb\x6d\xa3\xb3\xa7\xef\xc4" \
    "\xae\xbd\x6f\xf7\x75\x75\x75\x6d\x03\x30\x12\x89" \
    "\x84\x59\x57\x67\x0f\x1c\x3d\xfe\xf9\xc8\x81\xdd" \
    "\x31\xd3\x0e\x07\xf0\xfb\x24\x37\xee\xe4\x19\x9b" \
    "\x7c\xb5\xd1\xd9\x56\x6c\xf0\x50\x15\xfb\xbb\x2c" \
    "\xec\x70\x80\x03\xdd\x5b\xcd\xc5\x17\x9f\x8e\x5c" \
    "\xfb\xe5\xdb\xd4\x91\x23\x47\xce\x1b\x4a\xa9\xc6" \
    "\x96\x9d\xfd\x89\xa6\xe6\xe6\x8e\xc4\x8e\x08\x96" \
    "\x21\xd1\x42\x30\x7e\xfd\x35\xe7\xbe\xff\x09\xed" \
    "\xb9\x6b\xb6\x62\xb9\x26\xa4\x0f\xf1\xc5\x87\xec" \
    "\xeb\x0e\x60\x19\x92\xc4\x8e\x08\xd3\x0f\x9e\x76" \
    "\x74\xee\x1b\x4a\x64\x92\x93\x57\x0c\xa5\x54\xd4" \
    "\x6e\x6a\x8f\x37\xdb\x5b\xf0\x1b\x12\x84\x40\x6b" \
    "\x70\x9d\x22\x7e\xd3\x42\x7b\xde\x5a\xf0\x72\x21" \
    "\x25\xae\x53\x44\x6b\x40\x08\xfc\x86\x64\xab\x5d" \
    "\xc5\x4c\xa4\x2d\x5e\xc8\x4d\x47\x0d\xa5\x54\x24" \
    "\x58\x13\x89\xdb\x75\x21\x24\x1e\x5a\x4b\x00\x1c" \
    "\xa7\x88\x19\xa8\x62\xf3\x04\x92\x38\x4e\xb1\xd2" \
    "\x2f\xf1\xa8\x57\x21\xac\xea\x86\xb8\x52\x2a\x62" \
    "\x28\xa5\x22\x86\x59\x13\x8f\xa8\x20\x42\x4a\x96" \
    "\x39\x9e\xeb\x60\xfd\x2f\x58\xe0\xb9\x4e\x65\xbc" \
    "\x90\x12\x3b\x1c\xc4\xe7\xaf\xae\x80\x85\x23\x64" \
    "\xe9\xb4\x35\x78\xa2\x14\xab\xe3\x3a\xf8\xad\xd0" \
    "\x2a\xd2\x7a\xb8\xe3\x3a\x78\xe5\x0e\xad\x35\xba" \
    "\x1c\x49\x58\x29\x61\x28\xa5\xb2\x39\x9c\xd4\xdc" \
    "\xc2\x52\xbd\xad\x82\x94\x96\x10\x38\xc5\x22\x66" \
    "\xb0\x6a\x33\x26\x00\x6e\xb1\x88\xa7\x01\x34\x9e" \
    "\x86\x27\xb9\x25\xfc\xc2\x4d\x29\xa5\xb2\x86\x52" \
    "\x2a\xb3\xf4\xca\x4d\x67\x17\x5e\xef\xdd\xd1\x16" \
    "\x2e\x4f\xd1\x78\x8e\x83\x69\x85\x10\x62\x03\xac" \
    "\x28\x29\xf4\x5c\x87\xa2\xe3\x55\xee\xf5\x5c\x6e" \
    "\x89\x90\xa5\xd3\x4a\xa9\x8c\xa1\x94\xca\x2e\x49" \
    "\x99\x7a\x98\x59\x44\x6b\x58\xe6\xb8\x9e\x83\xdf" \
    "\xaa\x45\xc8\xff\xe6\x5e\x79\x69\x0f\x5c\xef\x19" \
    "\x52\x0a\x5c\x4f\xa3\x35\xcc\x64\x17\xb1\x6b\x8d" \
    "\x8a\xe2\x47\xb5\xb5\x62\xea\xea\xed\x7c\xf2\xe6" \
    "\xdd\xf9\xf6\xbd\x3b\xeb\x01\x78\xef\x9d\x26\x70" \
    "\xd3\x08\x51\x3a\xa8\xd5\xc2\xb5\x2e\x29\x3e\x3e" \
    "\x18\x2f\x2d\xa6\xe1\xe6\xdd\x79\xf2\xf9\x42\x72" \
    "\x4f\xcf\x96\x29\x9f\x4f\x3c\x12\x5a\x6b\xa6\xa7" \
    "\xa7\xdb\x1f\x2f\xb8\x9f\x5c\xbd\x99\xff\xfa\xf4" \
    "\x50\x9b\x59\x5f\x6b\x95\x1e\x1e\x9f\xa8\x94\x3e" \
    "\x59\x82\x6b\x0d\xae\xa7\x71\x5d\x8d\xe3\x7a\xb8" \
    "\xae\x26\x9b\x5b\xe2\xe2\x9f\xf7\x0b\x43\x6f\xd5" \
    "\x9e\x8d\x45\xcc\x1f\x62\xb1\x58\x52\x02\x74\x76" \
    "\x76\x26\xbb\xb6\xdb\x13\xed\xb1\xd0\xe8\xe5\x89" \
    "\x59\x72\xcf\x0b\x95\x2b\x55\x52\x0c\x52\x0a\x7c" \
    "\x52\x22\xe5\x4a\x9b\x40\x30\xff\x2c\xcf\xe5\x89" \
    "\x19\xde\x88\x57\x8f\xee\xe9\x8c\x4e\xc4\x62\xb1" \
    "\x24\xac\x7a\x36\x1d\xc7\xb1\x5c\x38\xf3\xeb\x58" \
    "\x6a\x78\x3a\xf9\x7c\xf8\xe0\x1e\xdb\xec\xed\x69" \
    "\xc0\x6f\xc8\x55\xea\x05\x8e\x5b\x52\x5b\x28\x7a" \
    "\x4c\xde\xca\x72\x7d\x6a\xae\xb0\xab\x43\x8d\x7e" \
    "\x30\xd4\xfa\x87\x0f\x2e\x00\xf9\x35\xe0\xb2\x59" \
    "\xc0\xd1\xbf\x53\xcf\xfb\x2e\x8d\xa7\x47\xa4\x10" \
    "\xed\xad\xcd\x55\x34\xdb\x21\xb6\x46\x43\x48\x01" \
    "\x33\xd9\xd7\xcc\x66\x17\x79\x30\xfb\x12\xd7\xd3" \
    "\xc9\x93\x03\x2d\x17\xb6\xc7\x6b\x26\x80\xab\xcb" \
    "\xd0\x8d\xc0\xcb\xd6\xee\xba\x0c\x4e\xde\x9a\x4b" \
    "\xa4\x33\xaf\x5a\x9e\xcc\xe7\xe3\x4f\x5f\x16\x5a" \
    "\x00\xc2\x5b\xcc\x74\x43\xbd\x95\x6a\x89\x56\xa5" \
    "\x0f\xf5\xd8\x53\x3e\x1f\x63\x40\x72\xdd\x8d\xdc" \
    "\x2c\x65\x01\x13\x68\x62\xe5\x33\x8d\x96\xdb\x33" \
    "\xac\x7c\xa6\x8f\x80\x0d\x3f\xd3\x7f\x01\x98\x3d" \
    "\xd3\x64\x4d\xbf\x01\x91\x00\x00\x00\x00\x49\x45" \
    "\x4e\x44\xae\x42\x60\x82"
image3_data = \
    "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
    "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \
    "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x05" \
    "\x10\x49\x44\x41\x54\x38\x8d\x8d\x95\x7f\x68\xd4" \
    "\x75\x1c\xc6\x5f\xdf\x1f\xf7\xbd\xdb\x76\x77\xbb" \
    "\x3b\x37\x5d\xa7\x6e\xf3\xc7\x1c\xae\x69\x13\x36" \
    "\x0a\xf3\x0f\xa9\x30\x4a\x72\x62\x68\x26\x6a\x20" \
    "\x56\x52\x34\x28\x12\x0a\x0d\x8b\x0a\x82\x8a\x60" \
    "\x15\xf4\x83\x0a\x73\x59\x2a\x9a\xa6\x64\x56\xb6" \
    "\xca\x69\xd1\x96\x95\xb6\xd4\x4d\x9d\xdb\xdc\xee" \
    "\xb6\xdb\xdc\xee\x6e\xcc\xbb\xfb\x7e\x3e\xdf\x4f" \
    "\x7f\x9c\x5b\x4a\x23\x7a\xe0\x81\xcf\x3f\xcf\xc3" \
    "\xfb\x0d\x9f\xe7\x79\x6b\x4a\x29\x26\xc2\xfe\x83" \
    "\x87\xfd\xc0\x42\xa0\x06\xa8\xbe\x46\x80\x96\x6b" \
    "\x6c\x06\x4e\x2c\xbf\xef\x9e\xc4\x44\x7a\x6d\x22" \
    "\xe3\x3d\xfb\x0e\xd6\x02\xef\x78\x3c\xee\xa2\x7c" \
    "\xbf\x0f\xbf\xcf\x87\xdf\xef\x03\x20\x91\x48\x92" \
    "\x48\x26\x89\x27\x92\xa4\x52\xe9\x28\xb0\x69\xe5" \
    "\x8a\xfb\x0e\xfc\xa7\xf1\xa7\xbb\xf7\x07\x81\x7a" \
    "\xd3\x34\xd6\xce\x2d\x2f\x63\x6a\xb8\x08\xc3\x30" \
    "\x30\x50\x18\xba\x0e\x80\x74\x1c\x24\x1a\x52\x4a" \
    "\x7a\x7a\xa3\x9c\x39\xd7\x8e\x10\xb2\x01\xa8\x7b" \
    "\x70\xd5\xf2\xa1\x7f\x19\xef\xd8\xb9\x37\x08\xfc" \
    "\x5e\x58\x10\x2a\x9e\x3f\xaf\x02\x6f\xae\x87\x1c" \
    "\x97\x85\xce\x8d\x1b\x1d\x6e\x1a\xe5\xe4\xd9\x34" \
    "\xcf\x6e\x0c\x71\xd5\xce\x30\x32\x9a\xe2\xd4\xe9" \
    "\xbf\x88\x0d\x5c\xe9\x02\xaa\xd6\xad\xb9\x7f\x08" \
    "\x40\x1f\x13\xd8\x42\xd6\x07\x83\x81\xe2\x9a\xea" \
    "\x2a\x02\xde\x3c\x72\x2d\x0b\x4d\x03\xa5\x69\x38" \
    "\x68\x74\xc7\xe0\xf3\xc6\xab\xec\x3a\x92\x64\x7b" \
    "\xc3\x31\x3e\xd8\x17\x27\xd7\xb2\x08\x78\xf3\xa8" \
    "\xa9\xae\x22\x18\x0c\x14\xdb\x42\xd6\xdf\x30\xf1" \
    "\x7b\x1f\x7e\x5a\x6b\x9a\xe6\xfe\x25\x77\x2e\x22" \
    "\xe0\xf3\x62\xb9\x4c\x00\xd2\x19\xc5\xeb\x1f\x0d" \
    "\xd0\x7c\x32\x4a\x77\x77\x3f\x91\x9e\x08\xa9\xd1" \
    "\x24\x00\xb3\xca\xe7\xb0\xe5\xa9\x1a\x6a\xef\xf0" \
    "\x93\xb1\x05\xc3\xc9\x11\xbe\x3e\xda\x84\x10\x62" \
    "\xf9\x23\x1b\x1e\x3c\x60\x4c\x0e\xcf\xf6\x3b\x8e" \
    "\x3a\xb2\xe0\x96\x9b\xbd\x45\x85\x05\x78\x5c\x2e" \
    "\x50\x30\x1c\x97\x3c\xb6\xed\x12\x7b\xf6\xfc\x48" \
    "\x67\x47\x37\x89\x78\x1c\xe5\x38\x18\x86\x89\x61" \
    "\x98\xc4\x87\xe3\x9c\xef\x52\x94\xcd\x0c\x52\x1a" \
    "\x76\xa3\x69\x3a\x2e\x97\x8b\xcb\x3d\xd1\xc5\xcd" \
    "\xbf\x9e\x7a\x5f\x17\x42\x2e\x74\x5b\x56\x51\x69" \
    "\xc9\x34\x3c\x6e\x0b\xa5\x14\x99\x8c\xc3\xd3\xaf" \
    "\x5c\xe2\xfb\xc6\x16\x14\x60\x5a\xee\x09\x79\xbe" \
    "\xbd\x83\x97\xde\xbc\x40\x24\x66\xe3\x71\x5b\x94" \
    "\x96\x4c\xc3\x6d\x59\x45\x42\xc8\x85\xa6\x2d\x44" \
    "\x4d\x7e\xbe\x0f\x4d\xd3\x50\x4a\xa1\x80\xed\xfb" \
    "\x63\xfc\xd8\x74\x96\x82\xc9\x05\x54\x56\x14\x91" \
    "\x97\x6b\xe0\x76\x9b\x74\x45\x24\xbf\xb5\xb4\x02" \
    "\xe0\xf3\xfb\xa8\xac\x08\x73\xf7\xe2\x42\x42\x41" \
    "\x03\xa5\x14\x9a\xa6\x91\x9f\xef\x63\x38\x91\xac" \
    "\x31\x85\x90\xd5\x81\x40\x3e\x3a\xa0\x1c\x07\xa5" \
    "\xe0\x9b\x63\xfd\x94\xcf\x99\xca\xe3\x0f\x4d\xe7" \
    "\xae\x85\x81\xf1\x1f\xb1\x69\x6b\x1b\x85\x53\x0a" \
    "\x99\x5b\x36\x89\x95\x4b\x0b\x59\xb2\x28\xc8\x95" \
    "\x61\x41\x6b\xdb\x08\xf3\xcb\xf3\xd0\x81\x40\x20" \
    "\x9f\x0b\x1d\xdd\xd5\xa6\x10\xb2\x3a\x14\x0c\xa0" \
    "\x69\x3a\x0e\x70\xee\xe2\x28\x7d\xb1\x0c\x6f\xbd" \
    "\x38\x87\x39\xa5\x39\xd8\x8e\x83\xe3\x28\x94\x52" \
    "\x14\x4e\x32\x78\xe3\xf9\x0a\xaa\x2a\x7c\x68\xd7" \
    "\xb6\x7b\xbb\xe1\x32\x0b\x2a\xbd\x54\x96\xe7\xa1" \
    "\x69\x3a\xa1\x60\x00\x21\x64\xb5\x29\x84\x44\x29" \
    "\x07\x85\x83\x52\x3a\xe7\x2e\xc6\x59\x54\xed\xa5" \
    "\x38\x6c\x30\x9a\xce\xa0\x6b\x1a\xa7\xce\x8e\x70" \
    "\xe8\xe8\x00\x5b\x9f\x98\x89\x42\x91\xd5\x28\xce" \
    "\xb6\xc5\x39\xda\xd4\x4f\xed\x92\x00\x42\x4a\x1c" \
    "\xa5\x50\xca\x41\x08\x89\x69\x0b\xd9\x12\xed\x1b" \
    "\x5c\x16\xbe\x69\x0a\x69\x04\x05\x21\x93\x0d\xab" \
    "\x27\x23\xa4\xe2\xbb\xa6\x01\xf6\x7e\x15\xa3\xb3" \
    "\x47\x52\x56\xea\x02\x0d\x34\x34\x14\x70\xf4\xf8" \
    "\x20\xef\x7f\xd2\xc3\xe4\x90\x49\xe9\x34\x0f\xa9" \
    "\xb4\x0d\x40\xb4\x6f\x10\x5b\xc8\x16\x53\x08\xd9" \
    "\x12\xe9\x8b\x2d\x1b\x4b\xe0\xdc\xd9\xb9\xec\xfa" \
    "\x22\x42\xe3\x89\x21\x22\x83\x2e\xd0\x73\x40\xcf" \
    "\x0a\x36\xbf\x78\x86\xb4\x2d\xb9\x7a\x55\xd1\xdd" \
    "\xa7\x93\xb1\x5d\x3c\xb0\x34\x07\x50\x8c\x35\x43" \
    "\xa4\x2f\x86\xb8\x66\xdc\xdc\xdb\xdb\xcf\x98\x71" \
    "\xff\x40\x8a\xbd\x5f\xf6\x21\x5d\x61\x4c\xcf\x3f" \
    "\x51\x1e\x55\x61\xfe\xbc\x74\x5d\xb6\x0d\x87\x92" \
    "\x50\x8c\x75\x2b\x66\x03\x8c\xeb\x7b\x7b\xfb\x11" \
    "\x42\x36\xeb\xb6\x10\x27\x06\x87\xe2\xd1\xd3\xad" \
    "\xed\x28\xa0\x68\x4a\x0e\x4f\x6e\x9c\x8e\xa5\x86" \
    "\x30\x5d\x9e\x09\x09\x10\xf2\x44\x78\xf5\xb9\x4a" \
    "\x2c\xcb\x40\x01\x0a\x38\xdd\xda\xce\xe0\x50\x3c" \
    "\x6a\x0b\x71\xc2\xf8\xf9\xf8\xb7\xe9\x43\x87\x7f" \
    "\x38\xdf\xd9\xd5\xb3\xba\xb2\x62\x36\x96\xe5\xa2" \
    "\x74\xba\x17\x93\x14\xad\xe7\x46\x30\x3d\x41\x0c" \
    "\xc3\x44\x64\x52\x68\x72\x18\xb7\x16\xa3\xaa\xcc" \
    "\xe6\xf5\x17\x16\xe0\xf3\x9a\xe3\xd3\x26\x92\x23" \
    "\xec\xd9\x77\x04\xdb\x16\x6b\xdf\x7c\x6d\xcb\xa9" \
    "\xf1\x76\x7b\xb4\xee\x85\x1d\x33\x67\x4c\x5b\xbb" \
    "\x66\xe5\x52\x0c\x43\xc7\x30\x0c\xde\xfa\xe0\x0c" \
    "\x8d\x27\xbd\x98\x99\x0e\x56\x2d\x2b\xe5\xf6\x5b" \
    "\xa7\x30\xb3\x24\x80\xa3\x1c\xa4\x94\x48\xe9\xe0" \
    "\x38\xd9\xf7\x8e\xcf\x0e\x72\xb1\xe3\x72\xc3\xbb" \
    "\xf5\xdb\xd6\xdd\xd0\x6e\x42\xc8\xba\xb6\xf6\xce" \
    "\xae\x1d\x9f\x1d\x24\x9e\x18\x41\x29\x45\xdd\xc3" \
    "\x37\x53\x31\xb5\x8f\x75\x2b\x67\xb0\x7e\x75\x39" \
    "\x65\xb3\x42\x68\xe3\x8a\x2c\xe2\x89\x24\xdb\x77" \
    "\x7e\x41\x5b\x7b\x67\x97\x10\xb2\xee\x86\x76\x1b" \
    "\xc3\xfa\x47\xb6\x04\x81\x7a\xb7\xdb\x5a\xbb\xec" \
    "\xde\xc5\xdc\x56\x33\x2f\x5b\xf4\x86\x91\xdd\x42" \
    "\xd7\xb3\x45\x2f\xb3\x53\xfe\xf4\xcb\x1f\x1c\x38" \
    "\xd4\x48\x2a\x9d\x69\x00\xea\x3e\x7e\xef\xe5\x7f" \
    "\x17\xfd\xf5\x58\xb3\xe1\x99\x5a\xe0\x9d\x50\xd0" \
    "\x5f\x54\x52\x1c\xa6\x64\x7a\x98\x19\x25\x61\x34" \
    "\x5d\xe3\x52\x67\x6f\x96\x5d\x3d\x5c\x19\x4a\x44" \
    "\x81\x4d\x3b\x3f\x7c\xe5\xbf\x4f\xd3\xf5\x58\xb5" \
    "\x7e\xf3\xff\x3a\xa6\xbb\x3f\x7e\x75\xc2\x63\xfa" \
    "\x37\xe4\x7f\x7b\x62\x42\xc3\x0a\xb0\x00\x00\x00" \
    "\x00\x49\x45\x4e\x44\xae\x42\x60\x82"
image4_data = \
    "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
    "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \
    "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x04" \
    "\x6c\x49\x44\x41\x54\x38\x8d\xa5\xd4\x7f\x4c\x94" \
    "\x75\x1c\x07\xf0\xf7\xf7\xb9\xe7\xb8\x03\xa9\xe3" \
    "\x8e\x53\xf0\xb8\x40\x44\x94\x38\xcc\xdb\x8c\x80" \
    "\x99\x20\x9a\xe6\xec\x97\x43\x4b\x2b\xb3\xb5\x4a" \
    "\x99\x6d\xf5\x47\x5b\xfd\x51\x59\x1b\xf5\x87\xd5" \
    "\xd6\x6a\xcb\x45\x9a\xd9\x62\xd9\x6a\x93\x51\xd3" \
    "\x46\x46\x13\x34\x43\x9b\xa8\x88\x06\x71\x30\xf5" \
    "\x0e\x78\x8e\xe3\x9e\xbb\x7b\x78\x7e\xff\xec\x8f" \
    "\xb2\x01\x9d\x98\xeb\xfd\xef\xf7\xfb\x7d\xed\xbd" \
    "\xcf\x3e\xfb\x12\xcb\xb2\x10\x58\xd3\x45\x11\x42" \
    "\xde\xf5\xe4\xd0\x4f\xdb\x69\xca\xa5\xa8\x18\x15" \
    "\x65\x7d\xaf\x6e\x50\xef\xf5\xb6\xd7\x58\x98\x92" \
    "\xfb\x77\xa6\x02\x00\x9e\x07\xb0\x12\x00\x31\x74" \
    "\x8d\x55\x24\xfe\x73\x45\xe2\xbf\x3a\xd3\x5a\xf1" \
    "\xcf\x5d\x0a\x00\x2e\x75\xd4\x9a\x86\xae\x1d\x66" \
    "\x13\x72\x48\x14\x54\xbb\xc7\x45\x8a\xdc\xb7\xdb" \
    "\xf6\x18\xba\x56\x8f\x7f\x47\x01\xf0\x3a\x80\x4a" \
    "\xc3\xd0\x1b\x15\x59\x58\xaa\xc8\x42\x8b\xae\xf2" \
    "\x3f\x95\xad\xea\xb0\x4f\x83\x01\xe0\xf7\xe3\xab" \
    "\x4f\xf5\x75\xd4\xd7\xf0\x82\xfc\x99\x2c\x6b\x50" \
    "\x55\x0d\x86\xae\xad\x9b\xa9\xb6\x37\xbb\x42\xed" \
    "\xcd\x2e\xbe\xbd\xd9\x65\xaa\x92\x30\xa1\x4a\x42" \
    "\x66\x26\xad\xa0\x28\x8f\xac\xd6\x65\xe9\xa3\xeb" \
    "\xf7\x48\x71\x55\x5b\x1b\x01\x69\x19\xea\x7e\xe8" \
    "\xdb\x45\x35\x47\x9c\x6e\x97\x3d\xe4\x70\xd0\x05" \
    "\x93\x82\x0e\x51\x36\x2f\x0c\x9e\x5c\x1f\x4c\xd3" \
    "\x1a\xb5\xdb\xc2\x6e\x45\xe2\x7f\x75\x65\x29\x4b" \
    "\x2c\x4d\xba\x9c\x48\x70\x60\x18\xb6\x5c\x95\xf9" \
    "\x63\x1e\x17\xbe\xa0\x0c\x5d\xcb\x30\x74\xed\x9b" \
    "\x05\x95\xad\x1f\xdb\x6d\x46\x0f\x45\x99\x05\xbc" \
    "\x20\x43\x10\x14\x98\xba\xb6\xac\xa4\xfa\xfb\xf2" \
    "\x99\x68\xdd\x53\x91\x0c\x43\x15\x5a\xbd\x39\xfa" \
    "\x22\x8e\xe5\x9e\x39\xf6\x75\x4d\x80\x89\x26\x82" \
    "\xaa\x22\x9e\xde\xbe\x65\xd1\x5a\x4d\x15\xb7\x51" \
    "\x86\xae\xbd\x63\x18\x9a\xe2\xb0\x5b\xbb\x9c\x0e" \
    "\xdc\xc9\x71\x12\x12\x09\x11\x9a\xaa\xc2\xd0\x35" \
    "\x18\x86\xb6\x7d\x26\x6c\xa8\xe2\xfe\xf9\xb9\x46" \
    "\x1d\x97\x98\x7c\xb1\xfb\x48\xed\x41\x00\x88\x9c" \
    "\xdf\xaa\x51\xa6\xfc\xd2\xe1\xd6\xde\x43\x12\x9d" \
    "\xb9\x89\x58\x96\x05\xdf\xd2\x96\x4d\x73\xb2\xec" \
    "\xfb\x00\xe2\x96\x55\x03\x96\x09\x80\x10\x10\x10" \
    "\x80\x20\x42\x40\x4a\xae\x9d\x7b\x4c\x05\x80\xba" \
    "\xc7\x07\xde\xf4\xcf\x33\xdf\x62\xc6\xb9\xa6\x8e" \
    "\x43\x55\xbb\xd3\x8d\x09\x00\x88\x65\xfd\xb5\x21" \
    "\xf9\xe5\x07\x69\x80\xd4\x83\x60\x03\x01\x59\x0b" \
    "\x42\x02\x84\x10\x14\x15\xcc\xc1\xd8\xb8\x7c\x54" \
    "\xd3\xad\x86\x92\x8a\xca\xcd\xc5\x3e\xab\x65\x3c" \
    "\x9a\xda\xf7\xc3\x97\x95\x3b\x6e\x84\x4e\x83\x67" \
    "\x66\x5e\xd9\x81\x47\x6c\x14\xf9\xe0\x81\xfb\x0a" \
    "\x8b\xa3\x13\x32\x2e\x0e\x70\x61\xd3\xb2\x17\x2c" \
    "\x2c\xf1\xb5\x8e\x8c\x71\x8f\x0e\x9e\x5c\x9f\xfe" \
    "\xe1\xcd\x60\x00\xf0\x96\x7e\x9a\xe7\xf1\x38\x3b" \
    "\x57\xd7\xf8\x96\x44\xa2\x22\xce\x5d\x8c\x19\x9a" \
    "\x06\xdf\xf8\xc0\xb3\xe3\xb3\xa1\xc0\x94\x3d\x4e" \
    "\x97\x89\xc1\x1d\x51\x5b\x96\x9f\xed\xf8\x25\x02" \
    "\x7f\x9e\x13\xc1\x80\xc7\x66\xa7\xad\xc3\xde\xd2" \
    "\xe6\xec\x9b\xc1\x37\x6c\xbc\x62\x4b\x88\xe6\xd8" \
    "\xe8\xb9\x64\x2c\x5c\xc1\xa7\xe2\xc8\xf3\x3a\x98" \
    "\xfa\x15\xfe\xfc\xab\x23\x02\xce\xf7\xc5\x4e\x4b" \
    "\x8a\xb1\x2e\x31\xfc\x02\x77\x4b\x8d\x57\x6c\x1d" \
    "\xce\x9e\x4c\xc6\x86\x38\x76\xac\x42\x12\x52\xb0" \
    "\xd9\x6c\xdf\x8d\x8c\xa6\x02\x27\xcf\x8c\xf4\x15" \
    "\xf9\x32\x71\x57\xb9\xbb\x2a\x83\xb6\x7e\x76\x15" \
    "\x7e\xe8\xfe\xcf\x8d\x57\x3e\x71\x25\x9b\x63\x99" \
    "\x2b\x5c\x7c\x2c\x57\xe0\x58\xe8\x9a\x12\x66\x87" \
    "\x77\x15\x02\x40\x56\xfe\x9e\xdc\xc5\x25\xee\x53" \
    "\xd5\xcb\x7d\x8b\xaf\x5c\x4b\xa1\xa7\x6f\xe2\x82" \
    "\x28\xe9\x6b\xf8\x91\x97\xe3\x37\x6d\x2c\xa4\xe2" \
    "\xbf\xf1\xc9\x58\xae\x24\xa4\xa0\x29\xa2\x42\xd9" \
    "\x6c\x77\x5f\x3f\x13\x99\x57\xe3\xfd\x7f\xc4\xea" \
    "\xce\xf4\x44\xae\x16\xf9\xb3\x11\x0c\x78\x96\x39" \
    "\xed\xe8\xcc\xca\xdf\x33\x77\x56\xb8\x72\x63\x6f" \
    "\xcb\x64\x32\x5a\x26\xf1\x49\xc8\x22\x6f\x52\xb4" \
    "\xfd\xe1\x89\xc1\x9d\xd3\x36\x40\x8e\xbd\xc6\x5c" \
    "\xea\x8f\xad\xec\xb9\xc8\x8c\x2e\xf0\xdf\x86\xe0" \
    "\xd2\xdc\x80\x33\xc3\xea\x72\xce\x7d\x3b\x3f\x2d" \
    "\x5c\xd5\x70\xb9\x91\x8b\x33\x4f\x4a\x7c\x0a\xb2" \
    "\xc4\x9b\x36\x9a\x6e\x88\x87\x1a\x7f\x4c\x37\x3f" \
    "\x65\xe2\x8d\x70\xef\xa5\xf1\xda\xbe\xfe\x58\x6c" \
    "\x61\x61\x0e\x96\x07\xe7\x97\x65\x65\xd2\x5d\x0e" \
    "\x6f\x53\xc1\x34\xb8\x7a\x73\xff\xfb\x1c\xcb\xec" \
    "\x95\x84\x24\x64\x71\xd2\xa4\x28\xdb\xc6\x78\xa8" \
    "\xb1\x2d\x1d\x3a\x05\x1f\x3a\x7b\x81\xa9\x1b\x08" \
    "\xc5\x13\xc5\x77\xb8\xb0\x3c\x38\xbf\x34\x7b\x4e" \
    "\x46\x97\xc3\xdb\xe4\x07\x00\x52\xbd\xb9\xbf\x93" \
    "\x8b\x33\xb5\x02\x17\x87\x30\xc9\x02\xc0\x83\xb1" \
    "\x81\xe7\x8e\xcc\x86\x4e\x8d\xc3\xdb\x14\xbc\xb7" \
    "\xca\x7f\xc2\x93\xe3\xcc\x3e\xd1\x1d\x6e\x4f\xa4" \
    "\x14\x0e\xc0\x16\x4a\x11\xf9\x43\xb2\x98\xb2\x24" \
    "\x21\x09\xcb\x34\x8f\xde\x0a\xfa\x77\xf3\xf3\xdd" \
    "\x67\x47\xd7\x1d\x3f\x15\x8e\x30\x43\xaf\xac\x07" \
    "\xb0\x1b\xc0\x2a\x62\x59\x16\x8a\xef\x69\xdb\xc0" \
    "\xc5\xc7\x0e\x58\x96\xb9\x80\x1d\xde\x25\xdf\x0a" \
    "\x3c\xa5\x79\x1d\x80\x62\x00\xa5\x00\x3e\x99\xf5" \
    "\xaf\xf8\x3f\xf9\x13\x92\x57\x45\x80\xf1\x4c\xa9" \
    "\xff\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60" \
    "\x82"
image5_data = \
    "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
    "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \
    "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x02" \
    "\x57\x49\x44\x41\x54\x38\x8d\xd5\x95\xcf\x8a\x5c" \
    "\x45\x18\xc5\x7f\xe7\xbb\xd5\xb7\x27\x33\x92\xc0" \
    "\x10\x4c\x93\xa0\xa0\xa0\xe2\x2a\x59\xb9\xce\x13" \
    "\x08\x42\x9e\xc1\x55\xde\xc2\x47\xc8\x2e\x6f\x91" \
    "\xac\xe2\xc2\x45\xb2\x55\xc1\x8d\x2e\x44\x57\x06" \
    "\xc1\x3f\x24\x60\x86\xee\xe9\xdb\x55\x75\x5c\xdc" \
    "\x3f\x7d\x67\x26\x8b\x10\x99\x85\x05\x75\xab\x28" \
    "\xbe\x3a\x75\xea\x7c\xe7\xab\x2b\xdb\x5c\x46\x8b" \
    "\x4b\x41\x05\xf4\xc1\x67\x8f\xde\xcb\x79\xfb\xd0" \
    "\xf0\xb1\x82\x43\xc2\x02\xed\x03\x2e\x50\xd0\x6c" \
    "\xd0\xb4\x16\x96\x55\x58\x43\xfc\x9c\xda\x83\x2f" \
    "\x53\xd7\xad\x1f\x9f\xd6\x17\x77\x48\x40\x35\xd4" \
    "\xff\xc8\xb4\xc6\x87\x87\xbe\xf1\x38\x15\xf2\xaa" \
    "\xb9\xf6\xce\x6b\x42\xde\x5e\xfb\xba\x2b\xab\x94" \
    "\x37\xa7\xa8\x8a\x68\xde\x5c\x6e\x69\xfc\x4c\x03" \
    "\x92\x90\xc0\x36\xde\x6e\x49\xcb\x24\x7d\xf2\xfe" \
    "\x09\xb7\x3f\x3d\x22\x2d\x12\x00\x71\x6e\xa3\xd4" \
    "\xcb\xae\x41\x68\x85\x06\x75\x85\x62\x9c\x41\x2d" \
    "\xf0\xc3\x4f\x27\xfc\xf8\x6b\xa3\xd4\xb6\xd6\xbd" \
    "\xcf\x3f\xe2\xde\x17\x77\xc9\xa5\x9e\x65\x35\x30" \
    "\x99\xd6\xe8\x05\x1a\x57\x46\xa7\x4e\xa2\xd9\x7c" \
    "\xfd\xcd\x77\xfc\xf2\xe0\x37\xa5\x83\x36\xb8\x75" \
    "\xf3\x5d\x8e\x8e\x16\x6c\xd6\xbb\x81\x62\xbf\x79" \
    "\x4c\xbc\x38\x63\x14\x30\x58\x7b\xc4\xb1\x16\x6a" \
    "\x29\xdc\x5c\x5d\x67\xd9\x3e\x57\x3a\x58\x4a\xab" \
    "\xd5\x31\xed\xa2\x21\xb7\xf5\x0c\x4b\xcd\xc1\xce" \
    "\xdd\x04\xef\x99\xf6\xb8\x26\xcb\x1c\x1f\x5f\x65" \
    "\xd9\x4a\x69\x91\xd0\xb5\xab\x47\x44\x88\xa6\xe9" \
    "\x79\xce\x2d\xaa\x39\xda\xac\x4a\x47\xb7\xdb\x20" \
    "\x19\xbb\x4f\x5e\xd3\x24\x5c\x0a\x69\xbd\xc9\xde" \
    "\x6e\x2b\x60\x6a\x75\x1f\x3c\xdd\x7c\x46\xef\x7c" \
    "\x1b\x18\x7b\x98\xd8\x50\x4b\x65\xdb\x99\xe7\xbf" \
    "\xff\x53\xd2\xe6\xd4\xee\xb2\xb1\xc1\x15\x1c\x26" \
    "\xac\x3e\x49\x33\x29\x26\x49\x47\x40\x0f\x7b\x86" \
    "\xb1\xda\x74\x5d\xe6\x8f\xbf\x3b\x5e\x9d\x74\x4e" \
    "\x7f\xfe\xb5\xae\x2f\x5e\x16\x00\x72\xa9\xa8\x0a" \
    "\xc7\x60\xb9\xe8\xd1\x47\x39\x26\x89\xec\xfd\x51" \
    "\xde\x1f\x58\x6d\xd2\xe2\x0a\x11\x0d\x29\x22\x88" \
    "\x74\x30\x68\x25\x22\x86\xae\xde\xaf\xa1\xde\xab" \
    "\xd2\x9e\xb5\x2d\x5c\x4d\x9d\x81\x02\x44\x04\x4d" \
    "\x93\x40\x22\xa1\xa0\x38\xd8\xe5\x32\x6d\x16\x63" \
    "\x25\xf5\xa0\xd3\x41\x12\xb6\xa7\x27\x45\xb5\x0f" \
    "\x96\xfb\xdc\xa4\xd4\x10\x91\x7b\x82\x92\x10\xa2" \
    "\xeb\xca\x94\x26\x73\x2e\x5d\x83\x1b\xa6\xb7\x7b" \
    "\xee\x8e\x59\x6f\x9a\x06\x14\x48\x41\xca\xbb\x6d" \
    "\x7e\xfa\xed\x86\x5b\xab\x96\x94\xf6\xcc\xe6\x32" \
    "\xc4\xc5\xfa\xa0\xda\xb8\x8e\xa3\xb1\xcd\x2e\xc3" \
    "\xb3\xef\xb7\x94\xbc\x2b\x5a\x5e\xff\xea\xf6\x62" \
    "\x79\xf8\xa4\x5d\x5e\xb9\x68\xa9\xb7\x68\x79\xd7" \
    "\xe5\x92\x77\xf7\xf5\xbf\xfb\x35\x5d\x1a\xf0\xbf" \
    "\x86\xeb\x17\x23\xb1\x6c\x9a\xb3\x00\x00\x00\x00" \
    "\x49\x45\x4e\x44\xae\x42\x60\x82"
image6_data = \
    "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
    "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \
    "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x04" \
    "\x38\x49\x44\x41\x54\x38\x8d\x8d\x95\x6f\x68\x95" \
    "\x55\x1c\xc7\x3f\xe7\x3c\xff\xee\xfe\xdc\x7b\xb7" \
    "\xe9\xe4\xb2\xe9\x66\x64\x54\x8a\x6b\xc1\xbd\x14" \
    "\x06\xe5\xdb\x02\x53\xfa\x23\x24\x53\xc4\x28\xf6" \
    "\x22\x06\x15\x51\x92\xd0\x9b\x82\x30\x12\x1c\x18" \
    "\x62\x20\xa5\x43\x43\x2b\x9c\x86\x91\x20\xd9\x0b" \
    "\x27\xb5\x15\xe6\xb0\xd2\x21\xe9\x74\xdb\x9d\x6b" \
    "\x5b\xbb\x77\x7f\xee\xee\x73\xce\x73\x7a\xf1\xdc" \
    "\x5d\x77\xd9\x45\x3a\xf0\x7d\xf1\xf0\xfb\x7d\xbf" \
    "\xbf\xef\x39\xbf\xdf\x73\x8e\x30\xc6\x50\x6e\x9d" \
    "\x3a\xf3\x7d\x0c\xd8\x00\xa4\x80\x64\x01\x00\x7d" \
    "\x05\xf4\x02\x3d\x5b\x36\x3d\x9b\x29\xc7\x17\xe5" \
    "\x84\x4f\x7e\x7b\x66\x33\x70\x30\x12\xf1\x12\xf1" \
    "\x58\x94\x58\x34\x4a\x2c\x16\x05\x20\x93\xc9\x92" \
    "\xc9\x66\x99\xca\x64\xc9\xe5\xe6\xd3\x40\xfb\xcb" \
    "\x2f\x6c\xea\xbe\xaf\xf0\xf1\x13\xa7\x6a\x81\x4e" \
    "\xdb\xb6\xda\x1e\x7d\xf8\x21\x1a\x1b\x12\x58\x96" \
    "\x85\x85\xc1\x92\x12\x00\x1d\x04\x68\x04\x5a\x6b" \
    "\x86\x86\xd3\xfc\x79\x6d\x00\xa5\x74\x17\xd0\xf1" \
    "\xca\xd6\x2d\x93\x4b\x84\x8f\x1e\xfb\xa6\x16\xb8" \
    "\x5c\xbf\xbc\xae\xa9\x65\xfd\x5a\xaa\x2b\x23\x54" \
    "\x38\x2e\x12\xc3\xc8\x98\xe6\x83\xce\x1b\xf8\x7e" \
    "\xc0\xce\x97\x56\xf1\x4c\xb2\x8a\x00\xc1\x9c\x9f" \
    "\x67\x7a\x36\xc7\x95\xfe\x3f\x18\xfb\x67\x62\x10" \
    "\x68\xdd\xbe\xed\xc5\x49\x00\x7b\xa1\x82\xaf\x74" \
    "\xe7\x8a\xfa\x65\x4d\xa9\x64\x2b\x15\x8e\x83\x6b" \
    "\x5b\x00\x18\x04\x9f\x7e\x71\x87\xaf\x4f\xfe\x04" \
    "\x40\xde\x7f\x8a\xa7\x53\xeb\x10\x40\xa5\xeb\x62" \
    "\x4b\x8b\x54\xb2\x95\x4b\x3f\xff\xd6\x74\x77\x6c" \
    "\xbc\x13\xd8\x0e\x20\x01\x0e\x1d\x3e\xbe\x19\x44" \
    "\x5b\x6b\xcb\x5a\x3c\xdb\xc6\xb6\x2d\x02\x28\x22" \
    "\x56\x65\xe1\x78\x15\x58\x8e\x4b\x65\x85\x53\x12" \
    "\xb3\x6d\x0b\xcf\xb6\x69\x6d\x59\x0b\x88\xb6\x50" \
    "\x0b\xac\x15\x0d\x6b\x62\x41\x60\x7e\x78\xfc\xb1" \
    "\x75\xd5\x89\xfa\xe5\x44\x1c\x07\x0c\x25\x48\xb6" \
    "\x54\xe3\x54\x2d\xe3\x89\xd4\x6a\xde\xd8\xb1\x8a" \
    "\x68\xa5\x2c\x89\x5b\x52\x22\x84\xc4\x71\x1c\xee" \
    "\x0c\xa5\x37\xf6\xfe\x7a\xe5\x73\x5b\x29\xbd\xa1" \
    "\xaa\xb2\x22\xb1\xba\x79\x25\x11\xcf\xa5\xdc\x94" \
    "\x44\x5c\xc1\x9b\x3b\x1b\x8b\xdf\x65\x73\x3c\x97" \
    "\xd5\xcd\x2b\xb9\xd2\xff\x57\x62\x66\x76\x6e\x83" \
    "\xed\x2b\x95\x8a\xc7\xa3\x08\x21\x30\xc6\x50\x6e" \
    "\xaa\xe7\xf3\x01\x37\x87\xf2\x5c\xbe\x9a\xe5\xce" \
    "\xc8\x3c\x6f\xbf\xb6\x72\x69\x92\x31\x08\x21\x88" \
    "\xc7\xa3\xfc\x9b\xc9\xa6\x6c\xa5\x74\xb2\xa6\x26" \
    "\x8e\x04\x4c\x10\x94\xe4\x4e\x4c\x29\x76\xbd\x7b" \
    "\x8d\xb9\xd9\x1c\x13\x93\x73\xe4\x72\x3e\x8d\x0d" \
    "\x31\xde\x7a\xb5\xa1\x4c\xf9\xb0\x61\x35\x35\x71" \
    "\x6e\xfc\x7d\x3b\x29\x95\xd2\xc9\xba\xda\x1a\x84" \
    "\x90\x25\x4d\x09\x80\x78\xd4\xe2\xb3\x0f\x1f\xe4" \
    "\x91\x35\xd5\xf8\x0a\x2c\xdb\x01\x01\x79\x1d\xe0" \
    "\x2b\x4d\x60\x4a\xf3\x85\x90\xd4\xd5\xd6\xa0\x94" \
    "\x4e\xda\x4a\x69\x8c\x09\x30\x04\x18\x23\x09\x02" \
    "\x8d\x0e\x0c\x5a\x87\xc4\x78\xb5\xa4\xbe\xce\xc2" \
    "\x76\xdc\xd0\x95\x80\x90\x63\x08\x7c\x85\x94\x02" \
    "\x4b\x0a\xa4\x94\x04\xc6\x60\x4c\x80\x52\x1a\xe9" \
    "\x2b\xdd\x97\x1e\x1d\x67\x3e\xaf\x98\x99\xcb\x31" \
    "\x37\xef\x93\xf7\x15\x3a\x30\x08\x01\x08\x81\xc0" \
    "\x60\x39\x1e\x96\xe3\x21\x84\x80\x02\x84\x00\xad" \
    "\x03\xf2\xbe\x26\x57\xe0\xa5\x47\xc7\xf1\x95\xee" \
    "\x93\x4a\xe9\xbe\x91\xd1\xb1\xb0\x71\x8b\x10\x72" \
    "\x45\x41\x08\x6c\xc7\xc5\x76\x5c\x84\x10\x48\x29" \
    "\x8a\x31\x21\x28\xe1\x8d\x8c\x8e\xa1\x94\xee\xb3" \
    "\x95\xd2\xbd\xc3\xc3\x77\x4b\x46\x48\x84\x56\x81" \
    "\x90\x28\xa5\xc1\xb6\xbd\x42\x2c\x5f\x10\x34\x18" \
    "\xb3\x90\x67\x8a\xfc\xe1\xe1\xbb\x28\xa5\x7b\xa5" \
    "\xaf\x54\xcf\xf8\xe4\x54\xba\xff\xea\x40\x71\xe6" \
    "\xef\x15\x08\x8b\x48\x4c\xd1\x31\xc2\xdc\xdb\xc9" \
    "\xc2\xa4\x15\xd0\x7f\x75\x80\xf1\xc9\xa9\xb4\xaf" \
    "\x54\x8f\xdc\xbf\x77\x77\x46\x29\xdd\x7e\xee\xfc" \
    "\x45\xb2\xd9\xe9\x62\xe5\x05\x62\x78\x14\x01\x96" \
    "\xe3\x62\x39\xee\x92\x63\x10\x42\x20\x80\x6c\x76" \
    "\x9a\x73\xe7\x2f\xa2\x94\x6e\xdf\xbf\x77\x77\x46" \
    "\x02\x1c\xd8\xb7\xa7\x7b\x66\x36\xd7\x75\xfa\xec" \
    "\x85\x12\xcb\x45\x71\x63\xb0\x1d\x0f\xdb\xf1\x90" \
    "\x25\x6e\xef\xb9\x3e\x7d\xf6\x02\x33\xb3\xb9\xae" \
    "\x03\xfb\xf6\x74\x2f\xcc\x34\x00\x4a\xe9\x8e\xeb" \
    "\x03\xb7\x06\x8f\x7e\x75\x86\xa9\xcc\x74\xa1\x19" \
    "\x61\xac\x31\x11\x61\x79\x64\x90\x3a\xef\x36\xae" \
    "\xcc\x96\xfc\x14\x53\x99\x2c\x5f\x1e\x3b\xcd\xf5" \
    "\x81\x5b\x83\x4a\xe9\x8e\xa2\xa9\xc5\x4d\xdb\xf1" \
    "\xfa\xfb\xb5\x40\xa7\xe7\xb9\x6d\xcf\x3f\xb7\x91" \
    "\x27\x53\xeb\xc3\x8b\xde\xb2\xb0\x2c\x89\x25\x65" \
    "\x78\xd1\xeb\x00\xad\x35\x97\x7e\xf9\x9d\xee\xef" \
    "\x7e\x24\x37\x9f\xef\x02\x3a\x8e\x1c\xfa\x68\xe9" \
    "\x45\xbf\x78\x6d\xdb\xf5\xde\x66\xe0\x60\x5d\x6d" \
    "\x2c\xd1\xdc\xd4\x40\xf3\xaa\x06\x1e\x68\x6e\x40" \
    "\x48\xc1\xcd\x5b\xc3\x21\x06\x87\x98\x98\xcc\xa4" \
    "\x81\xf6\x63\x87\x3f\xbe\xff\xd3\xb4\x78\x6d\xdd" \
    "\xf1\xce\xff\x7a\x4c\x4f\x1c\xf9\xa4\xec\x63\xfa" \
    "\x1f\x49\xd2\x15\x95\x97\x6a\xfc\x61\x00\x00\x00" \
    "\x00\x49\x45\x4e\x44\xae\x42\x60\x82"
image7_data = \
    "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
    "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \
    "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x00" \
    "\x74\x49\x44\x41\x54\x38\x8d\xed\xd5\xc1\x09\xc0" \
    "\x20\x0c\x05\xd0\x6f\xe9\x36\x81\x2c\x10\xb2\xff" \
    "\xdd\x85\xd2\x53\x85\xb6\xa9\x91\x48\x0f\x05\x3f" \
    "\x08\x1a\xf0\x29\x12\x10\xf8\x28\xc5\xa9\xd9\xc4" \
    "\xde\x96\xcd\x2b\x9a\xd9\xeb\x00\x00\x66\x0e\x2f" \
    "\xe0\xc2\x51\x98\x39\xc4\xf7\x0c\x4c\x44\x6d\x5e" \
    "\x6b\x35\x38\xcf\x92\x82\x45\xe4\xb2\xf6\xf0\x14" \
    "\xac\xaa\x8f\xda\x1d\x4f\xc1\xa5\x74\x1b\x22\x07" \
    "\x9f\x9d\x11\x1d\x96\xea\x8a\x91\x2c\x78\xc1\x0b" \
    "\xee\x64\xe6\x07\x19\xf5\x7e\x92\x03\xad\x45\x2a" \
    "\x04\xcc\x4e\x50\x20\x00\x00\x00\x00\x49\x45\x4e" \
    "\x44\xae\x42\x60\x82"
image8_data = \
    "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
    "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \
    "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x00" \
    "\x99\x49\x44\x41\x54\x38\x8d\xed\x94\x41\x0e\x85" \
    "\x20\x0c\x44\x5f\x89\xc7\x36\x7f\x61\xbc\x77\x5d" \
    "\x28\x48\xa4\x28\x60\xff\xce\xd9\x54\x8b\xbe\x8e" \
    "\x13\x04\x3e\x1d\x92\x81\x77\xf4\x81\xa1\x23\xdc" \
    "\x2b\x34\xf6\xf4\x7a\x3d\xe2\xb8\x65\xa8\x84\x3f" \
    "\x40\x01\x98\x2a\x0b\x3d\x5f\x62\xc5\x83\x00\xaa" \
    "\x1a\xd7\x05\x50\x44\x9a\xb9\xd5\x07\xa7\x73\xa8" \
    "\xa4\xba\x4f\x92\xa2\xdf\x33\x3c\x64\xc6\x3b\xeb" \
    "\xbd\x82\xe5\xb8\xad\xde\xcb\xcc\x78\x20\xeb\x42" \
    "\x66\xc6\x39\x74\x5d\xfa\x80\xf3\x6f\xaf\x66\xc6" \
    "\x6f\xa1\x9c\x3f\x88\x2f\xb4\x70\xec\x05\xcd\xc0" \
    "\xbe\xd0\x78\x93\xf6\x8e\x17\x14\x92\x63\x5f\x68" \
    "\x6c\x3e\xef\xf6\xba\x3c\x8f\xdd\x36\x6d\xc4\xc0" \
    "\x45\x2c\x87\x81\xf8\x08\x00\x00\x00\x00\x49\x45" \
    "\x4e\x44\xae\x42\x60\x82"
image9_data = \
    "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
    "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \
    "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x00" \
    "\xa0\x49\x44\x41\x54\x38\x8d\xd5\x95\x4d\x0a\x80" \
    "\x20\x10\x85\x9f\xd1\x46\x68\xe1\x8d\xe6\x62\xd2" \
    "\x22\xbc\x98\x37\x6a\x21\xb4\xac\x45\x19\x92\xc6" \
    "\x64\x69\xe0\xb7\xf1\x87\xf1\xf1\x1c\x47\x05\x2a" \
    "\x21\x8e\x76\x2d\xad\xdb\xfb\x9e\x99\xf6\x56\x8f" \
    "\x80\xb5\x36\x4b\x85\x88\xce\x35\x44\x04\x00\xe8" \
    "\x0a\x39\x8c\xe8\xf9\x90\x34\xd2\x29\x2c\xc3\x7c" \
    "\x8e\xbd\x53\x0f\xeb\x58\x3a\x05\xe9\x54\x34\x1f" \
    "\x8a\x02\x7b\x2a\x7d\x3a\x1f\x09\xbf\x85\x4d\xc5" \
    "\xd5\xd9\x53\xaa\x39\x6e\x4f\x38\xca\xb1\x99\xe2" \
    "\xd2\xe1\x08\xab\xe1\x56\xf8\x2e\x30\x97\x7f\xcb" \
    "\x4d\x8f\xf9\x42\xd7\x5d\xbe\xbe\xd2\xe1\x43\x95" \
    "\x3a\x93\xf6\xca\xad\x3d\x61\x11\xf4\x4b\x7d\x4f" \
    "\x82\x0f\xf9\xc0\x06\x9b\xb5\x1e\xcd\xed\x31\x8c" \
    "\x5c\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60" \
    "\x82"
image10_data = \
    "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
    "\x49\x48\x44\x52\x00\x00\x00\x16\x00\x00\x00\x16" \
    "\x08\x06\x00\x00\x00\xc4\xb4\x6c\x3b\x00\x00\x02" \
    "\x9c\x49\x44\x41\x54\x38\x8d\x8d\x95\xad\x76\xdb" \
    "\x40\x10\x85\x3f\xf7\x18\xcc\x32\x89\xd9\x50\xd0" \
    "\x61\x36\x34\x4c\x98\xc3\x62\x96\x40\x87\x25\x6f" \
    "\x50\x3f\x42\x61\x61\x02\x1b\xe6\xb2\x84\x25\x50" \
    "\x61\x2e\x8b\xe1\x42\x99\x49\x6c\x86\x6d\xc1\x4a" \
    "\xb2\xfc\x77\xda\x21\x92\x66\x57\x77\xee\xdc\x3b" \
    "\x5a\xf5\x38\x13\xaf\xaf\xaf\x41\x44\x48\xd3\x74" \
    "\x2f\x6f\x66\x00\xa8\x2a\x00\x55\x55\x91\x24\x09" \
    "\x57\x57\x57\xbd\xee\xbe\xfe\x39\x60\x11\x61\x32" \
    "\x99\xb4\x40\x87\x6b\x4d\x94\x65\x89\xf7\xfe\x68" \
    "\xcf\x59\x60\x80\xcd\x66\x73\x04\x76\x58\x48\x55" \
    "\x71\xce\xfd\x3f\xf0\x29\x00\x33\x3b\x2a\x70\xaa" \
    "\x23\x80\x6f\xa7\x92\x79\x9e\x07\x33\x6b\x99\x38" \
    "\xe7\x70\xce\xed\xe9\xdd\xe8\x2f\x22\x47\xfa\x9e" \
    "\x65\xac\xaa\x24\x49\x42\x59\x96\x88\x48\x6b\x54" \
    "\x37\x4e\xb5\xff\x4f\xc6\x10\x5b\x3c\x9c\x88\x2e" \
    "\x68\x53\xec\x9c\x14\x27\x19\x37\x6c\x4e\x31\xed" \
    "\xe6\x55\x75\x6f\x42\xba\x71\xa4\x0d\xc0\x6a\xb5" \
    "\x0a\x59\x96\x31\x1c\x0e\xcf\x82\x37\x46\x7e\x7e" \
    "\x7e\x02\x20\x92\x30\x9f\x5f\xb7\x78\x7b\x8c\xdf" \
    "\xdf\xdf\x83\xf7\x9e\xfc\x23\x47\x66\x82\x88\xb4" \
    "\x00\x87\xd7\x86\x69\x59\x94\xe4\x79\xce\xb6\xda" \
    "\xf2\xf0\xf0\x10\x66\xb3\x19\xd7\xd7\xd7\xbd\x5e" \
    "\x17\x74\xb3\xf1\x54\xc5\x16\x35\x80\xd3\x4c\x01" \
    "\x9c\xa4\x08\x02\x0e\x7c\xe1\x59\xaf\xff\xb0\xdd" \
    "\x16\xa8\x1a\x17\x17\x19\x8b\xc5\x22\x4a\xd1\x30" \
    "\xbd\x9c\x5e\xe2\xd2\x14\x55\x03\x53\x8e\x6c\x31" \
    "\x03\x84\x9c\x4f\x3e\x78\x65\x6a\x53\xd2\xaf\x94" \
    "\xe7\x97\x67\xfc\x57\xfc\xfa\xd4\x94\x6c\x74\x11" \
    "\x41\x9f\x9e\x7e\x85\xb2\x28\xc3\xff\xc4\x57\xf8" \
    "\x0a\xa3\x30\x0a\x12\x24\x8c\xc2\x28\xac\xd7\xeb" \
    "\xf0\xe3\xfb\xcf\x30\x1e\x8f\xc3\x60\x90\x85\x24" \
    "\x49\x42\x36\xc8\x42\xbf\xda\x56\xdc\xdd\xdd\x9c" \
    "\x75\xf7\x30\x52\x52\x2e\x99\x92\x23\xcc\x98\x31" \
    "\x1e\x8f\x49\x64\x48\x69\x05\xcf\xbf\x5e\xa8\xaa" \
    "\x8a\x74\x90\xd2\x37\xc0\xfb\x22\xce\xa3\x19\x88" \
    "\x10\x6b\x48\xed\x36\x38\x5c\x54\xdc\x14\xc4\xf1" \
    "\x60\xdf\xb9\xc1\x33\xb4\x21\x7f\xd8\x80\x19\xe9" \
    "\x70\x18\xd7\x6b\x77\xfa\x65\x51\xe0\x45\xa2\x9e" \
    "\x66\xb4\xbe\x39\x88\x2e\xd6\x9d\x38\x03\x15\x20" \
    "\xe6\x04\xf0\xb6\xc5\x88\x67\x88\xdf\x6c\x5a\x4f" \
    "\x1c\xf5\xb8\x35\x09\x6b\x00\xb1\x76\x28\x14\x8b" \
    "\x35\x74\x6f\x67\x3b\x39\xd2\x78\xda\x09\x45\xe9" \
    "\x23\x60\x65\xe7\x05\xad\xc9\x76\x37\x1a\x20\x0a" \
    "\x76\xb8\xe2\x30\x2b\xa9\xfb\x6c\x7a\x63\x32\x99" \
    "\xf2\x0d\xeb\xb0\x6c\xc9\x6a\x7c\xb4\xfa\xba\x07" \
    "\xea\x9a\x6d\x35\x68\x0d\x58\xcb\x39\x18\x0c\x58" \
    "\x2c\xee\x22\x63\xef\x7d\x63\x15\x88\x41\x25\x40" \
    "\x15\x9d\x33\x8b\x30\xd2\xb0\xb2\x1d\x18\x3b\xcd" \
    "\x31\x43\x04\x96\xcb\x25\xf3\xf9\xbc\xd7\xcf\xb2" \
    "\x8c\x8f\xb7\x0f\x7e\xbf\xbd\xa1\x6a\xc4\xf3\x47" \
    "\xd8\x1b\x3e\xe9\x3c\xcb\x0e\xb2\xed\xb3\x9e\xa6" \
    "\xe5\x72\xc9\xe3\xe3\x63\x0f\x3a\x87\xd0\x6a\xb5" \
    "\x0a\xab\xd5\x1b\xdb\xfa\xff\xa5\x68\x6d\xca\xce" \
    "\x99\xdd\x5f\x03\x54\xcb\x78\x5f\x19\x93\xe9\x84" \
    "\xdb\xdb\x5b\xee\xef\xef\x5b\xbc\xbf\xd1\xf6\x9e" \
    "\x0c\x3f\xec\x24\x86\x00\x00\x00\x00\x49\x45\x4e" \
    "\x44\xae\x42\x60\x82"

class MainWindow(KMainWindow):
    def __init__(self,parent = None,name = None,fl = 0):
        KMainWindow.__init__(self,parent,name,fl)
        self.statusBar()

        self.image0 = QPixmap()
        self.image0.loadFromData(image0_data,"PNG")
        self.image1 = QPixmap()
        self.image1.loadFromData(image1_data,"PNG")
        self.image2 = QPixmap()
        self.image2.loadFromData(image2_data,"PNG")
        self.image3 = QPixmap()
        self.image3.loadFromData(image3_data,"PNG")
        self.image4 = QPixmap()
        self.image4.loadFromData(image4_data,"PNG")
        self.image5 = QPixmap()
        self.image5.loadFromData(image5_data,"PNG")
        self.image6 = QPixmap()
        self.image6.loadFromData(image6_data,"PNG")
        self.image7 = QPixmap()
        self.image7.loadFromData(image7_data,"PNG")
        self.image8 = QPixmap()
        self.image8.loadFromData(image8_data,"PNG")
        self.image9 = QPixmap()
        self.image9.loadFromData(image9_data,"PNG")
        self.image10 = QPixmap()
        self.image10.loadFromData(image10_data,"PNG")
        if not name:
            self.setName("MainWindow")


        self.setCentralWidget(QWidget(self,"qt_central_widget"))
        MainWindowLayout = QVBoxLayout(self.centralWidget(),0,0,"MainWindowLayout")

        layout2 = QHBoxLayout(None,0,6,"layout2")
        spacer1 = QSpacerItem(51,31,QSizePolicy.Expanding,QSizePolicy.Minimum)
        layout2.addItem(spacer1)

        self.openButton = QToolButton(self.centralWidget(),"openButton")
        self.openButton.setSizePolicy(QSizePolicy(QSizePolicy.Expanding,QSizePolicy.Fixed,0,0,self.openButton.sizePolicy().hasHeightForWidth()))
  self.openButton.setMinimumSize(QSize(30,30))
        self.openButton.setIconSet(QIconSet(self.image0))
        layout2.addWidget(self.openButton)

        self.playButton = QToolButton(self.centralWidget(),"playButton")
        self.playButton.setSizePolicy(QSizePolicy(QSizePolicy.Expanding,QSizePolicy.Fixed,0,0,self.playButton.sizePolicy().hasHeightForWidth()))
  self.playButton.setMinimumSize(QSize(30,30))
        self.playButton.setIconSet(QIconSet(self.image1))
        layout2.addWidget(self.playButton)

        self.stopButton = QToolButton(self.centralWidget(),"stopButton")
        self.stopButton.setSizePolicy(QSizePolicy(QSizePolicy.Expanding,QSizePolicy.Fixed,0,0,self.stopButton.sizePolicy().hasHeightForWidth()))
  self.stopButton.setMinimumSize(QSize(30,30))
        self.stopButton.setIconSet(QIconSet(self.image2))
        layout2.addWidget(self.stopButton)

        self.resetButton = QToolButton(self.centralWidget(),"resetButton")
        self.resetButton.setSizePolicy(QSizePolicy(QSizePolicy.Expanding,QSizePolicy.Fixed,0,0,self.resetButton.sizePolicy().hasHeightForWidth()))
  self.resetButton.setMinimumSize(QSize(30,30))
        self.resetButton.setIconSet(QIconSet(self.image3))
        layout2.addWidget(self.resetButton)

        self.configButton = QToolButton(self.centralWidget(),"configButton")
        self.configButton.setSizePolicy(QSizePolicy(QSizePolicy.Expanding,QSizePolicy.Fixed,0,0,self.configButton.sizePolicy().hasHeightForWidth()))
  self.configButton.setMinimumSize(QSize(30,30))
        self.configButton.setIconSet(QIconSet(self.image4))
        layout2.addWidget(self.configButton)

        self.fsButton = QToolButton(self.centralWidget(),"fsButton")
        self.fsButton.setSizePolicy(QSizePolicy(QSizePolicy.Expanding,QSizePolicy.Fixed,0,0,self.fsButton.sizePolicy().hasHeightForWidth()))
  self.fsButton.setMinimumSize(QSize(30,30))
        self.fsButton.setIconSet(QIconSet(self.image5))
        layout2.addWidget(self.fsButton)

        self.aboutButton = QToolButton(self.centralWidget(),"aboutButton")
        self.aboutButton.setSizePolicy(QSizePolicy(QSizePolicy.Expanding,QSizePolicy.Fixed,0,0,self.aboutButton.sizePolicy().hasHeightForWidth()))
  self.aboutButton.setMinimumSize(QSize(30,30))
        self.aboutButton.setIconSet(QIconSet(self.image6))
        layout2.addWidget(self.aboutButton)
        spacer1_2 = QSpacerItem(51,31,QSizePolicy.Expanding,QSizePolicy.Minimum)
        layout2.addItem(spacer1_2)
        MainWindowLayout.addLayout(layout2)

        self.view = QWidgetStack(self.centralWidget(),"qxembed")
        #self.view.setMinimumSize(QSize(256,256))
        #self.view.setScaledContents(1)
        MainWindowLayout.addWidget(self.view)

        self.fileNewAction = QAction(self,"fileNewAction")
        self.fileNewAction.setIconSet(QIconSet(self.image7))
        self.fileOpenAction = QAction(self,"fileOpenAction")
        self.fileOpenAction.setIconSet(QIconSet(self.image8))
        self.fileSaveAction = QAction(self,"fileSaveAction")
        self.fileSaveAction.setIconSet(QIconSet(self.image9))
        self.fileSaveAsAction = QAction(self,"fileSaveAsAction")
        self.filePrintAction = QAction(self,"filePrintAction")
        self.filePrintAction.setIconSet(QIconSet(self.image10))
        self.fileExitAction = QAction(self,"fileExitAction")
        self.helpContentsAction = QAction(self,"helpContentsAction")
        self.helpIndexAction = QAction(self,"helpIndexAction")
        self.helpAboutAction = QAction(self,"helpAboutAction")


        self.Toolbar = QToolBar(QString(""),self,Qt.DockTop)



        self.MenuBar = QMenuBar(self,"MenuBar")


        self.fileMenu = QPopupMenu(self)
        self.fileOpenAction.addTo(self.fileMenu)
        self.fileExitAction.addTo(self.fileMenu)
        self.MenuBar.insertItem(QString(""),self.fileMenu,1)

        self.helpMenu = QPopupMenu(self)
        self.helpAboutAction.addTo(self.helpMenu)
        self.MenuBar.insertItem(QString(""),self.helpMenu,2)


        self.languageChange()

        self.resize(QSize(760,472).expandedTo(self.minimumSizeHint()))
        self.clearWState(Qt.WState_Polished)

        self.connect(self.fileNewAction,SIGNAL("activated()"),self.fileNew)
        self.connect(self.fileOpenAction,SIGNAL("activated()"),self.fileOpen)
        self.connect(self.fileSaveAction,SIGNAL("activated()"),self.fileSave)
        self.connect(self.fileSaveAsAction,SIGNAL("activated()"),self.fileSaveAs)
        self.connect(self.filePrintAction,SIGNAL("activated()"),self.filePrint)
        self.connect(self.fileExitAction,SIGNAL("activated()"),self.fileExit)
        self.connect(self.helpIndexAction,SIGNAL("activated()"),self.helpIndex)
        self.connect(self.helpContentsAction,SIGNAL("activated()"),self.helpContents)
        self.connect(self.helpAboutAction,SIGNAL("activated()"),self.helpAbout)


    def languageChange(self):
        self.setCaption(self.__tr("KSnes"))
        self.openButton.setText(QString.null)
        self.playButton.setText(QString.null)
        self.stopButton.setText(QString.null)
        self.resetButton.setText(QString.null)
        self.configButton.setText(QString.null)
        self.fsButton.setText(QString.null)
        self.aboutButton.setText(QString.null)
        self.fileNewAction.setText(self.__tr("New"))
        self.fileNewAction.setMenuText(self.__tr("&New"))
        self.fileNewAction.setAccel(self.__tr("Ctrl+N"))
        self.fileOpenAction.setText(self.__tr("Open"))
        self.fileOpenAction.setMenuText(self.__tr("&Open..."))
        self.fileOpenAction.setAccel(self.__tr("Ctrl+O"))
        self.fileSaveAction.setText(self.__tr("Save"))
        self.fileSaveAction.setMenuText(self.__tr("&Save"))
        self.fileSaveAction.setAccel(self.__tr("Ctrl+S"))
        self.fileSaveAsAction.setText(self.__tr("Save As"))
        self.fileSaveAsAction.setMenuText(self.__tr("Save &As..."))
        self.fileSaveAsAction.setAccel(QString.null)
        self.filePrintAction.setText(self.__tr("Print"))
        self.filePrintAction.setMenuText(self.__tr("&Print..."))
        self.filePrintAction.setAccel(self.__tr("Ctrl+P"))
        self.fileExitAction.setText(self.__tr("Exit"))
        self.fileExitAction.setMenuText(self.__tr("E&xit"))
        self.fileExitAction.setAccel(QString.null)
        self.helpContentsAction.setText(self.__tr("Contents"))
        self.helpContentsAction.setMenuText(self.__tr("&Contents..."))
        self.helpContentsAction.setAccel(QString.null)
        self.helpIndexAction.setText(self.__tr("Index"))
        self.helpIndexAction.setMenuText(self.__tr("&Index..."))
        self.helpIndexAction.setAccel(QString.null)
        self.helpAboutAction.setText(self.__tr("About"))
        self.helpAboutAction.setMenuText(self.__tr("&About"))
        self.helpAboutAction.setAccel(QString.null)
        self.Toolbar.setLabel(self.__tr("Toolbar"))
        if self.MenuBar.findItem(1):
            self.MenuBar.findItem(1).setText(self.__tr("&File"))
        if self.MenuBar.findItem(2):
            self.MenuBar.findItem(2).setText(self.__tr("&Help"))


    def fileNew(self):
        print "MainWindow.fileNew(): Not implemented yet"

    def fileOpen(self):
        print "MainWindow.fileOpen(): Not implemented yet"

    def fileSave(self):
        print "MainWindow.fileSave(): Not implemented yet"

    def fileSaveAs(self):
        print "MainWindow.fileSaveAs(): Not implemented yet"

    def filePrint(self):
        print "MainWindow.filePrint(): Not implemented yet"

    def fileExit(self):
        print "MainWindow.fileExit(): Not implemented yet"

    def helpIndex(self):
        print "MainWindow.helpIndex(): Not implemented yet"

    def helpContents(self):
        print "MainWindow.helpContents(): Not implemented yet"

    def helpAbout(self):
        print "MainWindow.helpAbout(): Not implemented yet"

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

if __name__ == "__main__":
    a = QApplication(sys.argv)
    QObject.connect(a,SIGNAL("lastWindowClosed()"),a,SLOT("quit()"))
    w = MainWindow()
    a.setMainWidget(w)
    w.show()
    a.exec_loop()



_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic