Re: [Interest] Trolltech sighting, Feb 2017, Colorado USA

2017-02-21 Thread Patrick Stinson
Good old version 1.44... > On Feb 20, 2017, at 10:52 PM, Phil Weinstein wrote: > > Trolltech sighting, Feb 2017, Colorado USA > http://www.thirdtablet.com/2017/Sightings/Trolltech.jpg > --- > > ___ > Interest mailing list >

[Interest] How to paint smooth rendering of connected QLineF's?

2017-02-21 Thread Patrick Stinson
Hello! I am painting a series of connected QLineF's with varying vectors and widths. Is there any way to smooth them out to be more vector-ish, so you don't see the jagged transitions between the segments? This is for hand writing notes with the Apple Pencil. I have one segment per event with

Re: [Interest] Excluding examples from make in dev dir

2017-02-24 Thread Patrick Stinson
Excellent scholarship, Giuseppe. A much needed quality in the world of software. > On Feb 24, 2017, at 3:21 PM, Giuseppe D'Angelo <giuseppe.dang...@kdab.com> > wrote: > > Il 24/02/2017 23:41, Patrick Stinson ha scritto: >> Right, I thought that this would take care of th

[Interest] Excluding examples from make in dev dir

2017-02-24 Thread Patrick Stinson
Hello! Is there a way to exclude examples for “make” and “make clean” inside a qt module, e.g. qtbase? Looking at qtbase.pro took me ended up in my getting lost in a rabbit hole. Thanks! -P ___ Interest mailing list Interest@qt-project.org

[Interest] Missing modules when building Qt-5.8 with -sdk iphonesimulator

2017-02-23 Thread Patrick Stinson
I am building qt with the following options, and it is not building QtBluetooth. Is this intentional? My configure line: ./configure -static -debug -xplatform macx-ios-clang -sdk iphonesimulator -nomake examples -nomake tests -developer-build -opensource -confirm-license Maybe the problem is

[Interest] Correct 5.8 static, debug config options for iphonesimulator?

2017-02-23 Thread Patrick Stinson
Configuring Qt-5.8 with the following command line: ./configure -sdk iphonesimulator produces the following error: ERROR: The OpenGL functionality tests failed! You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2], QMAKE_LIBDIR_OPENGL[_ES2] and

[Interest] Forum or mailing list?

2017-02-20 Thread Patrick Stinson
Qt’ers, I’m curious, what type of inquiries should go on the Qt-hosted forum, and which to this mailing list? It’s a little hard to tell the difference from the outset. Thanks! ___ Interest mailing list Interest@qt-project.org

[Interest] Status of Native iOS Look?

2017-02-10 Thread Patrick Stinson
Hello! What is the status for supporting native iOS gui elements in Qt? Or are most people just building apps from scratch with their own custom widgets. I mean, using a basic Qt scroll view for example is not really acceptable in an iOS app but the native iOS scrollbars are. Along the same

Re: [Interest] Status of Native iOS Look?

2017-02-10 Thread Patrick Stinson
/2017/02/06/native-look-feel/ > >> On Feb 10, 2017, at 6:33 PM, Patrick Stinson <patrickk...@gmail.com> wrote: >> >> Hello! What is the status for supporting native iOS gui elements in Qt? Or >> are most people just building apps from scratch with their own custo

Re: [Interest] https://www.qt.io/download/#Licence-anchor

2017-02-26 Thread Patrick Stinson
Bummer. > On Feb 26, 2017, at 7:07 AM, Alexander Dyagilev wrote: > > does not work > > i can't download qt > > ___ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] How to paint smooth rendering of connected QLineF's?

2017-02-28 Thread Patrick Stinson
e sure you turn on > antialiasing. Also, you might want to try a rounded join style on the QPen > you are using. Posting an example of what you are getting now would help > others help you. > >> On Tue, Feb 21, 2017 at 4:17 AM, Patrick Stinson <patrickk...@gmail.com> >&g

[Interest] pushing a WIP

2017-03-22 Thread Patrick Stinson
I am not new to git but am new to growing out of using git as if it were svn. I have a local work in progress branch (apple--pencil) based on dev, and want to know how to push it to a feature branch on dev. Should I just do git push origin dev ? Or is there another way to create a remote

[Interest] Mapping floating point screen coordinates to QGraphicsScene

2017-03-18 Thread Patrick Stinson
UITouch coordinates are floating point on iOS, for example for the Apple Pencil. Is there a way to map this? Seems like this would be easy to implement based on the QPoint version… // pks: apple pencil

Re: [Interest] Mapping floating point screen coordinates to QGraphicsScene

