Re: [Interest] Setting current item text color via stylesheet in QTableView for SelectRows

2018-08-10 Thread Patrick Stinson
Negative. “current” is not a valid pseudo state, as “focus” is the appropriate pseudo state for the current item. > On Aug 9, 2018, at 6:15 PM, Reinhardt Behm wrote: > > Hi Patrick, > > how about: > QTableView::item:selected > { color:green; } > QTableView::item:current > { color:yellow; } >

Re: [Interest] windeployqt from win7 to win10

2018-08-10 Thread Furkan Üzümcü
If you are not deploying your app to Windows Store, the version that works for Windows 7 will work fine on Windows 10 as long as the required .dll files are copied along and the target machine is also x64. If you already ran windeployqt on the Windows 7 version of your app, you don’t even have

[Interest] windeployqt from win7 to win10

2018-08-10 Thread jagernicolas
Hi, I built a project on win7 and I have to deploy this application on a win10 computer over internet. Is it possible to run windeployqt.exe for an application built with msvc2017_64 and to ship all dlls for win10 ? otherwise, do I have to build the application on windows 10 ? regards, //nicoo

[Interest] Updating tooltips when model data changes

2018-08-10 Thread Álvaro Cebrián Juan
Hi all, I have a QTableView tied to a QAbstractTableModel. I have enabled tooltips in my model by handling Qt::TooltTipRole in the model's data() function. The problem is that the tooltips are not updated when my model data changes. I would like to update the active tooltip as soon as the model

Re: [Interest] get application's resources

2018-08-10 Thread Frank Rueter | OHUfx
Ah, nice one, thanks! I also just stumbled over this which seems to work as well: |QtCore.QResource(':qrc/images').children() | Two arrows in the quiver now, sweet. Thanks again, frank On 10/08/18 3:27 PM, Reinhardt Behm via Interest wrote: QDir is your friend. QDir dir(":/",

Re: [Interest] Using C# with QML/QtQuick, introducing Qml.Net.

2018-08-10 Thread Jesus Fernandez
It looks really cool. Good work. Best regards, Jesús From: Interest on behalf of Paul Knopf Sent: Friday, August 10, 2018 7:48:58 AM To: interest@qt-project.org Subject: [Interest] Using C# with QML/QtQuick, introducing Qml.Net. I have been hard at work on

[Interest] Swift?

2018-08-10 Thread Jason H
What is the status of using swift in Qt for Apple platforms? My recent effort of removing the status bar turned up a lot of swift code examples, it seems to be much more popular than Obj-C. ___ Interest mailing list Interest@qt-project.org

[Interest] Swift?

2018-08-10 Thread Jason H
What is the status of using swift in Qt for Apple platforms? My recent effort of removing the status bar turned up a lot of swift code examples, it seems to be much more popular than Obj-C. ___ Interest mailing list Interest@qt-project.org

Re: [Interest] Swift?

2018-08-10 Thread Till Oliver Knoll
> Am 10.08.2018 um 15:08 schrieb Jason H : > > What is the status of using swift in Qt for Apple platforms? Last time I checked there was no such thing as „Swift++“ (in analogy to ObjC++), which makes it impossible to „mix and match“ Swift code with C++. The common denominator is C, so you

Re: [Interest] [Qt3D] Issues

2018-08-10 Thread Andy
On Thu, Aug 9, 2018 at 5:38 PM Oleg Evseev wrote: > Hi, > > I wonder why FirstPersonCameraController now in qt 5.11.1 by arrow up-down > keys moves camera up and down instead of moving forward like in games (like > first person view should), and as it is in 5.9.5? > The key bindings for the

Re: [Interest] QTreeWidget displays blank widget

2018-08-10 Thread Nicolas Krieger
I have finally managed to do what I wanted in using styleSheets. Not really beautiful. If a have a widget containing all other widgets, for which I defined a styleSheet, the color will be displayed only for the children (see last example). The "solution" is to have a child widget that

Re: [Interest] QTreeWidget displays blank widget

2018-08-10 Thread Tony Rietwyk
Hi Nicolas, Try using a QFrame for SimpleWidget - you may be able to get rid of widget_2. I'm surprised that the nested QWidget worked, as QWidget doesn't normally draw a background. Hope that helps, Tony ___ Interest mailing list

Re: [Interest] QTreeWidget displays blank widget

2018-08-10 Thread Nicolas Krieger
I've tried with QFrame, and it does not work either. I've tried with QStyledItemDelegate and only writing the "paint" method : void TestDelegate::paint(QPainter*painter,constQStyleOptionViewItem,constQModelIndex)const { SimpleWidget*pWidget=newSimpleWidget; pWidget->render(painter); } But

Re: [Interest] QTreeWidget displays blank widget

2018-08-10 Thread coroberti .
Hi, Try for your widgets to call setAutoFillBackground(true); Kind regards, Robert On Thu, Aug 9, 2018 at 5:58 PM, Nicolas Krieger wrote: > Hello > > I would like to display colored widgets in a QTreeWidget. > > Screenshots of what I really have are in attached files. > > My wigdet is