|
| session (std::ostream &a_out, int &a_argc, char **a_argv) |
|
virtual | ~session () |
|
std::ostream & | out () const |
|
bool | is_valid () const |
|
bool | steer () |
|
bool | sync () |
|
QApplication * | qapp () const |
|
QWidget * | create_window (const char *a_title, int a_x, int a_y, unsigned int a_width, unsigned int a_height) |
|
void | delete_window (QWidget *a_window) const |
|
Definition at line 26 of file session.
◆ session() [1/2]
tools::Qt::session::session |
( |
std::ostream & |
a_out, |
|
|
int & |
a_argc, |
|
|
char ** |
a_argv |
|
) |
| |
|
inline |
Definition at line 28 of file session.
37 m_qapp =
new QApplication(a_argc,a_argv);
◆ ~session()
virtual tools::Qt::session::~session |
( |
| ) |
|
|
inlinevirtual |
◆ session() [2/2]
tools::Qt::session::session |
( |
const session & |
a_from | ) |
|
|
inlineprotected |
◆ create_window()
QWidget* tools::Qt::session::create_window |
( |
const char * |
a_title, |
|
|
int |
a_x, |
|
|
int |
a_y, |
|
|
unsigned int |
a_width, |
|
|
unsigned int |
a_height |
|
) |
| |
|
inline |
Definition at line 71 of file session.
76 QWidget*
top =
new QWidget();
77 top->setWindowFlags(::Qt::CustomizeWindowHint
78 | ::Qt::WindowTitleHint
79 | ::Qt::WindowMinMaxButtonsHint
83 top->setGeometry(a_x,a_y,a_width,a_height);
84 top->setWindowTitle(
s2q(a_title));
◆ delete_window()
void tools::Qt::session::delete_window |
( |
QWidget * |
a_window | ) |
const |
|
inline |
◆ is_valid()
bool tools::Qt::session::is_valid |
( |
| ) |
const |
|
inline |
◆ operator=()
Definition at line 52 of file session.
53 if(&a_from==
this)
return *
this;
◆ out()
std::ostream& tools::Qt::session::out |
( |
| ) |
const |
|
inline |
◆ qapp()
QApplication* tools::Qt::session::qapp |
( |
| ) |
const |
|
inline |
◆ s2q()
QString tools::Qt::session::s2q |
( |
const std::string & |
a_s | ) |
|
|
inlineprotected |
Definition at line 93 of file session.
94 #if QT_VERSION < 0x050000
95 return QString::fromAscii(a_s.c_str());
97 return QString::fromLatin1(a_s.c_str());
◆ steer()
bool tools::Qt::session::steer |
( |
| ) |
|
|
inline |
◆ sync()
bool tools::Qt::session::sync |
( |
| ) |
|
|
inline |
◆ m_out
std::ostream& tools::Qt::session::m_out |
|
protected |
◆ m_own_qapp
bool tools::Qt::session::m_own_qapp |
|
protected |
◆ m_qapp
QApplication* tools::Qt::session::m_qapp |
|
protected |
The documentation for this class was generated from the following file:
- /Users/barrand/private/dev/softinex/g4tools/g4tools/tools/Qt/session