2017-03-18 Thread Patrick Stinson
It looks like making this change tightened up drawing with the apple pencil. I suppose I will incorporate this in my pull request if I can ever get around to understanding how to submit one. > On Mar 18, 2017, at 9:46 PM, Patrick Stinson <patrickk...@gmail.com> wrote: > >

Re: [Interest] Mapping floating point screen coordinates to QGraphicsScene

2017-03-18 Thread Patrick Stinson
na.org> wrote: > > On 19 March 2017 at 15:59, Patrick Stinson <patrickk...@gmail.com> wrote: >> UITouch coordinates are floating point on iOS, for example for the Apple >> Pencil. Is there a way to map this? Seems like this would be easy to >> implement based o

[Interest] pinch+pan gesture

2017-03-17 Thread Patrick Stinson
Hello! Is it necessary to implement a custom gesture for simultaneous pinch + pan as is commonly used on iOS? I appears that QPanGesture is only for single-finger panning and the center of QPinchGesture isn’t updated during Qt.GestureUpdated. Is this correct? It’s a little hard to debug. I am

Re: [Interest] How to paint smooth rendering of connected QLineF's?

2017-03-21 Thread Patrick Stinson
qreal margin = penWidth * 1.42; splinePath.moveTo(points.at(0)); for (int i = 0; i < points.size() - 1; i++) { const QPointF = points.at(i + 1); splinePath.cubicTo(controlPoints[2 * i], controlPoints[2 * i + 1], point); } return splinePath; } > On Feb 28, 2017

[Interest] Double-buffering QGraphicsItem with QImage on retina display

2017-03-16 Thread Patrick Stinson
Hi there! I am implementing handwriting with the apple pencil and am double-buffering each stroke on a QImage before passing the resulting pixmap and bounding rect for the stroke to a QGraphicsItem. The problem is that painting to the QImage is not at retina resolution which is what you get

Re: [Interest] Double-buffering QGraphicsItem with QImage on retina display

2017-03-16 Thread Patrick Stinson
QImage.setDevicePixelRatio(2) seemed to do the trick along with a Image that is twice as large and manual translation of the appropriate coordinates. QPainter does the rest. Good to know. > On Mar 16, 2017, at 8:32 PM, Patrick Stinson <patrickk...@gmail.com> wrote: > > That’s

[Interest] iOS: QPropertyAnimation on QWidget.pos not hardware accelerated?

2017-04-08 Thread Patrick Stinson
Hi there! I have a simple QWidget with a single (empty) list view that I am trying to use for a fullscreen slide-in panel on iOS. The problem is that the animation of the ‘pos’ property doesn’t look hardware accelerated on iOS. It looks great on macOS, however. The slide-out widget is covering

[Interest] speeding up "make clean" in qt src on OS X?

2017-04-20 Thread Patrick Stinson
Hello! Running “make clean” in the root qt src dir calls xcodebuild a whole bunch of times and takes a really, really long time. Is there any faster way to do this? I am already excluding a lot of unnecessary builds in my configure line: ./configure -static -debug-and-release -nomake examples

Re: [Interest] speeding up "make clean" in qt src on OS X?

2017-04-20 Thread Patrick Stinson
the tree builds? How should one call the configure > command for that? > >> On 20 Apr 2017, at 09:58, Patrick Stinson <patrickk...@gmail.com >> <mailto:patrickk...@gmail.com>> wrote: >> >> Ah! I was not aware that you could do that. Thank you

Re: [Interest] speeding up "make clean" in qt src on OS X?

2017-04-20 Thread Patrick Stinson
Ah! I was not aware that you could do that. Thank you! -P > On Apr 20, 2017, at 4:48 AM, Konstantin Tokarev wrote: > > out-of-tree smime.p7s Description: S/MIME cryptographic signature ___ Interest mailing list

Re: [Interest] speeding up "make clean" in qt src on OS X?

2017-04-20 Thread Patrick Stinson
uinta-feira, 20 de abril de 2017, às 01:34:10 PDT, Patrick Stinson > escreveu: >> Running “make clean” in the root qt src dir calls xcodebuild a whole bunch >> of times and takes a really, really long time. Is there any faster way to >> do this? I am already excluding a lot of unn

[Interest] Slow touch event sample rate after 10.3.1 iOS sdk

2017-04-23 Thread Patrick Stinson
Has anyone else noticed that the sample rate for touch events has dropped to 800ms since the last iOS SDK update? I have tested with both Qt-5.8.0 and Qt-dev and it’s happening on my iPhone as well as iPad pro. I read somewhere that you have to update the view in order to get the sample rate

[Interest] Calling "Open in..." dialog in iOS

