I normally don't give up on things...but I'll be danged if I can get a GroupBox
around those widgets to behave they way it works with just the widgets.
The window should shrink vertically when hidden and the expand again when
shown.
It's probably my ignorance of GroupBoxes and Qt in general. But I find the
lack of consistency very frustrating.Seems to me.
#1 Cut widgets#2 Add GroupBox#3 Paste widgets into GroupBox
Then hide/show GroupBox just like the widgets were being done....no joy.
I wish Qt was smarter and you could just add a GroupBox around an existing set
of widgets for example. Or am I missing that capability somewhere?
de Mike W9MDB
From: Bill Somerville <[email protected]>
To: [email protected]
Sent: Sunday, March 12, 2017 3:32 PM
Subject: Re: [wsjt-devel] Fastgraph patch
On 12/03/2017 19:45, Black Michael wrote:
Fastgraph now recognizes CTRL-M to toggle visible controls as other windows
do.
https://www.dropbox.com/s/mgp87np3e9iacw6/fastgraph.patch?dl=1
Hi Mike, although I understand the reasoning for hiding some widgets, the way
this is implemented is not very sensible. In Qt widgets form a tree hierarchy
that allows control of sub-trees by content alone. If you create a QWidget just
to contain other widgets you can then simply hide or show the containing widget
instead of having to maintain a whole list of contained widgets. A widget need
not have any visible parts on screen i.e. it can simply be a container for
other widgets. The contained widgets do not just get their visibility from
their containing widget, most of the properties of widgets are inherited if
they are not set explicitly. This allows much simpler and lower maintenance UI
designs.
73
Bill
G4WJS.
------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel