Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
python
PyApp.h
Go to the documentation of this file.
1
/* -*- mode: c++ -*- */
2
14
#ifndef PyApp_H
15
#define PyApp_H
16
17
#include <string>
18
19
namespace
hippodraw {
20
21
class
HdThread;
22
class
Inspector;
23
class
PyCanvas;
24
class
QtApp;
25
32
class
PyApp
33
{
34
private
:
35
37
static
PyApp
*
s_instance
;
38
40
static
QtApp
*
s_app
;
41
43
HdThread
*
m_thread
;
44
45
public
:
46
48
PyApp
( );
49
51
PyApp
(
int
);
52
54
PyApp
(
char
* script );
55
58
~PyApp
( );
59
61
static
PyApp
*
instance
();
62
64
int
exec
();
65
68
void
quit
();
69
73
bool
hasTerminated
()
const
;
74
76
PyCanvas
*
currentCanvas
();
77
79
void
openDocument
(
const
std::string & filename );
80
84
static
void
lock
();
85
88
static
bool
locked
();
89
94
static
void
unlock
();
95
98
static
bool
hasPendingEvents
();
99
103
void
quitOnLastWindowClose
(
bool
yes );
104
105
};
106
107
}
// namespace hippodraw
108
109
#endif // PyApp_H
Generated for HippoDraw Class Library by