FougTools
0.7.0dev-046fb6a
Handy tools for C++, Qt and OpenCascade
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
qttools
gui
strict_stack_widget.h
Go to the documentation of this file.
1
/****************************************************************************
2
** FougTools
3
** Copyright Fougue (30 Mar. 2015)
4
** contact@fougue.pro
5
**
6
** This software is a computer program whose purpose is to provide utility
7
** tools for the C++ language and the Qt toolkit.
8
**
9
** This software is governed by the CeCILL-C license under French law and
10
** abiding by the rules of distribution of free software. You can use,
11
** modify and/ or redistribute the software under the terms of the CeCILL-C
12
** license as circulated by CEA, CNRS and INRIA at the following URL
13
** "http://www.cecill.info".
14
****************************************************************************/
15
16
#pragma once
17
18
#include "
gui.h
"
19
#include <QWidget>
20
21
namespace
qtgui
{
22
23
class
QTTOOLS_GUI_EXPORT
StrictStackWidget
:
public
QWidget
24
{
25
Q_OBJECT
26
27
public
:
28
StrictStackWidget
(QWidget* parent = NULL);
29
~
StrictStackWidget
();
30
31
void
pushWidget(QWidget* widget);
32
QWidget* popWidget();
33
34
bool
isEmpty()
const
;
35
QWidget* topWidget()
const
;
36
37
private
:
38
class
Private;
39
Private*
const
d;
40
};
41
42
}
// namespace qtgui
qtgui
Definition:
abstract_length_editor.cpp:20
QTTOOLS_GUI_EXPORT
#define QTTOOLS_GUI_EXPORT
Definition:
gui.h:27
qtgui::StrictStackWidget
Provides a stack of widgets similar to QStackedWidget but with "strict" stack semantics.
Definition:
strict_stack_widget.h:23
gui.h
Generated on Thu Jun 23 2016 17:55:08 for FougTools by
1.8.8