MainWindow tied splitterMoved event

Boris Barbulovski bbarbulovski at gmail.com
Tue Feb 11 07:07:09 UTC 2014


This patch makes both MainWindow splitters to move the same when one of
them is moved by the user.

In order to access QSplitter protected member, I had to subclass QSplitter
into new class.

I know this practice is not preferred, but should work for this scenario
just fine.

Maybe(in some future) I will create QGridSplitter widget, but until then,
this is the best solution.

br, Boris..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140211/56399b4c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-MainWindow-tied-splitterMoved-feature.patch
Type: text/x-patch
Size: 4956 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140211/56399b4c/attachment.bin>


More information about the subsurface mailing list