mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-13 06:03:37 +02:00
2021-01-22 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDIconEngine::stationIcon()' method. * Added an icons for 'host' objects. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
#include "../icons/redball.xpm"
|
||||
#include "../icons/whiteball.xpm"
|
||||
|
||||
#include "../icons/host-16x16.xpm"
|
||||
|
||||
#include "../icons/play.xpm"
|
||||
#include "../icons/rml5.xpm"
|
||||
#include "../icons/chain.xpm"
|
||||
@@ -53,6 +55,11 @@ RDIconEngine::RDIconEngine()
|
||||
d_list_icons.push_back(QPixmap(whiteball_xpm));
|
||||
d_list_icons.push_back(QPixmap(blueball_xpm));
|
||||
|
||||
//
|
||||
// Create Station Icon
|
||||
//
|
||||
d_station_icon=QPixmap(host_16x16_xpm);
|
||||
|
||||
//
|
||||
// Create Type Icons
|
||||
//
|
||||
@@ -81,6 +88,12 @@ QPixmap RDIconEngine::listIcon(RDIconEngine::IconType type) const
|
||||
}
|
||||
|
||||
|
||||
QPixmap RDIconEngine::stationIcon() const
|
||||
{
|
||||
return d_station_icon;
|
||||
}
|
||||
|
||||
|
||||
QPixmap RDIconEngine::typeIcon(RDLogLine::Type type,RDLogLine::Source src) const
|
||||
{
|
||||
if((type==RDLogLine::Cart)&&(src==RDLogLine::Tracker)) {
|
||||
|
Reference in New Issue
Block a user