mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
refs #198 , using settings with GUI
This commit is contained in:
@@ -424,7 +424,7 @@ private slots:
|
||||
void alterTrafficServer();
|
||||
|
||||
//! \brief Network settings have been changed
|
||||
void changedSettings();
|
||||
void changedSettings(uint typeValue);
|
||||
|
||||
/*!
|
||||
* \brief Update timer
|
||||
|
||||
@@ -454,7 +454,7 @@ QStatusBar QLabel {
|
||||
<enum>QFrame::NoFrame</enum>
|
||||
</property>
|
||||
<property name="currentIndex">
|
||||
<number>4</number>
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="pg_StatusPage">
|
||||
<property name="sizePolicy">
|
||||
@@ -554,7 +554,7 @@ QStatusBar QLabel {
|
||||
<item>
|
||||
<widget class="QToolBox" name="tb_StatusPage">
|
||||
<property name="currentIndex">
|
||||
<number>1</number>
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="tabSpacing">
|
||||
<number>3</number>
|
||||
@@ -564,8 +564,8 @@ QStatusBar QLabel {
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>90</width>
|
||||
<height>59</height>
|
||||
<width>326</width>
|
||||
<height>267</height>
|
||||
</rect>
|
||||
</property>
|
||||
<attribute name="label">
|
||||
@@ -607,8 +607,8 @@ QStatusBar QLabel {
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>90</width>
|
||||
<height>55</height>
|
||||
<width>326</width>
|
||||
<height>267</height>
|
||||
</rect>
|
||||
</property>
|
||||
<attribute name="label">
|
||||
|
||||
@@ -86,8 +86,9 @@ void MainWindow::alterTrafficServer()
|
||||
/*
|
||||
* Settings did changed
|
||||
*/
|
||||
void MainWindow::changedSettings()
|
||||
void MainWindow::changedSettings(uint typeValue)
|
||||
{
|
||||
Q_UNUSED(typeValue);
|
||||
this->reloadSettings();
|
||||
}
|
||||
|
||||
@@ -105,7 +106,6 @@ void MainWindow::updateGuiSelectedServerTextboxes(const CServer &server)
|
||||
this->ui->le_SettingsTnCsPassword->setText(server.getUser().getPassword());
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Server settings from textboxes
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user