2017-03-10 Thread Patrick Stinson
Safari and other apps have a share button that uses UIDocumentInteractionController to open a system dialog to open the current file in another app. What is the correct way to access this from Qt? I am writing a diagramming app that would export flattened PDFs and JPGs. FWIW, I'm actually

Re: [Interest] Calling "Open in..." dialog in iOS

2017-03-10 Thread Patrick Stinson
Forgot to include this stackoverflow thread about this: http://stackoverflow.com/questions/8302593/iphone-open-in-in-sdk > On Mar 10, 2017, at 7:11 PM, Patrick Stinson <patrickk...@gmail.com> wrote: > > Safari and other apps have a share button that uses > UIDocumentInt

Re: [Interest] smoothest way to zoom/pan QGraphicsView?

2017-04-06 Thread Patrick Stinson
> On 7 April 2017 at 15:02, Patrick Stinson <patrickk...@gmail.com > <mailto:patrickk...@gmail.com>> wrote: >> >>> On Apr 6, 2017, at 7:57 PM, Ch'Gans <chg...@gna.org> wrote: >>> >>> On 7 April 2017 at 14:38, Patrick Stinson <patrickk...@

[Interest] Prevent QGraphicsView calling fitInView() after addItem()

2017-04-06 Thread Patrick Stinson
Hi there! It appears that the default behavior for QGraphicsView is to call fitInView() to center all the items in the scene when a new item is added. Is there a way to prevent this? I don’t see anything in the docs. Thanks! -P ___ Interest mailing

Re: [Interest] smoothest way to zoom/pan QGraphicsView?

2017-04-06 Thread Patrick Stinson
> On Apr 6, 2017, at 7:57 PM, Ch'Gans <chg...@gna.org> wrote: > > On 7 April 2017 at 14:38, Patrick Stinson <patrickk...@gmail.com> wrote: >> I am implementing a pan and zoom on pinch via raw touch events and am >> finding setTransform() to be very slow, ev

[Interest] simple crash with QGraphicsScene

2017-07-29 Thread Patrick Stinson
Hello! I have reproduced a crash with QGraphicsView where you: - add a single item in the middle of the scene, - resize (shrink) the window with the mouse so the item is not fully visible - resize (grow) the window again - ***the issue happens right when item is fully visible again.*** Any idea

[Interest] Child QWidget fade-in with QGraphicsOpacityEffect

2017-08-01 Thread Patrick Stinson
I have a QGraphicsView (under QMainWindow) with a pop-up QWidget for item properties which fades in with QGraphicsOpacity effect. The problem is that when I start the animation the outer frame border of the widget fades in as expected, but the contents of the widget remains transparent until I

[Interest] Slow refresh rate on QPropertyAnimation => pos for child widget?

2017-08-02 Thread Patrick Stinson
Hello! I am getting pretty good refresh rates on QPropertyAnimation for QGraphicsScene, as the interval set in the qt source is for 60fps. But animating a child widget’s position looks more like 20fps. The widget in question is a child of the QGraphicsView. See the following screencast, which

Re: [Interest] sin wave with QPainterPath between two points

2017-07-20 Thread Patrick Stinson
s > >> >> >> >> >> >> --- >> Jean-Michaël Celerier >> http://www.jcelerier.name >> >> On Thu, Jul 20, 2017 at 9:47 AM, Patrick Stinson <patrickk...@gmail.com> >> wrote: >>> >>>

[Interest] sin wave with QPainterPath between two points

2017-07-20 Thread Patrick Stinson
Hello! I want to figure out how to draw a sin wave between two QPointF’s using QPainterPath. Calculating the cubic control points seems like the best way, but I am far from mastering that theory. This is a diagramming app and the goal is to get a squiggly line between two objects. Thanks!

[Interest] Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan nan]'

2017-07-25 Thread Patrick Stinson
Anyone seen this error? It looks like an automated QtWidgets test caught it back in 2015, but I can’t seem to nail it down to any particular cause in my own app. Thanks! turin:pkdiagram patrick$ make run 2017-07-25 13:16:36.669 python[1892:844774] *** Terminating app due to uncaught exception

[Interest] QMacCGContext:: Unsupported painter devtype type 1

2017-07-25 Thread Patrick Stinson
Does anyone get this warning output to console for every mouse event when using rubber band selection on QGraphicsView? QMacCGContext:: Unsupported painter devtype type 1 Thanks! -Patrick smime.p7s Description: S/MIME cryptographic signature ___

[Interest] How to update QGraphicsView transform when scrolling view with wheel?

2017-07-25 Thread Patrick Stinson
Hi there! If I am setting a QGraphicsView's scale via setTransform() while scrolling up/down+left/right with two fingers on the trackpad, but the paint updates don’t come until after I stop moving my fingers which stops the wheel events. Is there a way to update the view with the new transform

