2023-10-06 Fred Gleason <fredg@paravelsystems.com>

* Added a 'SoundPanel Buttons' notification.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2023-10-06 12:24:36 -04:00
parent 7c46d99bc3
commit a90cb06a97
8 changed files with 294 additions and 76 deletions

View File

@@ -30,6 +30,7 @@ RDPanelButton::RDPanelButton(int row,int col,RDStation *station,bool flash,
QWidget *parent)
: RDPushButton(parent)
{
button_db_id=-1;
button_row=row;
button_col=col;
button_station=station;
@@ -51,6 +52,7 @@ void RDPanelButton::clear()
button_color=Qt::lightGray;
button_default_color=Qt::lightGray;
setCart(0);
button_db_id=-1;
button_deck=-1;
button_output=-1;
button_play_deck=NULL;
@@ -81,6 +83,18 @@ int RDPanelButton::column() const
}
int RDPanelButton::dbId() const
{
return button_db_id;
}
void RDPanelButton::setDbId(int id)
{
button_db_id=id;
}
QString RDPanelButton::text() const
{
return button_text;