mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-13 08:05:55 +01:00
Initial import of CVS-v2_8_branch
This commit is contained in:
145
rdadmin/edit_rdairplay.h
Normal file
145
rdadmin/edit_rdairplay.h
Normal file
@@ -0,0 +1,145 @@
|
||||
// edit_rdairplay.h
|
||||
//
|
||||
// Edit an RDAirPlay Configuration
|
||||
//
|
||||
// (C) Copyright 2002-2010 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// $Id: edit_rdairplay.h,v 1.29.6.5 2014/02/10 20:45:10 cvs Exp $
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
// published by the Free Software Foundation.
|
||||
//
|
||||
// This program is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
// GNU General Public License for more details.
|
||||
//
|
||||
// You should have received a copy of the GNU General Public
|
||||
// License along with this program; if not, write to the Free Software
|
||||
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
//
|
||||
|
||||
#ifndef EDIT_RDAIRPLAY_H
|
||||
#define EDIT_RDAIRPLAY_H
|
||||
|
||||
#include <qdialog.h>
|
||||
#include <qsqldatabase.h>
|
||||
#include <qlineedit.h>
|
||||
#include <qcombobox.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qdatetimeedit.h>
|
||||
#include <qlabel.h>
|
||||
#include <qcheckbox.h>
|
||||
#include <qbuttongroup.h>
|
||||
|
||||
#include <rd.h>
|
||||
#include <rdairplay_conf.h>
|
||||
#include <rdcardselector.h>
|
||||
#include <rdstation.h>
|
||||
|
||||
/*
|
||||
* Application Settings
|
||||
*/
|
||||
#define LOG_PLAY_PORTS 2
|
||||
#define MAX_MANUAL_SEGUE 10
|
||||
|
||||
class EditRDAirPlay : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
EditRDAirPlay(RDStation *station,RDStation *cae_station,
|
||||
QWidget *parent=0,const char *name=0);
|
||||
~EditRDAirPlay();
|
||||
QSize sizeHint() const;
|
||||
QSizePolicy sizePolicy() const;
|
||||
|
||||
private slots:
|
||||
void audioSettingsChangedData(int id,int card,int port);
|
||||
void editGpiosData(int num);
|
||||
void exitPasswordChangedData(const QString &str);
|
||||
void logActivatedData(int lognum);
|
||||
void startModeChangedData(int mode);
|
||||
void selectData();
|
||||
void nownextData();
|
||||
void editHotKeys();
|
||||
void selectSkinData();
|
||||
void modeControlActivatedData(int n);
|
||||
void logStartupModeActivatedData(int n);
|
||||
void okData();
|
||||
void cancelData();
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *e);
|
||||
|
||||
private:
|
||||
RDAirPlayConf *air_conf;
|
||||
RDCardSelector *air_card_sel[RDAirPlayConf::LastChannel];
|
||||
QLabel *air_start_rml_label[RDAirPlayConf::LastChannel];
|
||||
QLineEdit *air_start_rml_edit[RDAirPlayConf::LastChannel];
|
||||
QLabel *air_stop_rml_label[RDAirPlayConf::LastChannel];
|
||||
QLineEdit *air_stop_rml_edit[RDAirPlayConf::LastChannel];
|
||||
QPushButton *air_channel_button[RDAirPlayConf::LastChannel];
|
||||
// QLabel *air_startup_label;
|
||||
// QComboBox *air_startup_box;
|
||||
QLabel *air_segue_label;
|
||||
QLineEdit *air_segue_edit;
|
||||
QLabel *air_trans_label;
|
||||
QLineEdit *air_trans_edit;
|
||||
QLabel *air_trans_unit;
|
||||
QLabel *air_piecount_label;
|
||||
QSpinBox *air_piecount_box;
|
||||
QLabel *air_piecount_unit;
|
||||
QLabel *air_countto_label;
|
||||
QComboBox *air_countto_box;
|
||||
QLabel *air_segue_unit;
|
||||
QLabel *air_station_label;
|
||||
QSpinBox *air_station_box;
|
||||
QLabel *air_user_label;
|
||||
QSpinBox *air_user_box;
|
||||
QLabel *air_timesync_label;
|
||||
QCheckBox *air_timesync_box;
|
||||
QLabel *air_aux1_label;
|
||||
QSpinBox *air_aux1_box;
|
||||
QLabel *air_aux2_label;
|
||||
QSpinBox *air_aux2_box;
|
||||
QCheckBox *air_auxlog_box[2];
|
||||
QCheckBox *air_clearfilter_box;
|
||||
QButtonGroup *air_bar_group;
|
||||
QCheckBox *air_flash_box;
|
||||
QCheckBox *air_panel_pause_box;
|
||||
QCheckBox *air_show_counters_box;
|
||||
QLabel *air_audition_preroll_label;
|
||||
QLabel *air_audition_preroll_unit;
|
||||
QSpinBox *air_audition_preroll_spin;
|
||||
QLineEdit *air_label_template_edit;
|
||||
QCheckBox *air_pause_box;
|
||||
QCheckBox *air_hour_selector_box;
|
||||
QComboBox *air_default_transtype_box;
|
||||
QComboBox *air_defaultsvc_box;
|
||||
QLineEdit *air_exitpasswd_edit;
|
||||
bool air_exitpasswd_changed;
|
||||
int air_logmachine;
|
||||
QComboBox *air_logmachine_box;
|
||||
QComboBox *air_startmode_box;
|
||||
RDAirPlayConf::StartMode air_startmode[RDAIRPLAY_LOG_QUANTITY];
|
||||
QLineEdit *air_startlog_edit;
|
||||
QLabel *air_startlog_label;
|
||||
QPushButton *air_startlog_button;
|
||||
QString air_startlog[RDAIRPLAY_LOG_QUANTITY];
|
||||
QCheckBox *air_autorestart_box;
|
||||
bool air_autorestart[RDAIRPLAY_LOG_QUANTITY];
|
||||
QLabel *air_autorestart_label;
|
||||
QLineEdit *air_skin_edit;
|
||||
QLineEdit *air_title_template_edit;
|
||||
QLineEdit *air_artist_template_edit;
|
||||
QLineEdit *air_outcue_template_edit;
|
||||
QLineEdit *air_description_template_edit;
|
||||
QComboBox *air_modecontrol_box;
|
||||
QLabel *air_logstartmode_label[RDAIRPLAY_LOG_QUANTITY];
|
||||
QComboBox *air_logstartmode_box[RDAIRPLAY_LOG_QUANTITY];
|
||||
};
|
||||
|
||||
|
||||
#endif // EDIT_RDAIRPLAY_H
|
||||
|
||||
Reference in New Issue
Block a user