Last change
on this file since 13 was 2, checked in by Sanahuja Guillaume, 9 years ago |
flaircore
|
File size:
908 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: GridLayout.cpp
|
---|
7 | //
|
---|
8 | // author: Guillaume Sanahuja
|
---|
9 | // Copyright Heudiasyc UMR UTC/CNRS 7253
|
---|
10 | //
|
---|
11 | // version: $Id: $
|
---|
12 | //
|
---|
13 | // purpose: Class displaying a QGridLayout on the ground station
|
---|
14 | //
|
---|
15 | //
|
---|
16 | /*********************************************************************/
|
---|
17 | #include "GridLayout.h"
|
---|
18 | #include "LayoutPosition.h"
|
---|
19 |
|
---|
20 | using std::string;
|
---|
21 |
|
---|
22 | namespace flair
|
---|
23 | {
|
---|
24 | namespace gui
|
---|
25 | {
|
---|
26 |
|
---|
27 | GridLayout::GridLayout(const LayoutPosition* position,string name): Layout(position->getLayout(),name,"GridLayout")
|
---|
28 | {
|
---|
29 | SetVolatileXmlProp("row",position->Row());
|
---|
30 | SetVolatileXmlProp("col",position->Col());
|
---|
31 | SendXml();
|
---|
32 |
|
---|
33 | delete position;
|
---|
34 | }
|
---|
35 |
|
---|
36 | GridLayout::~GridLayout()
|
---|
37 | {
|
---|
38 |
|
---|
39 | }
|
---|
40 |
|
---|
41 | } // end namespace gui
|
---|
42 | } // end namespace flair
|
---|
Note:
See
TracBrowser
for help on using the repository browser.