diff --git a/settingsdialog.cpp b/settingsdialog.cpp index 2a43906..89c1efd 100644 --- a/settingsdialog.cpp +++ b/settingsdialog.cpp @@ -89,8 +89,8 @@ SettingsDialog::SettingsDialog(QWidget *parent) : QDialog(parent) m_bestFit->setToolTip(tr("Set Best Fit zoom level when opening new image.")); m_bestFit->setChecked(BESTFIT); - m_headerHighlight = new QListWidget(this); + m_headerHighlight->setToolTip(tr("List of FITS keywords that will be highlighted in Image info")); for(auto i = headerHighlight.begin(); i != headerHighlight.end(); i++) { QListWidgetItem *item = new QListWidgetItem(m_headerHighlight); @@ -98,6 +98,7 @@ SettingsDialog::SettingsDialog(QWidget *parent) : QDialog(parent) item->setBackground(i.value()); } m_keyword = new QLineEdit(this); + m_keyword->setPlaceholderText(tr("FITS keyword")); QPushButton *color = new QPushButton(this); QPixmap pix(16, 16); pix.fill(m_color); @@ -136,6 +137,7 @@ SettingsDialog::SettingsDialog(QWidget *parent) : QDialog(parent) layout->addRow(m_qualityThumbnail); layout->addRow(m_useNativeDialog); layout->addRow(m_bestFit); + layout->addRow(new QLabel(tr("FITS header highlight"), this)); layout->addRow(m_headerHighlight); layout->addRow(m_keyword, color); layout->addRow(add, remove);