mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 13:15:43 +08:00
Refactors directory structure and file naming.
This commit is contained in:
parent
5a5e4c7c78
commit
cb5781cfdc
@ -8,28 +8,29 @@ TEMPLATE = lib
|
||||
CONFIG += staticlib
|
||||
|
||||
INCLUDEPATH += $$PWD/src
|
||||
INCLUDEPATH += $$PWD/include
|
||||
|
||||
QMAKE_CXXFLAGS += -std=c++11
|
||||
|
||||
SOURCES += \
|
||||
src/ads/section_content.cpp \
|
||||
src/ads/ads.cpp \
|
||||
src/ads/section_widget.cpp \
|
||||
src/ads/section_title_widget.cpp \
|
||||
src/ads/container_widget.cpp \
|
||||
src/ads/drop_overlay.cpp \
|
||||
src/ads/floating_widget.cpp \
|
||||
src/ads/section_content_widget.cpp
|
||||
src/API.cpp \
|
||||
src/ContainerWidget.cpp \
|
||||
src/SectionWidget.cpp \
|
||||
src/SectionContent.cpp \
|
||||
src/SectionTitleWidget.cpp \
|
||||
src/SectionContentWidget.cpp \
|
||||
src/DropOverlay.cpp \
|
||||
src/FloatingWidget.cpp
|
||||
|
||||
HEADERS += \
|
||||
src/ads/ads.h \
|
||||
src/ads/container_widget.h \
|
||||
src/ads/section_widget.h \
|
||||
src/ads/section_content.h \
|
||||
src/ads/section_title_widget.h \
|
||||
src/ads/section_content_widget.h \
|
||||
src/ads/drop_overlay.h \
|
||||
src/ads/floating_widget.h
|
||||
include/ads/API.h \
|
||||
include/ads/ContainerWidget.h \
|
||||
include/ads/SectionWidget.h \
|
||||
include/ads/SectionContent.h \
|
||||
include/ads/SectionTitleWidget.h \
|
||||
include/ads/SectionContentWidget.h \
|
||||
include/ads/DropOverlay.h \
|
||||
include/ads/FloatingWidget.h
|
||||
|
||||
RESOURCES += \
|
||||
res/ads.qrc
|
||||
|
@ -8,10 +8,10 @@
|
||||
class QSplitter;
|
||||
class QMenu;
|
||||
|
||||
#include "ads.h"
|
||||
#include "section_content.h"
|
||||
#include "section_widget.h"
|
||||
#include "floating_widget.h"
|
||||
#include "ads/API.h"
|
||||
#include "ads/SectionContent.h"
|
||||
#include "ads/SectionWidget.h"
|
||||
#include "ads/FloatingWidget.h"
|
||||
|
||||
ADS_NAMESPACE_BEGIN
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include <QFrame>
|
||||
#include <QRect>
|
||||
|
||||
#include "ads.h"
|
||||
#include "ads/API.h"
|
||||
|
||||
ADS_NAMESPACE_BEGIN
|
||||
|
@ -4,8 +4,8 @@
|
||||
#include <QWidget>
|
||||
#include <QFrame>
|
||||
|
||||
#include "ads.h"
|
||||
#include "section_content.h"
|
||||
#include "ads/API.h"
|
||||
#include "ads/SectionContent.h"
|
||||
|
||||
class QBoxLayout;
|
||||
|
@ -6,7 +6,7 @@
|
||||
#include <QHash>
|
||||
#include <QSharedPointer>
|
||||
|
||||
#include "ads.h"
|
||||
#include "ads/API.h"
|
||||
|
||||
ADS_NAMESPACE_BEGIN
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
#include <QFrame>
|
||||
|
||||
#include "ads.h"
|
||||
#include "section_content.h"
|
||||
#include "ads/API.h"
|
||||
#include "ads/SectionContent.h"
|
||||
|
||||
ADS_NAMESPACE_BEGIN
|
||||
|
@ -3,8 +3,9 @@
|
||||
|
||||
#include <QFrame>
|
||||
#include <QPoint>
|
||||
#include "ads.h"
|
||||
#include "section_content.h"
|
||||
|
||||
#include "ads/API.h"
|
||||
#include "ads/SectionContent.h"
|
||||
|
||||
ADS_NAMESPACE_BEGIN
|
||||
|
@ -6,8 +6,8 @@
|
||||
#include <QHash>
|
||||
#include <QFrame>
|
||||
|
||||
#include "ads.h"
|
||||
#include "section_content.h"
|
||||
#include "ads/API.h"
|
||||
#include "ads/SectionContent.h"
|
||||
|
||||
class QBoxLayout;
|
||||
class QStackedLayout;
|
@ -1,9 +1,9 @@
|
||||
#include "ads.h"
|
||||
#include "ads/API.h"
|
||||
|
||||
#include <QWidget>
|
||||
#include <QSplitter>
|
||||
|
||||
#include "container_widget.h"
|
||||
#include "ads/ContainerWidget.h"
|
||||
|
||||
const QString DragData::MIMETYPE = QString("qt/ads-dragdata");
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "container_widget.h"
|
||||
#include "ads/ContainerWidget.h"
|
||||
|
||||
#include <QPaintEvent>
|
||||
#include <QPainter>
|
@ -1,4 +1,4 @@
|
||||
#include "drop_overlay.h"
|
||||
#include "ads/DropOverlay.h"
|
||||
|
||||
#include <QDebug>
|
||||
#include <QPointer>
|
@ -1,4 +1,4 @@
|
||||
#include "floating_widget.h"
|
||||
#include "ads/FloatingWidget.h"
|
||||
|
||||
#include <QDebug>
|
||||
#include <QBoxLayout>
|
||||
@ -7,9 +7,9 @@
|
||||
#include <QMouseEvent>
|
||||
#include <QStyle>
|
||||
|
||||
#include "container_widget.h"
|
||||
#include "section_title_widget.h"
|
||||
#include "section_content_widget.h"
|
||||
#include "ads/ContainerWidget.h"
|
||||
#include "ads/SectionTitleWidget.h"
|
||||
#include "ads/SectionContentWidget.h"
|
||||
|
||||
ADS_NAMESPACE_BEGIN
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "section_content.h"
|
||||
#include "ads/SectionContent.h"
|
||||
|
||||
#include <QLabel>
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "section_content_widget.h"
|
||||
#include "ads/SectionContentWidget.h"
|
||||
|
||||
#include <QBoxLayout>
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "section_title_widget.h"
|
||||
#include "ads/SectionTitleWidget.h"
|
||||
|
||||
#include <QDebug>
|
||||
#include <QString>
|
||||
@ -16,11 +16,11 @@
|
||||
#include <QParallelAnimationGroup>
|
||||
#endif
|
||||
|
||||
#include "drop_overlay.h"
|
||||
#include "section_content.h"
|
||||
#include "section_widget.h"
|
||||
#include "floating_widget.h"
|
||||
#include "container_widget.h"
|
||||
#include "ads/DropOverlay.h"
|
||||
#include "ads/SectionContent.h"
|
||||
#include "ads/SectionWidget.h"
|
||||
#include "ads/FloatingWidget.h"
|
||||
#include "ads/ContainerWidget.h"
|
||||
|
||||
ADS_NAMESPACE_BEGIN
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "section_widget.h"
|
||||
#include "ads/SectionWidget.h"
|
||||
|
||||
#include <QApplication>
|
||||
#include <QBoxLayout>
|
||||
@ -14,12 +14,12 @@
|
||||
#include <QGraphicsDropShadowEffect>
|
||||
#endif
|
||||
|
||||
#include "drop_overlay.h"
|
||||
#include "section_content.h"
|
||||
#include "section_title_widget.h"
|
||||
#include "section_content_widget.h"
|
||||
#include "floating_widget.h"
|
||||
#include "container_widget.h"
|
||||
#include "ads/DropOverlay.h"
|
||||
#include "ads/SectionContent.h"
|
||||
#include "ads/SectionTitleWidget.h"
|
||||
#include "ads/SectionContentWidget.h"
|
||||
#include "ads/FloatingWidget.h"
|
||||
#include "ads/ContainerWidget.h"
|
||||
|
||||
ADS_NAMESPACE_BEGIN
|
||||
|
@ -27,8 +27,8 @@ win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../AdvancedDockingSyst
|
||||
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../AdvancedDockingSystem/debug/ -lAdvancedDockingSystem
|
||||
else:unix: LIBS += -L$$OUT_PWD/../AdvancedDockingSystem/ -lAdvancedDockingSystem
|
||||
|
||||
INCLUDEPATH += $$PWD/../AdvancedDockingSystem/src
|
||||
DEPENDPATH += $$PWD/../AdvancedDockingSystem/src
|
||||
INCLUDEPATH += $$PWD/../AdvancedDockingSystem/include
|
||||
DEPENDPATH += $$PWD/../AdvancedDockingSystem/include
|
||||
|
||||
win32-g++:CONFIG(release, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../AdvancedDockingSystem/release/libAdvancedDockingSystem.a
|
||||
else:win32-g++:CONFIG(debug, debug|release): PRE_TARGETDEPS += $$OUT_PWD/../AdvancedDockingSystem/debug/libAdvancedDockingSystem.a
|
||||
|
@ -9,9 +9,9 @@
|
||||
#include <QTreeView>
|
||||
#include <QFileSystemModel>
|
||||
|
||||
#include "ads/container_widget.h"
|
||||
#include "ads/section_widget.h"
|
||||
#include "ads/section_content.h"
|
||||
#include "ads/ContainerWidget.h"
|
||||
#include "ads/SectionWidget.h"
|
||||
#include "ads/SectionContent.h"
|
||||
|
||||
#include "icontitlewidget.h"
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
#define MAINWINDOW_H
|
||||
|
||||
#include <QMainWindow>
|
||||
#include "ads/ads.h"
|
||||
#include "ads/API.h"
|
||||
|
||||
namespace Ui {
|
||||
class MainWindow;
|
||||
|
Loading…
Reference in New Issue
Block a user