// edit_dropbox.h // // Edit a Rivendell Dropbox Configuration // // (C) Copyright 2002-2020 Fred Gleason // // 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_DROPBOX_H #define EDIT_DROPBOX_H #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include class EditDropbox : public RDDialog { Q_OBJECT public: EditDropbox(int id,bool duplicate=false,QWidget *parent=0); QSize sizeHint() const; QSizePolicy sizePolicy() const; private slots: void selectPathData(); void pathChangedData(QString text); void selectCartData(); void selectLogPathData(); void schedcodesData(); void normalizationToggledData(bool state); void autotrimToggledData(bool state); void segueToggledData(bool state); void createDatesToggledData(bool state); void resetData(); void okData(); void cancelData(); private: RDDropbox *box_dropbox; QComboBox *box_group_name_box; QLineEdit *box_path_edit; QString box_path; QLineEdit *box_to_cart_edit; QPushButton *box_schedcodes_button; QCheckBox *box_delete_cuts_box; QLabel *box_delete_cuts_label; QCheckBox *box_force_to_mono_box; QLabel *box_force_to_mono_label; QLineEdit *box_metadata_pattern_edit; QLineEdit *box_user_defined_edit; QCheckBox *box_log_to_syslog_check; QLabel *box_log_path_label; QLineEdit *box_log_path_edit; QPushButton *box_log_path_button; QCheckBox *box_delete_source_box; QCheckBox *box_send_email_box; QCheckBox *box_normalization_box; QLabel *box_normalization_level_label; QSpinBox *box_normalization_level_spin; QLabel *box_normalization_level_unit; QCheckBox *box_autotrim_box; QLabel *box_autotrim_level_label; QSpinBox *box_autotrim_level_spin; QLabel *box_autotrim_level_unit; QCheckBox *box_use_cartchunk_id_box; QCheckBox *box_title_from_cartchunk_id_box; QCheckBox *box_fix_broken_formats_box; QPushButton *box_select_cart_button; QPushButton *ok_button; QSpinBox *box_startoffset_spin; QSpinBox *box_endoffset_spin; QCheckBox *box_create_dates_box; QSpinBox *box_create_startdate_offset_spin; QLabel *box_create_startdate_label; QLabel *box_create_startdate_unit; QSpinBox *box_create_enddate_offset_spin; QLabel *box_create_enddate_label; QLabel *box_create_enddate_unit; QCheckBox *box_segue_box; QSpinBox *box_segue_level_spin; QLabel *box_segue_level_label; QLabel *box_segue_level_unit; QSpinBox *box_segue_length_spin; QLabel *box_segue_length_label; QLabel *box_segue_length_unit; RDSchedCodesDialog *box_schedcodes_dialog; QStringList box_schedcodes; }; #endif // EDIT_DROPBOX_H