X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fkdenlivesettingsdialog.h;h=9208107a22835e2e10592db56d8bad943d68e6a9;hb=27e955932ababb52d18b9205b79d46e00abfc552;hp=8b6edb63d712cf269844d91615c8fcc6365c04a0;hpb=4ce2b16c0f8de76f0c3d372f29a2ece650c72f24;p=kdenlive diff --git a/src/kdenlivesettingsdialog.h b/src/kdenlivesettingsdialog.h index 8b6edb63..9208107a 100644 --- a/src/kdenlivesettingsdialog.h +++ b/src/kdenlivesettingsdialog.h @@ -23,6 +23,7 @@ #include +#include #include #include @@ -40,22 +41,22 @@ 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 +#ifdef USE_JOGSHUTTLE void slotCheckShuttle(int state = 0); void slotUpdateShuttleDevice(int ix = 0); -#endif /* NO_JOGSHUTTLE */ +#endif void slotEditImageApplication(); void slotEditAudioApplication(); void slotEditVideoApplication(); @@ -64,8 +65,22 @@ private slots: 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 slotUpdatev4lDevice(); + void slotUpdatev4lCaptureProfile(); + void slotManageEncodingProfile(); + void slotUpdateDecklinkProfile(int ix = 0); + void slotUpdateProxyProfile(int ix = 0); + void slotUpdateV4lProfile(int ix = 0); + void slotEditVideo4LinuxProfile(); private: KPageWidgetItem *m_page1; @@ -88,14 +103,19 @@ 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(); void doResetProfile(); - void updatePreviewSettings(); void updateCaptureFolder(); };