source: flair-src/trunk/lib/FlairCore/src/TabWidget.h @ 2

Last change on this file since 2 was 2, checked in by Sanahuja Guillaume, 5 years ago

flaircore

File size: 1.6 KB
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/*!
6 * \file TabWidget.h
7 * \brief Class displaying a QTabWidget on the ground station
8 * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
9 * \date 2012/07/30
10 * \version 4.0
11 */
12
13#ifndef TABWIDGET_H
14#define TABWIDGET_H
15
16#include <Widget.h>
17
18namespace flair
19{
20namespace gui
21{
22    class LayoutPosition;
23
24    /*! \class TabWidget
25    *
26    * \brief Class displaying a QTabWidget on the ground station
27    *
28    * TabWidget contains Tabs.
29    *
30    */
31    class TabWidget:public Widget
32    {
33        public:
34            /*!
35            * \enum TabPosition_t
36            * \brief Position of tabs
37            */
38            typedef enum { North/*! north */, South/*! south */, West/*! west */, East/*! east */} TabPosition_t;
39
40            /*!
41            * \brief Constructor
42            *
43            * Construct a QTabWidget at given position. \n
44            * The TabWidget will automatically be child of position->getLayout() Layout. After calling this constructor,
45            * position will be deleted as it is no longer usefull.
46            *
47            * \param position position
48            * \param name name
49            * \param tabPosition position of tabs
50            */
51            TabWidget(const LayoutPosition* position,std::string name,TabPosition_t tabPosition=TabWidget::West);
52
53            /*!
54            * \brief Destructor
55            *
56            */
57            ~TabWidget();
58
59        private:
60    };
61
62} // end namespace core
63} // end namespace flair
64
65#endif // TABWIDGET_H
Note: See TracBrowser for help on using the repository browser.