From b0037c51909dc55e279baa81f063c169c9735105 Mon Sep 17 00:00:00 2001
From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>
Date: Wed, 9 Jan 2019 22:13:48 +0200
Subject: [PATCH] Improve Peers tab layout
Using the QSplitter and QScrollArea classes.
---
src/qt/forms/debugwindow.ui | 1147 ++++++++++++++++++-----------------
1 file changed, 585 insertions(+), 562 deletions(-)
diff --git a/src/qt/forms/debugwindow.ui b/src/qt/forms/debugwindow.ui
index dca16d6f78..8e8d436ce2 100644
--- a/src/qt/forms/debugwindow.ui
+++ b/src/qt/forms/debugwindow.ui
@@ -896,570 +896,593 @@
&Peers
-
- -
-
-
- 0
-
-
-
-
-
- Qt::ScrollBarAsNeeded
-
-
- false
-
-
- true
-
-
- false
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
-
- 300
- 32
-
-
-
-
- 16777215
- 32
-
-
-
-
- 12
-
-
-
- IBeamCursor
-
-
- Banned peers
-
-
- Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft
-
-
- true
-
-
- Qt::NoTextInteraction
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
- Qt::ScrollBarAsNeeded
-
-
- false
-
-
- true
-
-
- false
-
-
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
-
- 300
- 32
-
-
-
-
- 10
-
-
-
- IBeamCursor
-
-
- Select a peer to view detailed information.
-
-
- Qt::AlignHCenter|Qt::AlignTop
-
-
- true
-
-
- Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
-
+
+
+ Qt::Horizontal
-
-
- -
-
-
-
- 300
- 0
-
+
+ false
-
-
-
-
-
- Whitelisted
-
-
-
- -
-
-
- IBeamCursor
-
-
- N/A
-
-
- Qt::PlainText
-
-
- Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
-
-
-
- -
-
-
- Direction
-
-
-
- -
-
-
- IBeamCursor
-
-
- N/A
-
-
- Qt::PlainText
-
-
- Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
-
-
-
- -
-
-
- Version
-
-
-
- -
-
-
- IBeamCursor
-
-
- N/A
-
-
- Qt::PlainText
-
-
- Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
-
-
-
- -
-
-
- User Agent
-
-
-
- -
-
-
- IBeamCursor
-
-
- N/A
-
-
- Qt::PlainText
-
-
- Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
-
-
-
- -
-
-
- Services
-
-
-
- -
-
-
- IBeamCursor
-
-
- N/A
-
-
- Qt::PlainText
-
-
- Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
-
-
-
- -
-
-
- Starting Block
-
-
-
- -
-
-
- IBeamCursor
-
-
- N/A
-
-
- Qt::PlainText
-
-
- Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
-
-
-
- -
-
-
- Synced Headers
-
-
-
- -
-
-
- IBeamCursor
-
-
- N/A
-
-
- Qt::PlainText
-
-
- Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
-
-
-
- -
-
-
- Synced Blocks
-
-
-
- -
-
-
- IBeamCursor
-
-
- N/A
-
-
- Qt::PlainText
-
-
- Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
-
-
-
- -
-
-
- Ban Score
-
-
-
- -
-
-
- IBeamCursor
-
-
- N/A
-
-
- Qt::PlainText
-
-
- Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
-
-
-
- -
-
-
- Connection Time
-
-
-
- -
-
-
- IBeamCursor
-
-
- N/A
-
-
- Qt::PlainText
-
-
- Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
-
-
-
- -
-
-
- Last Send
-
-
-
- -
-
-
- IBeamCursor
-
-
- N/A
-
-
- Qt::PlainText
-
-
- Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
-
-
-
- -
-
-
- Last Receive
-
-
-
- -
-
-
- IBeamCursor
-
-
- N/A
-
-
- Qt::PlainText
-
-
- Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
-
-
-
- -
-
-
- Sent
-
-
-
- -
-
-
- IBeamCursor
-
-
- N/A
-
-
- Qt::PlainText
-
-
- Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
-
-
-
- -
-
-
- Received
-
-
-
- -
-
-
- IBeamCursor
-
-
- N/A
-
-
- Qt::PlainText
-
-
- Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
-
-
-
- -
-
-
- Ping Time
-
-
-
- -
-
-
- IBeamCursor
-
-
- N/A
-
-
- Qt::PlainText
-
-
- Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
-
-
-
- -
-
-
- The duration of a currently outstanding ping.
-
-
- Ping Wait
-
-
-
- -
-
-
- IBeamCursor
-
-
- N/A
-
-
- Qt::PlainText
-
-
- Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
-
-
-
- -
-
-
- Min Ping
-
-
-
- -
-
-
- IBeamCursor
-
-
- N/A
-
-
- Qt::PlainText
-
-
- Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
-
-
-
- -
-
-
- Time Offset
-
-
-
- -
-
-
- IBeamCursor
-
-
- N/A
-
-
- Qt::PlainText
-
-
- Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
-
-
-
- -
-
-
- Qt::Vertical
-
-
-
- 20
- 40
-
-
-
-
-
+
+
+
+ 1
+ 0
+
+
+
+
+ 400
+ 0
+
+
+
+ -
+
+
+ false
+
+
+ true
+
+
+ false
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 32
+
+
+
+
+ 16777215
+ 32
+
+
+
+
+ 12
+
+
+
+ IBeamCursor
+
+
+ Banned peers
+
+
+ Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft
+
+
+ true
+
+
+ Qt::NoTextInteraction
+
+
+
+ -
+
+
+ false
+
+
+ true
+
+
+ false
+
+
+
+
+
+
+
+
+ 0
+ 0
+
+
+
+
+ 300
+ 0
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 32
+
+
+
+
+ 10
+
+
+
+ IBeamCursor
+
+
+ Select a peer to view detailed information.
+
+
+ Qt::AlignHCenter|Qt::AlignTop
+
+
+ true
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+ -
+
+
+ true
+
+
+
+
+ 0
+ 0
+ 300
+ 426
+
+
+
+
+ 300
+ 0
+
+
+
+
-
+
+
+ Whitelisted
+
+
+
+ -
+
+
+ IBeamCursor
+
+
+ N/A
+
+
+ Qt::PlainText
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+ -
+
+
+ Direction
+
+
+
+ -
+
+
+ IBeamCursor
+
+
+ N/A
+
+
+ Qt::PlainText
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+ -
+
+
+ Version
+
+
+
+ -
+
+
+ IBeamCursor
+
+
+ N/A
+
+
+ Qt::PlainText
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+ -
+
+
+ User Agent
+
+
+
+ -
+
+
+ IBeamCursor
+
+
+ N/A
+
+
+ Qt::PlainText
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+ -
+
+
+ Services
+
+
+
+ -
+
+
+ IBeamCursor
+
+
+ N/A
+
+
+ Qt::PlainText
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+ -
+
+
+ Starting Block
+
+
+
+ -
+
+
+ IBeamCursor
+
+
+ N/A
+
+
+ Qt::PlainText
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+ -
+
+
+ Synced Headers
+
+
+
+ -
+
+
+ IBeamCursor
+
+
+ N/A
+
+
+ Qt::PlainText
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+ -
+
+
+ Synced Blocks
+
+
+
+ -
+
+
+ IBeamCursor
+
+
+ N/A
+
+
+ Qt::PlainText
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+ -
+
+
+ Ban Score
+
+
+
+ -
+
+
+ IBeamCursor
+
+
+ N/A
+
+
+ Qt::PlainText
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+ -
+
+
+ Connection Time
+
+
+
+ -
+
+
+ IBeamCursor
+
+
+ N/A
+
+
+ Qt::PlainText
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+ -
+
+
+ Last Send
+
+
+
+ -
+
+
+ IBeamCursor
+
+
+ N/A
+
+
+ Qt::PlainText
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+ -
+
+
+ Last Receive
+
+
+
+ -
+
+
+ IBeamCursor
+
+
+ N/A
+
+
+ Qt::PlainText
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+ -
+
+
+ Sent
+
+
+
+ -
+
+
+ IBeamCursor
+
+
+ N/A
+
+
+ Qt::PlainText
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+ -
+
+
+ Received
+
+
+
+ -
+
+
+ IBeamCursor
+
+
+ N/A
+
+
+ Qt::PlainText
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+ -
+
+
+ Ping Time
+
+
+
+ -
+
+
+ IBeamCursor
+
+
+ N/A
+
+
+ Qt::PlainText
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+ -
+
+
+ The duration of a currently outstanding ping.
+
+
+ Ping Wait
+
+
+
+ -
+
+
+ IBeamCursor
+
+
+ N/A
+
+
+ Qt::PlainText
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+ -
+
+
+ Min Ping
+
+
+
+ -
+
+
+ IBeamCursor
+
+
+ N/A
+
+
+ Qt::PlainText
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+ -
+
+
+ Time Offset
+
+
+
+ -
+
+
+ IBeamCursor
+
+
+ N/A
+
+
+ Qt::PlainText
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+
+
+
+
+
+