mirror of
https://github.com/theCheeseboard/thedesk.git
synced 2025-01-22 18:32:09 -05:00
Fix some status center panes not working properly on smaller screens
This commit is contained in:
parent
eb57801826
commit
a63c0116dc
10 changed files with 25 additions and 0 deletions
|
@ -89,3 +89,7 @@ void PluginManagement::on_pluginsList_activated(const QModelIndex& index) {
|
||||||
// connect(popover, &tPopover::dismissed, manager, &ManagePluginPopover::deleteLater);
|
// connect(popover, &tPopover::dismissed, manager, &ManagePluginPopover::deleteLater);
|
||||||
popover->show(this->window());
|
popover->show(this->window());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void PluginManagement::on_titleLabel_backButtonClicked() {
|
||||||
|
StateManager::statusCenterManager()->showStatusCenterHamburgerMenu();
|
||||||
|
}
|
||||||
|
|
|
@ -48,6 +48,7 @@ class PluginManagement : public StatusCenterPane {
|
||||||
QWidget* leftPane();
|
QWidget* leftPane();
|
||||||
private slots:
|
private slots:
|
||||||
void on_pluginsList_activated(const QModelIndex& index);
|
void on_pluginsList_activated(const QModelIndex& index);
|
||||||
|
void on_titleLabel_backButtonClicked();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // PLUIGINMANAGEMENT_H
|
#endif // PLUIGINMANAGEMENT_H
|
||||||
|
|
|
@ -87,3 +87,7 @@ void Recovery::on_resetDEButton_clicked() {
|
||||||
delete c;
|
delete c;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Recovery::on_titleLabel_backButtonClicked() {
|
||||||
|
StateManager::statusCenterManager()->showStatusCenterHamburgerMenu();
|
||||||
|
}
|
||||||
|
|
|
@ -46,6 +46,7 @@ class Recovery : public StatusCenterPane {
|
||||||
QWidget* leftPane();
|
QWidget* leftPane();
|
||||||
private slots:
|
private slots:
|
||||||
void on_resetDEButton_clicked();
|
void on_resetDEButton_clicked();
|
||||||
|
void on_titleLabel_backButtonClicked();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // RECOVERY_H
|
#endif // RECOVERY_H
|
||||||
|
|
|
@ -163,3 +163,7 @@ void LocaleSettingsPane::on_languagesList_customContextMenuRequested(const QPoin
|
||||||
menu->popup(ui->languagesList->mapToGlobal(pos));
|
menu->popup(ui->languagesList->mapToGlobal(pos));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void LocaleSettingsPane::on_titleLabel_backButtonClicked() {
|
||||||
|
StateManager::statusCenterManager()->showStatusCenterHamburgerMenu();
|
||||||
|
}
|
||||||
|
|
|
@ -51,6 +51,7 @@ class LocaleSettingsPane : public StatusCenterPane {
|
||||||
void on_countryBox_currentIndexChanged(int index);
|
void on_countryBox_currentIndexChanged(int index);
|
||||||
void on_addLanguageButton_clicked();
|
void on_addLanguageButton_clicked();
|
||||||
void on_languagesList_customContextMenuRequested(const QPoint& pos);
|
void on_languagesList_customContextMenuRequested(const QPoint& pos);
|
||||||
|
void on_titleLabel_backButtonClicked();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // LOCALESETTINGSPANE_H
|
#endif // LOCALESETTINGSPANE_H
|
||||||
|
|
|
@ -72,3 +72,7 @@ QListWidgetItem* DevicePane::leftPaneItem() {
|
||||||
void DevicePane::on_disconnectButton_clicked() {
|
void DevicePane::on_disconnectButton_clicked() {
|
||||||
d->device->disconnectInterface();
|
d->device->disconnectInterface();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void DevicePane::on_titleLabel_backButtonClicked() {
|
||||||
|
StateManager::statusCenterManager()->showStatusCenterHamburgerMenu();
|
||||||
|
}
|
||||||
|
|
|
@ -43,6 +43,7 @@ class DevicePane : public AbstractDevicePane {
|
||||||
QListWidgetItem* leftPaneItem();
|
QListWidgetItem* leftPaneItem();
|
||||||
private slots:
|
private slots:
|
||||||
void on_disconnectButton_clicked();
|
void on_disconnectButton_clicked();
|
||||||
|
void on_titleLabel_backButtonClicked();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // DEVICEPANE_H
|
#endif // DEVICEPANE_H
|
||||||
|
|
|
@ -240,3 +240,7 @@ void WifiDevicePane::on_selectNetworkButton_clicked() {
|
||||||
connect(popover, &tPopover::dismissed, selection, &WirelessNetworkSelectionPopover::deleteLater);
|
connect(popover, &tPopover::dismissed, selection, &WirelessNetworkSelectionPopover::deleteLater);
|
||||||
popover->show(this->window());
|
popover->show(this->window());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void WifiDevicePane::on_titleLabel_backButtonClicked() {
|
||||||
|
StateManager::statusCenterManager()->showStatusCenterHamburgerMenu();
|
||||||
|
}
|
||||||
|
|
|
@ -47,6 +47,7 @@ class WifiDevicePane : public AbstractDevicePane {
|
||||||
private slots:
|
private slots:
|
||||||
void on_disconnectButton_clicked();
|
void on_disconnectButton_clicked();
|
||||||
void on_selectNetworkButton_clicked();
|
void on_selectNetworkButton_clicked();
|
||||||
|
void on_titleLabel_backButtonClicked();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // WIFIDEVICEPANE_H
|
#endif // WIFIDEVICEPANE_H
|
||||||
|
|
Loading…
Reference in a new issue