AtCore  1.0.72
AtCore is a API to manage the serial connection between the computer and 3D Printers.
sdwidget.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 QListWidget;
17 class ATCOREWIDGETS_EXPORT SdWidget : public QWidget
18 {
19  Q_OBJECT
20 public:
25  SdWidget(QWidget *parent = nullptr);
26  ~SdWidget() = default;
27 
32  void updateFilelist(const QStringList &fileList);
33 signals:
37  void requestSdList();
38 
43  void printSdFile(const QString &fileName);
44 
49  void deleteSdFile(const QString &fileName);
50 
51 private:
52  QListWidget *listSdFiles = nullptr;
53 };
SdWidget
The SdWidget class Provide basic Sd card actions. Requires Fw Support.
Definition: sdwidget.h:17