Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved PreferencesHelper class from pluginbase to gui #1655

Merged
merged 1 commit into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/src/scopypreferencespage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <QCoreApplication>
#include <QScrollArea>
#include <stylehelper.h>
#include "pluginbase/preferenceshelper.h"
#include "gui/preferenceshelper.h"
#include "application_restarter.h"
#include <QDir>
#include <QDebug>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
#ifndef PREFERENCESHELPER_H
#define PREFERENCESHELPER_H
#include "preferences.h"
#include "scopy-pluginbase_export.h"
#include "scopy-gui_export.h"

#include <QCheckBox>
#include <QComboBox>
#include <QLineEdit>

#include <pluginbase/preferences.h>

namespace scopy {
/**
* @brief The PreferencesHelper class
* PreferencesHelper class used to create widgets and connect the widgets to the Preferences singleton
*/
class SCOPY_PLUGINBASE_EXPORT PreferencesHelper
class SCOPY_GUI_EXPORT PreferencesHelper
{

public:
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion plugins/adc/src/adcplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include <iioutil/connectionprovider.h>
#include <pluginbase/preferences.h>
#include <pluginbase/preferenceshelper.h>
#include <gui/preferenceshelper.h>
#include <widgets/menucollapsesection.h>
#include <widgets/menusectionwidget.h>

Expand Down
1 change: 0 additions & 1 deletion plugins/bareminimum/src/bareminimum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include <pluginbase/messagebroker.h>
#include <pluginbase/preferences.h>
#include <pluginbase/preferenceshelper.h>

Q_LOGGING_CATEGORY(CAT_TESTPLUGIN, "BareMinimum");
using namespace scopy;
Expand Down
2 changes: 1 addition & 1 deletion plugins/datalogger/src/dataloggerplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <iioutil/connectionprovider.h>

#include <pluginbase/preferences.h>
#include <pluginbase/preferenceshelper.h>
#include <gui/preferenceshelper.h>

#include <pluginbase/scopyjs.h>

Expand Down
2 changes: 1 addition & 1 deletion plugins/m2k/src/m2kplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include <libsigrokdecode/libsigrokdecode.h>
#include <pluginbase/messagebroker.h>
#include <pluginbase/preferences.h>
#include <pluginbase/preferenceshelper.h>
#include <gui/preferenceshelper.h>
#include <pluginbase/scopyjs.h>
#include <widgets/menucollapsesection.h>
#include <widgets/menusectionwidget.h>
Expand Down
2 changes: 1 addition & 1 deletion plugins/regmap/src/regmapplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <src/readwrite/iioregisterreadstrategy.hpp>
#include <src/readwrite/iioregisterwritestrategy.hpp>
#include <pluginbase/preferences.h>
#include <pluginbase/preferenceshelper.h>
#include <gui/preferenceshelper.h>
#include <widgets/menucollapsesection.h>
#include <widgets/menusectionwidget.h>
#include <readwrite/fileregisterreadstrategy.hpp>
Expand Down
2 changes: 1 addition & 1 deletion plugins/test/src/testplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <gui/widgets/hoverwidget.h>
#include <pluginbase/messagebroker.h>
#include <pluginbase/preferences.h>
#include <pluginbase/preferenceshelper.h>
#include <gui/preferenceshelper.h>
#include <widgets/menucollapsesection.h>
#include <widgets/menusectionwidget.h>

Expand Down
Loading