Merge pull request #319 from crowning-/v0.12.0.x

Included new "Peers list" tab into CSS theme
This commit is contained in:
UdjinM6 2015-04-20 10:57:24 +03:00
commit 6420c5a88d
4 changed files with 10 additions and 6 deletions

6
src/qt/forms/rpcconsole.ui Normal file → Executable file
View File

@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>740</width>
<width>769</width>
<height>485</height>
</rect>
</property>
@ -717,6 +717,8 @@
<property name="font">
<font>
<pointsize>10</pointsize>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="cursor">
@ -726,7 +728,7 @@
<string>Select a peer to view detailed information.</string>
</property>
<property name="alignment">
<set>Qt::AlignHCenter|Qt::AlignTop</set>
<set>Qt::AlignCenter</set>
</property>
<property name="wordWrap">
<bool>true</bool>

View File

@ -651,6 +651,10 @@ min-height:25px;
min-width:180px;
}
QDialog#RPCConsole QWidget#tab_peers QLabel#peerHeading { /* Peers Info Header */
color:#3398CC;
}
QDialog#RPCConsole QPushButton#openDebugLogfileButton {
max-width:60px;
}

View File

@ -233,7 +233,6 @@ RPCConsole::RPCConsole(QWidget *parent) :
startExecutor();
setTrafficGraphRange(INITIAL_TRAFFIC_GRAPH_MINS);
ui->detailWidget->hide();
ui->peerHeading->setText(tr("Select a peer to view detailed information."));
clear();
@ -596,7 +595,6 @@ void RPCConsole::peerLayoutChanged()
// detail node dissapeared from table (node disconnected)
fUnselect = true;
cachedNodeid = -1;
ui->detailWidget->hide();
ui->peerHeading->setText(tr("Select a peer to view detailed information."));
}
else

View File

@ -102,8 +102,8 @@ private:
enum ColumnWidths
{
ADDRESS_COLUMN_WIDTH = 200,
SUBVERSION_COLUMN_WIDTH = 100,
ADDRESS_COLUMN_WIDTH = 170,
SUBVERSION_COLUMN_WIDTH = 140,
PING_COLUMN_WIDTH = 80
};