Refactors directory structure and file naming.

This commit is contained in:
mfreiholz 2016-02-02 15:01:48 +01:00
parent 5a5e4c7c78
commit cb5781cfdc
20 changed files with 61 additions and 59 deletions

View File

@ -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

View File

@ -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

View File

@ -4,7 +4,7 @@
#include <QFrame>
#include <QRect>
#include "ads.h"
#include "ads/API.h"
ADS_NAMESPACE_BEGIN

View File

@ -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;

View File

@ -6,7 +6,7 @@
#include <QHash>
#include <QSharedPointer>
#include "ads.h"
#include "ads/API.h"
ADS_NAMESPACE_BEGIN

View File

@ -3,8 +3,8 @@
#include <QFrame>
#include "ads.h"
#include "section_content.h"
#include "ads/API.h"
#include "ads/SectionContent.h"
ADS_NAMESPACE_BEGIN

View File

@ -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

View File

@ -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;

View File

@ -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");

View File

@ -1,4 +1,4 @@
#include "container_widget.h"
#include "ads/ContainerWidget.h"
#include <QPaintEvent>
#include <QPainter>

View File

@ -1,4 +1,4 @@
#include "drop_overlay.h"
#include "ads/DropOverlay.h"
#include <QDebug>
#include <QPointer>

View File

@ -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

View File

@ -1,4 +1,4 @@
#include "section_content.h"
#include "ads/SectionContent.h"
#include <QLabel>

View File

@ -1,4 +1,4 @@
#include "section_content_widget.h"
#include "ads/SectionContentWidget.h"
#include <QBoxLayout>

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -2,7 +2,7 @@
#define MAINWINDOW_H
#include <QMainWindow>
#include "ads/ads.h"
#include "ads/API.h"
namespace Ui {
class MainWindow;