projects
/
situare
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed routing context buttons to be almost the upper one
[situare]
/
src
/
ui
/
routingpanel.cpp
diff --git
a/src/ui/routingpanel.cpp
b/src/ui/routingpanel.cpp
index
9ead7be
..
45998f4
100644
(file)
--- a/
src/ui/routingpanel.cpp
+++ b/
src/ui/routingpanel.cpp
@@
-51,19
+51,19
@@
RoutingPanel::RoutingPanel(QWidget *parent)
setLayout(panelLayout);
// --- CONTEXT BUTTONS ---
setLayout(panelLayout);
// --- CONTEXT BUTTONS ---
+ ImageButton *routeToCursorButton = new ImageButton(":res/images/sight.png",
+ "", "", this);
+ connect(routeToCursorButton, SIGNAL(clicked()),
+ this, SIGNAL(routeToCursor()));
+
m_clearRouteButton = new ImageButton(":/res/images/gps_position.png",
"", "", this);
connect(m_clearRouteButton, SIGNAL(clicked()),
this, SLOT(clearRouteButtonClicked()));
m_clearRouteButton->setDisabled(true);
m_clearRouteButton = new ImageButton(":/res/images/gps_position.png",
"", "", this);
connect(m_clearRouteButton, SIGNAL(clicked()),
this, SLOT(clearRouteButtonClicked()));
m_clearRouteButton->setDisabled(true);
- ImageButton *routeToCursorButton = new ImageButton(":res/images/sight.png",
- "", "", this);
- connect(routeToCursorButton, SIGNAL(clicked()),
- this, SIGNAL(routeToCursor()));
-
- m_contextButtonLayout->addWidget(m_clearRouteButton);
m_contextButtonLayout->addWidget(routeToCursorButton);
m_contextButtonLayout->addWidget(routeToCursorButton);
+ m_contextButtonLayout->addWidget(m_clearRouteButton);
}
void RoutingPanel::clearListsSelections()
}
void RoutingPanel::clearListsSelections()