mirror of
git://git.psyced.org/git/pypsyc
synced 2024-08-15 03:20:04 +00:00
last state we had in cvs
This commit is contained in:
commit
0f02e9cd76
128 changed files with 9224 additions and 0 deletions
29
GUI/Abstract/Gui.py
Normal file
29
GUI/Abstract/Gui.py
Normal file
|
@ -0,0 +1,29 @@
|
|||
"""Abstract Gui Module - serves as interface reference"""
|
||||
import sys
|
||||
|
||||
class UserGui:
|
||||
def __init__(self):
|
||||
if self.__class__ == UserGui:
|
||||
raise "class UserGui is abstract!"
|
||||
def set_model(self, model): self.model = model
|
||||
|
||||
|
||||
class RoomGui:
|
||||
def __init___(self):
|
||||
if self.__class__ == RoomGui:
|
||||
raise "class RoomGui is abstract!"
|
||||
def set_model(self, model): self.model = model
|
||||
|
||||
|
||||
class MainGui:
|
||||
def __init__(self, argv):
|
||||
if self.__class__ == MainGui:
|
||||
raise "class MainGui is abstract!"
|
||||
self.center = None
|
||||
def run(self):
|
||||
pass
|
||||
def quit(self):
|
||||
self.center.quit()
|
||||
sys.exit(0)
|
||||
def connect(self):
|
||||
pass
|
BIN
GUI/Abstract/Gui.pyc
Normal file
BIN
GUI/Abstract/Gui.pyc
Normal file
Binary file not shown.
1
GUI/Abstract/__init__.py
Normal file
1
GUI/Abstract/__init__.py
Normal file
|
@ -0,0 +1 @@
|
|||
# different user interfaces for pyPSYC
|
BIN
GUI/Abstract/__init__.pyc
Normal file
BIN
GUI/Abstract/__init__.pyc
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue