Commit ad84f272 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt4 - help: add AUTHORS to the tabs

parent defc0764
...@@ -85,6 +85,9 @@ dialogs/about.hpp: ...@@ -85,6 +85,9 @@ dialogs/about.hpp:
echo "char *psz_thanks = { \\" >> dialogs/about.hpp echo "char *psz_thanks = { \\" >> dialogs/about.hpp
cat $(top_srcdir)/THANKS | grep -v '$$Id:' | sed s/'"'/'\\"'/g | awk '{ print "\""$$0"\\n\" \\" }' >> dialogs/about.hpp cat $(top_srcdir)/THANKS | grep -v '$$Id:' | sed s/'"'/'\\"'/g | awk '{ print "\""$$0"\\n\" \\" }' >> dialogs/about.hpp
echo "};" >> dialogs/about.hpp echo "};" >> dialogs/about.hpp
echo "char *psz_authors = { \\" >> dialogs/about.hpp
cat $(top_srcdir)/AUTHORS | grep -v '$$Id:' | sed s/'"'/'\\"'/g | awk '{ print "\""$$0"\\n\" \\" }' >> dialogs/about.hpp
echo "};" >> dialogs/about.hpp
SOURCES_qt4 = qt4.cpp \ SOURCES_qt4 = qt4.cpp \
......
...@@ -79,9 +79,9 @@ AboutDialog::AboutDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf ) ...@@ -79,9 +79,9 @@ AboutDialog::AboutDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf )
QLabel *introduction = new QLabel( QLabel *introduction = new QLabel(
qtr( "Information about VLC media player" ) ); qtr( "Information about VLC media player" ) );
layout->addWidget( introduction, 0, 0, 1, 2 ); layout->addWidget( introduction, 0, 0, 1, 4 );
layout->addWidget( tab, 1, 0, 1, 2 ); layout->addWidget( tab, 1, 0, 1, 4 );
layout->addWidget( closeButton, 2, 1, 1, 1 ); layout->addWidget( closeButton, 2, 3, 1, 1 );
/* GPL License */ /* GPL License */
QTextEdit *licenseEdit = new QTextEdit( this ); QTextEdit *licenseEdit = new QTextEdit( this );
...@@ -93,9 +93,14 @@ AboutDialog::AboutDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf ) ...@@ -93,9 +93,14 @@ AboutDialog::AboutDialog( intf_thread_t *_p_intf) : QVLCFrame( _p_intf )
thanksEdit->setText( qfu( psz_thanks ) ); thanksEdit->setText( qfu( psz_thanks ) );
thanksEdit->setReadOnly( true ); thanksEdit->setReadOnly( true );
/* People who helped */
QTextEdit *authorsEdit = new QTextEdit( this );
authorsEdit->setText( qfu( psz_authors ) );
authorsEdit->setReadOnly( true );
/* add the tabs to the Tabwidget */ /* add the tabs to the Tabwidget */
tab->addTab( NULL, qtr( "General Info" ) ); tab->addTab( NULL, qtr( "General Info" ) );
tab->addTab( NULL, qtr( "Authors" ) ); tab->addTab( authorsEdit, qtr( "Authors" ) );
tab->addTab( thanksEdit, qtr("Thanks") ); tab->addTab( thanksEdit, qtr("Thanks") );
tab->addTab( licenseEdit, qtr("Distribution License") ); tab->addTab( licenseEdit, qtr("Distribution License") );
......
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