mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 07:10:11 +01:00
Initial import of CVS-v2_8_branch
This commit is contained in:
92
rdcartslots/rdcartslots.h
Normal file
92
rdcartslots/rdcartslots.h
Normal file
@@ -0,0 +1,92 @@
|
||||
// rdcartslots.h
|
||||
//
|
||||
// A Dedicated Cart Slot Utility for Rivendell.
|
||||
//
|
||||
// (C) Copyright 2012 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// $Id: rdcartslots.h,v 1.5.2.6 2014/01/07 23:23:18 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 RDCARTSLOTS_H
|
||||
#define RDCARTSLOTS_H
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <qwidget.h>
|
||||
#include <qtimer.h>
|
||||
#include <qpixmap.h>
|
||||
|
||||
#include <rdstereometer.h>
|
||||
#include <rdcae.h>
|
||||
#include <rdsystem.h>
|
||||
#include <rdmacro.h>
|
||||
#include <rdconfig.h>
|
||||
#include <rdevent_player.h>
|
||||
#include <rdcartslot.h>
|
||||
#include <rdcart_dialog.h>
|
||||
#include <rdslotdialog.h>
|
||||
#include <rdcueeditdialog.h>
|
||||
#include <rdlistsvcs.h>
|
||||
#include <rdairplay_conf.h>
|
||||
|
||||
//
|
||||
// Settings
|
||||
//
|
||||
#define MASTER_TIMER_INTERVAL 100
|
||||
#define METER_INTERVAL 50
|
||||
#define RDCARTSLOTS_USAGE "\n"
|
||||
|
||||
class MainWidget : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
MainWidget(QWidget *parent=0);
|
||||
QSize sizeHint() const;
|
||||
QSizePolicy sizePolicy() const;
|
||||
|
||||
private slots:
|
||||
void userData();
|
||||
void rmlReceivedData(RDMacro *rml);
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *e);
|
||||
void closeEvent(QCloseEvent *e);
|
||||
|
||||
private:
|
||||
void RunLocalMacros(RDMacro *rml);
|
||||
void SetCaption();
|
||||
RDConfig *panel_config;
|
||||
RDCae *panel_cae;
|
||||
RDRipc *panel_ripc;
|
||||
RDUser *panel_user;
|
||||
RDStation *panel_station;
|
||||
RDSystem *panel_system;
|
||||
RDEventPlayer *panel_player;
|
||||
QPixmap *lib_rivendell_map;
|
||||
QString panel_filter;
|
||||
QString panel_group;
|
||||
QString panel_schedcode;
|
||||
std::vector<RDCartSlot *> panel_slots;
|
||||
RDCartDialog *panel_cart_dialog;
|
||||
RDSlotDialog *panel_slot_dialog;
|
||||
RDCueEditDialog *panel_cue_dialog;
|
||||
RDListSvcs *panel_svcs_dialog;
|
||||
RDAirPlayConf *panel_airplay_conf;
|
||||
};
|
||||
|
||||
|
||||
#endif // RDCARTSLOTS_H
|
||||
Reference in New Issue
Block a user