Re: [Interest] QSortFilterProxyModel

2019-02-19 Thread Christopher Probst
setFilterKeyColumn(int column), where I have a column number that represents the vertical header. Thanks, Christopher On Tue, 19 Feb 2019 at 01:40, Nils Jeisecke wrote: > Hi, > > Am 18.02.2019 um 16:49 hat Christopher Probst geschrieben: > > Does anybody know if it Is possible to use Q

[Interest] QSortFilterProxyModel

2019-02-18 Thread Christopher Probst
Hello Everybody. Does anybody know if it Is possible to use QSortFilterProxy to filter over data that is in vertical the header? Thanks, Christopher ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

[Interest] Qt and Open SSL

2018-10-14 Thread Christopher Probst
Hello Everybody, To enable SSL support I have added my own compiled version of ssleay32.dll and libeay32.dll to the Qt lib path. It seems to work fine. My question regards these two other libs mentioned in the Qt documentation ( http://doc.qt.io/qt-5/ssl.html) : -lcrypto -lssl, I am confused as

Re: [Interest] Qt Install Framework - Becoming a Microsoft Known Publisher

2018-10-09 Thread Christopher Probst
Thank-you, this is awesome. I very much appreciate this. I will keep you all posted on how this goes. Thanks again to everybody who contributed to this thread. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/

Re: [Interest] Qt Install Framework - Becoming a Microsoft Known Publisher

2018-10-09 Thread Christopher Probst
Thank-you Nils for your reply. I think signing your installer should solve this. "Trust" can be bought > with the certificate. Please forgive my ignorance, but how does one sign an application with Microsoft? The documentation online seems unnecessary complex for something that should be routi

[Interest] Qt Install Framework - Becoming a Microsoft Known Publisher

2018-10-09 Thread Christopher Probst
Hi, This may be off-topic, so I apologize in advance. I used the Qt Install Framework to build an installer of my Qt Application. The issue is that when I run the build installer, a big warning appears telling me that the Publisher is unknown. Has anybody had to deal with this? Is becoming a know

[Interest] QWidget or QDialog as a singleton

2018-08-29 Thread Christopher Probst
Hello Everybody, Along the same lines of a question I have asked in the past, as a rule of thumb I never have a singleton hold a QWidget/QDialog from the instance of a singleton. However I am not sure why I follow this basic principle. Does anybody object to having the instance of a singleton be

[Interest] Emitting signals from a different class

2018-08-14 Thread Christopher Probst
Good Morning Fellow Qters, This is basic question. I have always had the reflex of not emitting signals that belong to a separate class, even if signals are public. I, however don't know why I adopted this rule of thumb. Why do we very rarely emit signals from a different QObject? Thanks, Christo

[Interest] Ensuring Dialog Window is a certain size which depends on Window title

2018-05-07 Thread Christopher Probst
Hi, Anybody here know of a quick way to ensure the a dialog displayed with exec() will always show the full window title without any "..." . This is on Windows. I tried some horrible stuff like this setMinimumWidth(QApplication::fontMetrics().width(QApplication::applicationDisplayName())

Re: [Interest] Qt Charts: Making the legend top and right aligned

2018-04-11 Thread Christopher Probst
On 11 April 2018 at 10:12, Christopher Probst wrote: > Ok there seems to be a solution to this by Using > > > m_chart->legend()->moveBy > > > I will keep you posted. > > > On 11 April 2018 at 10:05, Christopher Probst > wrote: > >> I hav

Re: [Interest] Make Qt::PreciseTimer the default timer type

2018-04-11 Thread Christopher Probst
Sorry wrong thread, please ignore previous message. On 11 April 2018 at 10:37, Christopher Probst wrote: > A solution would be doing something like this: > > m_chart->legend()->setAlignment(Qt::AlignTop); > > QApplication::processEvents(); > > m_chart->legend()-&g

Re: [Interest] Make Qt::PreciseTimer the default timer type

2018-04-11 Thread Christopher Probst
A solution would be doing something like this: m_chart->legend()->setAlignment(Qt::AlignTop); QApplication::processEvents(); m_chart->legend()->setY(m_chart->plotArea().height() - m_chartView->height() ); Which feels like a big hack. Is there a better way? On 11 April 2018 at 10:18, Richar

Re: [Interest] Qt Charts: Making the legend top and right aligned

2018-04-11 Thread Christopher Probst
ike other uses of > Qt::Alignment flags, the QLegend docs say, "If you set more than one flag, > the result is undefined." > > https://doc.qt.io/qt-5.10/qlegend.html#alignment-prop > > On Wed, Apr 11, 2018 at 8:51 AM, Christopher Probst < > christop.pro...@gmail.com&g

[Interest] Qt Charts: Making the legend top and right aligned

2018-04-11 Thread Christopher Probst
Hi, I would like to place the legend of chart that uses Qt charts at the top right of the view. I would have expected something like this to work: m_chart->legend()->setAlignment(Qt::AlignTop| Qt::AlignRight) Unfortunately it does not! Is there a direct way to make the legends (right or left

[Interest] Making a QML Dialog non-resizeable

2018-02-01 Thread Christopher Probst
Any easy way to make a QML Dialog non-resizeable? Thanks, Christopher ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Focus Scope messing up QML dialog

2018-01-31 Thread Christopher Probst
Hello Everybody, Taken the example from the documentation here: Dialog { id: dateDialog visible: true title: "Choose a date" standardButtons: StandardButton.Save | StandardButton.Cancel onAccepted: console.log("Saving the date " + calendar.selectedDate.toLocaleDateSt

[Interest] Using private QtQuick APIs

2018-01-16 Thread Christopher Probst
Hi, I am looking to use QtQuick private APIs. More specifically I would like to use the QQuickWindowPrivate class. Out of box, I will get either header files missing errors or linking errors once the header file errors are resolved. What is the standard Qt way to use the QQuickWindowPrivate priva

Re: [Interest] simulating pinch

2018-01-10 Thread Christopher Probst
unfortunately, the touchEvent does not seem to interact at all with the PinchArea. What am I doing wrong? On 10 January 2018 at 17:01, Christopher Probst wrote: > Hi Shawn, > > Based on the example you provided I wrote this QML code and wanted to see > if this does indeed simu

Re: [Interest] simulating pinch

2018-01-10 Thread Christopher Probst
January 2018 at 15:18, Christopher Probst wrote: > Thank-you Shawn, this is very helpful, I am going to try to use both > testing approaches one in QML and one in C++. And I will post here what > happens. But thanks again! > > On 10 January 2018 at 15:04, Shawn Rutledge wrote: > &g

Re: [Interest] simulating pinch

2018-01-10 Thread Christopher Probst
Thank-you Shawn, this is very helpful, I am going to try to use both testing approaches one in QML and one in C++. And I will post here what happens. But thanks again! On 10 January 2018 at 15:04, Shawn Rutledge wrote: > > On Jan 9, 2018, at 18:21, Christopher Probst > wrote: > &g

[Interest] simulating pinch

2018-01-09 Thread Christopher Probst
Hello, I am trying to use the QML test framework to simulate a pinch. The API which is here http://doc.qt.io/qt-5/qml-qttest-testcase.html does not provide any methods to simulate a pinch. This seems like an oversight. There is code that shows how to do this here: http://code.qt.io/cgit/qt/qtd

[Interest] keyboard QML item

2017-10-05 Thread Christopher Probst
Hi, I know that there is a virtual keyboard plugin that appears on demand when one of the fields grabs focus. I am looking to simply have a keyboard QML item, where I control when it is visible or not and that I can place wherever I want. Something like this Keyboard { anchors.fill: parent visib