Qt4 - Add skeletons for Captures and some widget on Help/ About
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 7 Mar 2007 23:49:45 +0000 (23:49 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 7 Mar 2007 23:49:45 +0000 (23:49 +0000)
modules/gui/qt4/components/open.cpp
modules/gui/qt4/dialogs/help.cpp
modules/gui/qt4/ui/open_capture.ui

index d047984..d81c071 100644 (file)
@@ -267,3 +267,8 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
 CaptureOpenPanel::~CaptureOpenPanel()
 {}
 
+CaptureOpenPanel::clear()
+{}
+
+CaptureOpenPanel::updateMRL()
+{}
index b3b0656..d9861ae 100644 (file)
@@ -28,6 +28,7 @@
 #include "qt4.hpp"
 
 #include <QTextBrowser>
+#include <QTabWidget>
 
 HelpDialog *HelpDialog::instance = NULL;
 
@@ -59,12 +60,14 @@ AboutDialog *AboutDialog::instance = NULL;
 AboutDialog::AboutDialog( intf_thread_t *_p_intf) :  QVLCFrame( _p_intf )
 {
     setWindowTitle( qtr( "About" ) );
-    resize(250, 250);
+    resize( 450, 250 );
 
-    QGridLayout *layout = new QGridLayout(this);
-    QPushButton *closeButton = new QPushButton(qtr("&Close"));
-
-    layout->addWidget(closeButton, 1, 3);
+    QGridLayout *layout = new QGridLayout( this );
+    QTabWidget *tab = new QTabWidget( this );
+    QPushButton *closeButton = new QPushButton( qtr( "&Close" ) );
+    
+    layout->addWidget( tab, 0, 0); 
+    layout->addWidget( closeButton, 1, 3 );
     BUTTONACT( closeButton, close() );
 }
 
index 09f5b34..4eb939b 100644 (file)
@@ -11,7 +11,7 @@
    </rect>
   </property>
   <property name="windowTitle" >
-   <string>Form</string>
+   <string>Capture</string>
   </property>
   <layout class="QGridLayout" >
    <property name="margin" >