Re: [Interest] How to update QGraphicsView transform when scrolling view with wheel?

2017-07-25 Thread Patrick Stinson
t; On Jul 25, 2017, at 12:27 AM, Christian Gagneraud <chg...@gmail.com> wrote: > > > > On 25/07/2017 7:24 pm, "Patrick Stinson" <patrickk...@gmail.com > <mailto:patrickk...@gmail.com>> wrote: > Hi there! > > If I am setting a QGraphicsView's s

[Interest] Any way to achieve retina resolution on QGraphicsView?

2017-07-25 Thread Patrick Stinson
Hello! I am seeing the antialiasing is still quite grainy using a QGraphicsView on mac. Is it possible to increase the device pixel ratio, or something similar? Thanks! -P smime.p7s Description: S/MIME cryptographic signature ___ Interest mailing

Re: [Interest] Any way to achieve retina resolution on QGraphicsView?

2017-07-25 Thread Patrick Stinson
Another screenshot. Note smoothness of retina button pixmaps at left VS jagged lines in middle. > On Jul 25, 2017, at 6:27 PM, Patrick Stinson <patrickk...@gmail.com> wrote: > > Hello! > > I am seeing the antialiasing is still quite grainy using a QGraphicsView on

[Interest] black screen with iOS app over airplay?

2017-05-11 Thread Patrick Stinson
Hello! Has anyone else had a problem with Qt apps only showing as a black screen when mirroring an iOS device over airplay? Other apps display fine, but then the AirPlay display turns black when the Qt app is brought to the front. Granted, I am using Reflector 2 to show the iPad screen on my

Re: [Interest] black screen with iOS app over airplay?

2017-05-13 Thread Patrick Stinson
che...@ics.com wrote: > > Yes, I think that’s the one. > > > Regards, > Boris Ralchenko. > > > > > >> On May 12, 2017, at 5:08 PM, Patrick Stinson <patrickk...@gmail.com >> <mailto:patrickk...@gmail.com>> wrote: >> >

Re: [Interest] black screen with iOS app over airplay?

2017-05-12 Thread Patrick Stinson
st CGRect r = [[UIScreen mainScreen] bounds]; > return QRect(0, 0, r.size.width, r.size.height); > > > We had similar problem, black screen with AirPlay or with HDMI dongle. This > solved it for us. > > Regards, > Boris Ralchenko. > > > > > >> On Ma

Re: [Interest] black screen with iOS app over airplay?

2017-05-12 Thread Patrick Stinson
Do you mean QMainWindow? That is the class that I am deriving from. > On May 12, 2017, at 1:38 PM, bralche...@ics.com wrote: > > On main window, in our case it was derived from QQuickView. > > Regards, > Boris Ralchenko. > > > > > >> On Ma

Re: [Interest] QGraphicsView selection not honoring QGraphicsItem::shape?

2017-06-25 Thread Patrick Stinson
Cool, thanks for digging into it a little more. Thanks for the tip on stroking the path for shape(), though I already do that as demonstrated in qgraphicsitemc.cpp - I just removed it from the example code I posted here :) Here is a video of it still not working but with your debug code:

Re: [Interest] QGraphicsView selection not honoring QGraphicsItem::shape?

2017-06-25 Thread Patrick Stinson
Thanks for the important tips, I wasn’t aware of any of them! I implemented all of them. Unfortunately it is still selecting based on boundingRect. Any other thoughts? > On Jun 25, 2017, at 5:00 PM, Christian Gagneraud <chg...@gmail.com> wrote: > > On 26 June 2017 at 05:10,

Re: [Interest] QGraphicsView selection not honoring QGraphicsItem::shape?

2017-06-25 Thread Patrick Stinson
> On Jun 25, 2017, at 4:51 PM, Christian Gagneraud <chg...@gmail.com> wrote: > > On 26 June 2017 at 05:10, Patrick Stinson <patrickk...@gmail.com> wrote: >>def update(self, *args): >>if None in self.people: >>return > > y

Re: [Interest] black screen with iOS app over airplay?

2017-05-16 Thread Patrick Stinson
Mange takk, Tor Arne. I’ll follow the issue there. > On May 16, 2017, at 11:10 AM, Tor Arne Vestbø <tor.arne.ves...@qt.io> wrote: > > https://bugreports.qt.io/browse/QTBUG-56768 > <https://bugreports.qt.io/browse/QTBUG-56768> > > On 13/05/2017 18:56, Patrick S

[Interest] Pan-scroll gesture for QGraphicsView on iOS?

