27 #include "../../../../core/translator/Translator.h" 28 #include "../../../../dataaccess/dataset/CheckConstraint.h" 29 #include "../../Exception.h" 55 if(role == Qt::DecorationRole)
56 return QVariant(QIcon::fromTheme(
"check"));
58 if(role == Qt::DisplayRole)
66 QMenu* m =
new QMenu(parent);
68 QAction* aOpenCheckConstraint = m->addAction(tr(
"&Open check-constraint"));
70 connect(aOpenCheckConstraint, SIGNAL(triggered()),
this, SLOT(openCheckConstraint()));
82 return Qt::NoItemFlags;
A class that describes a check constraint.
A class that represents a check-constraint in a TreeModel.
virtual const std::string & getName() const
It returns the constraint name.