source: flair-dev/trunk/include/FlairCore/Tab.h @ 2

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

initial commit flaircore

File size: 1.1 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 Tab.h
7 * \brief Class displaying a QTab on the ground station
8 * \author Guillaume Sanahuja, Copyright Heudiasyc UMR UTC/CNRS 7253
9 * \date 2011/10/07
10 * \version 4.0
11 */
12
13#ifndef TAB_H
14#define TAB_H
15
16#include <Layout.h>
17
18namespace flair
19{
20namespace gui
21{
22
23    class TabWidget;
24
25    /*! \class Tab
26    *
27    * \brief Class displaying a QTab on the ground station
28    *
29    * Tabs are displayed in a TabWidget.
30    */
31    class Tab: public Layout
32    {
33        public:
34            /*!
35            * \brief Constructor
36            *
37            * Construct a Tab in the TabWidget.
38            *
39            * \param parent parent
40            * \param name name
41            * \param position tab position, -1 to put at the last position
42            */
43            Tab(const TabWidget* parent,std::string name,int position=-1);
44
45            /*!
46            * \brief Destructor
47            *
48            */
49            ~Tab();
50
51        private:
52    };
53
54} // end namespace gui
55} // end namespace flair
56
57#endif // TAB_H
Note: See TracBrowser for help on using the repository browser.