mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
gui cleaning
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2214 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
06a84d38b7
commit
d8ae27123e
@ -148,7 +148,7 @@ p3ConnectMgr::p3ConnectMgr()
|
|||||||
|
|
||||||
//use_extr_addr_finder = true ;
|
//use_extr_addr_finder = true ;
|
||||||
use_extr_addr_finder = false;
|
use_extr_addr_finder = false;
|
||||||
allow_tunnel_connection = true;
|
allow_tunnel_connection = false;
|
||||||
mExtAddrFinder = new ExtAddrFinder;
|
mExtAddrFinder = new ExtAddrFinder;
|
||||||
mNetInitTS = 0;
|
mNetInitTS = 0;
|
||||||
|
|
||||||
|
@ -140,6 +140,9 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags)
|
|||||||
connect(ui.actionAdd_Share, SIGNAL(triggered() ), this , SLOT( openShareManager() ) );
|
connect(ui.actionAdd_Share, SIGNAL(triggered() ), this , SLOT( openShareManager() ) );
|
||||||
connect(ui.actionOptions, SIGNAL(triggered()), this, SLOT( showSettings()) );
|
connect(ui.actionOptions, SIGNAL(triggered()), this, SLOT( showSettings()) );
|
||||||
connect(ui.actionMessenger, SIGNAL(triggered()), this, SLOT( showMessengerWindow()) );
|
connect(ui.actionMessenger, SIGNAL(triggered()), this, SLOT( showMessengerWindow()) );
|
||||||
|
#ifdef RS_RELEASE_VERSION
|
||||||
|
ui.actionMessenger->setVisible(false);
|
||||||
|
#endif
|
||||||
connect(ui.actionAbout, SIGNAL(triggered()), this, SLOT( showabout()) );
|
connect(ui.actionAbout, SIGNAL(triggered()), this, SLOT( showabout()) );
|
||||||
//connect(ui.actionColor, SIGNAL(triggered()), this, SLOT( setStyle()) );
|
//connect(ui.actionColor, SIGNAL(triggered()), this, SLOT( setStyle()) );
|
||||||
|
|
||||||
@ -179,27 +182,34 @@ MainWindow::MainWindow(QWidget* parent, Qt::WFlags flags)
|
|||||||
ui.stackPages->add(messagesDialog = new MessagesDialog(ui.stackPages),
|
ui.stackPages->add(messagesDialog = new MessagesDialog(ui.stackPages),
|
||||||
createPageAction(QIcon(IMAGE_MESSAGES), tr("Messages"), grp));
|
createPageAction(QIcon(IMAGE_MESSAGES), tr("Messages"), grp));
|
||||||
|
|
||||||
|
#ifndef RS_RELEASE_VERSION
|
||||||
ChannelFeed *channelFeed = NULL;
|
ChannelFeed *channelFeed = NULL;
|
||||||
ui.stackPages->add(channelFeed = new ChannelFeed(ui.stackPages),
|
ui.stackPages->add(channelFeed = new ChannelFeed(ui.stackPages),
|
||||||
createPageAction(QIcon(IMAGE_CHANNELS), tr("Channels"), grp));
|
createPageAction(QIcon(IMAGE_CHANNELS), tr("Channels"), grp));
|
||||||
|
#endif
|
||||||
|
|
||||||
ForumsDialog *forumsDialog = NULL;
|
ForumsDialog *forumsDialog = NULL;
|
||||||
ui.stackPages->add(forumsDialog = new ForumsDialog(ui.stackPages),
|
ui.stackPages->add(forumsDialog = new ForumsDialog(ui.stackPages),
|
||||||
createPageAction(QIcon(IMAGE_FORUMS), tr("Forums"), grp));
|
createPageAction(QIcon(IMAGE_FORUMS), tr("Forums"), grp));
|
||||||
|
|
||||||
|
#ifndef RS_RELEASE_VERSION
|
||||||
LinksDialog *linksDialog = NULL;
|
LinksDialog *linksDialog = NULL;
|
||||||
ui.stackPages->add(linksDialog = new LinksDialog(ui.stackPages),
|
ui.stackPages->add(linksDialog = new LinksDialog(ui.stackPages),
|
||||||
createPageAction(QIcon(IMAGE_LINKS), tr("Links Cloud"), grp));
|
createPageAction(QIcon(IMAGE_LINKS), tr("Links Cloud"), grp));
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef RS_RELEASE_VERSION
|
||||||
NewsFeed *newsFeed = NULL;
|
NewsFeed *newsFeed = NULL;
|
||||||
ui.stackPages->add(newsFeed = new NewsFeed(ui.stackPages),
|
ui.stackPages->add(newsFeed = new NewsFeed(ui.stackPages),
|
||||||
createPageAction(QIcon(IMAGE_NEWSFEED), tr("News Feed"), grp));
|
createPageAction(QIcon(IMAGE_NEWSFEED), tr("News Feed"), grp));
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef PLUGINMGR
|
#ifndef RS_RELEASE_VERSION
|
||||||
|
#ifdef PLUGINMGR
|
||||||
ui.stackPages->add(pluginsPage = new PluginsPage(ui.stackPages),
|
ui.stackPages->add(pluginsPage = new PluginsPage(ui.stackPages),
|
||||||
createPageAction(QIcon(IMAGE_PLUGINS), tr("Plugins"), grp));
|
createPageAction(QIcon(IMAGE_PLUGINS), tr("Plugins"), grp));
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Create the toolbar */
|
/* Create the toolbar */
|
||||||
ui.toolBar->addActions(grp->actions());
|
ui.toolBar->addActions(grp->actions());
|
||||||
|
@ -96,6 +96,9 @@
|
|||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Messenger</string>
|
<string>Messenger</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="visible">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
</action>
|
</action>
|
||||||
<action name="actionAbout">
|
<action name="actionAbout">
|
||||||
<property name="icon">
|
<property name="icon">
|
||||||
|
@ -755,15 +755,6 @@ void NetworkDialog::updateNetworkStatus()
|
|||||||
ui.iconlabel_upnp->setPixmap(QPixmap::QPixmap(":/images/ledoff1.png"));
|
ui.iconlabel_upnp->setPixmap(QPixmap::QPixmap(":/images/ledoff1.png"));
|
||||||
}
|
}
|
||||||
|
|
||||||
if(config.netStunOk)
|
|
||||||
{
|
|
||||||
ui.iconlabel_udp->setPixmap(QPixmap::QPixmap(":/images/ledon1.png"));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
ui.iconlabel_udp->setPixmap(QPixmap::QPixmap(":/images/ledoff1.png"));
|
|
||||||
}
|
|
||||||
|
|
||||||
if (config.netLocalOk)
|
if (config.netLocalOk)
|
||||||
{
|
{
|
||||||
ui.iconlabel_netLimited->setPixmap(QPixmap::QPixmap(":/images/ledon1.png"));
|
ui.iconlabel_netLimited->setPixmap(QPixmap::QPixmap(":/images/ledon1.png"));
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>549</width>
|
<width>555</width>
|
||||||
<height>444</height>
|
<height>444</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
@ -329,33 +329,6 @@ subcontrol-position: bottom right;
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<layout class="QGridLayout">
|
|
||||||
<item row="0" column="0">
|
|
||||||
<widget class="QLabel" name="iconlabel_udp">
|
|
||||||
<property name="maximumSize">
|
|
||||||
<size>
|
|
||||||
<width>16</width>
|
|
||||||
<height>16</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string/>
|
|
||||||
</property>
|
|
||||||
<property name="pixmap">
|
|
||||||
<pixmap resource="images.qrc">:/images/ledoff1.png</pixmap>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="0" column="1">
|
|
||||||
<widget class="QLabel" name="textlabel_udp">
|
|
||||||
<property name="text">
|
|
||||||
<string>UDP stun external ip address</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<layout class="QGridLayout">
|
<layout class="QGridLayout">
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
|
@ -185,7 +185,9 @@ PeersDialog::PeersDialog(QWidget *parent)
|
|||||||
menu->addAction(ui.actionAdd_Friend);
|
menu->addAction(ui.actionAdd_Friend);
|
||||||
menu->addSeparator();
|
menu->addSeparator();
|
||||||
menu->addAction(ui.actionCreate_New_Forum);
|
menu->addAction(ui.actionCreate_New_Forum);
|
||||||
|
#ifndef RS_RELEASE_VERSION
|
||||||
menu->addAction(ui.actionCreate_New_Channel);
|
menu->addAction(ui.actionCreate_New_Channel);
|
||||||
|
#endif
|
||||||
menu->addAction(ui.actionSet_your_Avatar);
|
menu->addAction(ui.actionSet_your_Avatar);
|
||||||
menu->addAction(ui.actionSet_your_Personal_Message);
|
menu->addAction(ui.actionSet_your_Personal_Message);
|
||||||
|
|
||||||
|
@ -53,6 +53,10 @@ ServerPage::ServerPage(QWidget * parent, Qt::WFlags flags)
|
|||||||
ui.allowIpDeterminationCB->setChecked(b) ;
|
ui.allowIpDeterminationCB->setChecked(b) ;
|
||||||
ui.IPServersLV->setEnabled(b) ;
|
ui.IPServersLV->setEnabled(b) ;
|
||||||
|
|
||||||
|
#ifdef RS_RELEASE_VERSION
|
||||||
|
ui.allowTunnelConnectionCB->hide();
|
||||||
|
this->toggleTunnelConnection(false);
|
||||||
|
#endif
|
||||||
b = rsPeers->getAllowTunnelConnection() ;
|
b = rsPeers->getAllowTunnelConnection() ;
|
||||||
ui.allowTunnelConnectionCB->setChecked(b) ;
|
ui.allowTunnelConnectionCB->setChecked(b) ;
|
||||||
|
|
||||||
|
@ -793,67 +793,6 @@ behind a firewall or a VPN.</string>
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QWidget" name="tab_3">
|
|
||||||
<attribute name="title">
|
|
||||||
<string>F2F routing</string>
|
|
||||||
</attribute>
|
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
||||||
<item>
|
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
||||||
<item>
|
|
||||||
<widget class="QCheckBox" name="_enableTurtleCB">
|
|
||||||
<property name="text">
|
|
||||||
<string>enable anonymous F2F routing</string>
|
|
||||||
</property>
|
|
||||||
<property name="checked">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QPushButton" name="_showTurtleDialogPB">
|
|
||||||
<property name="text">
|
|
||||||
<string>Show router statistics</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<spacer name="horizontalSpacer">
|
|
||||||
<property name="orientation">
|
|
||||||
<enum>Qt::Horizontal</enum>
|
|
||||||
</property>
|
|
||||||
<property name="sizeHint" stdset="0">
|
|
||||||
<size>
|
|
||||||
<width>40</width>
|
|
||||||
<height>20</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<widget class="QTextEdit" name="textEdit">
|
|
||||||
<property name="readOnly">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
<property name="html">
|
|
||||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
||||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
|
||||||
p, li { white-space: pre-wrap; }
|
|
||||||
</style></head><body style=" font-family:'DejaVu Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:8pt; font-weight:600;">RetroShare</span><span style=" font-family:'Sans'; font-size:8pt;"> is capable of transfering data and search requests between peers that are not necessarily friends. This traffic however only transits through a connected list of friends and is anonymous.</span></p>
|
|
||||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:8pt;"></p>
|
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:8pt;">If want to you use </span><span style=" font-family:'Sans'; font-size:8pt; font-weight:600;">RetroShare</span><span style=" font-family:'Sans'; font-size:8pt;"> to anonymously share and download files, leaving this checked drastically increases your download scope, and participate into the overall network bandwidth. </span></p>
|
|
||||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:8pt;"></p>
|
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:8pt;">You can separately setup share flags for each shared directory:</span></p>
|
|
||||||
<ul style="-qt-list-indent: 1;"><li style=" font-family:'Sans'; font-size:8pt;" style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Browsable by friends</span>: files are browsable from your direct friends.</li>
|
|
||||||
<li style=" font-family:'Sans'; font-size:8pt;" style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:600;">Anonymously shared</span>: files can be downloaded by anybody through anonymous tunnels.</li></ul></body></html></string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
</layout>
|
|
||||||
</widget>
|
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
|
@ -40,9 +40,6 @@ TransferPage::TransferPage(QWidget * parent, Qt::WFlags flags)
|
|||||||
|
|
||||||
connect( ui._showTurtleDialogPB,SIGNAL(clicked()),this,SLOT( showTurtleRouterDialog() )) ;
|
connect( ui._showTurtleDialogPB,SIGNAL(clicked()),this,SLOT( showTurtleRouterDialog() )) ;
|
||||||
|
|
||||||
ui._enableTurtleCB->setChecked(true) ;
|
|
||||||
ui._enableTurtleCB->setEnabled(false) ;
|
|
||||||
|
|
||||||
QTimer *timer = new QTimer(this);
|
QTimer *timer = new QTimer(this);
|
||||||
timer->connect(timer, SIGNAL(timeout()), this, SLOT(updateStatus()));
|
timer->connect(timer, SIGNAL(timeout()), this, SLOT(updateStatus()));
|
||||||
timer->start(1000);
|
timer->start(1000);
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>433</width>
|
<width>435</width>
|
||||||
<height>340</height>
|
<height>340</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
@ -120,16 +120,6 @@
|
|||||||
<layout class="QVBoxLayout" name="verticalLayout_3">
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
<item>
|
|
||||||
<widget class="QCheckBox" name="_enableTurtleCB">
|
|
||||||
<property name="text">
|
|
||||||
<string>enable anonymous F2F routing</string>
|
|
||||||
</property>
|
|
||||||
<property name="checked">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="_showTurtleDialogPB">
|
<widget class="QPushButton" name="_showTurtleDialogPB">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@ -137,19 +127,6 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<spacer name="horizontalSpacer">
|
|
||||||
<property name="orientation">
|
|
||||||
<enum>Qt::Horizontal</enum>
|
|
||||||
</property>
|
|
||||||
<property name="sizeHint" stdset="0">
|
|
||||||
<size>
|
|
||||||
<width>40</width>
|
|
||||||
<height>20</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</spacer>
|
|
||||||
</item>
|
|
||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
@ -161,7 +138,7 @@
|
|||||||
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||||
p, li { white-space: pre-wrap; }
|
p, li { white-space: pre-wrap; }
|
||||||
</style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;">
|
</style></head><body style=" font-family:'DejaVu Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:8pt; font-weight:600;">RetroShare</span><span style=" font-family:'Sans'; font-size:8pt;"> is capable of transfering data and search requests between peers that are not necessarily friends. This traffic however only transits through a connected list of friends and is anonymous.</span></p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:8pt; font-weight:600;">RetroShare</span><span style=" font-family:'Sans'; font-size:8pt;"> is capable of transfering data and search requests between peers that are not necessarily friends. This traffic however only transits through a connected list of friends and is anonymous.</span></p>
|
||||||
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:8pt;"></p>
|
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans'; font-size:8pt;"></p>
|
||||||
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:8pt;">If want to you use </span><span style=" font-family:'Sans'; font-size:8pt; font-weight:600;">RetroShare</span><span style=" font-family:'Sans'; font-size:8pt;"> to anonymously share and download files, leaving this checked drastically increases your download scope, and participate into the overall network bandwidth. </span></p>
|
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans'; font-size:8pt;">If want to you use </span><span style=" font-family:'Sans'; font-size:8pt; font-weight:600;">RetroShare</span><span style=" font-family:'Sans'; font-size:8pt;"> to anonymously share and download files, leaving this checked drastically increases your download scope, and participate into the overall network bandwidth. </span></p>
|
||||||
|
Loading…
Reference in New Issue
Block a user