All pastes #90615 Raw Edit

freeone3000

public text v1 · immutable
#90615 ·published 2006-07-17 21:22 UTC
rendered paste body
rom qt import *
from widgets import *

false = 0
true = 1


class elcardsgui (object):
	main_win = None
	def __init__(self, args):
		app = QApplication(args)
		app.connect(app, SIGNAL('lastWindowClosed()'), app, SLOT('quit()'))
		self.main_win = main_window()
		app.setMainWidget(self.main_win)
	def show_char_select(self, names):
		return self.main_win.show_chooser(names)
	def show_deck_select(self, deck_names):
		return self.main_win.show_chooser(deck_names)
#TODO Insert code here.

def gui_start():
	gui = elcardsgui()
	return gui