32 lines
592 B
C
32 lines
592 B
C
![]() |
#ifndef CUSTOMATTRIBUTESDIALOG_H
|
||
|
#define CUSTOMATTRIBUTESDIALOG_H
|
||
|
|
||
|
#include <QDialog>
|
||
|
#include <QAbstractButton>
|
||
|
|
||
|
#include "customattributestable.h"
|
||
|
|
||
|
namespace Ui {
|
||
|
class CustomAttributesDialog;
|
||
|
}
|
||
|
|
||
|
class CustomAttributesDialog : public QDialog
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit CustomAttributesDialog(CustomAttributesTable *parent);
|
||
|
~CustomAttributesDialog();
|
||
|
|
||
|
private:
|
||
|
Ui::CustomAttributesDialog *ui;
|
||
|
CustomAttributesTable *const table;
|
||
|
|
||
|
void addNewAttribute();
|
||
|
bool verifyName();
|
||
|
void setNameEditHighlight(bool highlight);
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif // CUSTOMATTRIBUTESDIALOG_H
|