]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/dialogs/interaction.hpp
Implementation of login, input and progress dialogs in Qt
[vlc] / modules / gui / qt4 / dialogs / interaction.hpp
index ca56e11883f93ac9473cd051fea6e6b9732b825e..9cf828a8e199b2730264e1f507f52080c94ed859 100644 (file)
 
 #include <vlc/vlc.h>
 #include <vlc_interaction.h>
-#include <ui/okcanceldialog.h>
+#include <QWidget>
+
+class QPushButton;
+class QLabel;
+class QProgressBar;
+class QLineEdit;
 
 class InteractionDialog : public QWidget
 {
@@ -37,14 +42,20 @@ public:
     void Update();
 
 private:
+    QWidget *panel;
     intf_thread_t *p_intf;
     interaction_dialog_t *p_dialog;
-    Ui::OKCancelDialog *uiOkCancel;
 
-    void Finish( int, QString *, QString * );
+    QPushButton *defaultButton, *otherButton, *altButton;
+    QLabel *description;
+    QProgressBar *progressBar;
+    QLineEdit *inputEdit, *loginEdit, *passwordEdit;
+
+    void Finish( int );
 private slots:
-    void OK();
-    void cancel();
+    void defaultB();
+    void altB();
+    void otherB();
 };
 
 #endif