Rivendellaudio/rdcatch/add_recording.h
Fred Gleason c189ff0b77 2021-07-27 Fred Gleason <fredg@paravelsystems.com>
* Fixed a layout glitch in the 'Add Event' dialog in rdcatch(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-07-27 12:38:18 -04:00

68 lines
1.8 KiB
C++

// add_recording.h
//
// Add a Rivendell RDCatch Event
//
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
//
// 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 ADD_RECORDING_H
#define ADD_RECORDING_H
#include <rddialog.h>
class AddRecording : public RDDialog
{
Q_OBJECT
public:
AddRecording(QString *filter,QWidget *parent=0);
~AddRecording();
QSize sizeHint() const;
QSizePolicy sizePolicy() const;
public slots:
int exec(RDRecording::Type *type,int rec_id);
private slots:
void recordingData();
void playoutData();
void downloadData();
void uploadData();
void macroData();
void switchData();
void cancelData();
protected:
void resizeEvent(QResizeEvent *e);
void keyPressEvent(QKeyEvent *e);
void closeEvent(QCloseEvent *e);
private:
int add_id;
RDRecording::Type *add_type;
QString *add_filter;
QLabel *add_title_label;
QPushButton *add_recording_button;
QPushButton *add_playout_button;
QPushButton *add_download_button;
QPushButton *add_upload_button;
QPushButton *add_macrocart_button;
QPushButton *add_switchevent_button;
QPushButton *add_cancel_button;
};
#endif // ADD_RECORDING_H