2017-09-19 Thread Patrick Stinson
The pan gesture scrolls qgraphicsview just fine on macOS, but the same code doesn't work on iOS. Is there something special I need to do there? Thank you! smime.p7s Description: S/MIME cryptographic signature ___ Interest mailing list

Re: [Interest] Building & Running on High Sierra

2017-09-20 Thread Patrick Stinson
Thank you. Any thoughts about the branch problem? > On Sep 20, 2017, at 10:45 AM, Jake Petroules <jake.petrou...@gmail.com> wrote: > > This is QTBUG-62266, which has been fixed by > https://codereview.qt-project.org/#/c/201546/ for Qt 5.9.2. > >> On Sep 20, 2017,

Re: [Interest] Building & Running on High Sierra

2017-09-20 Thread Patrick Stinson
se/QTBUG-63323 > <https://bugreports.qt.io/browse/QTBUG-63323> > > From: Interest [mailto:interest-bounces+mitch.curtis=qt...@qt-project.org > <mailto:interest-bounces+mitch.curtis=qt...@qt-project.org>] On Behalf Of > Patrick Stinson > Sent: Wednesday, 20

Re: [Interest] Building & Running on High Sierra

2017-09-20 Thread Patrick Stinson
that looks like it. I guess i should have searched for 10.13 instead of high sierra > On Sep 20, 2017, at 11:28 AM, Jake Petroules <jake.petrou...@gmail.com> wrote: > > Likely https://codereview.qt-project.org/#/c/205954/ > >> On Sep 20, 2017, at 11:19 AM, P

[Interest] Project ERROR: Could not find feature static

2017-09-21 Thread Patrick Stinson
I pulled the 5.10 (also tried with ) branch from git into folder A, then configured and built qt from folder B like so: ../../../pyqt-sysroot-base/src/qt5-src/configure -opensource -confirm-license -nomake examples -nomake tests -prefix $PWD But when I try to run qmake on any project file I

[Interest] Building & Running on High Sierra

2017-09-20 Thread Patrick Stinson
Is there a version or commit that runs on high sierra? I am getting segfaults in a 300-or-so deep stack of calls in libqcocoa.dylib using the branch on git (need to try again to get a useful stack trace). Qt-5.9.1 fails to build in qcoregraphics.mm like so:

Re: [Interest] Synchronous painting on QGraphicsScene

2017-10-07 Thread Patrick Stinson
> On Oct 7, 2017, at 8:00 PM, Christian Gagneraud <chg...@gmail.com> wrote: > > On 8 October 2017 at 06:27, Patrick Stinson <patrickk...@gmail.com> wrote: >> Hmm. Actually, I think that the elastic node example is implemented in the >> same way as my app

Re: [Interest] Poor retina support for QGraphicsView on macOS?

2017-10-08 Thread Patrick Stinson
view.setViewport(w); > > > > --- > Jean-Michaël Celerier > http://www.jcelerier.name <http://www.jcelerier.name/> > On Sat, Oct 7, 2017 at 7:36 PM, Patrick Stinson <patrickk...@gmail.com > <mailto:patrickk...@gmail.com>> wrote: > Interesting. Can

[Interest] Synchronous painting on QGraphicsScene

2017-10-06 Thread Patrick Stinson
Hi there! I have a graph-ish diagram app where dragging some objects (like nodes) necessitates dragging other objects (like connecting edges). However, if I update an edge from the mouse event or ItemChanged(position) event then the edge isn’t painted until the next paint event. At times, this

[Interest] QMake: Way to set capabilities for Xcode project?

2017-08-30 Thread Patrick Stinson
I am dependent on a tool that uses qmake to regenerate an xcodeproject whenever I add a source file, and so I always have to find the way to make any changes to the Xcode project within the .pro file. I have done well until this point with the Info.plist file. But now I need to be able to

[Interest] QMake: How to add xcconfig file and set for target config

2017-08-30 Thread Patrick Stinson
I am generating an Xcode project from a .pro file and want to set an xcconfig file as the build configuration for a particular target in the project. This means that I need to edit the .pro file to: 1) add the xcconfig file to the project 2) set the xcconfig in the build settings for the

Re: [Interest] Poor retina support for QGraphicsView on macOS?

2017-10-07 Thread Patrick Stinson
> > --- > Jean-Michaël Celerier > http://www.jcelerier.name > >> On Sat, Oct 7, 2017 at 10:09 AM, Christian Gagneraud <chg...@gmail.com> >> wrote: >> On 7 October 2017 at 16:11, Patrick Stinson <patrickk...@gmail.com> wrote: >> > >>

Re: [Interest] Poor retina support for QGraphicsView on macOS?

