48 lines
1.0 KiB
C
48 lines
1.0 KiB
C
|
/***************************************************************************
|
||
|
|
||
|
miniCash
|
||
|
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 MCVENDORSDIALOG_H
|
||
|
#define MCVENDORSDIALOG_H
|
||
|
|
||
|
#include <QDialog>
|
||
|
#include <QStandardItemModel>
|
||
|
|
||
|
#include <libMiniCash.h>
|
||
|
#include <ui_mcvendorsdialog.h>
|
||
|
|
||
|
namespace Ui
|
||
|
{
|
||
|
class MCVendorsDialog;
|
||
|
}
|
||
|
|
||
|
class LIBMINICASH_EXPORT MCVendorsDialog : public QDialog
|
||
|
{
|
||
|
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
|
||
|
explicit MCVendorsDialog( QWidget* parent, const QString& filePath );
|
||
|
virtual ~MCVendorsDialog();
|
||
|
|
||
|
protected:
|
||
|
|
||
|
void loadVendorsFile( const QString& filePath );
|
||
|
|
||
|
Ui::MCVendorsDialog* _ui{};
|
||
|
QStandardItemModel _csvModel;
|
||
|
};
|
||
|
|
||
|
#endif // MCVENDORSDIALOG_H
|