Re: [Interest] New in Qt 6.9: Default ContextMenu in TextField and TextArea

2025-04-23 Thread Shawn Rutledge via Interest
On Apr 23, 2025, at 14:54, Schimkowitsch Robert wrote: From Qt 6.9 release notes: “ TextField and TextArea now provide a ContextMenu

Re: [Interest] QTextEdit shortcuts

2025-04-07 Thread Shawn Rutledge via Interest
> On Apr 7, 2025, at 08:24, Josh wrote: > > Hi, > > It appears QTextEdit has more shortcuts than are in the docs? For example, > Ctrl-E goes to the end of line. Where in the Qt source can I find all the > shortcuts/key bindings for QTextEdit? I can't seem to find them in > Src/qtbase/src/wi

Re: [Interest] QPdfView source

2025-03-10 Thread Shawn Rutledge via Interest
I’m not sure what happened with source packaging, but presumably it’s an unintentional omission; and this has been reported before (on the development list). Of course you can use git; QPdfView is here: https://code.qt.io/cgit/qt/qtwebengine.git/tree/src/pdfwidgets We apply git tags for each r

Re: [Interest] Background Color of QPdfView

2024-12-04 Thread Shawn Rutledge via Interest
void QPdfView::paintEvent(QPaintEvent *event) { Q_D(QPdfView); QPainter painter(viewport()); painter.fillRect(event->rect(), palette().brush(QPalette::Dark)); painter.translate(-d->m_viewport.x(), -d->m_viewport.y()); for (auto it = d->m_documentLayout.pageGeometryAndScale.cbe

Re: [Interest] QGraphicsView and OpenGL in Qt6

2023-11-23 Thread Shawn Rutledge via Interest
On 23 Nov 2023, at 02:37, Calogero Mauceri wrote: Hi all, We finally decided to port our Qt5 based application to Qt6. It is a pretty complex application. The main view is a QGraphicsView with multiple items: images, paths, possible animations and so on. I remember in Qt5 OpenGL rendering was

Re: [Interest] Qt classes to print email to pdf from message in mbox format?

2023-11-07 Thread Shawn Rutledge via Interest
> On 7 Nov 2023, at 09:28, Jeffrey Walton wrote: > > Hi Everyone, > > I've been lurking a while to collect information for an upcoming > project. I have not seen a similar topic, so I'm going to ask... > > I have a collection of email messages in mbox format. I obtain them > from GMail, and E

Re: [Interest] Qt Wayland: handle one or two displays like Weston does

2023-05-23 Thread Shawn Rutledge via Interest
> On 19 May 2023, at 16:02, Lisandro Damián Nicanor Pérez Meyer > wrote: > > Hi! > > Is there any example of QtWayland's compositor handling one or two monitors > like Weston does? > > To be more precise: my hardware, iMX8M-PLUS based, has an LVDS display and an > HDMI output. > > The LVDS

Re: [Interest] Embedding a QTextBrowser in a QML application: QObject: Cannot create children for a parent that is in a different thread

2022-03-30 Thread Shawn Rutledge
On 2022 Mar 30, at 03:03, Jeffrey Brendecke mailto:jeffrey.brende...@gmail.com>> wrote: For an app I am working on I need a component for displaying HTML rich text. TextEdit does not provide an important feature I need present in QTextEdit and QTextBrowser: scrollToAnchor( const QString& ).

Re: [Interest] [Qt6] Gadgets in QML

2022-01-06 Thread Shawn Rutledge
On 2022 Jan 6, at 10:35, Ulf Hermann mailto:ulf.herm...@qt.io>> wrote: To be frank it's been an annoyance for me that gadgets can't be instantiated the same way the QObject can within the QML document/tree. Is there a good reason to disallow this or is it simply not implemented? Am I missing

Re: [Interest] Are there limits to the number of vertices that can be allocated on a QSGGeometry?

2021-10-20 Thread Shawn Rutledge
> On 2021 Oct 20, at 18:11, Nuno Santos wrote: > > Hi Shawn, > > Thank you very much for your reply and clarification. > > My next question is, what is the best way to work around this? > > Should I create a QSGGeometryNode that draws an element and then create a > node for each element? >

Re: [Interest] Are there limits to the number of vertices that can be allocated on a QSGGeometry?

2021-10-20 Thread Shawn Rutledge
> On 2021 Oct 20, at 17:36, Nuno Santos wrote: > > Hi, > > I have a custom QSGGeometryNode that renders several elements using triangles. > > Each element is composed by 4 rectangles, this means that each element needs > 6x4=24 vertices. > > If there are more than a certain number of elemen

Re: [Interest] Transparent rectangle with radius in one side

2021-10-05 Thread Shawn Rutledge
Try QtQuick.Shapes; you can get any shape you want. However those don’t do vertex antialiasing, so you might need to turn on MSAA to get rid of the jaggies. So it would be best to try to put all the shapes as children of one item (or children of a root shape) so that you only need to set layer

Re: [Interest] Compile Qt 6.2.1 from source

2021-09-30 Thread Shawn Rutledge
On 2021 Sep 30, at 19:21, joao morgado via Interest mailto:interest@qt-project.org>> wrote: Hi I have a commercial Qt license, can I compile Qt 6.2.1 branch from source ? I have reported some bugs that are now fixed in that branch, would like to try it. I've been searching codereview reposito

Re: [Interest] QML: support both Qt5 and Qt6

2021-09-07 Thread Shawn Rutledge
> On 2021 Sep 7, at 22:13, Alexander Dyagilev wrote: > > For example, we do use MessageDialog component. In Qt5, it requires import > QtQuick.Dialogs 1.3, and in Qt6 - import Qt.labs.platform 1.1. You can use Qt.labs.platform in both versions. > Is it possible to import different modules depe

Re: [Interest] QML: Image is blurred when rotated

2021-07-30 Thread Shawn Rutledge
> On 2021 Jul 29, at 19:45, Alexander Dyagilev wrote: > > Hello, > > I have an SVG image which is drawn fine. > > But if I rotate it (i.e. change its rotation property to some value) it is > drawn blurry. How blurry? Image.sourceSize is useful when working with SVG, to render at a specific

Re: [Interest] Guide me through the Qt offerings for GUIs

2021-04-22 Thread Shawn Rutledge
> On 2021 Apr 22, at 10:47, Rui Oliveira wrote: > What doesn't make sense, to me at least, is how QQC*1* seemed to have had a > better feature set for the desktop than QQC*2*. The focus was on high-performance embedded use cases at first. Now we are working again on making QQC2 better for des

Re: [Interest] Guide me through the Qt offerings for GUIs

2021-04-16 Thread Shawn Rutledge
> On 2021 Apr 15, at 12:25, Rui Oliveira wrote: > > Hey, > As per the title implies, I would like some comments on the GUI offerings Qt > currently has. > > I'll share my own assessments and needs, and I'd like very much to hear your > comments. > > So: > > I want to write a desktop appli

Re: [Interest] Qt 5.15 for Linux/X11 : "-qt-xcb" no longer supported?

2020-05-22 Thread Shawn Rutledge
> On 2020 May 22, at 16:25, Florian Bruhin wrote: > > Hey, > > On Wed, May 13, 2020 at 05:48:09PM +, Kai Köhne wrote: >> And indeed the linux documentation wasn't updated yet :/ >> >> https://codereview.qt-project.org/c/qt/qtdoc/+/300239 > > Is there some good place to start documenting

Re: [Interest] Qt 5.15 for Linux/X11 : "-qt-xcb" no longer supported?

2020-05-13 Thread Shawn Rutledge
> On 2020 May 13, at 16:57, Viet-Tam Luu via Interest > wrote: > > Hi folks, > > we've long used the -qt-xcb configure option to build Qt XCB support without > supplying the boatload of pesky dependencies, but contrary to what the Qt > 5.15 "Requirements" page > (https://doc-snapshots.qt.i

Re: [Interest] QtWayland Compositor cannot start from tty

2020-05-08 Thread Shawn Rutledge
> On 2020 May 8, at 19:55, Selastin George wrote: > > I built a qtWayland compositor and I was able to run it from my desktop > session. > > Is there any way to start my compositor from tty (like just after boot)?. > > When I tried to run it with --platform eglfs it gives error like > > Unab

Re: [Interest] Handling stylus input on a tablet in QML/QtQuick

2020-04-19 Thread Shawn Rutledge
> On 19 Apr 2020, at 01:16, Thorsten Hofer-Schmitz > wrote: > > Hi > > I'm trying to handle the input of a stylus on a tablet. Qt has an example on > how to do this using a QWidget-based application. I tested it on my tablet > and everything works fine. > > I would like to do this in QML/Q

Re: [Interest] Will Qt6 end this enum issue? (or even 5.15?)

2020-03-19 Thread Shawn Rutledge
> On 19 Mar 2020, at 15:04, Jason H wrote: > It seems that enums should be class with a value and label > console.log(camera.position.label) => "BackFace" > console.log(camera.position.value) => 1 Yes I have often wished for a way to do that too. qDebug() << enumValue works so well in C++ as l

Re: [Interest] QQuickImageProvider for PDF rendering

2020-02-11 Thread Shawn Rutledge
> On 11 Feb 2020, at 15:38, Neubert Stefan wrote: > > Hi list, > > we are using a QQuickImageProvider to load and render PDF pages through qtpdf > to display the pages in QtQuick. > Right now we use an additional qmlExtentionPlugin to get the information > about a pdf document, like page coun

Re: [Interest] Tooltips and Anchors with QSyntaxHighlighter

2020-01-21 Thread Shawn Rutledge
> On 21 Jan 2020, at 13:21, Jonathan Purol wrote: > > Hello everyone, > > I should note this is my first time posting to a mailing list, so apologies > if I'm messing up something. > > We're currently trying to write an editable text editor which has two modes, > edit and view. In edit mode

Re: [Interest] android: QStorageInfo::mountedVolumes does not "see" SD card

2019-09-16 Thread Shawn Rutledge
On 16 Sep 2019, at 16:56, Alexander Dyagilev mailto:alervd...@gmail.com>> wrote: On my android 9.0 phone it returns one "/" volume only. But I have SD card installed. Is it a bug? Should I file a report? Back when we implemented QStorageInfo it looked like this for me on one device that I te

Re: [Interest] My first 5 years with Qt and 2 suggestions

2019-05-10 Thread Shawn Rutledge
> On 10 May 2019, at 01:20, Hamish Moffatt wrote: > > Actually, I'd turn this around and say shame on the Qt project for not > publishing packages, at least for the major distributions. > > It's Debian's policy to publish stable releases which don't change except for > security and other esse

Re: [Interest] My first 5 years with Qt and 2 suggestions

2019-05-09 Thread Shawn Rutledge
> On 9 May 2019, at 02:09, Henry Skoglund wrote: > > Hi, 5 years ago I started with Qt, it's been a very nice ride, thank you! > Looking forward to the next 5. Got 2 suggestions: > > > 1) Make Qt more easily accessable for first timers: > > Why not introduce a Qt Starter Pack? > > I'm think

Re: [Interest] TapHandler tapped coordinates not accessible

2019-05-08 Thread Shawn Rutledge
> pon., 6 maj 2019 o 21:56 Shawn Rutledge napisał(a): > > > On 6 May 2019, at 16:30, Tomasz Olszak wrote: > > > > Hi, > > > > I use Qt 5.12.3 and I'm trying to use TapHandler. For some reason though in > > onTapped handler point is already re

Re: [Interest] TapHandler tapped coordinates not accessible

2019-05-06 Thread Shawn Rutledge
> On 6 May 2019, at 16:30, Tomasz Olszak wrote: > > Hi, > > I use Qt 5.12.3 and I'm trying to use TapHandler. For some reason though in > onTapped handler point is already reset. > I see that point is valid when reading it from onPressedChanged. Is it a bug? > Seems like docs miss explicit ex

Re: [Interest] Track global mouse position in QML

2019-03-22 Thread Shawn Rutledge
> On 21 Mar 2019, at 15:05, Jérôme Godbout wrote: > > Why not use a MouseArea or the new HoverHandler. Yes HoverHandler should work, as long as event propagation doesn’t stop before it gets there… i.e. if you have trouble with that, put it inside an Item that is on top of the rest.

Re: [Interest] QtLocation MapPolyLine and MouseArea

2019-03-11 Thread Shawn Rutledge
> On 8 Mar 2019, at 11:29, maitai wrote: > > Yes with anchors.fill:parent, Pressed/Released works only if the mouse is > exactly on the line, while hover seems to use the bounding rect of the > polyline... > > But anyway with containmentMask: polyline, all is OK and hover occurs only > exact

Re: [Interest] QtLocation MapPolyLine and MouseArea

2019-03-07 Thread Shawn Rutledge
> On 7 Mar 2019, at 18:32, maitai wrote: > > Hi, > > I need to trigger various actions whenever a MapPolyLine is hovered or > pressed, such as displaying a tooltip, a menu, etc. > > I have put a MouseArea on it with anchors.fills: parent, but the problem is > that the mouse area does not rep

Re: [Interest] Fwd: vs. Flutter

2019-02-22 Thread Shawn Rutledge
> On 22 Feb 2019, at 13:24, Bernhard B wrote: > > Many thanks to Tuukka for the Qt Roadmap 2019 blog post > (https://blog.qt.io/blog/2019/02/22/qt-roadmap-2019/) - very much > appreciated! > > As the mobile part was not explicitly mentioned, I assume that it won't be a > focusing area for 2

Re: [Interest] vs. Flutter

2019-02-18 Thread Shawn Rutledge
On Feb 18, 2019, at 17:18, René Hansen mailto:ren...@gmail.com>> wrote: On Mon, 18 Feb 2019 at 16:27 Shawn Rutledge mailto:shawn.rutle...@qt.io>> wrote: > On 18 Feb 2019, at 15:40, René Hansen > mailto:ren...@gmail.com>> wrote: > Achitecturally it's simila

Re: [Interest] vs. Flutter

2019-02-18 Thread Shawn Rutledge
> On 18 Feb 2019, at 15:40, René Hansen wrote: > > I've not come across any myself, and have only built a few small things with > it a bit for now. > > Initial reactions was that it is *leagues* ahead of Qt with regards to > developer experience. You're not locked to an IDE, like with QtCreat

Re: [Interest] Work for hire to solve a Qt bug that's been a thorn in our side.

2019-02-18 Thread Shawn Rutledge
> On 15 Feb 2019, at 21:24, Paul Knopf wrote: > > Are there any experienced Qt developers out there interested in solving this > bug that my company is experiencing? Maybe you know someone who is interested? > > https://bugreports.qt.io/browse/QTBUG-73830 > > It is easy to reproduce with any

Re: [Interest] Crazy idea 2019-1

2019-01-09 Thread Shawn Rutledge
> On 7 Jan 2019, at 17:27, Jason H wrote: > > I'm now numbering my crazy ideas. That may in itself be a crazy idea, if so, > that's 2019-0. > > 2019-1 is that Qt Blog posts (blog.qt.io) should be included in the > documentation ,cross-referenced with the classes mentioned within. For > exam

Re: [Interest] Android IRC channels

2018-12-13 Thread Shawn Rutledge
I would suggest switching to #qt-android permanently, because it follows the pattern (we have a lot of #qt-foo channels), whereas necessitas was the name of the Qt 4 port to Android. https://necessitas.kde.org/ says "Necessitas project was completely merged

Re: [Interest] efficient natural sorting

2018-11-14 Thread Shawn Rutledge
> On 14 Nov 2018, at 03:28, Frank Rueter | OHUfx wrote: > > Hi, > > I need to use the QSortFilterProxyModel to sort strings with numbers in them, > i.e. perform natural sorting. Another idea is to add a different role to your model, have data() return the original number (int or qreal or wh

Re: [Interest] new TableView columns hiding

2018-10-24 Thread Shawn Rutledge
> On 24 Oct 2018, at 09:24, Vlad Stelmahovsky > wrote: > > Hi all > > investigating new TableView, added to 5.12 and have a question: is it > possible to hide some columns dynamically w/o modify model? > > bruteforce way to set column width to 0 doesnt works, because its checking > width an

Re: [Interest] Can't receive released/clicked correctly from touch screen

2018-09-28 Thread Shawn Rutledge
> On 28 Sep 2018, at 11:10, nus1998 wrote: > > Hi All, > > I'm testing on a dialog with a touch screen, for mouse event, sometimes there > is only "pressed" event, or only "released" and "clicked" events. but when > checking the touch event, each timeTouchBegin and TouchEnd events are > rece

Re: [Interest] Best practices on pinch-zoomable item container with non-zoomable item attached

2018-09-24 Thread Shawn Rutledge
> On 13 Sep 2018, at 16:13, Alexander Ivash wrote: > > What I meant is rather anchors.centerIn: child (so that child would > free-zoom relatively center, and parent would center itself relatively > center of the child) Since the child’s coordinate system is relative to its parent, I don’t think

Re: [Interest] Priority of bugs

2018-09-20 Thread Shawn Rutledge
> On 21 Sep 2018, at 01:07, Nyall Dawson wrote: > > FWIW, I've also encountered some serious issues with this > functionality under gnome, where floating docks will get stacked under > main windows if they were previously tabbed and restoreState is > called. The only "fix" is to disable this fea

Re: [Interest] QML Pointer Handlers: how to use 'GrabPermissions'

2018-09-18 Thread Shawn Rutledge
> On 18 Sep 2018, at 18:48, Shawn Rutledge wrote: > Because it accepts the point, that means the event will not propagate to the > other TapHandler. Oops that’s quite a wrong explanation… after more debugging and reading the code yet again, now I realize I was right the first ti

Re: [Interest] QML Pointer Handlers: how to use 'GrabPermissions'

2018-09-18 Thread Shawn Rutledge
> On 18 Sep 2018, at 14:36, Alexander Ivash wrote: > > Hi Shawn, > > I'm still curious about best practices on implementing use case I > mentioned previously: To refresh memory I need a 'canvas' with some > 'items' inside. Simplified version looks like this: > > ApplicationWindow { >visibl

Re: [Interest] Best practices on pinch-zoomable item container with non-zoomable item attached

2018-09-13 Thread Shawn Rutledge
> On 13 Sep 2018, at 14:41, Alexander Ivash wrote: > > I need pinch-zoomable item container with non-zoomable item container > attached to the bottom. Like this: > > Item { > id: item > Item { > id: zoomable >} > > Item { > id: nonzoomable > } > } > > (anchoring, geometry

Re: [Interest] QML Pointer Handlers: how to use 'GrabPermissions'

2018-09-10 Thread Shawn Rutledge
> On 2 Sep 2018, at 18:52, Alexander Ivash wrote: > > Is there any example of usage 'GrabPermissions' from QML ? So far we don’t have many examples with pointer handlers in general (we need to work on that for 5.12 and onwards) but the manual tests cover some of the initial obvious use cases

Re: [Interest] Qt Bluetooth a2dp/hfp

2018-08-09 Thread Shawn Rutledge
> On 9 Aug 2018, at 07:39, Akın Gümüşkavak wrote: > > Hello, > > I'm working with Qt bluetooth to implement a2dp/hfp connection. I have > successfully implemented so I can connect to my phone. Cool! What platform are you on? > > Now I would like to show my media information which I play f

Re: [Interest] Bluetooth on Qt on Pi (for real this time)

2018-06-29 Thread Shawn Rutledge
> On 29 Jun 2018, at 08:27, Tomasz Siekierda wrote: > > On Thu, 28 Jun 2018 at 22:40, Jason H wrote: > I've used bluetoothctl to pair to my mac, but when I try to get local > adapters on the Pi from Qt, there are none: > > log: > Local Adapters: > ASSERT: "!isEmpty()" in file > /usr/include/

Re: [Interest] Disabling mysql support in build

2018-06-18 Thread Shawn Rutledge
configure -no-sql-mysql I think If you think we have a bug, you can report one, of course; 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:

Re: [Interest] How to determine whether QML item is anchored?

2018-04-06 Thread Shawn Rutledge
But I wanted to query anchors at runtime once too, a few years ago; I think I’ve forgotten why. > On 6 Apr 2018, at 13:58, Mitch Curtis wrote: > > https://bugreports.qt.io/browse/QTBUG-66264 is semi-related to this, or at > least explains why we can’t really return null if they’re not set. >

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-15 Thread Shawn Rutledge
> On 15 Mar 2018, at 15:58, Nikolai Tasev wrote: > > On 3/15/2018 4:26 PM, Shawn Rutledge wrote: >> In the future I think it will make sense to use PDF for vector icons too (in >> color, even). (Some frameworks already can do this.) Then instead of an icon >> font,

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-15 Thread Shawn Rutledge
> On 15 Mar 2018, at 14:20, Shantanu Tushar wrote: > > On 6 March 2018 at 22:15, Xavier Bigand wrote: > Hi, > > If your sample picture is relevant I can suggest you to convert it as SVG > (vectoring it) or using distance field technique. > > I had this question for a while now - if we can us

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-15 Thread Shawn Rutledge
> On 8 Mar 2018, at 07:18, Uwe Rathmann wrote: > > On Wed, 07 Mar 2018 20:55:03 +0100, Jason H wrote: > >> How is QPicture not appropriate for SVG? > > At the time, when Qt changed its APIs from integers to doubles ( Qt 4 ) > QPicture::boundingRect() was forgotten, what makes layouting of sca

Re: [Interest] How to render small Images decently on non retina displays with QtQuick?

2018-03-07 Thread Shawn Rutledge
> On 7 Mar 2018, at 09:08, Uwe Rathmann wrote: > > On Tue, 06 Mar 2018 16:55:23 +, Nuno Santos wrote: > >> I just had to add it to resources and pass it to the image element. > > Using Image works, but its implementation is far from being optimal in > combination with SVGs. For small appl

Re: [Interest] QML vs Electron

2018-02-15 Thread Shawn Rutledge
> On 15 Feb 2018, at 12:23, René Hansen wrote: > > In my opinion Qt, (as a company), is directly responsible for the mess that > is Electron and todays scape of the app-world. I worked for Nokia back in > 2011, when they were trying to build, and miserably failed, the next-gen > phone os plat

Re: [Interest] simulating pinch

2018-01-10 Thread Shawn Rutledge
On Jan 9, 2018, at 18:21, Christopher Probst mailto:christop.pro...@gmail.com>> wrote: 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

Re: [Interest] Is there a QML way for doing web requests? Just for data, not for rendering.

2017-12-28 Thread Shawn Rutledge
On 22 Dec 2017, at 23:19, Mark Gaiser wrote: > > Hi, > > You know those fancy REST api's out there. > How does one use them in QML? > > For websockets the answer is simple: QML WebSocket. > But i didn't find a way to just do a web request to some url and get it's > data, at least not a way tha

Re: [Interest] QT QFontMetrics boundingRect failed to textwordwrap, thanks!

2017-11-29 Thread Shawn Rutledge
> On 28 Nov 2017, at 02:06, sq wrote: > > painter.drawText(textBoundingRect,Qt::TextWordWrap,text); Try Qt::TextWrapAnywhere. Those numbers get concatenated into one long “word”. ___ Interest mailing list Interest@qt-project.org http://lists.qt-

Re: [Interest] minimum macOS runtime version for Qt 5.9+

2017-11-29 Thread Shawn Rutledge
> On 29 Nov 2017, at 04:46, Jake Petroules wrote: > >> http://doc-snapshots.qt.io/qt5-5.10/supported-platforms.html suggests that >> 5.10 will increase this requirement further to 10.11+. Why is this? > > We decided it wasn't worth the resources to continue testing with 10.10. > macOS upgrad

Re: [Interest] Packet arrival-time resolution? QUdpSocket

2017-11-27 Thread Shawn Rutledge
On 27 Nov 2017, at 16:45, Konrad Rosenbaum wrote: > > Yes, the NTP people have done this. Extensively over several decades. > Please defer to their expertise and use NTP for time sync. ;-) > > Using TCP for this purpose is really a bad idea too - because of the built > in delays and repeat inter

Re: [Interest] Qt iOS - HowTo get access to Images stored at device

2017-10-27 Thread Shawn Rutledge
> On 26 Oct 2017, at 17:02, ekke wrote: > > Am 26.10.17 um 16:11 schrieb Shawn Rutledge: >>> On 26 Oct 2017, at 15:12, ekke >>> wrote: >>> >>> Jeffrey, >>> >>> thx >>> >>> at the moment it's ok for m

Re: [Interest] Qt iOS - HowTo get access to Images stored at device

2017-10-26 Thread Shawn Rutledge
> On 26 Oct 2017, at 15:12, ekke wrote: > > Jeffrey, > > thx > > at the moment it's ok for me to use > QStandardPaths::standardLocations(QStandardPaths::PicturesLocation).last() > > Using Objective-C++ Photos framework would give some more comfort, > but wouldn't help to access these Photos

Re: [Interest] Improve Sharpness of Qml Text Item text rendering

2017-10-25 Thread Shawn Rutledge
> On 25 Oct 2017, at 11:54, Nuno Santos wrote: > > Shawn, > > Thanks for your reply. > > It actually got worst with this setting. In what way? The downside of native text is that it’s a bit less efficient, and is rendered exactly at the declared font size, so transforms such as scaling and

Re: [Interest] Improve Sharpness of Qml Text Item text rendering

2017-10-25 Thread Shawn Rutledge
> On 25 Oct 2017, at 10:08, Nuno Santos wrote: > > Hi, > > Which variables affect the sharpness of the Qml Text item rendering? renderType: Text.NativeRendering This comes up quite often. Distance field text rendering will always be a bit blurry like that.

Re: [Interest] Qml MessageDialog not centered over window

2017-09-25 Thread Shawn Rutledge
> On 25 Sep 2017, at 13:17, Murphy, Sean wrote: > > And in my real main.cpp I have > QApplication app(argc, argv); > QQmlEngine engine; > QQmlComponent component(&engine, QUrl("qrc:/qml/dashboard.qml")); > component.create(); > Whereas the project that was generated by Creator when I was tes

Re: [Interest] propagateComposedEvents-like behavior with qt controls 2 components (no C++)

2017-09-25 Thread Shawn Rutledge
> On 25 Sep 2017, at 09:28, Daniel d'Andrada wrote: > > Hi All, > > I wanna have the following (A): > > Foo { >Button {} > } > > or (B): > > Item { >Button {} >Foo {} > } > > Where "Foo" is an item that is interested only in drag gestures. So when > one is performed it does its

Re: [Interest] Qml MessageDialog not centered over window

2017-09-24 Thread Shawn Rutledge
> On 24 Sep 2017, at 02:00, Murphy, Sean wrote: > The documentation states that " A MessageDialog window is automatically > transient for its parent window. So whether you declare the dialog inside an > Item or inside a Window, the dialog will appear centered over the window > containing the i

Re: [Interest] Eclipse plug-in status - QtCreator on KDE Neon

2017-05-15 Thread Shawn Rutledge
> On 16 May 2017, at 02:19, Roland Hughes wrote: > > Granted, it sounds like this person did things in the wrong order, installing > Qt last, but, creator is broken Really, on a distro that’s trying to use Qt for everything? Well, I installed it on a spare partition recently (mainly to check

Re: [Interest] Qt 5.7 QuickControls 2 are not multitouch??

2017-05-01 Thread Shawn Rutledge
> On 1 May 2017, at 08:24, J-P Nurmi wrote: > > PS. Unlike for QWidgets and QGraphicsItems, there is no need to explicitly > enable touch events for QQuickItems. That has been the case, but I want to change it (adding acceptTouchEvents/setAcceptTouchEvents) to make it more consistent, to enab

Re: [Interest] How to handle Touch Input on C++ side when extending QQuickItem

2017-04-20 Thread Shawn Rutledge
> On 20 Apr 2017, at 11:31, Alexandru Croitor wrote: > > So I found out about this recently as well, but touch events are not sent to > QQuickItems on macOS by default, because QNativeGestures are sent instead, > due to receiving high-precision gestures from the OS itself. > > To receive touc

Re: [Interest] Tired of QML

2017-04-18 Thread Shawn Rutledge
> On 15 Apr 2017, at 15:59, Alexander Dyagilev wrote: > On 4/15/2017 4:37 PM, Oleg Evseev wrote: >> >> parent.header seems to be not accessible as preInfoColumnWidth initializes >> with 0. :( >> Firstly, header property is not an item of header, but a component. >> headerItem property holds th

Re: [Interest] Q_GADGET vs Q_OBJECT

2017-04-14 Thread Shawn Rutledge
You got an answer on StackOverflow already, but to repeat: he’s right, a QObject is always passed from C++ to QML by pointer, and a Q_GADGET is always passed by value. That means Q_GADGET is only suitable for smallish self-contained classes, because it will always be copied. > On 13 Apr 2017,

Re: [Interest] macOs maximize button in Qt Quick 2 application

2017-04-09 Thread Shawn Rutledge
You need Window { flags: Qt.Window | Qt.WindowFullscreenButtonHint; … } Have a look at the qtdeclarative/examples/quick/window, which additionally demonstrates how to control window states (visibility) programmatically. But it’s a good question whether it’s a bug that that behavior is not the d

Re: [Interest] State of "3D touch" (force touch) support in QT/QML

2017-03-03 Thread Shawn Rutledge
> On 3 Mar 2017, at 07:18, Alborz Sedaghat wrote: > > Force touch or what Apple calls 3D touch is rumored to find its way to > Android soon. > > Some manufacturers have already shown android phones (such as Gionee S8) that > supports force touch and it is gaining more momentum after the MWC 2

Re: [Interest] Beautifier for QML

2017-02-05 Thread Shawn Rutledge
On Feb 5, 2017, at 10:18, Shantanu Tushar wrote: > Hey folks, > > In our project we use astyle with the Qt Creator beautifier plugin, > its quite neat for C++. I was wondering if anything similar existed > for QML? Control-I re-indents the current line or the selection. Control-A selects eve

Re: [Interest] context menu shortcut?

2017-01-16 Thread Shawn Rutledge
> On 16 Jan 2017, at 20:51, René J.V. Bertin wrote: > > Hi, > > I presume that Qt opens the currently defined/available context menu in > reaction to pressing the corresponding key on MS Windows and possibly on > Linux too. > > Is there a way to assign a shortcut to this action on Mac too (a

Re: [Interest] Needed working stop/start for animated SVG

2017-01-11 Thread Shawn Rutledge
> On 11 Jan 2017, at 13:43, Serge K via Interest > wrote: > > I am not sure about patch. I'm going distribute my product using Ministro to > reduce space used by Qt libraries. There will be several "parts" of this > product distributed separately. But they will use same Qt libs set. Without

Re: [Interest] Needed working stop/start for animated SVG

2017-01-11 Thread Shawn Rutledge
> On 10 Jan 2017, at 20:14, Serge K via Interest > wrote: > > > May be - then this is a bug in Qt for Android. Right now I found another bug > - QSound::play() in Android stops playing WAV after several times if playing > fast. You can write them both up at bugreports.qt.io. Be sure to pro

Re: [Interest] SVG2 Mesh Gradient - will be implemented? When?

2017-01-09 Thread Shawn Rutledge
> On 9 Jan 2017, at 16:04, Serge K via Interest wrote: > > This feature existed in Inkscape for long time before but was "hidden" > (possible open by editing some config files). In latest version of Inkscape > 0.92 this very useful feature appeared as open. And it existed in Adobe > Illustrat

Re: [Interest] 2017

2017-01-03 Thread Shawn Rutledge
> On 3 Jan 2017, at 16:19, René J.V. Bertin wrote: > > On Tuesday January 3 2017 13:57:51 Shawn Rutledge wrote: > >>> As to remote use: I thought that wasn't the point of Wayland at all? >> >> They keep saying to go on using X11 or VNC or whatever exis

Re: [Interest] 2017

2017-01-03 Thread Shawn Rutledge
> On 3 Jan 2017, at 15:07, Ulf Hermann wrote: >> Another alternative of course is to use some other client-server protocol >> such that only the “model” of MVC is on the server, and UI rendering >> instructions are sent across the network instead of actual rendered >> graphics. For example lo

Re: [Interest] 2017

2017-01-03 Thread Shawn Rutledge
> On 3 Jan 2017, at 12:45, René J.V. Bertin wrote: > I haven't given that much thought, but yes, I think the idea would be to have > a "rootless" Wayland compositor that displays windows alongside native > windows, much like Xquartz can do. An important appeal to the XQuartz > maintainer I spo

Re: [Interest] 2017

2017-01-03 Thread Shawn Rutledge
> On 3 Jan 2017, at 10:37, René J.V. Bertin wrote: > > On Tuesday January 3 2017 08:55:13 Shawn Rutledge wrote: >> Are there obstacles to getting it working without the X server? > > I'm not sure I understand what you mean? Just not sure what you are trying t

Re: [Interest] 2017

2017-01-03 Thread Shawn Rutledge
> On 2 Jan 2017, at 22:46, René J.V. Bertin wrote: > > Best wishes for 2017! > > Accompanied by a "postcard" from the realm of the impossible, just because > I'm quite auto-satisfied with the result: a KDE's KDevelop 5.3 and Konsole > 16.12 running with Qt 5.7.1 and the XCB QPA on Mac OS X 10

Re: [Interest] QtDesigner needs redesign.

2017-01-02 Thread Shawn Rutledge
> On 2 Jan 2017, at 14:15, Thiago Macieira wrote: > > On segunda-feira, 2 de janeiro de 2017 13:55:43 BRST Serge K via Interest > wrote: >> Is there anybody now creating NEW QtDesigner? Are there at least plans for >> it? WHEN???!! > > No, no one is working on that, as far as I know. I used i

Re: [Interest] initialising a dictionary-type container instance with a static table?

2017-01-02 Thread Shawn Rutledge
> On 2 Jan 2017, at 13:02, René J.V. Bertin wrote: > > Hi, > > I must be overlooking or even forgetting something: is there a way to > initialise a QMap or QHash instance with a static table, say when you're > creating a fast lookup dictionary mapping enums or preprocessor tokens to a > QStr

Re: [Interest] Compiling for Pi Zero

2016-12-05 Thread Shawn Rutledge
> On 5 Dec 2016, at 14:32, Konstantin Tokarev wrote: > 05.12.2016, 16:30, "Shawn Rutledge" : >>> On 4 Dec 2016, at 18:17, Jason H wrote: >>> >>> I am trying a naive compile of Qt 5.7.0 (from source tarball) on a Pi zero >>> (no cross

Re: [Interest] Compiling for Pi Zero

2016-12-05 Thread Shawn Rutledge
> On 4 Dec 2016, at 18:17, Jason H wrote: > > I am trying a naive compile of Qt 5.7.0 (from source tarball) on a Pi zero > (no cross compile) I've got all the dependencies installed and Jessie is up > to date. > I keep running into GCC 4.9 compiler errors. Not that the Qt code is bad, but > t

Re: [Interest] [5.8] how to use qml caching?

2016-11-22 Thread Shawn Rutledge
> On 11 Nov 2016, at 10:53, Tim Blechmann wrote: > > hi all, > > i've read a lot about qml caching in qt-5.8. however i didn't find any > documentation on how to use it. > > is there any documentation on how we can use it from a cmake > buildsystem? i suppose somehow the qrc files need to be p

Re: [Interest] [Quick Controls 2] Best way to add binding arrow tip to Popup?

2016-10-12 Thread Shawn Rutledge
> It probably wasn't mentioned because it's got a bad reputation as being slow. > It's easy to abuse it and end up with crappy performance. As long as you > limit the amount of painting you do and how often you do it, I don't think > using it is really an issue in practice. ... > like Canvas is

Re: [Interest] [Quick Controls 2] Best way to add binding arrow tip to Popup?

2016-10-10 Thread Shawn Rutledge
You can add two rotated rectangles, one underneath for the border, and one (on top) for the fill, to cover up the edge of the main rectangle. Next you will want a drop shadow, then you need a couple more Rectangles (or something from GraphicalEffects) underneath. This is a good illustration of

Re: [Interest] What don't you like about Qt?

2016-09-20 Thread Shawn Rutledge
On Sep 20, 2016, at 22:52, Rob Allan wrote: > My biggest gripe is that the Qt Quick object model seems to be much more > poorly supported in C++ than it is in QML. For example, in C++ you really > only have access to QQuickItem - none of its derived classes are documented, > and their interfac

Re: [Interest] What don't you like about Qt?

2016-09-18 Thread Shawn Rutledge
> On 18 Sep 2016, at 02:37, Xavier Bigand wrote: > > I am using Qt for my day job, > > Our first difficulty with Qt is the release cycle that is really long and the > difficulty to test the futur versions. > As we often need the latest features or bug fixes, waiting 3-4 month isn't > possible

Re: [Interest] Creating Qt Quick controls from C++

2016-07-19 Thread Shawn Rutledge
> On 19 Jul 2016, at 16:44, Uwe Rathmann wrote: > > On Tue, 19 Jul 2016 15:45:44 +0200, Jean-Michaël Celerier wrote: > >> Is there some code somewhere ? > > Sure on my disk ;) > > Being serious: the code is supposed to be available under an Open Source > License, but it needs to have an init

Re: [Interest] Utilizing the GPU, how to start?

2016-07-06 Thread Shawn Rutledge
> On 6 Jul 2016, at 08:34, André Somers wrote: > > Op 06/07/2016 om 02:56 schreef Scott Aron Bloom: >> >> -Original Message- >> From: Interest [mailto:interest-bounces+scott=towel42@qt-project.org] On >> Behalf Of Thiago Macieira >> Sent: Tuesday, July 5, 2016 5:42 PM >> To: intere

Re: [Interest] 5.8 Features?

2016-06-28 Thread Shawn Rutledge
> On 28 Jun 2016, at 08:15, Marco Piccolino wrote: > > would be great to collect and exchange this to help each other - don't know > where's the best place and it should be promoted by Qt > > Several packages which improve using Qt on mobile (and elsewhere!) are > currently published on qpm (

Re: [Interest] 5.8 Features?

2016-06-22 Thread Shawn Rutledge
> On 23 Jun 2016, at 07:15, ekke wrote: > > thx Maurice, > > Am 22.06.16 um 12:22 schrieb Maurice Kalinowski: >> > Highest prio from my personal perspective: >> > >> - Background processing API >> > >> - In-app Notifications: local, remote >> > + add Windows Store to Qt Purchasing module > ther

Re: [Interest] Drawing dashed line with QSGSimpleMaterialShader

2016-06-06 Thread Shawn Rutledge
> On 6 Jun 2016, at 12:29, Gunnar Sletta wrote: > >> On 06 Jun 2016, at 09:27, Artem Fedoskin wrote: >> Another question - is there any way to draw text solely in Scene Graph using >> QSG classes? I need to draw a lot of text labels and what only came to my >> mind is to draw them using QPain

Re: [Interest] Role of `qmlscene` and `qml` command line tools

2016-05-06 Thread Shawn Rutledge
> On 06 May 2016, at 15:16, Elvis Stansvik wrote: > > Alright, I see. There's probably some JS lib out there I could use, > after stripping everything after Qt.application.arguments[0] up to and > including the '--'. > > The point about trust is valid for any application though, isn't it? > Wha

  1   2   >