Commit 7c350f52 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - Add skeletons for Captures and some widget on Help/ About

parent 1a8198ec
...@@ -267,3 +267,8 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) : ...@@ -267,3 +267,8 @@ CaptureOpenPanel::CaptureOpenPanel( QWidget *_parent, intf_thread_t *_p_intf ) :
CaptureOpenPanel::~CaptureOpenPanel() CaptureOpenPanel::~CaptureOpenPanel()
{} {}
CaptureOpenPanel::clear()
{}
CaptureOpenPanel::updateMRL()
{}
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include "qt4.hpp" #include "qt4.hpp"
#include <QTextBrowser> #include <QTextBrowser>
#include <QTabWidget>
HelpDialog *HelpDialog::instance = NULL; HelpDialog *HelpDialog::instance = NULL;
...@@ -59,12 +60,14 @@ AboutDialog *AboutDialog::instance = NULL; ...@@ -59,12 +60,14 @@ AboutDialog *AboutDialog::instance = NULL;
AboutDialog::AboutDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf ) AboutDialog::AboutDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf )
{ {
setWindowTitle( qtr( "About" ) ); setWindowTitle( qtr( "About" ) );
resize(250, 250); resize( 450, 250 );
QGridLayout *layout = new QGridLayout(this); QGridLayout *layout = new QGridLayout( this );
QPushButton *closeButton = new QPushButton(qtr("&Close")); QTabWidget *tab = new QTabWidget( this );
QPushButton *closeButton = new QPushButton( qtr( "&Close" ) );
layout->addWidget(closeButton, 1, 3); layout->addWidget( tab, 0, 0);
layout->addWidget( closeButton, 1, 3 );
BUTTONACT( closeButton, close() ); BUTTONACT( closeButton, close() );
} }
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle" >
<string>Form</string> <string>Capture</string>
</property> </property>
<layout class="QGridLayout" > <layout class="QGridLayout" >
<property name="margin" > <property name="margin" >
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment