Skip to content

Commit 72ea9c7

Browse files
committed
[gpnode_gui] Mainwindow bug fix
1 parent 36f55ad commit 72ea9c7

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

gui-tools/src/gpstudio_gui/gpviewer/viewerwindow.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,6 @@ void ViewerWindow::createToolBarAndMenu()
167167

168168
// ============= Windows =============
169169
_viewersMdiArea->setMenu(menuBar()->addMenu("&Viewers"));
170-
_mainToolBar->addSeparator();
171-
_mainToolBar->addAction(_viewersMdiArea->viewBlockAct());
172-
_mainToolBar->addAction(_viewersMdiArea->tileAct());
173-
_mainToolBar->addAction(_viewersMdiArea->closeAct());
174170

175171
// ============= Help =============
176172
QMenu *helpMenu = menuBar()->addMenu("&Help");

gui-tools/src/gpstudio_gui/nodeeditor/nodeeditorwindows.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,8 @@ void NodeEditorWindows::createToolBarAndMenu()
360360
_mainToolBar->addAction(makerunAction);
361361
projectMenu->addAction(makerunAction);
362362

363-
QAction *makeallAction = new QAction(tr("&All previous action"), this);
363+
QAction *makeallAction = new QAction(tr("Generate, &compile, send and run"), this);
364+
makeallAction->setShortcut(QKeySequence("Ctrl+R"));
364365
makeallAction->setStatusTip(tr("Generate, compile and lauch your projects"));
365366
makeallAction->setIcon(QIcon(":/icons/img/make-all.png"));
366367
connect(makeallAction, SIGNAL(triggered(bool)), _compileLog, SLOT(launchAll()));
@@ -435,11 +436,13 @@ void NodeEditorWindows::createToolBarAndMenu()
435436
QMenu *helpMenu = menuBar()->addMenu(tr("&Help"));
436437

437438
QAction *aboutAction = new QAction(tr("&About"), this);
438-
aboutAction->setStatusTip(tr("Shows abou"));
439+
aboutAction->setIcon(QIcon(":/img/img/gpstudio_viewer.ico"));
440+
aboutAction->setStatusTip(tr("Shows informations about node editor"));
439441
connect(aboutAction, SIGNAL(triggered(bool)), this, SLOT(about()));
440442
helpMenu->addAction(aboutAction);
441443

442444
QAction *aboutQtAction = new QAction(tr("About &Qt"), this);
445+
aboutQtAction->setIcon(QIcon(":/icons/img/qt.png"));
443446
aboutQtAction->setStatusTip(tr("About Qt version"));
444447
connect(aboutQtAction, SIGNAL(triggered(bool)), this, SLOT(aboutQt()));
445448
helpMenu->addAction(aboutQtAction);

0 commit comments

Comments
 (0)