Commit 81f716c7 authored by Chris Rizzitello's avatar Chris Rizzitello

Forward Declare

parent 30df15f3
......@@ -23,10 +23,8 @@
You should have received a copy of the GNU Lesser General Public
License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QMetaEnum>
#include <QObject>
#include "gcodecommands.h"
#include <QString>
const QString GCode::commandRequiresArgument = QObject::tr("%1%2: requires an argument");
const QString GCode::commandNotSupported = QObject::tr("Not implemented or not supported!");
......
......@@ -26,9 +26,9 @@
#pragma once
#include <QObject>
#include <QString>
#include "atcore_export.h"
/**
* @brief The GCode class
* Provides Descriptions and Commands strings for G and M Commands
......
......@@ -24,6 +24,7 @@
#include <QCommandLineParser>
#include <QLoggingCategory>
#include <QRegularExpression>
#include <QTextStream>
#include <QTime>
#include "printthread.h"
......
......@@ -23,7 +23,6 @@
#pragma once
#include <QFile>
#include <QTextStream>
#include "atcore.h"
......
......@@ -25,7 +25,6 @@
#pragma once
#include <QSerialPort>
#include <QVector>
#include "atcore_export.h"
......
......@@ -19,9 +19,12 @@
*/
#include "axiscontrol.h"
#include <QComboBox>
#include <QDoubleSpinBox>
#include <QGridLayout>
#include <QHBoxLayout>
#include <QLabel>
#include <QPushButton>
#include <QString>
AxisControl::AxisControl(QWidget *parent)
: QWidget(parent)
......
......@@ -18,13 +18,14 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include <QDoubleSpinBox>
#include <QPushButton>
#include <QString>
#include <QWidget>
#include "atcorewidgets_export.h"
class QDoubleSpinBox;
class QPushButton;
class QString;
/**
* @brief AxisControl is a Widget to generate axis relative movements.
*
......
......@@ -17,6 +17,7 @@
*/
#include "commandwidget.h"
#include <QHBoxLayout>
#include <QLineEdit>
#include <QPushButton>
#include <QVBoxLayout>
......
......@@ -17,10 +17,12 @@
*/
#pragma once
#include <QLineEdit>
#include <QWidget>
#include "atcorewidgets_export.h"
class QLineEdit;
/**
* @brief CommandWidget provides a widget to send commands or messages to the printer.
*
......
......@@ -17,10 +17,13 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "logwidget.h"
#include <QFileDialog>
#include <QPlainTextEdit>
#include <QPushButton>
#include <QStackedWidget>
#include <QStyle>
#include <QTemporaryFile>
#include <QTime>
#include <QToolButton>
#include <QVBoxLayout>
......
......@@ -17,12 +17,13 @@
*/
#pragma once
#include <QPlainTextEdit>
#include <QTemporaryFile>
#include <QWidget>
#include "atcorewidgets_export.h"
class QPlainTextEdit;
class QTemporaryFile;
/**
* @brief The LogWidget will display the log for the connected atcore. Create with a pointer to a new QTemporaryFile.
*/
......
......@@ -15,6 +15,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <QComboBox>
#include <QDoubleSpinBox>
#include <QHBoxLayout>
#include <QPushButton>
#include <QVBoxLayout>
......
......@@ -17,11 +17,13 @@
*/
#pragma once
#include <QComboBox>
#include <QDoubleSpinBox>
#include <QWidget>
#include "atcorewidgets_export.h"
class QComboBox;
class QDoubleSpinBox;
/**
* @brief The MovementWidget class
* This widget will provide Basic Movement Controls. Create it with "showHomeAndDisableWidgets" false if your client provides its own actions for homing and disabling the motors.
......
......@@ -26,6 +26,7 @@
#include <QtCharts>
#include "atcorewidgets_export.h"
/**
* @brief PlotWidget Show a graph of the temperature over time.
*/
......
......@@ -16,9 +16,13 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "printwidget.h"
#include <QComboBox>
#include <QHBoxLayout>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
#include <QSpinBox>
#include <QVBoxLayout>
PrintWidget::PrintWidget(bool showAllControls, QWidget *parent)
......
......@@ -16,13 +16,16 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include <QComboBox>
#include <QLineEdit>
#include <QPushButton>
#include <QSpinBox>
#include <QWidget>
#include "atcorewidgets_export.h"
class QComboBox;
class QLineEdit;
class QPushButton;
class QSpinBox;
/**
* @brief PrintWidget
* provide a basic print widget.
......
......@@ -21,11 +21,17 @@
#include "machineinfo.h"
#include <QButtonGroup>
#include <QCheckBox>
#include <QComboBox>
#include <QCompleter>
#include <QCoreApplication>
#include <QDir>
#include <QGroupBox>
#include <QHBoxLayout>
#include <QLabel>
#include <QLineEdit>
#include <QRadioButton>
#include <QSpinBox>
#include <QToolButton>
ProfileManager::ProfileManager(QWidget *parent)
......
......@@ -17,13 +17,16 @@
*/
#pragma once
#include <QWidget>
#include "atcorewidgets_export.h"
#include <QCheckBox>
#include <QComboBox>
#include <QHBoxLayout>
#include <QLabel>
#include <QRadioButton>
#include <QSpinBox>
class QCheckBox;
class QComboBox;
class QLabel;
class QLineEdit;
class QRadioButton;
class QSpinBox;
class ATCOREWIDGETS_EXPORT ProfileManager : public QWidget
{
......
......@@ -17,6 +17,7 @@
*/
#include <QGroupBox>
#include <QHBoxLayout>
#include <QListWidget>
#include <QPushButton>
#include <QVBoxLayout>
......
......@@ -17,10 +17,11 @@
*/
#pragma once
#include <QListWidget>
#include <QWidget>
#include "atcorewidgets_export.h"
class QListWidget;
/**
* @brief The SdWidget class
* Provide basic Sd card actions. Requires Fw Support.
......
......@@ -16,9 +16,13 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "temperaturewidget.h"
#include <QCheckBox>
#include <QComboBox>
#include <QHBoxLayout>
#include <QLabel>
#include <QPushButton>
#include <QSpinBox>
#include <QVBoxLayout>
TemperatureWidget::TemperatureWidget(QWidget *parent)
......
......@@ -17,12 +17,14 @@
*/
#pragma once
#include <QCheckBox>
#include <QComboBox>
#include <QSpinBox>
#include <QWidget>
#include "atcorewidgets_export.h"
class QCheckBox;
class QComboBox;
class QSpinBox;
/**
* @brief The TemperatureWidget Control the bed and extruder(s) temperatures
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment