DockSplitter.h
Go to the documentation of this file.
1 #ifndef DockSplitterH
2 #define DockSplitterH
3 /*******************************************************************************
4 ** Qt Advanced Docking System
5 ** Copyright (C) 2017 Uwe Kindler
6 **
7 ** This library is free software; you can redistribute it and/or
8 ** modify it under the terms of the GNU Lesser General Public
9 ** License as published by the Free Software Foundation; either
10 ** version 2.1 of the License, or (at your option) any later version.
11 **
12 ** This library is distributed in the hope that it will be useful,
13 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 ** Lesser General Public License for more details.
16 **
17 ** You should have received a copy of the GNU Lesser General Public
18 ** License along with this library; If not, see <http://www.gnu.org/licenses/>.
19 ******************************************************************************/
20 
21 
22 //============================================================================
27 //============================================================================
28 
29 //============================================================================
30 // INCLUDES
31 //============================================================================
32 #include <QSplitter>
33 
34 #include "ads_globals.h"
35 
36 namespace ads
37 {
38 struct DockSplitterPrivate;
39 
44 class ADS_EXPORT CDockSplitter : public QSplitter
45 {
46  Q_OBJECT
47 private:
49  friend struct DockSplitterPrivate;
50 
51 public:
52  CDockSplitter(QWidget *parent = Q_NULLPTR);
53  CDockSplitter(Qt::Orientation orientation, QWidget *parent = Q_NULLPTR);
54 
58  virtual ~CDockSplitter();
59 
63  bool hasVisibleContent() const;
64 
68  QWidget* firstWidget() const;
69 
73  QWidget* lastWidget() const;
74 
78  bool isResizingWithContainer() const;
79 }; // class CDockSplitter
80 
81 } // namespace ads
82 
83 //---------------------------------------------------------------------------
84 #endif // DockSplitterH
ads_globals.h
Declaration of.
ads::DockSplitterPrivate
Definition: DockSplitter.cpp:42
ads::CDockSplitter::d
DockSplitterPrivate * d
Definition: DockSplitter.h:48
ads
Definition: ads_globals.h:69
ads::CDockSplitter
Definition: DockSplitter.h:44
ADS_EXPORT
#define ADS_EXPORT
Definition: ads_globals.h:50


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:44