connect(qApp, SIGNAL(topmostWindowChanged(bool)),
this, SLOT(topmostWindowChanged(bool)));
+
+ // CONTEXT BUTTONS
- m_contextButtonLayout->addWidget(m_routeButton, 0, 0);
- m_contextButtonLayout->addWidget(m_clearGroupFilteringButton, 1, 0);
++ m_contextButtonLayout->addWidget(m_routeButton);
++ m_contextButtonLayout->addWidget(m_clearGroupFilteringButton);
}
void FriendListPanel::anyPanelClosed()
":/res/images/search_s.png",
"", this);
- m_contextButtonLayout->addWidget(searchLocationButton, 0, 0);
+ m_contextButtonLayout->addWidget(searchLocationButton);
- m_routeButton = new QPushButton(tr("Route to location"));
+ m_routeButton = new ImageButton(":res/images/route_to_location.png",
+ ":res/images/route_to_location_s.png", "", this);
m_routeButton->setDisabled(true);
- m_routeButton->hide();
m_locationListHeaderWidget = new QWidget();
m_locationListHeaderWidget->setLayout(headerLayout);
connect(searchLocationButton, SIGNAL(clicked()),
this, SIGNAL(requestSearchLocation()));
+
+ // CONTEXT BUTTONS
- m_contextButtonLayout->addWidget(m_routeButton, 1, 0);
++ m_contextButtonLayout->addWidget(m_routeButton);
}
void RoutingPanel::clearListsSelections()