echo "char *psz_thanks = { \\" >> 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 "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 \
QLabel *introduction = new QLabel(
qtr( "Information about VLC media player" ) );
- layout->addWidget( introduction, 0, 0, 1, 2 );
- layout->addWidget( tab, 1, 0, 1, 2 );
- layout->addWidget( closeButton, 2, 1, 1, 1 );
+ layout->addWidget( introduction, 0, 0, 1, 4 );
+ layout->addWidget( tab, 1, 0, 1, 4 );
+ layout->addWidget( closeButton, 2, 3, 1, 1 );
/* GPL License */
QTextEdit *licenseEdit = new QTextEdit( this );
thanksEdit->setText( qfu( psz_thanks ) );
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 */
tab->addTab( NULL, qtr( "General Info" ) );
- tab->addTab( NULL, qtr( "Authors" ) );
+ tab->addTab( authorsEdit, qtr( "Authors" ) );
tab->addTab( thanksEdit, qtr("Thanks") );
tab->addTab( licenseEdit, qtr("Distribution License") );