2017-10-07 Thread Patrick Stinson
That is correct, this did fix the antialiasing issue at the expense of performance. I suppose it is a trade off. > On Oct 7, 2017, at 1:09 AM, Christian Gagneraud <chg...@gmail.com> wrote: > >> On 7 October 2017 at 16:11, Patrick Stinson <patrickk...@gmail.com> wrote: &

Re: [Interest] Synchronous painting on QGraphicsScene

2017-10-07 Thread Patrick Stinson
is if it is possible to implement painting in a synchronous way, where all paint events which result from a single mouse event are done in the same buffer frame. Make sense? > On Oct 7, 2017, at 1:01 AM, Christian Gagneraud <chg...@gmail.com> wrote: > > On 7 October 2017 at 16:08, Patrick St

[Interest] Embed MyScript editor in QWidget?

2017-11-09 Thread Patrick Stinson
Hello! Has anyone successfully embedded a MyScript UIView in a QWidget for handwriting recognition? I am no iOS expert, thought I would ask before I spend two weeks reading Apple docs to sort out the delegate/viewcontroller/etc mess. Thanks! -Patrick smime.p7s Description: S/MIME

[Interest] Cross-platform alternatives to Apple App Store?

2017-12-03 Thread Patrick Stinson
Hi! While this may or may not pertain directly to Qt, does anyone have any experience with a cross platform alternative to the Apple App Store? Hopefully something that plays well with Qt, or at least doesn’t break it? I am at least looking for in-app subscription purchases for Mac, Windows,

Re: [Interest] Cross-platform alternatives to Apple App Store?

2017-12-06 Thread Patrick Stinson
store > as well. Not going to solve the "problem" of the stores taking their 30% cut, > but if technical concerns are the biggest barrier for you, then those are > your options. > > https://doc.qt.io/qt-5/qtpurchasing-index.html > >> On Dec 3, 2017, at 9:14 PM,

[Interest] MyScript

2017-10-31 Thread Patrick Stinson
MyScript looks like an amazing handwriting-recognition toolkit. It also looks like the Qt Company partnered with them on an automotive project. Has anyone had success integrating MyScript into a Qt Application on macOS/iOS? Are you embedding their render view into a qwidget somehow? Thanks!

[Interest] Disabling mysql support in build

2018-06-19 Thread Patrick Stinson
Is there any way to prevent qt from building the mysql plugin? I am getting the following compile errors in qt-5.11.0 on macOS-10.13.5. Disabling would be ideal because it would solve another problem that the mysql plugin is causing as well. Thanks! -Patrick

[Interest] Persistence of editor for openPersistentEditor

2018-06-04 Thread Patrick Stinson
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 deleted and so the second call to findChild still

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 tes

[Interest] Qt.PartiallyChecked broken for QListWidget in Qt 5.11?

2018-06-06 Thread Patrick Stinson
It appears as though QListWidget does not honor Qt::PartiallyChecked in Qt-5.11, though I could be making a mistake somewhere here. The following code accurately stores Qt::PartiallyChecked in the check state, and ‘1’ is printed by the print line. However, the painting does not reflect this

[Interest] Tap-Select QGraphicsItem on iOS

2018-05-27 Thread Patrick Stinson
Hello! It appears that it is not possible to tap a QGraphicsItem on iOS to select it. Indeed, I cannot find any touch event implementation in QGraphicsView, only mouse events. Using the QGraphicsView's rubberband-select works fine, as it uses mouse events. Has anyone found a workaround to be

Re: [Interest] Complex border from QPainterPath

2018-06-29 Thread Patrick Stinson
That is a wonderfully complete and portable example. Great job! > On Jun 29, 2018, at 1:04 PM, Christoph Feck wrote: > > On 29.06.2018 19:19, Patrick Stinson wrote: >> I am trying to construct a text callout QGraphicsItem. It is basically a >> rounded >> rect plus s

Re: [Interest] Disabling mysql support in build

2018-06-19 Thread Patrick Stinson
urse; but mysql doesn’t > ship with macOS so I guess it came from brew or some such, so maybe it’s more > a matter of the Qt build process not finding everything? > >> On 19 Jun 2018, at 08:38, Patrick Stinson wrote: >> >> Is there any way to prevent qt fr

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

2018-08-10 Thread Patrick Stinson
gt;> >>>>>> On Tuesday 07 August 2018 20:54:58 you wrote: >>>>>> Thanks for your reply, Reinhardt. Your code acknowledges the selected >>>>>> item >>>>>> but I am looking for the current item whether it is selected or n

Re: [Interest] How to change parent of scaled QGraphicsItem while retaining scene bounding rect?

