Skip to content

Commit

Permalink
Move 'Fill and Stroke' widget to UI lib
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlie committed Sep 17, 2024
1 parent ce806a9 commit 6fd1575
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
2 changes: 0 additions & 2 deletions src/app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ set(
GUI/graphboxeslist.cpp
GUI/keysview.cpp
GUI/mainwindow.cpp
GUI/fillstrokesettings.cpp
GUI/toolbox.cpp
GUI/extraactions.cpp
GUI/effectactions.cpp
Expand Down Expand Up @@ -242,7 +241,6 @@ set(
GUI/RenderWidgets/outputsettingsdisplaywidget.h
GUI/animationdockwidget.h
GUI/canvaswindow.h
GUI/fillstrokesettings.h
GUI/keysview.h
GUI/mainwindow.h
GUI/window.h
Expand Down
2 changes: 1 addition & 1 deletion src/app/GUI/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
#include "GUI/RenderWidgets/renderwidget.h"
#include "GUI/global.h"
#include "filesourcescache.h"
#include "fillstrokesettings.h"
#include "widgets/fillstrokesettings.h"
#include "widgets/editablecombobox.h"

#include "Sound/soundcomposition.h"
Expand Down
2 changes: 2 additions & 0 deletions src/ui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ set(
widgets/ecombobox.cpp
widgets/editablecombobox.cpp
widgets/fakemenubar.cpp
widgets/fillstrokesettings.cpp
widgets/flowlayout.cpp
widgets/fontswidget.cpp
widgets/framespinbox.cpp
Expand Down Expand Up @@ -136,6 +137,7 @@ set(
widgets/aboutwidget.h
widgets/actionbutton.h
widgets/alignwidget.h
widgets/fillstrokesettings.h
widgets/framescrollbar.h
widgets/assetswidget.h
widgets/bookmarkedcolors.h
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#ifndef FILLSTROKESETTINGS_H
#define FILLSTROKESETTINGS_H

#include "ui_global.h"

#include <QWidget>
#include <QTabWidget>
#include <QPushButton>
Expand All @@ -39,19 +41,15 @@

#include "Animators/coloranimator.h"
#include "Animators/paintsettingsanimator.h"
#include "Private/document.h"
#include "gradientwidgets/gradientwidget.h"
#include "paintsettingsapplier.h"
#include "Animators/brushsettingsanimator.h"
#include "Paint/brushcontexedwrapper.h"
#include "widgets/colorsettingswidget.h"
#include "widgets/qrealanimatorvalueslider.h"

class GradientWidget;
class ColorSettingsWidget;
class QrealAnimatorValueSlider;
class ActionButton;
class Segment1DEditor;
class ColorSetting;
class Document;

class FillStrokeSettingsWidget : public QWidget
class UI_EXPORT FillStrokeSettingsWidget : public QWidget
{
Q_OBJECT
typedef qCubicSegment1DAnimator::Action SegAction;
Expand Down

0 comments on commit 6fd1575

Please sign in to comment.