]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/infopanels.hpp
Removes trailing spaces. Removes tabs.
[vlc] / modules / gui / qt4 / components / infopanels.hpp
index 5bed6774d3cb4ebc6f58ba13a0d891a1c69c79d6..7b73589b58da1639bc6c1f060d4887e0131cf2ee 100644 (file)
@@ -29,7 +29,6 @@
 #include <vlc_meta.h>
 
 #include <QWidget>
-#include <QTabWidget>
 
 #ifdef HAVE_LIMITS_H
 #   include <limits.h>
@@ -46,6 +45,7 @@ class QTreeWidgetItem;
 class QTreeView;
 class QSpinBox;
 class QLineEdit;
+class QLabel;
 
 class MetaPanel: public QWidget
 {
@@ -53,26 +53,44 @@ class MetaPanel: public QWidget
 public:
     MetaPanel( QWidget *, intf_thread_t * );
     virtual ~MetaPanel();
+    void saveMeta();
+    void setInput( input_item_t * );
+    bool isInEditMode();
+    void setEditMode( bool );
+
 private:
+    input_item_t *p_input;
     intf_thread_t *p_intf;
+    bool b_inEditMode;
+
     QLineEdit *uri_text;
     QLineEdit *title_text;
     QLineEdit *artist_text;
     QLineEdit *genre_text;
     QLineEdit *copyright_text;
     QLineEdit *collection_text;
-    QSpinBox *seqnum_text;
+    QLineEdit *seqnum_text;
     QLineEdit *description_text;
     QSpinBox *rating_text;
-    QSpinBox *date_text;
-    QLineEdit *setting_text;
+    QLineEdit *date_text;
+//    QLineEdit *setting_text;
     QLineEdit *language_text;
     QLineEdit *nowplaying_text;
     QLineEdit *publisher_text;
+//    QLineEdit *encodedby_text;
+    QLabel *art_cover;
 
 public slots:
     void update( input_item_t * );
     void clear();
+
+private slots:
+    void enterEditMode();
+signals:
+    void uriSet( QString );
+    void editing();
 };
 
 class ExtraMetaPanel: public QWidget
@@ -138,23 +156,4 @@ public slots:
     void update( input_item_t * );
     void clear();
 };
-
-class InfoTab: public QTabWidget
-{
-    Q_OBJECT;
-public:
-    InfoTab( QWidget *, intf_thread_t *, bool );
-    virtual ~InfoTab();
-    void update( input_item_t *, bool, bool );
-    void clear();
-private:
-    bool stats;
-    intf_thread_t *p_intf;
-    InputStatsPanel *ISP;
-    MetaPanel *MP;
-    InfoPanel *IP;
-    ExtraMetaPanel *EMP;
-    int i_runs;
-};
-
 #endif