]> git.sesse.net Git - kdenlive/blobdiff - src/dvdwizardmenu.h
Do not switch monitor when not necessary, make sure we refresh monitor when adding...
[kdenlive] / src / dvdwizardmenu.h
index 8c9931ec621cfd7acdae5f888502d060d244d1e2..e8d6f07de258cd063fa1f4c4f8332c7cc73d4382 100644 (file)
 #include <QDomElement>
 
 #include <KDebug>
+#include <kdeversion.h>
+
+#if KDE_IS_VERSION(4,7,0)
+#include <KMessageWidget>
+#endif
 
 #include "ui_dvdwizardmenu_ui.h"
 
@@ -128,7 +133,7 @@ public:
     virtual ~DvdWizardMenu();
     virtual bool isComplete() const;
     bool createMenu() const;
-    void createBackgroundImage(const QString &img1);
+    void createBackgroundImage(const QString &overlayMenu, const QString &img1);
     void createButtonImages(const QString &img1, const QString &img2, const QString &img3);
     void setTargets(QStringList list, QStringList targetlist);
     QMap <QString, QRect> buttonsInfo();
@@ -139,6 +144,8 @@ public:
     void changeProfile(bool isPal);
     QDomElement toXml() const;
     void loadXml(QDomElement xml);
+    void prepareUnderLines();
+    void resetUnderLines();
 
 private:
     Ui::DvdWizardMenu_UI m_view;
@@ -149,6 +156,10 @@ private:
     QGraphicsRectItem *m_safeRect;
     int m_width;
     int m_height;
+    QSize m_finalSize;
+#if KDE_IS_VERSION(4,7,0)
+    KMessageWidget *m_menuMessage;
+#endif
 
 private slots:
     void buildButton();
@@ -163,9 +174,11 @@ private slots:
     void deleteButton();
     void updateColor();
     void updateColor(QColor c);
+    void updateUnderlineColor(QColor c);
     void setBackToMenu(bool backToMenu);
     void slotZoom();
     void slotUnZoom();
+    void slotEnableShadows(int enable);
 };
 
 #endif