first re-commit.
This commit is contained in:
56
miniCash/mceditdialog.h
Normal file
56
miniCash/mceditdialog.h
Normal file
@@ -0,0 +1,56 @@
|
||||
/***************************************************************************
|
||||
|
||||
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
|
Reference in New Issue
Block a user