source: flair-src/trunk/lib/FlairCore/src/GridLayout.cpp@ 235

Last change on this file since 235 was 15, checked in by Bayard Gildas, 9 years ago

sources reformatted with flair-format-dir script

File size: 904 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
20using std::string;
21
22namespace flair {
23namespace gui {
24
25GridLayout::GridLayout(const LayoutPosition *position, string name)
26 : Layout(position->getLayout(), name, "GridLayout") {
27 SetVolatileXmlProp("row", position->Row());
28 SetVolatileXmlProp("col", position->Col());
29 SendXml();
30
31 delete position;
32}
33
34GridLayout::~GridLayout() {}
35
36} // end namespace gui
37} // end namespace flair
Note: See TracBrowser for help on using the repository browser.