58 #include <QHBoxLayout>
59 #include <QFileDialog>
61 #include <QApplication>
62 #include <QColorDialog>
64 #include <QRegularExpression>
66 #include "../vpropertyexplorer/vproperty.h"
67 #include "../vtools/dialogs/support/edit_formula_dialog.h"
78 setAutoFillBackground(
true);
83 textLabel->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
86 spacer =
new QSpacerItem(1, 0, QSizePolicy::Expanding, QSizePolicy::Fixed);
90 toolButton->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
92 toolButton->setIcon(QIcon(
"://icon/16x16/fx.png"));
100 QHBoxLayout *layout =
new QHBoxLayout(
this);
101 layout->setSpacing(3);
102 layout->setMargin(0);
122 qApp->getMainWindow());
127 if (dialog->exec() == QDialog::Accepted)
134 QCoreApplication::postEvent (
this, event );
141 if (obj ==
toolButton && event->type() == QEvent::KeyPress)
148 return QWidget::eventFilter(obj, event);