X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fkdenlivesettingsdialog.h;h=f00a32faa89d95f3e5853ac50a3154bdaf925732;hb=b6d6c25f1bd07f11a0ceaf32a3a5bcaeab367336;hp=3eb3804f78881123c8d7c76ad1930b3c64512bf1;hpb=0a381233be965974d175f34899ed5422e71e6d00;p=kdenlive diff --git a/src/kdenlivesettingsdialog.h b/src/kdenlivesettingsdialog.h index 3eb3804f..f00a32fa 100644 --- a/src/kdenlivesettingsdialog.h +++ b/src/kdenlivesettingsdialog.h @@ -21,8 +21,7 @@ #ifndef KDENLIVESETTINGSDIALOG_H #define KDENLIVESETTINGSDIALOG_H -#include - +#include #include #include @@ -40,34 +39,46 @@ class KdenliveSettingsDialog : public KConfigDialog Q_OBJECT public: - KdenliveSettingsDialog(QWidget * parent = 0); + KdenliveSettingsDialog(const QMap& mappable_actions, QWidget * parent = 0); ~KdenliveSettingsDialog(); void showPage(int page, int option); void checkProfile(); protected slots: void updateSettings(); + void updateWidgets(); virtual bool hasChanged(); private slots: void slotUpdateDisplay(); - void rebuildVideo4Commands(); -#ifndef NO_JOGSHUTTLE void slotCheckShuttle(int state = 0); void slotUpdateShuttleDevice(int ix = 0); -#endif /* NO_JOGSHUTTLE */ void slotEditImageApplication(); void slotEditAudioApplication(); void slotEditVideoApplication(); void slotReadAudioDevices(); - void slotUpdateRmdRegionStatus(); + void slotUpdateGrabRegionStatus(); void slotCheckAlsaDriver(); void slotAddTranscode(); void slotDeleteTranscode(); + /** @brief Update current transcoding profile. */ + void slotUpdateTranscodingProfile(); + /** @brief Enable / disable the update profile button. */ + void slotEnableTranscodeUpdate(); + /** @brief Update display of current transcoding profile parameters. */ + void slotSetTranscodeProfile(); + void slotShuttleModified(); void slotDialogModified(); void slotEnableCaptureFolder(); - void slotUpdateHDMIModes(); void slotUpdatev4lDevice(); + void slotUpdatev4lCaptureProfile(); + void slotManageEncodingProfile(); + void slotUpdateDecklinkProfile(int ix = 0); + void slotUpdateProxyProfile(int ix = 0); + void slotUpdateV4lProfile(int ix = 0); + void slotUpdateGrabProfile(int ix = 0); + void slotEditVideo4LinuxProfile(); + void slotReloadBlackMagic(); private: KPageWidgetItem *m_page1; @@ -90,9 +101,15 @@ private: QString m_defaultPath; KProcess m_readProcess; bool m_modified; + bool m_shuttleModified; + QMap m_mappable_actions; + QVector m_shuttle_buttons; void initDevices(); void loadTranscodeProfiles(); void saveTranscodeProfiles(); + void loadCurrentV4lProfileInfo(); + void saveCurrentV4lProfile(); + void loadEncodingProfiles(); signals: void customChanged();