#include <QWidget>
+class QIcon;
class MonitorScene;
class Render;
class QGraphicsView;
Q_OBJECT
public:
- MonitorEditWidget(Render *renderer, QWidget* parent = 0);
+ explicit MonitorEditWidget(Render *renderer, QWidget* parent = 0);
virtual ~MonitorEditWidget();
/** @brief Updates the necessary settings on a profile change. */
/** @brief Adds a custom widget to the controls. */
void addCustomControl(QWidget *widget);
+ void addCustomButton(const QIcon &icon, const QString &text, const QObject *receiver, const char *member, bool checkable = true, bool checked = true);
/** @brief Empties the list of custom controls. */
void removeCustomControls();
private slots:
/** @brief Sets the KdenliveSetting directupdate with true = update parameters (rerender frame) during mouse move (before mouse button is released) */
void slotSetDirectUpdate(bool directUpdate);
-
+ /** @brief Update zoom slider value */
+ void slotZoom(int value);
private:
Ui::MonitorEditWidget_UI m_ui;
MonitorScene *m_scene;
signals:
/** true = show edit monitor, false = show normal monitor */
- void showEdit(bool show);
+ void showEdit(bool show, bool manuallyTriggered = true);
};