added download link in help menu, changed labels
This commit is contained in:
parent
46235af2da
commit
1b6a83d8ea
5 changed files with 13 additions and 2 deletions
|
@ -567,7 +567,7 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="TextUpstream" >
|
<widget class="QLabel" name="TextUpstream" >
|
||||||
<property name="text" >
|
<property name="text" >
|
||||||
<string>Upstream Rate</string>
|
<string>Audio Stream Rate</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|
|
@ -52,6 +52,9 @@
|
||||||
// default server address
|
// default server address
|
||||||
#define DEFAULT_SERVER_ADDRESS "llcon.dyndns.org"
|
#define DEFAULT_SERVER_ADDRESS "llcon.dyndns.org"
|
||||||
|
|
||||||
|
// download URL
|
||||||
|
#define LLCON_DOWNLOAD_URL "http://sourceforge.net/projects/llcon/files"
|
||||||
|
|
||||||
// defined port number for client and server
|
// defined port number for client and server
|
||||||
#define LLCON_DEFAULT_PORT_NUMBER 22124
|
#define LLCON_DEFAULT_PORT_NUMBER 22124
|
||||||
|
|
||||||
|
|
|
@ -799,7 +799,7 @@ void CLlconClientDlg::UpdateDisplay()
|
||||||
if ( TimerErrorStatus.isActive() )
|
if ( TimerErrorStatus.isActive() )
|
||||||
{
|
{
|
||||||
// right now we only have one error case: delay too high
|
// right now we only have one error case: delay too high
|
||||||
strStatus = tr ( "<font color=""red""><b>Audio delay too long</b></font>" );
|
strStatus = tr ( "<font color=""red""><b>Audio delay too large</b></font>" );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -407,6 +407,10 @@ CLlconHelpMenu::CLlconHelpMenu ( QWidget* parent ) : QMenu ( "&?", parent )
|
||||||
addAction ( tr ( "What's &This" ), this,
|
addAction ( tr ( "What's &This" ), this,
|
||||||
SLOT ( OnHelpWhatsThis() ), QKeySequence ( Qt::SHIFT + Qt::Key_F1 ) );
|
SLOT ( OnHelpWhatsThis() ), QKeySequence ( Qt::SHIFT + Qt::Key_F1 ) );
|
||||||
|
|
||||||
|
addSeparator();
|
||||||
|
addAction ( tr ( "&Download Link..." ), this,
|
||||||
|
SLOT ( OnHelpDownloadLink() ) );
|
||||||
|
|
||||||
addSeparator();
|
addSeparator();
|
||||||
addAction ( tr ( "&About..." ), this, SLOT ( OnHelpAbout() ) );
|
addAction ( tr ( "&About..." ), this, SLOT ( OnHelpAbout() ) );
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,6 +32,8 @@
|
||||||
#include <qlabel.h>
|
#include <qlabel.h>
|
||||||
#include <qdatetime.h>
|
#include <qdatetime.h>
|
||||||
#include <qfile.h>
|
#include <qfile.h>
|
||||||
|
#include <qdesktopservices.h>
|
||||||
|
#include <qurl.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
using namespace std; // because of the library: "vector"
|
using namespace std; // because of the library: "vector"
|
||||||
|
@ -356,6 +358,8 @@ protected:
|
||||||
public slots:
|
public slots:
|
||||||
void OnHelpWhatsThis() { QWhatsThis::enterWhatsThisMode(); }
|
void OnHelpWhatsThis() { QWhatsThis::enterWhatsThisMode(); }
|
||||||
void OnHelpAbout() { AboutDlg.exec(); }
|
void OnHelpAbout() { AboutDlg.exec(); }
|
||||||
|
void OnHelpDownloadLink()
|
||||||
|
{ QDesktopServices::openUrl ( QUrl ( LLCON_DOWNLOAD_URL ) ); }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue