Last change
on this file since 204 was 15, checked in by Bayard Gildas, 9 years ago |
sources reformatted with flair-format-dir script
|
File size:
888 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 | namespace gui {
|
---|
24 |
|
---|
25 | GroupBox::GroupBox(const LayoutPosition *position, string name)
|
---|
26 | : Layout(position->getLayout(), name, "GroupBox") {
|
---|
27 | SetVolatileXmlProp("row", position->Row());
|
---|
28 | SetVolatileXmlProp("col", position->Col());
|
---|
29 | SendXml();
|
---|
30 |
|
---|
31 | delete position;
|
---|
32 | }
|
---|
33 |
|
---|
34 | GroupBox::~GroupBox() {}
|
---|
35 |
|
---|
36 | } // end namespace gui
|
---|
37 | } // end namespace flair
|
---|
Note:
See
TracBrowser
for help on using the repository browser.