Last change
on this file since 30 was
30,
checked in by chou, 17 years ago
|
Morpheo Viewer Release 4.0 :
changements graphiques .
|
-
Property svn:executable set to
*
|
File size:
651 bytes
|
Line | |
---|
1 | #include "window.h" |
---|
2 | |
---|
3 | using namespace std; |
---|
4 | |
---|
5 | using namespace morpheo::tools::viewer::parser; |
---|
6 | using namespace morpheo::tools::viewer::bdd; |
---|
7 | using namespace morpheo::tools::viewer::graphics; |
---|
8 | |
---|
9 | void Window::wparameters() |
---|
10 | { |
---|
11 | wparam = new QWidget(); |
---|
12 | parameters = new QBoxLayout(QBoxLayout::TopToBottom,0); |
---|
13 | wparam->setWindowTitle("parameters"); |
---|
14 | wparam->setFixedSize(350,300); |
---|
15 | wparam->move(628,370); |
---|
16 | |
---|
17 | |
---|
18 | QPushButton *apply = new QPushButton("apply",wparam); |
---|
19 | connect(apply,SIGNAL(clicked()),this,SLOT(_apply())); |
---|
20 | |
---|
21 | parameters->addWidget(apply); |
---|
22 | |
---|
23 | wparam->setLayout(parameters); |
---|
24 | wparam->show(); |
---|
25 | } |
---|
26 | |
---|
27 | |
---|
28 | void Window::_apply(){ |
---|
29 | cout << "apply\n"; |
---|
30 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.