Last change
on this file since 204 was 15, checked in by Bayard Gildas, 8 years ago |
sources reformatted with flair-format-dir script
|
File size:
904 bytes
|
Rev | Line | |
---|
[2] | 1 | // %flair:license{
|
---|
[15] | 2 | // This file is part of the Flair framework distributed under the
|
---|
| 3 | // CECILL-C License, Version 1.0.
|
---|
[2] | 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 |
|
---|
[15] | 22 | namespace flair {
|
---|
| 23 | namespace gui {
|
---|
[2] | 24 |
|
---|
[15] | 25 | GridLayout::GridLayout(const LayoutPosition *position, string name)
|
---|
| 26 | : Layout(position->getLayout(), name, "GridLayout") {
|
---|
| 27 | SetVolatileXmlProp("row", position->Row());
|
---|
| 28 | SetVolatileXmlProp("col", position->Col());
|
---|
| 29 | SendXml();
|
---|
[2] | 30 |
|
---|
[15] | 31 | delete position;
|
---|
[2] | 32 | }
|
---|
| 33 |
|
---|
[15] | 34 | GridLayout::~GridLayout() {}
|
---|
[2] | 35 |
|
---|
| 36 | } // end namespace gui
|
---|
| 37 | } // end namespace flair
|
---|
Note:
See
TracBrowser
for help on using the repository browser.