Files
miniCashAll/miniCash/mceditdialog.h

57 lines
1.2 KiB
C
Raw Normal View History

2025-08-05 22:37:51 +02:00
/***************************************************************************
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 <QDialog>
#include <miniCash.h>
#include <ui_mceditdialog.h>
/**
* @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