This commit is contained in:
Uwe Kindler 2020-05-14 06:46:47 +02:00
commit 3011c0c030
9 changed files with 15 additions and 12 deletions

View File

@ -4,10 +4,11 @@
#include <QMainWindow>
#include "DockManager.h"
QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE
/**
* This example shows, how to place a dock widget container and a static

View File

@ -4,9 +4,11 @@
#include <QMainWindow>
#include "DockManager.h"
QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE
class MainWindow : public QMainWindow
{

View File

@ -34,7 +34,7 @@
#include "ads_globals.h"
class QAbstractButton;
QT_FORWARD_DECLARE_CLASS(QAbstractButton);
namespace ads
{

View File

@ -35,8 +35,8 @@
#include "ads_globals.h"
#include "DockWidget.h"
class QXmlStreamWriter;
class QAbstractButton;
QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter);
QT_FORWARD_DECLARE_CLASS(QAbstractButton);
namespace ads
{

View File

@ -35,7 +35,7 @@
#include "ads_globals.h"
#include "DockWidget.h"
class QXmlStreamWriter;
QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter);
namespace ads

View File

@ -36,8 +36,8 @@
#include "FloatingDockContainer.h"
class QSettings;
class QMenu;
QT_FORWARD_DECLARE_CLASS(QSettings);
QT_FORWARD_DECLARE_CLASS(QMenu);
namespace ads
{

View File

@ -26,7 +26,7 @@
#include <QHash>
#include <QRect>
#include <QFrame>
class QGridLayout;
QT_FORWARD_DECLARE_CLASS(QGridLayout);
#include "ads_globals.h"

View File

@ -34,8 +34,8 @@
#include "ads_globals.h"
class QToolBar;
class QXmlStreamWriter;
QT_FORWARD_DECLARE_CLASS(QToolBar);
QT_FORWARD_DECLARE_CLASS(QXmlStreamWriter);
namespace ads
{

View File

@ -37,7 +37,7 @@
#include <QDebug>
#include <QStyle>
class QAbstractButton;
QT_FORWARD_DECLARE_CLASS(QAbstractButton);
#ifndef ADS_STATIC
#ifdef ADS_SHARED_EXPORT
@ -60,7 +60,7 @@ class QAbstractButton;
// dumps to qDebug and std::cout after layout changes
#define ADS_DEBUG_LEVEL 0
class QSplitter;
QT_FORWARD_DECLARE_CLASS(QSplitter);
namespace ads
{