/*************************************************************************** libMiniCash Copyright © 2013-2022 christoph holzheuer c.holzheuer@sourceworx.org This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. ***************************************************************************/ #ifndef MCEDITDIALOG_H #define MCEDITDIALOG_H #include #include #include /** * @brief Editiert eine Kassendatei * * Hier kann die Verkaufsdatei einer Kassen direkt editiert * werden, um Zahlendrehen oder Tippfehler zu korrigieren oder * Einträge zu löschen (Storno des kleinen Mannes) * */ class MCEditDialog : public QDialog, private Ui_MCEditDialog { Q_OBJECT public: explicit MCEditDialog(QWidget *parent = nullptr, const QString& filename="" ); ~MCEditDialog(); public slots: void onSearch(); protected: void onLoadFile(); void accept(); protected: QString _filename; }; #endif // MCEditDialog_H