2018-08-08 Thread Patrick Stinson
child.setTransform(lt) child.setScale(1.0) child.setRotation(0.0) child.setParentItem(parent) > On Aug 8, 2018, at 10:42 AM, Patrick Stinson wrote: > > Thanks for that. Though I am having some trouble. If you have PyQt, I wonder > what problem you see with this examp

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

2018-08-11 Thread Patrick Stinson
It’s like there needs to be an extra rule to honor the selected and focus states simultaneously, but ::item:selected:focus doesn’t work. > On Aug 10, 2018, at 12:11 PM, Patrick Stinson wrote: > > Negative. “current” is not a valid pseudo state, as “focus” is the > appropriate

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

2018-08-07 Thread Patrick Stinson
Hello! I have a vanilla QTableView with SingleSelection and SelectRows and am trying to figure out how to set the text color of the current item for both when the row is selected and when it isn’t. This is important so that the user knows which cell will be edited when they hit the enter key

Re: [Interest] How to change parent of scaled QGraphicsItem while retaining scene bounding rect?

2018-08-07 Thread Patrick Stinson
018, at 6:24 PM, Christian Gagneraud wrote: > > On 8 August 2018 at 11:08, Patrick Stinson wrote: >> Hello! >> >> I am trying to change the parent of a QGraphicsItem without it appearing to >> move or change size on the scene. Both the item, old parent, and new have &

[Interest] How to change parent of scaled QGraphicsItem while retaining scene bounding rect?

2018-08-07 Thread Patrick Stinson
Hello! I am trying to change the parent of a QGraphicsItem without it appearing to move or change size on the scene. Both the item, old parent, and new have arbitrary scale values set. How can this be done? Thanks! ___ Interest mailing list

Re: [Interest] How to change parent of scaled QGraphicsItem while retaining scene bounding rect?

