#include <KComboBox>
#include <kcapacitybar.h>
+#if KDE_IS_VERSION(4,7,0)
+#include <KMessageWidget>
+#endif
+
class MonitorManager;
class MltDeviceCapture;
class AbstractRender;
VideoContainer *m_videoBox;
QAction *m_addCapturedClip;
QAction *m_previewSettings;
-
+ QString m_error;
+
+#if KDE_IS_VERSION(4,7,0)
+ KMessageWidget *m_infoMessage;
+#endif
+
bool m_analyse;
void checkDeviceAvailability();
QPixmap mergeSideBySide(const QPixmap& pix, const QString &txt);
void buildMltDevice(const QString &path);
/** @brief Create string containing an XML playlist for v4l capture. */
const QString getV4lXmlPlaylist(MltVideoProfile profile, bool *isXml);
+ /** @brief Display an error message to user. */
+ void showMessage(const QString &text, const QString &icon, bool logAction = false);
private slots:
void slotStartPreview(bool play = true);
void slotDisconnect();
//void slotStartGrab(const QRect &rect);
void slotConfigure();
- void slotReadDvgrabInfo();
+ void slotReadProcessInfo();
void slotUpdateFreeSpace();
void slotSetInfoMessage(const QString &message);
void slotDroppedFrames(int dropped);
/** @brief Change setting for preview while recording. */
void slotChangeRecordingPreview(bool enable);
+ /** @brief Show last jog error log. */
+ void slotShowLog();
public slots:
void refreshRecMonitor(bool visible);