mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed up icons in statistics window
This commit is contained in:
parent
e06bd9b6ec
commit
6da8b2a04d
@ -14,6 +14,11 @@
|
||||
<file>icons/anonymous_green_128.png</file>
|
||||
<file>icons/aol.png</file>
|
||||
<file>icons/transport128.png</file>
|
||||
<file>icons/bandwidth128.png</file>
|
||||
<file>icons/RTT128.png</file>
|
||||
<file>icons/DHT128.png</file>
|
||||
<file>icons/turtle128.png</file>
|
||||
<file>icons/GRouter128.png</file>
|
||||
<file>icons/avatar_128.png</file>
|
||||
<file>icons/avatar_grey_128.png</file>
|
||||
<file>icons/biohazard_red.png</file>
|
||||
|
BIN
retroshare-gui/src/gui/icons/DHT128.png
Normal file
BIN
retroshare-gui/src/gui/icons/DHT128.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.4 KiB |
BIN
retroshare-gui/src/gui/icons/GRouter128.png
Normal file
BIN
retroshare-gui/src/gui/icons/GRouter128.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.3 KiB |
BIN
retroshare-gui/src/gui/icons/RTT128.png
Normal file
BIN
retroshare-gui/src/gui/icons/RTT128.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.6 KiB |
BIN
retroshare-gui/src/gui/icons/bandwidth128.png
Normal file
BIN
retroshare-gui/src/gui/icons/bandwidth128.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.7 KiB |
BIN
retroshare-gui/src/gui/icons/turtle128.png
Normal file
BIN
retroshare-gui/src/gui/icons/turtle128.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.5 KiB |
@ -34,6 +34,8 @@
|
||||
#include "retroshare/rspeers.h"
|
||||
#include <retroshare/rsplugin.h>
|
||||
|
||||
#include <gui/settings/rsharesettings.h>
|
||||
|
||||
#include <gui/statistics/TurtleRouterStatistics.h>
|
||||
#include <gui/statistics/GlobalRouterStatistics.h>
|
||||
#include <gui/statistics/GxsTransportStatistics.h>
|
||||
@ -49,13 +51,14 @@
|
||||
#include "gui/statistics/RttStatistics.h"
|
||||
#endif
|
||||
|
||||
#define IMAGE_DHT ":/images/dht32.png"
|
||||
#define IMAGE_TURTLE ":images/turtle.png"
|
||||
#define IMAGE_BWGRAPH ":/images/ksysguard.png"
|
||||
#define IMAGE_GLOBALROUTER ":/images/network32.png"
|
||||
#define IMAGE_DHT ":/icons/DHT128.png"
|
||||
#define IMAGE_TURTLE ":/icons/turtle128.png"
|
||||
#define IMAGE_BWGRAPH ":/icons/bandwidth128.png"
|
||||
#define IMAGE_GLOBALROUTER ":/icons/GRouter128.png"
|
||||
#define IMAGE_GXSTRANSPORT ":/icons/transport128.png"
|
||||
#define IMAGE_BANDWIDTH ":images/office-chart-area-stacked.png"
|
||||
#define IMAGE_RTT ":images/office-chart-line.png"
|
||||
#define IMAGE_RTT ":/icons/RTT128.png"
|
||||
|
||||
//#define IMAGE_BANDWIDTH ":images/office-chart-area-stacked.png"
|
||||
|
||||
/********************************************** STATIC WINDOW *************************************/
|
||||
StatisticsWindow * StatisticsWindow::mInstance = NULL;
|
||||
@ -96,6 +99,9 @@ StatisticsWindow::StatisticsWindow(QWidget *parent) :
|
||||
connect(ui->stackPages, SIGNAL(currentChanged(int)), this, SLOT(setNewPage(int)));
|
||||
ui->stackPages->setCurrentIndex(0);
|
||||
|
||||
int toolSize = Settings->getToolButtonSize();
|
||||
ui->toolBar->setToolButtonStyle(Settings->getToolButtonStyle());
|
||||
ui->toolBar->setIconSize(QSize(toolSize,toolSize));
|
||||
}
|
||||
|
||||
StatisticsWindow::~StatisticsWindow()
|
||||
@ -127,7 +133,7 @@ void StatisticsWindow::initStackedPage()
|
||||
QAction *action;
|
||||
|
||||
ui->stackPages->add(bwdlg = new BwCtrlWindow(ui->stackPages),
|
||||
action = createPageAction(QIcon(IMAGE_BANDWIDTH), tr("Bandwidth"), grp));
|
||||
action = createPageAction(QIcon(IMAGE_BWGRAPH), tr("Bandwidth"), grp));
|
||||
|
||||
ui->stackPages->add(trsdlg = new TurtleRouterStatistics(ui->stackPages),
|
||||
action = createPageAction(QIcon(IMAGE_TURTLE), tr("Turtle Router"), grp));
|
||||
@ -184,7 +190,7 @@ QAction *StatisticsWindow::createPageAction(const QIcon &icon, const QString &te
|
||||
font = action->font();
|
||||
font.setPointSize(9);
|
||||
action->setCheckable(true);
|
||||
action->setFont(font);
|
||||
// action->setFont(font);
|
||||
return action;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user