2022-01-28 15:56:11 +01:00
|
|
|
/*
|
|
|
|
* Cppcheck - A tool for static C/C++ code analysis
|
2022-02-05 11:45:17 +01:00
|
|
|
* Copyright (C) 2007-2022 Cppcheck team.
|
2022-01-28 15:56:11 +01:00
|
|
|
*
|
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2015-08-30 13:35:02 +02:00
|
|
|
#ifndef LIBRARYEDITARGDIALOG_H
|
|
|
|
#define LIBRARYEDITARGDIALOG_H
|
|
|
|
|
2015-08-30 13:41:57 +02:00
|
|
|
#include "cppchecklibrarydata.h"
|
2015-08-30 13:35:02 +02:00
|
|
|
|
2022-02-02 16:17:28 +01:00
|
|
|
#include <QDialog>
|
|
|
|
|
2022-04-13 12:24:00 +02:00
|
|
|
class QObject;
|
|
|
|
class QWidget;
|
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;
|
2022-03-13 20:07:58 +01:00
|
|
|
~LibraryEditArgDialog() override;
|
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:
|
2022-09-27 20:03:25 +02:00
|
|
|
void minsizeChanged();
|
2015-09-01 18:13:27 +02:00
|
|
|
|
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
|