From b3939e1efb0402997963905b641ccf4bd9b96c88 Mon Sep 17 00:00:00 2001 From: saibato Date: Fri, 3 Jul 2020 07:53:49 +0000 Subject: [PATCH 1/2] Move the debug window style to a top to bottom layout When we want to run the UI on mobile a top to bottom style is key. Signed-off-by: saibato --- src/qt/forms/debugwindow.ui | 467 +++++++++++++++++------------------- 1 file changed, 226 insertions(+), 241 deletions(-) diff --git a/src/qt/forms/debugwindow.ui b/src/qt/forms/debugwindow.ui index 1217ca3e2e4..69aac00019c 100644 --- a/src/qt/forms/debugwindow.ui +++ b/src/qt/forms/debugwindow.ui @@ -6,37 +6,18 @@ 0 0 - 740 - 430 + 440 + 440 Node window - - - - false - - - QLabel { background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop:0 #F0D0A0, stop:1 #F8D488); color:#000000; } - - - true - - - 3 - - - Qt::TextSelectableByMouse - - - - 0 + 2 @@ -671,66 +652,6 @@ - - - - - 0 - 0 - - - - - - - - - - 1 - - - 288 - - - 12 - - - 6 - - - Qt::Horizontal - - - - - - - - 100 - 0 - - - - Qt::AlignCenter - - - - - - - &Reset - - - false - - - - - - - - - @@ -795,13 +716,6 @@ - - - - Received - - - @@ -815,6 +729,13 @@ + + + + Received + + + @@ -875,13 +796,6 @@ - - - - Sent - - - @@ -895,26 +809,79 @@ + + + + Sent + + + - - - - Qt::Vertical - - - - 20 - 407 - - - - + + + + + 0 + 0 + + + + + + + + + + 1 + + + 288 + + + 12 + + + 6 + + + Qt::Horizontal + + + + + + + + 100 + 0 + + + + Qt::AlignCenter + + + + + + + &Reset + + + false + + + + + + + + @@ -946,6 +913,18 @@ + + + 0 + 150 + + + + Qt::ScrollBarAlwaysOn + + + Qt::ScrollBarAsNeeded + false @@ -1001,6 +980,9 @@ + + Qt::ScrollBarAlwaysOn + false @@ -1012,22 +994,6 @@ - - - - - - 0 - 0 - - - - - 300 - 0 - - - @@ -1074,20 +1040,20 @@ 0 0 - 300 - 426 + 362 + 398 - - + + - Whitelisted + Last Receive - - + + IBeamCursor @@ -1102,15 +1068,15 @@ - - + + - Direction + Sent - - + + IBeamCursor @@ -1125,15 +1091,15 @@ - - + + - Version + Received - - + + IBeamCursor @@ -1148,15 +1114,15 @@ - - + + - User Agent + Ping Time - - + + IBeamCursor @@ -1171,15 +1137,18 @@ - - + + + + The duration of a currently outstanding ping. + - Services + Ping Wait - - + + IBeamCursor @@ -1194,15 +1163,15 @@ - - + + - Starting Block + Min Ping - - + + IBeamCursor @@ -1217,15 +1186,15 @@ - - + + - Synced Headers + Time Offset - - + + IBeamCursor @@ -1240,15 +1209,31 @@ - - + + + + The mapped Autonomous System used for diversifying peer selection. + - Synced Blocks + Mapped AS - - + + + + Qt::Vertical + + + + 20 + 40 + + + + + + IBeamCursor @@ -1263,15 +1248,15 @@ - - + + - Ban Score + Whitelisted - - + + IBeamCursor @@ -1286,15 +1271,15 @@ - - + + - Connection Time + Direction - - + + IBeamCursor @@ -1309,15 +1294,15 @@ - - + + - Last Send + Version - - + + IBeamCursor @@ -1332,15 +1317,15 @@ - - + + - Last Receive + User Agent - - + + IBeamCursor @@ -1355,15 +1340,15 @@ - - + + - Sent + Services - - + + IBeamCursor @@ -1378,15 +1363,15 @@ - - + + - Received + Starting Block - - + + IBeamCursor @@ -1401,15 +1386,15 @@ - - + + - Ping Time + Synced Headers - - + + IBeamCursor @@ -1424,18 +1409,15 @@ - - - - The duration of a currently outstanding ping. - + + - Ping Wait + Synced Blocks - - + + IBeamCursor @@ -1450,15 +1432,15 @@ - - + + - Min Ping + Ban Score - - + + IBeamCursor @@ -1473,15 +1455,15 @@ - - + + - Time Offset + Connection Time - - + + IBeamCursor @@ -1496,18 +1478,15 @@ - - - - The mapped Autonomous System used for diversifying peer selection. - + + - Mapped AS + Last Send - - + + IBeamCursor @@ -1522,19 +1501,6 @@ - - - - Qt::Vertical - - - - 20 - 40 - - - - @@ -1547,6 +1513,25 @@ + + + + false + + + QLabel { background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop:0 #F0D0A0, stop:1 #F8D488); color:#000000; } + + + true + + + 3 + + + Qt::TextSelectableByMouse + + + From 0d80be7701bdf896e68ce606a230dbd880334449 Mon Sep 17 00:00:00 2001 From: saibato Date: Fri, 3 Jul 2020 08:28:32 +0000 Subject: [PATCH 2/2] Move the overviewpage to top to bottom style Signed-off-by: saibato --- src/qt/forms/overviewpage.ui | 238 +++++++++++++++-------------------- 1 file changed, 104 insertions(+), 134 deletions(-) diff --git a/src/qt/forms/overviewpage.ui b/src/qt/forms/overviewpage.ui index 4d3f90c4848..b18ca2ab2f0 100644 --- a/src/qt/forms/overviewpage.ui +++ b/src/qt/forms/overviewpage.ui @@ -6,8 +6,8 @@ 0 0 - 798 - 318 + 560 + 507 @@ -15,26 +15,7 @@ - - - false - - - QLabel { background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop:0 #F0D0A0, stop:1 #F8D488); color:#000000; } - - - true - - - 3 - - - Qt::TextSelectableByMouse - - - - - + @@ -79,7 +60,7 @@ - + :/icons/warning :/icons/warning:/icons/warning @@ -429,119 +410,108 @@ - - - - - - QFrame::StyledPanel - - - QFrame::Raised - - - - - - - - - 75 - true - - - - Recent transactions - - - - - - - true - - - - 30 - 16777215 - - - - The displayed information may be out of date. Your wallet automatically synchronizes with the Bitcoin network after a connection is established, but this process has not completed yet. - - - - - - - :/icons/warning - :/icons/warning:/icons/warning - - - - 24 - 24 - - - - true - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - - QListView { background: transparent; } - - - QFrame::NoFrame - - - Qt::ScrollBarAlwaysOff - - - Qt::ScrollBarAlwaysOff - - - QAbstractItemView::NoSelection - - - - - - - - - - Qt::Vertical - - - - 20 - 40 - - - - - - + + + + QFrame::StyledPanel + + + QFrame::Raised + + + + + + + + + 75 + true + + + + Recent transactions + + + + + + + true + + + + 30 + 16777215 + + + + The displayed information may be out of date. Your wallet automatically synchronizes with the Bitcoin network after a connection is established, but this process has not completed yet. + + + + + + + :/icons/warning + :/icons/warning:/icons/warning + + + + 24 + 24 + + + + true + + + + + + + + + QListView { background: transparent; } + + + QFrame::NoFrame + + + Qt::ScrollBarAlwaysOff + + + Qt::ScrollBarAlwaysOff + + + QAbstractItemView::NoSelection + + + + + + + + + + false + + + QLabel { background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 0, stop:0 #F0D0A0, stop:1 #F8D488); color:#000000; } + + + true + + + 3 + + + Qt::TextSelectableByMouse + + +