AtCore  1.0.72
AtCore is a API to manage the serial connection between the computer and 3D Printers.
commandwidget.h
Go to the documentation of this file.
1 /* AtCore KDE Libary for 3D Printers
2  SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
3  SPDX-FileCopyrightText: 2018, 2020 Chris Rizzitello <rizzitello@kde.org>
4 */
5 
6 #pragma once
7 
8 #include <QWidget>
9 
10 #include "atcorewidgets_export.h"
11 
12 class QLineEdit;
13 
20 class ATCOREWIDGETS_EXPORT CommandWidget : public QWidget
21 {
22  Q_OBJECT
23 public:
24  CommandWidget(QWidget *parent = nullptr);
25  ~CommandWidget() = default;
26 
27 signals:
32  void commandPressed(const QString &command);
33 
38  void messagePressed(const QString &message);
39 
40 private:
41  QLineEdit *lineCommand = nullptr;
42  QLineEdit *lineMessage = nullptr;
43 };
CommandWidget
CommandWidget provides a widget to send commands or messages to the printer.
Definition: commandwidget.h:20