Last change
on this file since 13 was 2, checked in by Sanahuja Guillaume, 9 years ago |
flaircore
|
File size:
892 bytes
|
Line | |
---|
1 | // %flair:license{
|
---|
2 | // This file is part of the Flair framework distributed under the
|
---|
3 | // CECILL-C License, Version 1.0.
|
---|
4 | // %flair:license}
|
---|
5 | // created: 2011/10/07
|
---|
6 | // filename: GroupBox.cpp
|
---|
7 | //
|
---|
8 | // author: Guillaume Sanahuja
|
---|
9 | // Copyright Heudiasyc UMR UTC/CNRS 7253
|
---|
10 | //
|
---|
11 | // version: $Id: $
|
---|
12 | //
|
---|
13 | // purpose: Class displaying a QGroupBox on the ground station
|
---|
14 | //
|
---|
15 | //
|
---|
16 | /*********************************************************************/
|
---|
17 | #include "GroupBox.h"
|
---|
18 | #include "LayoutPosition.h"
|
---|
19 |
|
---|
20 | using std::string;
|
---|
21 |
|
---|
22 | namespace flair
|
---|
23 | {
|
---|
24 | namespace gui
|
---|
25 | {
|
---|
26 |
|
---|
27 | GroupBox::GroupBox(const LayoutPosition* position,string name): Layout(position->getLayout(),name,"GroupBox")
|
---|
28 | {
|
---|
29 | SetVolatileXmlProp("row",position->Row());
|
---|
30 | SetVolatileXmlProp("col",position->Col());
|
---|
31 | SendXml();
|
---|
32 |
|
---|
33 | delete position;
|
---|
34 | }
|
---|
35 |
|
---|
36 | GroupBox::~GroupBox()
|
---|
37 | {
|
---|
38 |
|
---|
39 | }
|
---|
40 |
|
---|
41 | } // end namespace gui
|
---|
42 | } // end namespace flair
|
---|
Note:
See
TracBrowser
for help on using the repository browser.