mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-30 17:20:32 +01:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user