Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+46
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
* @RDE_HEADER@
|
||||
* <short description>
|
||||
* $Id$
|
||||
* $HeadURL$
|
||||
* $Author$
|
||||
* Created by Malte Schröder, SLSE, 2016-06-08
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <nglwidgets/ngldialog.h>
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class LicenceEdit;
|
||||
}
|
||||
namespace LtsLicence
|
||||
{
|
||||
struct Licence;
|
||||
}
|
||||
|
||||
class LicenceEdit : public NGLDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit LicenceEdit(QWidget *parent = nullptr);
|
||||
~LicenceEdit();
|
||||
|
||||
void setLicence(const LtsLicence::Licence &licence);
|
||||
void clear();
|
||||
|
||||
signals:
|
||||
void newLicence(const LtsLicence::Licence &li);
|
||||
|
||||
private slots:
|
||||
void onOk();
|
||||
void onCancel();
|
||||
|
||||
void enableIgnoreCount(int checkState);
|
||||
void enableIgnoreExpiration(int checkState);
|
||||
void onNameChanged(const QString &name);
|
||||
private:
|
||||
Ui::LicenceEdit *m_ui;
|
||||
};
|
||||
Reference in new issue
Block a user