-
Notifications
You must be signed in to change notification settings - Fork 337
Add abitlity to resize peerTable and banTable #457
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,8 +6,8 @@ | |
| <rect> | ||
| <x>0</x> | ||
| <y>0</y> | ||
| <width>740</width> | ||
| <height>430</height> | ||
| <width>744</width> | ||
| <height>531</height> | ||
| </rect> | ||
| </property> | ||
| <property name="windowTitle"> | ||
|
|
@@ -36,7 +36,7 @@ | |
| <item> | ||
| <widget class="QTabWidget" name="tabWidget"> | ||
| <property name="currentIndex"> | ||
| <number>0</number> | ||
| <number>3</number> | ||
|
Member
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. Why this change?
Contributor
Author
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. This was an auto-generated change by QtCreator. Fixed in 0c36420 |
||
| </property> | ||
| <widget class="QWidget" name="tab_info"> | ||
| <attribute name="title"> | ||
|
|
@@ -887,85 +887,112 @@ | |
| <height>0</height> | ||
| </size> | ||
| </property> | ||
| <layout class="QVBoxLayout" name="verticalLayout_7"> | ||
| <layout class="QVBoxLayout" name="verticalLayout_9"> | ||
|
Member
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. Is this change required?
Contributor
Author
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. Since this PR introduced a new sub-Layout, the introduced sub-Layout was named in the chronological order of its introduction. And since verticalLayout_7 already exists (on Line 935), giving this the same name leads to a warning message while compiling: So, I am letting this change be as it is for now, and I welcome any suggestions you might have. |
||
| <item> | ||
| <widget class="QTableView" name="peerWidget"> | ||
| <property name="tabKeyNavigation"> | ||
| <bool>false</bool> | ||
| </property> | ||
| <property name="alternatingRowColors"> | ||
| <bool>true</bool> | ||
| </property> | ||
| <property name="textElideMode"> | ||
| <enum>Qt::ElideMiddle</enum> | ||
| </property> | ||
| <property name="sortingEnabled"> | ||
| <bool>true</bool> | ||
| <widget class="QSplitter" name="tableSplitter"> | ||
| <property name="orientation"> | ||
| <enum>Qt::Vertical</enum> | ||
| </property> | ||
| <property name="wordWrap"> | ||
| <bool>false</bool> | ||
| <property name="handleWidth"> | ||
| <number>4</number> | ||
| </property> | ||
| <attribute name="horizontalHeaderHighlightSections"> | ||
| <property name="childrenCollapsible"> | ||
| <bool>false</bool> | ||
| </attribute> | ||
| </widget> | ||
| </item> | ||
| <item> | ||
| <widget class="QLabel" name="banHeading"> | ||
| <property name="sizePolicy"> | ||
| <sizepolicy hsizetype="Preferred" vsizetype="Minimum"> | ||
| <horstretch>0</horstretch> | ||
| <verstretch>0</verstretch> | ||
| </sizepolicy> | ||
| </property> | ||
| <property name="minimumSize"> | ||
| <size> | ||
| <width>0</width> | ||
| <height>32</height> | ||
| </size> | ||
| </property> | ||
| <property name="maximumSize"> | ||
| <size> | ||
| <width>16777215</width> | ||
| <height>32</height> | ||
| </size> | ||
| </property> | ||
| <property name="font"> | ||
| <font> | ||
| <pointsize>12</pointsize> | ||
| </font> | ||
| </property> | ||
| <property name="cursor"> | ||
| <cursorShape>IBeamCursor</cursorShape> | ||
| </property> | ||
| <property name="text"> | ||
| <string>Banned peers</string> | ||
| </property> | ||
| <property name="alignment"> | ||
| <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> | ||
| </property> | ||
| <property name="wordWrap"> | ||
| <bool>true</bool> | ||
| </property> | ||
| <property name="textInteractionFlags"> | ||
| <set>Qt::NoTextInteraction</set> | ||
| </property> | ||
| </widget> | ||
| </item> | ||
| <item> | ||
| <widget class="QTableView" name="banlistWidget"> | ||
| <property name="tabKeyNavigation"> | ||
| <bool>false</bool> | ||
| </property> | ||
| <property name="alternatingRowColors"> | ||
| <bool>true</bool> | ||
| </property> | ||
| <property name="sortingEnabled"> | ||
| <bool>true</bool> | ||
| </property> | ||
| <attribute name="horizontalHeaderHighlightSections"> | ||
| <bool>false</bool> | ||
| </attribute> | ||
| <widget class="QTableView" name="peerWidget"> | ||
| <property name="sizePolicy"> | ||
| <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding"> | ||
| <horstretch>0</horstretch> | ||
| <verstretch>1</verstretch> | ||
| </sizepolicy> | ||
| </property> | ||
| <property name="tabKeyNavigation"> | ||
| <bool>false</bool> | ||
| </property> | ||
| <property name="alternatingRowColors"> | ||
| <bool>true</bool> | ||
| </property> | ||
| <property name="textElideMode"> | ||
| <enum>Qt::ElideMiddle</enum> | ||
| </property> | ||
| <property name="sortingEnabled"> | ||
| <bool>true</bool> | ||
| </property> | ||
| <property name="wordWrap"> | ||
| <bool>false</bool> | ||
| </property> | ||
| <attribute name="horizontalHeaderHighlightSections"> | ||
| <bool>false</bool> | ||
| </attribute> | ||
| </widget> | ||
| <widget class="QWidget" name="banTable" native="true"> | ||
| <property name="sizePolicy"> | ||
| <sizepolicy hsizetype="Preferred" vsizetype="Minimum"> | ||
| <horstretch>0</horstretch> | ||
| <verstretch>0</verstretch> | ||
| </sizepolicy> | ||
| </property> | ||
| <layout class="QVBoxLayout" name="verticalLayout_7"> | ||
| <item> | ||
| <widget class="QLabel" name="banHeading"> | ||
| <property name="sizePolicy"> | ||
| <sizepolicy hsizetype="Preferred" vsizetype="Minimum"> | ||
| <horstretch>0</horstretch> | ||
| <verstretch>0</verstretch> | ||
| </sizepolicy> | ||
| </property> | ||
| <property name="minimumSize"> | ||
| <size> | ||
| <width>0</width> | ||
| <height>32</height> | ||
| </size> | ||
| </property> | ||
| <property name="maximumSize"> | ||
| <size> | ||
| <width>16777215</width> | ||
| <height>32</height> | ||
| </size> | ||
| </property> | ||
| <property name="font"> | ||
| <font> | ||
| <pointsize>12</pointsize> | ||
| </font> | ||
| </property> | ||
| <property name="cursor"> | ||
| <cursorShape>IBeamCursor</cursorShape> | ||
| </property> | ||
| <property name="text"> | ||
| <string>Banned peers</string> | ||
| </property> | ||
| <property name="alignment"> | ||
| <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> | ||
| </property> | ||
| <property name="wordWrap"> | ||
| <bool>true</bool> | ||
| </property> | ||
| <property name="textInteractionFlags"> | ||
| <set>Qt::NoTextInteraction</set> | ||
| </property> | ||
| </widget> | ||
| </item> | ||
| <item> | ||
| <widget class="QTableView" name="banlistWidget"> | ||
| <property name="tabKeyNavigation"> | ||
| <bool>false</bool> | ||
| </property> | ||
| <property name="alternatingRowColors"> | ||
| <bool>true</bool> | ||
| </property> | ||
| <property name="sortingEnabled"> | ||
| <bool>true</bool> | ||
| </property> | ||
| <attribute name="horizontalHeaderHighlightSections"> | ||
| <bool>false</bool> | ||
| </attribute> | ||
| </widget> | ||
| </item> | ||
| </layout> | ||
| </widget> | ||
| </widget> | ||
| </item> | ||
| </layout> | ||
|
|
@@ -1030,8 +1057,8 @@ | |
| <rect> | ||
| <x>0</x> | ||
| <y>0</y> | ||
| <width>300</width> | ||
| <height>426</height> | ||
| <width>266</width> | ||
| <height>656</height> | ||
| </rect> | ||
| </property> | ||
| <layout class="QGridLayout" name="gridLayout_2" columnstretch="0,1"> | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.