24 QGridLayout* gridLayout,
int row) :
27 mData = dataInterface;
28 connect(mData.get(), SIGNAL(changed()),
this, SLOT(
setModified()));
30 QHBoxLayout* topLayout =
new QHBoxLayout;
31 topLayout->setMargin(0);
32 this->setLayout(topLayout);
36 connect(mFileInput, SIGNAL(fileChanged()),
this, SLOT(editingFinished()));
40 gridLayout->addWidget(mFileInput, row, 0);
44 topLayout->addWidget(mFileInput);
51 void FilenameWidget::editingFinished()
56 void FilenameWidget::prePaintEvent()
58 mFileInput->blockSignals(
true);
60 QString path = mData->getEmbeddedPath().getRootPath();
62 path = QDir::homePath();
67 mFileInput->
setHelp(mData->getHelp());
70 mFileInput->blockSignals(
false);