mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 09:00:42 +08:00
Try a spin cursor for 'run' and 'start' modes.
Add target's name to window title.
This commit is contained in:
@@ -106,6 +106,8 @@ SeerMainWindow::SeerMainWindow(QWidget* parent) : QMainWindow(parent) {
|
||||
|
||||
QObject::connect(runStatus, &SeerRunStatusIndicator::statusChanged, this, &SeerMainWindow::handleRunStatusChanged);
|
||||
|
||||
QObject::connect(gdbWidget, &SeerGdbWidget::changeWindowTitle, this, &SeerMainWindow::handleChangeWindowTitle);
|
||||
|
||||
QObject::connect(qApp, &QApplication::aboutToQuit, gdbWidget, &SeerGdbWidget::handleGdbShutdown);
|
||||
|
||||
// Restore window settings.
|
||||
@@ -632,6 +634,15 @@ void SeerMainWindow::handleRunStatusChanged (SeerRunStatusIndicator::RunStatus s
|
||||
|
||||
}
|
||||
|
||||
void SeerMainWindow::handleChangeWindowTitle (QString title) {
|
||||
|
||||
if (title == "") {
|
||||
setWindowTitle("Seer Debugger");
|
||||
}else{
|
||||
setWindowTitle("Seer Debugger - '" + title + "'");
|
||||
}
|
||||
}
|
||||
|
||||
void SeerMainWindow::writeSettings() {
|
||||
|
||||
QSettings settings;
|
||||
|
||||
Reference in New Issue
Block a user