GUI: adjust the dialog windows titles
This commit is contained in:
parent
c56c1d6f46
commit
56f0a0f9e6
@ -156,7 +156,9 @@ private:
|
|||||||
ConfIndexW::ConfIndexW(QWidget *parent, RclConfig *config)
|
ConfIndexW::ConfIndexW(QWidget *parent, RclConfig *config)
|
||||||
: QDialog(parent), m_rclconf(config)
|
: QDialog(parent), m_rclconf(config)
|
||||||
{
|
{
|
||||||
setWindowTitle(QString::fromLocal8Bit(config->getConfDir().c_str()));
|
QString title("Recoll - Index Settings : ");
|
||||||
|
title += QString::fromLocal8Bit(config->getConfDir().c_str());
|
||||||
|
setWindowTitle(title);
|
||||||
tabWidget = new QTabWidget;
|
tabWidget = new QTabWidget;
|
||||||
reloadPanels();
|
reloadPanels();
|
||||||
|
|
||||||
|
|||||||
@ -133,7 +133,11 @@ void SnippetsW::init()
|
|||||||
if (titleOrFilename.empty()) {
|
if (titleOrFilename.empty()) {
|
||||||
titleOrFilename = utf8fn;
|
titleOrFilename = utf8fn;
|
||||||
}
|
}
|
||||||
setWindowTitle(QString::fromUtf8(titleOrFilename.c_str()));
|
QString title("Recoll - Snippets");
|
||||||
|
if (!titleOrFilename.empty()) {
|
||||||
|
title += QString(" : ") + QString::fromUtf8(titleOrFilename.c_str());
|
||||||
|
}
|
||||||
|
setWindowTitle(title);
|
||||||
|
|
||||||
vector<Rcl::Snippet> vpabs;
|
vector<Rcl::Snippet> vpabs;
|
||||||
m_source->getAbstract(m_doc, vpabs);
|
m_source->getAbstract(m_doc, vpabs);
|
||||||
|
|||||||
@ -11,7 +11,7 @@
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>User preferences</string>
|
<string>Recoll - User Preferences</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizeGripEnabled">
|
<property name="sizeGripEnabled">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user