]> git.sesse.net Git - vlc/commitdiff
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 d04798410bd68121bab4a3ad2e0ebd3fa8bd1393..d81c07186970fefbc1ee14f6a934a176d8ca881d 100644 (file)
@@ -267,3 +267,8 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
 CaptureOpenPanel::~CaptureOpenPanel()
 {}
 
+CaptureOpenPanel::clear()
+{}
+
+CaptureOpenPanel::updateMRL()
+{}
index b3b06562a81838f782415f43b5f01f9ddb7a79c3..d9861ae6c370816eec4eef26dbb9fbd9f6e2d752 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 09f5b34d396cce053b87f30f1cc2a125215ba730..4eb939b5f202998b9b0e0865d905ff172c2dcc58 100644 (file)
@@ -11,7 +11,7 @@
    </rect>
   </property>
   <property name="windowTitle" >
-   <string>Form</string>
+   <string>Capture</string>
   </property>
   <layout class="QGridLayout" >
    <property name="margin" >