Export symbols

This commit is contained in:
WarmUpTill
2025-06-06 20:07:26 +02:00
committed by WarmUpTill
parent ec41c06b4d
commit e3471066e9
7 changed files with 20 additions and 21 deletions

View File

@@ -7,7 +7,7 @@
namespace advss {
class SliderIgnoreScroll : public QSlider {
class ADVSS_EXPORT SliderIgnoreScroll : public QSlider {
Q_OBJECT
public:

View File

@@ -9,15 +9,14 @@
namespace advss {
class DurationSelection : public QWidget {
class ADVSS_EXPORT DurationSelection : public QWidget {
Q_OBJECT
public:
EXPORT DurationSelection(QWidget *parent = nullptr,
bool showUnitSelection = true,
double minValue = 0.0);
EXPORT void SetDuration(const Duration &);
DurationSelection(QWidget *parent = nullptr,
bool showUnitSelection = true, double minValue = 0.0);
void SetDuration(const Duration &);
Duration GetDuration() const { return _current; }
EXPORT QDoubleSpinBox *SpinBox() { return _duration->SpinBox(); }
QDoubleSpinBox *SpinBox() { return _duration->SpinBox(); }
private slots:
void _DurationChanged(const NumberVariable<double> &value);

View File

@@ -25,8 +25,8 @@ EXPORT void StopPlugin();
EXPORT void StartPlugin();
EXPORT bool PluginIsRunning();
EXPORT int GetIntervalValue();
void AddStartStep(std::function<void()>);
void AddStopStep(std::function<void()>);
EXPORT void AddStartStep(std::function<void()>);
EXPORT void AddStopStep(std::function<void()>);
void RunStartSteps();
void RunStopSteps();
void RunIntervalResetSteps();

View File

@@ -5,15 +5,15 @@
namespace advss {
class ResizingPlainTextEdit : public QPlainTextEdit {
class ADVSS_EXPORT ResizingPlainTextEdit : public QPlainTextEdit {
Q_OBJECT
public:
ResizingPlainTextEdit(QWidget *parent, const int scrollAt = 10,
const int minLines = 3,
const int paddingLines = 2);
virtual ~ResizingPlainTextEdit(){};
EXPORT int maxLength();
EXPORT void setMaxLength(int maxLength);
int maxLength();
void setMaxLength(int maxLength);
protected:
bool eventFilter(QObject *obj, QEvent *event) override;