X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fkdenlivesettingsdialog.h;h=a0da7569823a84c9b4de2c84fbeb9cbbfdf60ffe;hb=9f76a9103088feb8ae3feef0343ddfdcf0685fe6;hp=44bc590e449874e7570524ff1d691d662cdb97ac;hpb=2a223cff6e45c560c28857b72c0cb7e584f9a4ef;p=kdenlive diff --git a/src/kdenlivesettingsdialog.h b/src/kdenlivesettingsdialog.h index 44bc590e..a0da7569 100644 --- a/src/kdenlivesettingsdialog.h +++ b/src/kdenlivesettingsdialog.h @@ -24,39 +24,66 @@ #include #include +#include #include "ui_configmisc_ui.h" #include "ui_configenv_ui.h" #include "ui_configdisplay_ui.h" +#include "ui_configcapture_ui.h" +#include "ui_configjogshuttle_ui.h" +#include "ui_configsdl_ui.h" -class KdenliveSettingsDialog : public KConfigDialog { +class KdenliveSettingsDialog : public KConfigDialog +{ Q_OBJECT public: KdenliveSettingsDialog(QWidget * parent = 0); ~KdenliveSettingsDialog(); + void showPage(int page, int option); + void checkProfile(); + +protected slots: + void updateSettings(); -protected: - 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 slotCheckAlsaDriver(); private: - KPageWidgetItem *page1; - KPageWidgetItem *page2; - KPageWidgetItem *page3; + KPageWidgetItem *m_page1; + KPageWidgetItem *m_page2; + KPageWidgetItem *m_page3; + KPageWidgetItem *m_page4; + KPageWidgetItem *m_page5; + KPageWidgetItem *m_page6; Ui::ConfigEnv_UI m_configEnv; Ui::ConfigMisc_UI m_configMisc; Ui::ConfigDisplay_UI m_configDisplay; - QStringList m_mltProfilesList; - QStringList m_customProfilesList; - bool m_isCustomProfile; - QString m_defaulfProfile; + Ui::ConfigCapture_UI m_configCapture; + Ui::ConfigJogShuttle_UI m_configShuttle; + Ui::ConfigSdl_UI m_configSdl; + QString m_defaultProfile; + QString m_defaultPath; + KProcess m_readProcess; + void initDevices(); signals: void customChanged(); - + void doResetProfile(); + void updatePreviewSettings(); + void updateCaptureFolder(); };