Add tooltips for connection interval settings
This commit is contained in:
parent
309ff054a0
commit
86e97a0d43
|
@ -316,6 +316,9 @@
|
|||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Frequency for updating traffic statistics and download speed</string>
|
||||
</property>
|
||||
<property name="suffix">
|
||||
<string> ms</string>
|
||||
</property>
|
||||
|
@ -356,6 +359,9 @@
|
|||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Frequency for updating device statistics</string>
|
||||
</property>
|
||||
<property name="suffix">
|
||||
<string> ms</string>
|
||||
</property>
|
||||
|
@ -382,6 +388,9 @@
|
|||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Frequency to poll for new errors</string>
|
||||
</property>
|
||||
<property name="suffix">
|
||||
<string> ms</string>
|
||||
</property>
|
||||
|
@ -408,6 +417,9 @@
|
|||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Time to wait for reconnecting again when the connection to Syncthing has been lost. This setting might be overruled by systemd and launcher settings.</string>
|
||||
</property>
|
||||
<property name="specialValueText">
|
||||
<string>no</string>
|
||||
</property>
|
||||
|
|
|
@ -87,6 +87,10 @@ QWidget *ConnectionOptionPage::setupWidget()
|
|||
ui()->certPathSelection->lineEdit()->setPlaceholderText(
|
||||
QCoreApplication::translate("QtGui::ConnectionOptionPage", "Auto-detected for local instance"));
|
||||
ui()->instanceNoteIcon->setPixmap(QApplication::style()->standardIcon(QStyle::SP_MessageBoxInformation).pixmap(32, 32));
|
||||
ui()->pollTrafficLabel->setToolTip(ui()->pollTrafficSpinBox->toolTip());
|
||||
ui()->pollDevStatsLabel->setToolTip(ui()->pollDevStatsSpinBox->toolTip());
|
||||
ui()->pollErrorsLabel->setToolTip(ui()->pollErrorsSpinBox->toolTip());
|
||||
ui()->reconnectLabel->setToolTip(ui()->reconnectSpinBox->toolTip());
|
||||
QObject::connect(m_connection, &SyncthingConnection::statusChanged, bind(&ConnectionOptionPage::updateConnectionStatus, this));
|
||||
QObject::connect(ui()->connectPushButton, &QPushButton::clicked, bind(&ConnectionOptionPage::applyAndReconnect, this));
|
||||
QObject::connect(ui()->insertFromConfigFilePushButton, &QPushButton::clicked, bind(&ConnectionOptionPage::insertFromConfigFile, this));
|
||||
|
|
Loading…
Reference in New Issue