mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-07-09 17:07:44 +02:00
2021-10-07 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDIconEngine::nullIcon()' method. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
4f5c8abbd5
commit
aaa07418d2
@ -22518,3 +22518,5 @@
|
||||
2021-10-07 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Fixed a bug in rdimport(1) that caused premature validation
|
||||
of metadata.
|
||||
2021-10-07 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Added an 'RDIconEngine::nullIcon()' method.
|
||||
|
@ -331,6 +331,15 @@ QPixmap RDIconEngine::stationIcon() const
|
||||
}
|
||||
|
||||
|
||||
QPixmap RDIconEngine::nullIcon(int edge_size) const
|
||||
{
|
||||
QPixmap pix(edge_size,edge_size);
|
||||
pix.fill(Qt::transparent);
|
||||
|
||||
return pix;
|
||||
}
|
||||
|
||||
|
||||
QPixmap RDIconEngine::typeIcon(RDLogLine::Type type,RDLogLine::Source src) const
|
||||
{
|
||||
if((type==RDLogLine::Cart)&&(src==RDLogLine::Tracker)) {
|
||||
|
@ -42,6 +42,7 @@ class RDIconEngine
|
||||
QPixmap catchIcon(RDRecording::Type type);
|
||||
QPixmap listIcon(IconType type) const;
|
||||
QPixmap stationIcon() const;
|
||||
QPixmap nullIcon(int edge_size) const;
|
||||
QPixmap typeIcon(RDLogLine::Type type,
|
||||
RDLogLine::Source src=RDLogLine::Manual) const;
|
||||
QPixmap userIcon(RDUser::Type type) const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user