2018-08-08 Thread Patrick Stinson
() app.exec() tests_QGI_parent_transform() > On Aug 7, 2018, at 10:05 PM, Christian Gagneraud wrote: > > On 8 August 2018 at 15:49, Patrick Stinson wrote: >> Thanks for the reply. I am just particularly dense in this sort of cognitive >> operation (something ab

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

2018-08-12 Thread Patrick Stinson
Don’t forget to reply to all. Your example is interesting, and it does solve the problem of making the selected and current item stand out. I suppose there isn’t a way to do this and also show the current item when it is not selected. How strange that you can’t combine selectors as in CSS. >

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

2018-08-12 Thread Patrick Stinson
it works for me with this style. > > The attached picture show two selected rows (0 and 2) and one current, > unselected cell (1). > > -- > Best Regards > > Reinhardt Behm > > >> On Sunday 12 August 2018 21:06:28 Patrick Stinson wrote: >> Don’t forget to repl

[Interest] Using QItemDelegate outside item views

2018-07-13 Thread Patrick Stinson
I sometimes present collections of objects my data type in a QTableView with a custom model and delegate, and sometimes present a single object of this data type in a conventional property sheet form. Considering I have a model and delegate already written for my table view, is it appropriate

[Interest] Clearing QMainWindow::setFilePath() on macOS

2018-07-19 Thread Patrick Stinson
Hello! I have set a file path on my QMainWindow with QWidget::setWindowFilePath() on macOS. I need to clear this setting, but it doesn’t work if I pass in “”. Is there another way to do this? Thanks! -Patrick ___ Interest mailing list

[Interest] How to scroll QScrollArea by number of pixels?

2018-04-10 Thread Patrick Stinson
Hello! Is there a way to scroll a QScrollArea by a precise number of pixels on the viewport widget? Or do you have to use relative units as calculated by the size fo the scrollbar handle and slider zone of the scroll bar? Thanks! -Patrick smime.p7s Description: S/MIME cryptographic signature

Re: [Interest] Determining dependencies for Qt modules

2018-03-03 Thread Patrick Stinson
> On Mar 2, 2018, at 10:28 PM, Thiago Macieira <thiago.macie...@intel.com> > wrote: > > On Friday, 2 March 2018 17:11:55 PST Patrick Stinson wrote: >> I am trying to create the minimum Qt build for QtWidgets, QtQuickControls, >> QtLocation, and QtPu

[Interest] Determining dependencies for Qt modules

2018-03-02 Thread Patrick Stinson
Hello! I am trying to create the minimum Qt build for QtWidgets, QtQuickControls, QtLocation, and QtPurchasing. But when I configure with the following command line: ./configure -opensource -debug-and-release -nomake examples -nomake tests -skip qtactiveqt -skip qtandroidextras -skip

[Interest] Can't install Qt-5.11.2 on latest Windows 10

2018-10-17 Thread Patrick Stinson
Hello! I can’t seem to find any way to install qt-5.11.2 on Windows 10 from either the online installer or the all-in-one open source installer. Surely this isn’t happening for everyone? I am getting installer errors as in this bug report: https://bugreports.qt.io/browse/QTBUG-66853

[Interest] Strange unresolved external symbols in QtCore on windows

2018-11-03 Thread Patrick Stinson
My qmake-generated Visual studio project is complaining about the following QObject symbols referenced from my QObject subclass even though I am linking to Qt5Core.lib using a qt I built from the command line: 1>CUtil.obj : error LNK2001: unresolved external symbol "public: virtual void

Re: [Interest] Strange unresolved external symbols in QtCore on windows

2018-11-03 Thread Patrick Stinson
Woah. Any idea what this is all about? > On Nov 3, 2018, at 8:41 PM, Thiago Macieira wrote: > > On Saturday, 3 November 2018 14:31:12 PDT Patrick Stinson wrote: >> The output of dumpbin /symbols /linenumbers Qt5Core.lib shows these symbols >> as protected, not publi

Re: [Interest] Strange unresolved external symbols in QtCore on windows

2018-11-04 Thread Patrick Stinson
Looks like the only instances of that string are in tests. And only three. So that can’t be it. > On Nov 3, 2018, at 8:54 PM, Patrick Stinson wrote: > > Woah. Any idea what this is all about? > >> On Nov 3, 2018, at 8:41 PM, Thiago Macieira >> wrote: >> >

Re: [Interest] Strange unresolved external symbols in QtCore on windows

2018-11-06 Thread Patrick Stinson
ed public" > > is used by PyQt5 / sip source code to allow overriding protected methods from > Python derived classes. > > I don't know if they have support for disabling it. > > > >> On 4. Nov 2018, at 06:45, Patrick Stinson wrote: >> >> Loo

[Interest] Animating viewable rect of QGraphicsView

2019-02-25 Thread Patrick Stinson
How can I animate the viewable scene rect of a QGraphicsView using screen coordinates? This means animating both center pos and scale. This is similar to Google Earth where the map scrolls and zooms smoothly from one point to another. I have searched for an answer for this several times in the

[Interest] QListView ignoring ScrollPerPixel on Sierra, High Sierra (Qt-5.12.0)

2019-02-17 Thread Patrick Stinson
Hi there! This simple pyqt example demonstrates the problem. Any ideas on a workaround? import time app = QApplication(sys.argv) w = QListView() m = QStringListModel() m.setStringList([str(time.time()) for i in range(1000)]) w.setModel(m)

Re: [Interest] How to get active button color in macOS?

2019-01-30 Thread Patrick Stinson
{ return QApplication::palette().color(QPalette::Active, QPalette::ButtonText); } } > On Jan 30, 2019, at 2:53 AM, Nils Jeisecke > wrote: > > Hi, > > Am 30.01.2019 um 02:27 h

[Interest] Qt-5.12.3: Compile errors passing -j to make on macos

2019-06-15 Thread Patrick Stinson
Has anyone else run into compile errors related to integer sizes on a 64 bit platform when passing -jn to make on macos? A build will be preceding just fine with one process, but when I increase the number it immediately bails with compile errors. Thanks!

Re: [Interest] Qt-5.12.3: Compile errors passing -j to make on macos

2019-06-15 Thread Patrick Stinson
cInteger' requested here Q_STATIC_ASSERT(sizeof(QAtomicInteger)); ^ > On Jun 14, 2019, at 11:49 PM, Patrick Stinson wrote: > > Has anyone else run into compile errors related to integer sizes on a 64 bit > platform when passing -jn to make on macos? A build will be

Re: [Interest] Q_ATOMIC_INT64_IS_SUPPORTED: Qt Compile errors on macOS

2019-06-22 Thread Patrick Stinson
Wow. Very strange. Maybe I should file a bug report, though I bet it will be very low priority. > On Jun 22, 2019, at 8:07 AM, Thiago Macieira > wrote: > >> On Friday, 21 June 2019 21:50:39 PDT Patrick Stinson wrote: >> So how do you account for that? Seems very odd

[Interest] Q_ATOMIC_INT64_IS_SUPPORTED: Qt Compile errors on macOS

2019-06-21 Thread Patrick Stinson
(NOTE: I have started a new thread about this from an old one incorrectly associating this problem with “make -jn”) I am having a hard time pinning down the source of this error. I am getting it sporadically on Qt-5.12.0 - Qt-5.13.0. using make -jn flags or not using make -jn flags doesn’t

  1   2   >