2021-09-16 Fred Gleason <fredg@paravelsystems.com>

* Added an 'RDAIRPLAY.LOGO_PATH' field to the database.
	* Incremented the database version to 355.
	* Added 'RDAirPlayConf::logoPath()' and
	'RDAirPlayConf::setLogoPath()' methods.
	* Added a 'Logo Image' control to the 'Configure RDAirPlay' dialog
	in rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-09-16 14:03:37 -04:00
parent 1bf1d94bfe
commit db8652b13e
14 changed files with 98 additions and 19 deletions

View File

@@ -61,13 +61,17 @@ TopStrip::TopStrip(QWidget *parent)
//
// Logo
//
QPixmap pix(rda->airplayConf()->logoPath());
d_logo=new QLabel(this);
d_logo->setAlignment(Qt::AlignCenter);
d_logo->setPixmap(pix);
/*
d_logo->setFont(bannerFont());
d_logo->setText(QString::asprintf("User Logo\n(%dx%d)",
RD_RDAIRPLAY_LOGO_WIDTH,
RD_RDAIRPLAY_LOGO_HEIGHT));
d_logo->setStyleSheet("background-color: #99FF99");
*/
setFocusPolicy(Qt::NoFocus);
}