kima2/src/gui/pricedialog.h

26 lines
577 B
C
Raw Normal View History

2018-07-21 19:24:56 +02:00
#ifndef PRICE_DIALOG_H
#define PRICE_DIALOG_H
#include "ui_pricedialog.h"
#include <QDialog>
class PriceDialog : public QDialog
{
Q_OBJECT
public:
PriceDialog(QWidget* parent = nullptr, bool forceDesc = false,
Qt::WindowFlags f = Qt::WindowTitleHint | Qt::WindowSystemMenuHint);
2018-07-21 19:24:56 +02:00
int getPrice() const;
std::string getDescription() const;
void setForceDesc(bool force);
2018-07-21 19:24:56 +02:00
private:
void on_model_duplicateSellerNo(const QString& message);
2018-07-22 20:56:20 +02:00
virtual void accept() override;
2022-07-07 15:37:33 +02:00
Ui::PriceDialog m_ui;
bool m_forceDesc;
2018-07-21 19:24:56 +02:00
};
#endif