Re: [Interest] Persistence of editor for openPersistentEditor

2018-06-05 Thread Patrick Stinson
That is logically consistent, though it didn’t work for me. findChildren() still returns two objects. strange. > On Jun 5, 2018, at 3:42 AM, william.croc...@analog.com wrote: > > On 06/04/2018 05:08 PM, Patrick Stinson wrote: >> Hello! >> >> I am writing a unit test for an item view and need

Re: [Interest] Can't set line height for QPlainTextEdit

2018-06-05 Thread Christoph Feck
On 06.06.2018 03:52, nus1998 wrote: I want to set line height for QPlainTextEdit, here is my code, but it doesn't work, the line height is always same as the font height. btw: If I change QPlainTextEdit to QTextEdit, then it works. QPlainTextEdit has vastly simpler layouting code to speed up

[Interest] Can't set line height for QPlainTextEdit

2018-06-05 Thread nus1998
Hi All, I want to set line height for QPlainTextEdit, here is my code, but it doesn't work, the line height is always same as the font height. btw: If I change QPlainTextEdit to QTextEdit, then it works. my env: Qt 5.6.2 mingw version, Win 10 64 bit #include"dialog.h" #include"ui_dialog.h"

Re: [Interest] Persistence of editor for openPersistentEditor

2018-06-05 Thread Reinhardt Behm
On Tuesday 05 June 2018 06:42:28 william.croc...@analog.com wrote: > On 06/04/2018 05:08 PM, Patrick Stinson wrote: > > Hello! > > > > I am writing a unit test for an item view and need to get . The code in > > *qabstractitemview_p.h* “releases” an editor created by a delegate by > > calling

Re: [Interest] 32-bit mingw ld out of memory

2018-06-05 Thread Vyacheslav Lanovets
Thanks, I will compile Qt for MINGW, I hope it will be as easy as building for iOS was. But it is unfortunate that 64-bit version of mingw cannot produce compatible binaries for same abi. I wonder if Qt developers plan to include 64 bi toolset into official Qt installation by default. If

Re: [Interest] 32-bit mingw ld out of memory

2018-06-05 Thread Konstantin Tokarev
05.06.2018, 21:54, "Vyacheslav Lanovets" : > Hello, > > I experience out of memory error in ld from mingw 5.3 included into Qt. > > Is it possible to use 64-bit version of mingw-w64? Yes, but you need to build Qt from sources in this case > > And how can I use multi-threaded 

[Interest] 32-bit mingw ld out of memory

2018-06-05 Thread Vyacheslav Lanovets
Hello, I experience out of memory error in ld from mingw 5.3 included into Qt. Is it possible to use 64-bit version of mingw-w64? And how can I use multi-threaded C:\Qt\Tools\mingw530_32\bin\ld.gold.exe to build Qt apps? Please help! Regards, Vyacheslav

[Interest] When to save floating dock state?

2018-06-05 Thread Steve Atkins
I usually save QMainWindow state with saveState() in QMainWindow::closeEvent(), as pretty much all the examples suggest. But if I have floating dock widgets and I exit the app then during the closeEvent the dock widget is usually (but not always) hidden, so saveState() records it as not

Re: [Interest] KDescendantsProxyModel + QSortFilterProxyModel issue

2018-06-05 Thread Rodrigo Oliva
Nevermind the filter, the problem occurs when setting KDescendantsProxyModel to SubTreesWithoutRoots. Using ChildrenOfExactSelection does not produce this problem, with or without QSortFilterProxyModel after it. So it is most likely an issue in KDescendantsProxyModel. From: Rodrigo Oliva

[Interest] KDescendantsProxyModel + QSortFilterProxyModel issue

2018-06-05 Thread Rodrigo Oliva
Hello, I've been using kde's kitemmodels library to make a content explorer. I have two panels, the left one which is a QTreeView that shows a folder tree structure and the right one which is a QListView that shows a list of files and folders from the current selected folder in the left panel,

Re: [Interest] Persistence of editor for openPersistentEditor

2018-06-05 Thread william.croc...@analog.com
On 06/04/2018 05:08 PM, Patrick Stinson wrote: Hello! I am writing a unit test for an item view and need to get . The code in *qabstractitemview_p.h* “releases” an editor created by a delegate by calling *QObject::deleteLater()* on it. However, in the following code the first editor is not