[PYTHON]GUI öffnet sich nicht

08/05/2014 23:11 SorryBinAnfänger#1
Hi Epvp,

hier nen Bild von dem einfachen Board, das sich nicht öffnet? Es kommt auch kein Fehler in der syserr.

öffnen:
import testsystem
test = testsystem.MainWindow()
test.Show()

[Only registered and activated users can see links. Click Here To Register...][Only registered and activated users can see links. Click Here To Register...]
08/05/2014 23:27 STinG.#2
who will import this file and when ?
08/05/2014 23:31 SorryBinAnfänger#3
Intrologin and game by press f6
08/06/2014 00:59 STinG.#4
why Intrologin ?
I'm not an expert in Python, but must be game.py who import the file
why do you write in a separate file
Can be written in game.py will be easy for you
08/06/2014 12:58 PDDS™#5
Quote:
Originally Posted by STinG. View Post
why Intrologin ?
I'm not an expert in Python, but must be game.py who import the file
why do you write in a separate file
Can be written in game.py will be easy for you
Not really...

Da du die Anfrage auf deutsch gestellt hast, schreibe ich hier auch mal auf deutsch weiter.

1. Hast du das ganze (mit den Hotkeys) richtig definiert? (Poste doch mal dazu deinen Sourcecode)
2. Einfach am Hotkey auf eine neue Funktion weisen, bei dir z.B __LoadMainWindow(self)
3. In der LoadMainWindo-Funktion importieren und anzeigen lassen.

Falls dir das ganze nicht hilft, benutz doch den GUI-Editor von Kamar1337 als Hilfe ;)

Grüße
08/06/2014 19:46 [uLow]Beni#6
Quote:
Originally Posted by STinG. View Post
why Intrologin ?
I'm not an expert in Python, but must be game.py who import the file
why do you write in a separate file
Can be written in game.py will be easy for you
intrologin and game are both phases, in every phase you can execute what you want ;)