-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Network Graph layout - debug window improvement. #291
Closed
RandyMcMillan
wants to merge
1
commit into
bitcoin-core:master
from
bitcoincore-dev:net-graph-layout
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -612,79 +612,32 @@ | |
<attribute name="title"> | ||
<string>&Network Traffic</string> | ||
</attribute> | ||
<layout class="QHBoxLayout" name="horizontalLayout_3"> | ||
<layout class="QVBoxLayout" name="verticalLayout_4"> | ||
<item> | ||
<layout class="QVBoxLayout" name="verticalLayout_4"> | ||
<item> | ||
<widget class="TrafficGraphWidget" name="trafficGraph" native="true"> | ||
<property name="sizePolicy"> | ||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> | ||
<horstretch>0</horstretch> | ||
<verstretch>0</verstretch> | ||
</sizepolicy> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<layout class="QHBoxLayout" name="horizontalLayout_2"> | ||
<item> | ||
<widget class="QSlider" name="sldGraphRange"> | ||
<property name="minimum"> | ||
<number>1</number> | ||
</property> | ||
<property name="maximum"> | ||
<number>288</number> | ||
</property> | ||
<property name="pageStep"> | ||
<number>12</number> | ||
</property> | ||
<property name="value"> | ||
<number>6</number> | ||
</property> | ||
<property name="orientation"> | ||
<enum>Qt::Horizontal</enum> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QLabel" name="lblGraphRange"> | ||
<property name="minimumSize"> | ||
<size> | ||
<width>100</width> | ||
<height>0</height> | ||
</size> | ||
</property> | ||
<property name="alignment"> | ||
<set>Qt::AlignCenter</set> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QPushButton" name="btnClearTrafficGraph"> | ||
<property name="text"> | ||
<string>&Reset</string> | ||
</property> | ||
<property name="autoDefault"> | ||
<bool>false</bool> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</item> | ||
</layout> | ||
<widget class="TrafficGraphWidget" name="trafficGraph" native="true"> | ||
<property name="sizePolicy"> | ||
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> | ||
<horstretch>0</horstretch> | ||
<verstretch>0</verstretch> | ||
</sizepolicy> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<layout class="QVBoxLayout" name="verticalLayout"> | ||
<layout class="QHBoxLayout" name="bottomFrame"> | ||
<item> | ||
<widget class="QGroupBox" name="groupBox"> | ||
<property name="title"> | ||
<string>Totals</string> | ||
<string/> | ||
</property> | ||
<layout class="QVBoxLayout" name="verticalLayout_5"> | ||
<property name="flat"> | ||
<bool>true</bool> | ||
</property> | ||
<layout class="QVBoxLayout" name="verticalLayout_9"> | ||
<item> | ||
<layout class="QHBoxLayout" name="horizontalLayout_4"> | ||
<layout class="QHBoxLayout" name="ReceivedBox"> | ||
<item> | ||
<widget class="Line" name="line"> | ||
<widget class="Line" name="ReceivedLine"> | ||
<property name="sizePolicy"> | ||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed"> | ||
<horstretch>0</horstretch> | ||
|
@@ -740,7 +693,7 @@ | |
</widget> | ||
</item> | ||
<item> | ||
<widget class="QLabel" name="label_16"> | ||
<widget class="QLabel" name="Received"> | ||
<property name="text"> | ||
<string>Received</string> | ||
</property> | ||
|
@@ -762,9 +715,9 @@ | |
</layout> | ||
</item> | ||
<item> | ||
<layout class="QHBoxLayout" name="horizontalLayout_5"> | ||
<layout class="QHBoxLayout" name="SentBox"> | ||
<item> | ||
<widget class="Line" name="line_2"> | ||
<widget class="Line" name="SentLine"> | ||
<property name="sizePolicy"> | ||
<sizepolicy hsizetype="Fixed" vsizetype="Fixed"> | ||
<horstretch>0</horstretch> | ||
|
@@ -820,7 +773,7 @@ | |
</widget> | ||
</item> | ||
<item> | ||
<widget class="QLabel" name="label_17"> | ||
<widget class="QLabel" name="Sent"> | ||
<property name="text"> | ||
<string>Sent</string> | ||
</property> | ||
|
@@ -841,22 +794,57 @@ | |
</item> | ||
</layout> | ||
</item> | ||
<item> | ||
<spacer name="verticalSpacer_4"> | ||
<property name="orientation"> | ||
<enum>Qt::Vertical</enum> | ||
</property> | ||
<property name="sizeHint" stdset="0"> | ||
<size> | ||
<width>20</width> | ||
<height>407</height> | ||
</size> | ||
</property> | ||
</spacer> | ||
</item> | ||
</layout> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QSlider" name="sldGraphRange"> | ||
<property name="minimumSize"> | ||
<size> | ||
<width>105</width> | ||
<height>0</height> | ||
</size> | ||
</property> | ||
<property name="minimum"> | ||
<number>1</number> | ||
</property> | ||
<property name="maximum"> | ||
<number>288</number> | ||
</property> | ||
<property name="pageStep"> | ||
<number>12</number> | ||
</property> | ||
<property name="value"> | ||
<number>6</number> | ||
</property> | ||
<property name="orientation"> | ||
<enum>Qt::Horizontal</enum> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QLabel" name="lblGraphRange"> | ||
<property name="minimumSize"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (re) setting minimum size to address sizing issue when time interval changes |
||
<size> | ||
<width>60</width> | ||
<height>0</height> | ||
</size> | ||
</property> | ||
<property name="alignment"> | ||
<set>Qt::AlignCenter</set> | ||
</property> | ||
</widget> | ||
</item> | ||
<item> | ||
<widget class="QPushButton" name="btnClearTrafficGraph"> | ||
<property name="text"> | ||
<string>&Reset</string> | ||
</property> | ||
<property name="autoDefault"> | ||
<bool>false</bool> | ||
</property> | ||
</widget> | ||
</item> | ||
</layout> | ||
</item> | ||
</layout> | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(re) setting minimum size to address sizing issue when time interval changes