2015-08-30 13:35:02 +02:00
|
|
|
#ifndef LIBRARYEDITARGDIALOG_H
|
|
|
|
#define LIBRARYEDITARGDIALOG_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
2015-08-30 13:41:57 +02:00
|
|
|
#include "cppchecklibrarydata.h"
|
2015-08-30 13:35:02 +02:00
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class LibraryEditArgDialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
class LibraryEditArgDialog : public QDialog {
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2017-04-01 09:31:27 +02:00
|
|
|
LibraryEditArgDialog(QWidget *parent, const CppcheckLibraryData::Function::Arg &arg);
|
2018-05-01 09:35:53 +02:00
|
|
|
LibraryEditArgDialog(const LibraryEditArgDialog &) = delete;
|
2015-08-30 13:35:02 +02:00
|
|
|
~LibraryEditArgDialog();
|
2018-05-01 09:35:53 +02:00
|
|
|
LibraryEditArgDialog &operator=(const LibraryEditArgDialog &) = delete;
|
2015-08-30 13:35:02 +02:00
|
|
|
|
2015-08-30 13:41:57 +02:00
|
|
|
CppcheckLibraryData::Function::Arg getArg() const;
|
2015-08-30 13:35:02 +02:00
|
|
|
|
2015-09-01 18:13:27 +02:00
|
|
|
private slots:
|
|
|
|
void minsizeChanged(int);
|
|
|
|
|
2015-08-30 13:35:02 +02:00
|
|
|
private:
|
2018-06-18 10:13:33 +02:00
|
|
|
Ui::LibraryEditArgDialog *mUi;
|
2015-08-30 13:35:02 +02:00
|
|
|
|
2018-06-18 14:15:13 +02:00
|
|
|
QList<CppcheckLibraryData::Function::Arg::MinSize> mMinSizes;
|
2015-08-30 13:35:02 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LIBRARYEDITARGDIALOG_H
|