Skip to content
Snippets Groups Projects
Commit cfb21a28 authored by Julien Michel's avatar Julien Michel
Browse files

ENH: Adding a clear message to indicate how to set the applications input

parent 86be40fe
No related branches found
No related tags found
No related merge requests found
......@@ -101,6 +101,7 @@ void QtWidgetFileSelection::DoCreateWidget()
m_Input = new QLabel;
m_Input->setFrameShape(QFrame::Box);
m_Input->setText(tr("Drag and drop a dataset here"));
m_HLayout->addWidget(m_Input);
// Set up input text edit
......
......@@ -100,6 +100,7 @@ void QtWidgetInputImageParameter::DoCreateWidget()
// Set up input QLabel
m_Input->setToolTip( m_InputImageParam->GetDescription() );
m_Input->setFrameShape(QFrame::Box);
m_Input->setText(tr("Drag and drop a dataset here"));
// TODO : QLabel does not have signals, remove connections
connect( this, SIGNAL(textChanged(const QString&)), this, SLOT(SetFileName(const QString&)) );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment