Re: [Interest] Is there a good alternative to the QML Controls in Qt6 for native desktop integration purposes?

2022-02-24 Thread Mark Gaiser
On Thu, Feb 24, 2022 at 4:38 PM Volker Hilsheimer wrote: > > On 22 Feb 2022, at 00:34, Mark Gaiser wrote: > >>> On Mo, 2022-02-21 at 16:42 +0100, Mark Gaiser wrote: > >>> Hi, > >>> > >>> I'm facing so many bugs in QML Controls in Qt6 (t

Re: [Interest] Is there a good alternative to the QML Controls in Qt6 for native desktop integration purposes?

2022-02-21 Thread Mark Gaiser
; Had I known back then what I know **now** I would never have selected QML > over Widgets for Desktop development. In no way is it ready for anything > past some trivial applications. Not even close. The idea is great. The > vision is cool. Our development experience has not been a good one

Re: [Interest] Is there a good alternative to the QML Controls in Qt6 for native desktop integration purposes?

2022-02-21 Thread Mark Gaiser
V2 set... And it still has really severe bugs that just interrupt usability. 8 years... So I doubt it will be getting any better at all. > > On Mo, 2022-02-21 at 16:42 +0100, Mark Gaiser wrote: > > Hi, > > > > I'm facing so many bugs in QML Controls in Qt6 (they used to be Con

Re: [Interest] Is there a good alternative to the QML Controls in Qt6 for native desktop integration purposes?

2022-02-21 Thread Mark Gaiser
ode.qt.io/cgit/qt/qtbase.git/tree/examples/widgets/gallery [3] As in when going for platform integration. If you go the full custom route you're fine. > > Kind regards, > Robert Iakobashvili > > > > On Mon, Feb 21, 2022 at 5:44 PM Mark Gaiser wrote

[Interest] Is there a good alternative to the QML Controls in Qt6 for native desktop integration purposes?

2022-02-21 Thread Mark Gaiser
Hi, I'm facing so many bugs in QML Controls in Qt6 (they used to be Controls V2 in the Qt 5.x days) that I don't want to use them at all anymore. They are bugged beyond repair and downright unusable for native desktop integration purposes. Is there another good open source component set out there

Re: [Interest] Does QML have a way to detect if a click is outside an element?

2021-03-05 Thread Mark Gaiser
On Fri, Mar 5, 2021 at 11:40 AM Mitch Curtis wrote: > > -Original Message- > > From: Interest On Behalf Of Mark > Gaiser > > Sent: Friday, 5 March 2021 10:39 AM > > To: Qt Interest > > Subject: [Interest] Does QML have a way to detect if a click is out

[Interest] Does QML have a way to detect if a click is outside an element?

2021-03-05 Thread Mark Gaiser
more native way for this kind of interaction? Best regards, Mark Gaiser ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

Re: [Interest] How to properly translate an application?

2018-06-07 Thread Mark Gaiser
On Thu, Jun 7, 2018 at 3:09 PM Rainer Wiesenfarth < rainer_wiesenfa...@trimble.com> wrote: > > On Thu, Jun 7, 2018 at 2:22 PM, Mark Gaiser wrote: > >> I have a windows desktop application (Qt 5.9 LTS) here that has Dutch and >> English translations files (in .ts forma

Re: [Interest] How to properly translate an application?

2018-06-07 Thread Mark Gaiser
On Thu, Jun 7, 2018 at 2:40 PM alexander golks wrote: > Am Thu, 7 Jun 2018 14:22:08 +0200 > schrieb Mark Gaiser : > > > Hi, > > > > I have a windows desktop application (Qt 5.9 LTS) here that has Dutch and > > English translations files (in .ts format) created

[Interest] How to properly translate an application?

2018-06-07 Thread Mark Gaiser
ation files are generated as follows: lupdate -verbosr file.pro "file.pro" contians the required translation lines: TRANSLATIONS += dutch_nl.ts TRANSLATIONS += english_en.ts Best regards, Mark Gaiser ___ Interest mailing list Interest@qt-pr

Re: [Interest] How to make the QString "10" behind "9" in QMap's key order

2018-01-08 Thread Mark Gaiser
ld benchmark code. It surely is somewhere, i just need to find it. > > > > > >>> > >> > >>> Unfortunately I have to say that the Qt documentation on this class is > not as descriptive compared to other classes. > >> > >>> > &g

Re: [Interest] How to make the QString "10" behind "9" in QMap's key order

2018-01-08 Thread Mark Gaiser
entation on this class is > not as descriptive compared to other classes. > > > > Regards, > > Carel > > > > On Mon, Jan 8, 2018 at 11:50 AM, Mark Gaiser wrote: > >> On Mon, Jan 8, 2018 at 4:18 AM, jack ma wrote: > >>> Thanks all of you, seems that std::so

Re: [Interest] How to make the QString "10" behind "9" in QMap's key order

2018-01-08 Thread Mark Gaiser
entation on this class is not > as descriptive compared to other classes. > > Regards, > Carel > > On Mon, Jan 8, 2018 at 11:50 AM, Mark Gaiser wrote: > >> On Mon, Jan 8, 2018 at 4:18 AM, jack ma wrote: >> >>> Thanks all of you, seems that std::sort + QCollator is

Re: [Interest] How to make the QString "10" behind "9" in QMap's key order

2018-01-08 Thread Mark Gaiser
On Mon, Jan 8, 2018 at 4:18 AM, jack ma wrote: > Thanks all of you, seems that std::sort + QCollator is a good way > > 2018-01-07 18:47 GMT+08:00 Konstantin Tokarev : > >> >> >> > Hi, >> > >> > you need a "lessThan"-function, tailored for your needs. An >> > example from me is this: >> > >> > boo

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

2017-12-28 Thread Mark Gaiser
On Thu, Dec 28, 2017 at 2:33 PM, Konstantin Tokarev wrote: > > > 28.12.2017, 15:23, "Mark Gaiser" : > > On Fri, Dec 22, 2017 at 11:19 PM, Mark Gaiser wrote: > > Hi, > > You know those fancy REST api's out there. > How does one use them in QML?

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

2017-12-28 Thread Mark Gaiser
On Thu, Dec 28, 2017 at 2:25 PM, Shawn Rutledge wrote: > 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:

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

2017-12-28 Thread Mark Gaiser
On Fri, Dec 22, 2017 at 11:19 PM, 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

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

2017-12-22 Thread Mark Gaiser
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 that seems "QMLified". Sure, javascript can be used with it's XMLHtt

Re: [Interest] Improve ListView scrolling performance (many pictures)

2017-08-13 Thread Mark Gaiser
Hi, I don't quite follow. First you say you implemented our suggestions (move image processing in a thread), then you say: "all operations are performed in the main (GUI) thread"... Exactly the opposite of what we've been suggesting. If i'm reading your reply correctly you're not offloading anyt

Re: [Interest] Improve ListView scrolling performance (many pictures)

2017-08-11 Thread Mark Gaiser
You need to do the "heavy" image operations in a separate thread! Copy the result back to the main thread and feed it to QML. You should not do any more operations on it once it lives in the main thread (no resize, scale, colorize, whatever) as you will notice that during scrolling. On Fri, Aug 11

Re: [Interest] TableView in Qt Quick Controls 2

2017-06-28 Thread Mark Gaiser
On Mon, Jun 26, 2017 at 7:51 PM, J-P Nurmi wrote: > On 26 Jun 2017, at 19:10, Jean-Michaël Celerier < > jeanmichael.celer...@gmail.com> wrote: > > > On Mon, Jun 26, 2017 at 6:19 PM, Frederik Gladhorn < > frederik.gladh...@qt.io> wrote: > >> >> >> 5.10 is scheduled for the end of this year. I'd ra

Re: [Interest] Another query on GTK platform theme/style

2017-04-18 Thread Mark Gaiser
On Tue, Apr 18, 2017 at 10:42 AM, Mark Gaiser wrote: > On Tue, Apr 18, 2017 at 8:59 AM, Thiago Macieira > wrote: >> Em segunda-feira, 17 de abril de 2017, às 23:44:06 PDT, Elvis Stansvik >> escreveu: >>> Den 18 apr. 2017 6:46 fm skrev "Thiago Macieira" >

Re: [Interest] Another query on GTK platform theme/style

2017-04-18 Thread Mark Gaiser
On Tue, Apr 18, 2017 at 8:59 AM, Thiago Macieira wrote: > Em segunda-feira, 17 de abril de 2017, às 23:44:06 PDT, Elvis Stansvik > escreveu: >> Den 18 apr. 2017 6:46 fm skrev "Thiago Macieira" > > > 2. This is something that will be rectified in a future Qt release. >> > >> > Use the one from Fedo

[Interest] Copy QSqlRecord to different database

2016-08-19 Thread Mark Gaiser
Hi, Imagine this case: You fetch data from one database (say MariaDB), you get a QSqlQuery filled with QSqlRecords. Now i want to copy all those records to another QSqlDatabase instance this is an SQLite database. The SQLite database has some fields with different names compared to the MariaDB o

Re: [Interest] Unicode code points in Vusual Studio. Output differs from MinGW

2016-08-11 Thread Mark Gaiser
On Thu, Aug 11, 2016 at 6:29 PM, Thiago Macieira wrote: > On quinta-feira, 11 de agosto de 2016 11:40:46 PDT Mark Gaiser wrote: > > Is there any way that i can use a string with unicode code points within > > tr(...) that works on MSVC 2010 (as that is my setup), but it would be

[Interest] Unicode code points in Vusual Studio. Output differs from MinGW

2016-08-11 Thread Mark Gaiser
Hi, The following minimal code example demonstrates the issue (tested on Qt 5.6.1): #include #include #include int main(int, char **) { qDebug() << "tr:" << QObject::tr("Co\u00F6rdinaat"); qDebug() << "QString:" << QString("Co\u00F6rdinaat"); qDebug() << "(QDebug) std::string:" << QStri

Re: [Interest] Qt 5.6.1(-1) release for Visual Studio 2010?

2016-07-28 Thread Mark Gaiser
On Thu, Jul 28, 2016 at 6:07 PM, Thiago Macieira wrote: > On quinta-feira, 28 de julho de 2016 17:00:01 PDT Mark Gaiser wrote: > > Hi, > > > > Qt 5.6 should work just fine under Visual Studio 2010, but i can't find > the > > binary release [1]. It starts wit

[Interest] Qt 5.6.1(-1) release for Visual Studio 2010?

2016-07-28 Thread Mark Gaiser
Hi, Qt 5.6 should work just fine under Visual Studio 2010, but i can't find the binary release [1]. It starts with Visual Studio 2013 in that folder. Is Qt not providing a 2010 build anymore? Best regards, Mark [1] https://download.qt.io/official_releases/qt/5.6/5.6.1-1/ ___

Re: [Interest] QPushButton shortcut works on Qt 4 but not 5

2016-05-08 Thread Mark Gaiser
On Sat, May 7, 2016 at 6:43 PM, Elvis Stansvik wrote: > 2016-05-07 16:56 GMT+02:00 Mark Gaiser : > > On Sat, May 7, 2016 at 3:44 PM, Elvis Stansvik > wrote: > >> > >> 2016-05-07 15:27 GMT+02:00 Elvis Stansvik : > >> > Hi all, > >> > > &

Re: [Interest] QPushButton shortcut works on Qt 4 but not 5

2016-05-07 Thread Mark Gaiser
On Sat, May 7, 2016 at 3:44 PM, Elvis Stansvik wrote: > 2016-05-07 15:27 GMT+02:00 Elvis Stansvik : > > Hi all, > > > > Maybe I'm doing something completely wrong, but on Qt 4.8.7, this > > works (pressing Ctrl+O prints "clicked"): > > > > test.cpp: > > > > #include > > #include > > #include >

Re: [Interest] How do i monitor DBus functions (not signals)

2016-01-14 Thread Mark Gaiser
On Thu, Jan 14, 2016 at 2:39 PM, Thiago Macieira wrote: > On Thursday 14 January 2016 10:05:35 Mark Gaiser wrote: > > I want my app to get all notifications that are being passed through > > org.freedesktop.Notifications without the app itself registering as > > "org

Re: [Interest] How do i monitor DBus functions (not signals)

2016-01-14 Thread Mark Gaiser
Op 13 jan. 2016 11:15 p.m. schreef "Thiago Macieira" < thiago.macie...@intel.com>: > > On Wednesday 13 January 2016 21:19:33 Mark Gaiser wrote: > > Hi, > > > > I'm trying to monitor "org.freedesktop.Notifications" for the notifications > &g

[Interest] How do i monitor DBus functions (not signals)

2016-01-13 Thread Mark Gaiser
Hi, I'm trying to monitor "org.freedesktop.Notifications" for the notifications (see [1] for reference) that broadcasted from there. Every notification ends up in a "Notify" method on that dbus interface. I'm trying to monitor that, but kinda fail at it... I can monitor the notifications with dbu

Re: [Interest] Dragging rectangle between multiple QQuickView instances?

2016-01-01 Thread Mark Gaiser
On Thu, Dec 24, 2015 at 2:15 PM, Mark Gaiser wrote: > Hi, > > I want to move a rectangle between two different "windows", but how can i > do that? > > The only possible way i can think of (but i do'n't know if that would even > work) is: > - Have N QQu

[Interest] Dragging rectangle between multiple QQuickView instances?

2015-12-24 Thread Mark Gaiser
Hi, I want to move a rectangle between two different "windows", but how can i do that? The only possible way i can think of (but i do'n't know if that would even work) is: - Have N QQuickView classes (lets say 2, for the sake of this argument) - All QQuickView instances share the same QQmlEngine

Re: [Interest] QUdpSocket not always signalling when datagrams are available.

2015-06-30 Thread Mark Gaiser
On Mon, Jun 29, 2015 at 8:08 PM, Thiago Macieira wrote: > On Monday 29 June 2015 11:30:44 Robert Daniels wrote: > > I've been testing with the new Qt 5.5 release candidate and have had > > issues with our application ceasing to get notified of new datagrams. > > https://bugreports.qt.io/browse/QT

Re: [Interest] Sorting QSortFilterProxyModel with QML

2015-05-26 Thread Mark Gaiser
On Tue, May 26, 2015 at 12:35 PM, André Somers wrote: > I ended up writing my own class that I export to QML for this. It > subclasses QSortFilterProxyModel and exposes a nice QML-friendly API for > doing filtering and sorting. > That sounds interesting! Could you share that somewhere (preferabl

Re: [Interest] libjpeg vs. libjpeg-turbo/mozjpeg

2015-05-23 Thread Mark Gaiser
On Sat, May 23, 2015 at 4:46 PM, René J.V. wrote: > On Saturday May 23 2015 16:37:23 Mark Gaiser wrote: > > > So mozjpeg is out for the general jpeg purpose. > > Some MacPorts people seem to think it can be used as such, but it'd be the > end-user's choic

Re: [Interest] libjpeg vs. libjpeg-turbo/mozjpeg

2015-05-23 Thread Mark Gaiser
On Sat, May 23, 2015 at 10:23 AM, René J.V. wrote: > Hi, > > Since Qt depends on libjpeg I thought I'd ask what experience members on > here have in using one of the (supposedly?) ABI compatible alternatives, > libjpeg-turbo or mozjpeg. There is discussion within MacPorts to replace > libjpeg wit

Re: [Interest] Transparent QML Menu

2015-05-18 Thread Mark Gaiser
ote: > Ok thanks, but I'm not sure I understood how to use this on a Menu. Should > the Menu element be contained in this new toplevel window, or how should I > use this? > > Cheers, > Thomas > > On Mon, May 18, 2015 at 1:59 PM, Mark Gaiser wrote: > >&g

Re: [Interest] Transparent QML Menu

2015-05-18 Thread Mark Gaiser
Isn't that possible by re-implementing the tooltip using a Window {} element and setting flags? Example: import QtQuick 2.4 import QtQuick.Window 2.2 import QtQuick.Controls 1.3 Window { width: 360 height: 360 visible: true color: "#" flags: Qt.FramelessWindo

Re: [Interest] QTableWidget cellChanged signal called while populating table

2015-05-11 Thread Mark Gaiser
On Mon, May 11, 2015 at 12:43 PM, Berkay Elbir wrote: > Hello All, > > I want to ask a question about QTableWidget. How can I prevent that > calling QTableWidget cellChanged signal while populating table? > > Thanks in advance, > > Berkay > yourObject->blockSignals(true); --- whatever you want t

Re: [Interest] How to crop and scale QCamera input to a widget

2015-03-10 Thread Mark Gaiser
On Tue, Mar 10, 2015 at 12:32 PM, nus1998 wrote: > Hi All, > > My camera resolution is 2048 * 1536, now I want to display the center 1000 > * 1000 pixels on a 500 * 500 widget, so far I only found setGeometry to > crop the image but can't scale it, is there any item for that? > > thanks in advan

Re: [Interest] Can QML do this animation?

2015-02-18 Thread Mark Gaiser
e same fashion with a tooltip floating above it. Guess it's time to play with QML and see how far i can get with this. > > *Sent:* Tuesday, February 17, 2015 at 6:48 PM > *From:* "Mark Gaiser" > *To:* "Qt Interest" > *Subject:* [Interest] Can QML do th

[Interest] Can QML do this animation?

2015-02-17 Thread Mark Gaiser
Hi, Take a look at this animation: https://dribbble.com/shots/1853526-Download The progressbar can probably be done using particles. The real thing i'm interested in is the progress tooltip the floats above it. It moves along with the progressbar in a nice smooth acceleration/deceleration animati

Re: [Interest] why does Qt prefer to return QList over QVector?

2015-01-27 Thread Mark Gaiser
On Tue, Jan 27, 2015 at 8:56 AM, Felix morack wrote: > hello, > > > i recently gained a small, but considerable performance boost by switching > out QList for QVector in some legacy code. This is hindered by the fact > that Qt itself often returns QList, eg with QMap::values(). > > > Is there a r

[Interest] init-repositore, how to disable webengine?

2015-01-10 Thread Mark Gaiser
Hi, "./init-repository --no-webkit" disabled webkit. But what's the option to disable webengine? Or do i just run init-repository like en remove the webengine folder afterwards? Cheers, Mark ___ Interest mailing list Interest@qt-project.org http://lists

Re: [Interest] QList operator[]

2015-01-09 Thread Mark Gaiser
On Fri, Jan 9, 2015 at 7:07 PM, Thiago Macieira wrote: > On Friday 09 January 2015 17:42:02 Brad Pepers wrote: > > So it seems like even though I'm getting a const reference using > operator > > [] on the QList, it's actually making a deep copy of the data as if I was > > using the non-const ver

Re: [Interest] QML Image asyncronous property

2014-12-05 Thread Mark Gaiser
On Thu, Dec 4, 2014 at 4:27 PM, Harri Pasanen wrote: > I'm playing with a GridView where the delegate contains an Image element > with asyncronous: true property. > > > As a result, when my QML file loads, I see a bunch of messages like: > > > QObject::startTimer: Timers cannot be started from ano

Re: [Interest] 2D painting toggle between raster and opengl. What is the advised method?

2014-11-11 Thread Mark Gaiser
On Sat, Nov 8, 2014 at 5:45 PM, Mark Gaiser wrote: > On Sat, Nov 8, 2014 at 5:34 PM, Marian Beermann wrote: >> Depending on the platform requirements it might be possible to always >> use OpenGL rendering in the application and back it up with a software >> rast

Re: [Interest] Regarding Internet Radio using QtQuick 2.x

2014-11-10 Thread Mark Gaiser
On Mon, Nov 10, 2014 at 7:13 AM, Jha Sonakumar wrote: > Hi All, > > Could you please guide me to create Internet radio App using QtQuick 2.x. > > As my system has not Radio Tuner h/w,that's why i need to develop the > Internet Radio app. > > > > Best Regards > > SonaKumar > I think you might be

Re: [Interest] 2D painting toggle between raster and opengl. What is the advised method?

2014-11-08 Thread Mark Gaiser
ance-wise) GPUs like old > Intel GMAs or PowerVRs in ARM SoCs are always faster than drawing on the > CPU. I also think there are hardly any devices around that do not > support at least fixed-function OpenGL.) > > On 11/08/2014 05:28 PM, Mark Gaiser wrote: >> Hi, >> >&g

[Interest] 2D painting toggle between raster and opengl. What is the advised method?

2014-11-08 Thread Mark Gaiser
Hi, The requirement are simple: 2D painting needs to be possible and i want to toggle between raster and OpenGL. QML or _depending_ on the GPU is out of the question. Animations are also not required. Things that are required are zoomnig controls, selecting drawn objects and rendering has to be hi

Re: [Interest] Qt5 and (lack of!) font rendering quality (Linux/X11)

2014-10-20 Thread Mark Gaiser
On Mon, Oct 20, 2014 at 10:11 PM, René J.V. wrote: > On Tuesday October 21 2014 05:45:51 Vadim Peretokin wrote: > >> It's not a bug, it's a feature! That is what I was told. Apparently Qt4 was >> getting the font boldness wrong and they fixed it in Qt5. Not sure if user > > Yes, it does. Under OS

Re: [Interest] QWidget + friends; How to restore properties across sessions?

2014-08-18 Thread Mark Gaiser
On Mon, Aug 18, 2014 at 3:11 PM, Adam Light wrote: > Mark: > > On Sat, Aug 16, 2014 at 11:12 AM, Mark Gaiser wrote: >> >> >> That is roughly the solution i'm looking for. >> But i'd like to go one step further. Do you know of some way - without >>

Re: [Interest] QWidget + friends; How to restore properties across sessions?

2014-08-16 Thread Mark Gaiser
On Sat, Aug 16, 2014 at 10:37 AM, Christoph Feck wrote: > On Friday 15 August 2014 21:48:08 Mark Gaiser wrote: >> Now i'm searching for alternatives to this approach to prevent >> handling the bookkeeping myself and still have the same result. For >> instance, would i

[Interest] QWidget + friends; How to restore properties across sessions?

2014-08-15 Thread Mark Gaiser
Hi, This time i won't answer myself [1] since i've been thinking about a possible solution for this for quite a while and never really figured out something that would be sane. Oke, here is the case: - User opens an application filled with widgets. Each widget allows the user to modify some part

Re: [Interest] QTableView, readonly and selectable column text/data?

2014-08-15 Thread Mark Gaiser
On Fri, Aug 15, 2014 at 8:28 PM, Constantin Makshin wrote: > On Aug 15, 2014 4:52 PM, "Mark Gaiser" wrote: >> In my case i simply make a QLineEdit and set readOnly to false. > Wasn't the last part of the sentence supposed to be "set readOnly to true"? > :)

Re: [Interest] QTableView, readonly and selectable column text/data?

2014-08-15 Thread Mark Gaiser
On Fri, Aug 15, 2014 at 1:59 PM, Mark Gaiser wrote: > Hi, > > I have a QTableView with data from a custom QSqlQueryModel. > So far so good, data displays just fine. > > I'm searching for functionality to select text in any column as if the > flag: Qt::ItemIsEditable is

[Interest] QTableView, readonly and selectable column text/data?

2014-08-15 Thread Mark Gaiser
Hi, I have a QTableView with data from a custom QSqlQueryModel. So far so good, data displays just fine. I'm searching for functionality to select text in any column as if the flag: Qt::ItemIsEditable is set. However, setting that also allows the user to edit (type) in the field which is not what

Re: [Interest] QML Skew animation?

2014-06-24 Thread Mark Gaiser
h, i was guessing that the current Matrix4x4 would be capable of doing skew already, no? Anyway, i will wait for 5.4 to use that matrix for skewing purposes :) > cheers, > Gunnar > > On 24 Jun 2014, at 10:57, Mark Gaiser wrote: > >> On Mon, Jun 23, 2014 at 10:55 PM, Ian Monro

Re: [Interest] QML Skew animation?

2014-06-24 Thread Mark Gaiser
On Mon, Jun 23, 2014 at 10:55 PM, Ian Monroe wrote: > On Mon, Jun 23, 2014 at 1:48 PM, Mark Gaiser wrote: >> Hi, >> >> QML has the Rotate and Scale possibility, but i can't find a way to do >> image skewing. If you don't know what skewing is, please look a

Re: [Interest] QCommandLineParser, default arguments from env variable?

2014-06-24 Thread Mark Gaiser
On Mon, Jun 23, 2014 at 11:20 PM, Thiago Macieira wrote: > Em seg 23 jun 2014, às 22:48:59, Mark Gaiser escreveu: >> > getenv("APPNAME_ARGS"), split it into a QStringList and pass it to the >> > command-line parser. >> >> That sounds like a nice

Re: [Interest] QCommandLineParser, default arguments from env variable?

2014-06-23 Thread Mark Gaiser
On Mon, Jun 23, 2014 at 6:11 PM, Thiago Macieira wrote: > Em seg 23 jun 2014, às 14:18:35, Mark Gaiser escreveu: >> I know that you can set the default arguments in code with >> QCommandLineOption and that works rather well. But i miss (or am i >> overlooking it?) an

[Interest] QML Skew animation?

2014-06-23 Thread Mark Gaiser
Hi, QML has the Rotate and Scale possibility, but i can't find a way to do image skewing. If you don't know what skewing is, please look at this image [1]. Skewing is possible in QML's canvas item, but that isn't suited for animating stuff. Then QML also has the Matrix4x4 which "could" be used to

[Interest] QCommandLineParser, default arguments from env variable?

2014-06-23 Thread Mark Gaiser
Hi, Qt 5.2 introduced the rather nice QCommandLineParser class. It seems to have every feature one can wish for yet i somehow seem to be missing one small tiny feature :) Some applications (daemons mostly) allow features like setting all default arguments via an environment variable which would t

Re: [Interest] QtWebEngine / Android / Qt 5.4 / Open-Source

2014-05-25 Thread Mark Gaiser
On Sun, May 25, 2014 at 2:33 PM, Cornelius Hald wrote: > Hi, > > some time ago there was a blog post [1] by the WebEngine team. > Unfortunately I'm not totally sure how to read it. > > Does anybody know if QtWebEngine will be available on Windows, Linux and > Android in the open-source version of

Re: [Interest] Can a view somehow notify a model of which rows it is going to show on screen?

2014-04-28 Thread Mark Gaiser
On Sun, Apr 27, 2014 at 11:08 PM, Mark Gaiser wrote: > On Fri, Apr 25, 2014 at 2:35 PM, Jan Kundrát wrote: >> On Tuesday, 22 April 2014 23:51:07 CEST, Mark Gaiser wrote: >>> There we have it. All visible item indexes accurately known. :) >> >> The model does not kno

Re: [Interest] Can a view somehow notify a model of which rows it is going to show on screen?

2014-04-27 Thread Mark Gaiser
On Fri, Apr 25, 2014 at 2:35 PM, Jan Kundrát wrote: > On Tuesday, 22 April 2014 23:51:07 CEST, Mark Gaiser wrote: >> There we have it. All visible item indexes accurately known. :) > > The model does not know if there's any view attached to it, though. Now it does so

Re: [Interest] Can a view somehow notify a model of which rows it is going to show on screen?

2014-04-22 Thread Mark Gaiser
On Tue, Apr 22, 2014 at 9:38 PM, Andre Somers wrote: > Mark Gaiser schreef op 20-4-2014 4:04: >> Hi, >> >> the title says it all... >> >> I can't find any signals that expose this information in the model. >> I would like to know this from the QML List

[Interest] Can a view somehow notify a model of which rows it is going to show on screen?

2014-04-19 Thread Mark Gaiser
Hi, the title says it all... I can't find any signals that expose this information in the model. I would like to know this from the QML ListView component. What i can do is tell the model where the current y position is in the models content and the height of each row. That gives me enough inform

Re: [Interest] Can QSortFilterProxyModel sort the filtered data only?

2014-04-11 Thread Mark Gaiser
On Fri, Apr 11, 2014 at 5:00 PM, Jan Kundrát wrote: > On Friday, 11 April 2014 00:34:10 CEST, Mark Gaiser wrote: >> The use case for this is quite simple. File browsing. The actual use >> case within that is: >> - Grouping files based on some (user defined) type (like mim

Re: [Interest] Can QSortFilterProxyModel sort the filtered data only?

2014-04-10 Thread Mark Gaiser
On Wed, Apr 9, 2014 at 9:52 AM, André Somers wrote: > > Mark Gaiser schreef op 8-4-2014 17:41: >> Hi, >> >> When reading through the QSortFilterProxyModel i get the feeling that >> sorting is done on the source model regardless of a filter. >> >> That is

[Interest] Can QSortFilterProxyModel sort the filtered data only?

2014-04-08 Thread Mark Gaiser
Hi, When reading through the QSortFilterProxyModel i get the feeling that sorting is done on the source model regardless of a filter. That is no problem with small models since sorting is quite fast, but that can be a bit of a pain if you have millions of entries (which filters reduce to hundreds

Re: [Interest] QtGraphicalEffects usage questioning

2014-04-02 Thread Mark Gaiser
Same here. The current way is vague and requires a lot of trial and error. It works, yes! But a more intuitive way to apply effect would certainly be welcome. On Wed, Apr 2, 2014 at 8:05 PM, Julien Cugnière wrote: > Hi, > > I just wanted to mention that I've had the exact same problems as you whe

Re: [Interest] Row(Layout), use spacing as resize handle. How to do that?

2014-03-04 Thread Mark Gaiser
On Tue, Mar 4, 2014 at 8:00 AM, Saether Jan-Arve wrote: >> -Original Message- >> From: Mark Gaiser [mailto:mark...@gmail.com] >> Sent: 3. mars 2014 13:10 >> To: Saether Jan-Arve >> Cc: Qt Interest >> Subject: Re: [Interest] Row(Layout), use spacing

Re: [Interest] Row(Layout), use spacing as resize handle. How to do that?

2014-03-03 Thread Mark Gaiser
On Mon, Mar 3, 2014 at 12:53 PM, Saether Jan-Arve wrote: > > >> -Original Message----- >> From: Mark Gaiser [mailto:mark...@gmail.com] >> >> Now i've actually tested the SplitView :) And it behaves differently >> compared to RowLayout. In a b

Re: [Interest] Row(Layout), use spacing as resize handle. How to do that?

2014-03-01 Thread Mark Gaiser
". Just change "RowLayout" to "SplitView" and you will see what i mean. Bug report time? > >> -Original Message- >> From: interest-bounces+jan-arve.saether=digia@qt-project.org >> [mailto:interest-bounces+jan-arve.saether=digia@qt-project

Re: [Interest] Row(Layout), use spacing as resize handle. How to do that?

2014-02-27 Thread Mark Gaiser
ject.org/doc/qt-5/qtquick-layouts-qmlmodule.html > >> -Original Message- >> From: interest-bounces+jan-arve.saether=digia@qt-project.org >> [mailto:interest-bounces+jan-arve.saether=digia@qt-project.org] On >> Behalf Of Mark Gaiser >> Sent: 27. febr

[Interest] Row(Layout), use spacing as resize handle. How to do that?

2014-02-26 Thread Mark Gaiser
Hi, It seems like i'm trying to make something that simply isn't possible with the currently shipping QtQuick components. So i'm trying to make a custom version. Take the following example code as base: import QtQuick 2.0 import QtQuick.Layouts 1.1 R

Re: [Interest] QML TextArea confusion

2014-02-10 Thread Mark Gaiser
On Mon, Feb 10, 2014 at 11:44 PM, Jereme Lamothe wrote: > On Mon, Feb 10, 2014 at 5:34 PM, Mark Gaiser wrote: >> On Mon, Feb 10, 2014 at 11:17 PM, Jereme Lamothe >> wrote: >>> Hey all. I'm writing a Qt Quick app, binding properties of various >>> Contro

Re: [Interest] QML TextArea confusion

2014-02-10 Thread Mark Gaiser
On Mon, Feb 10, 2014 at 11:17 PM, Jereme Lamothe wrote: > Hey all. I'm writing a Qt Quick app, binding properties of various > Controls to a QObject subclass that can work it's C++ magic. One such > property, belonging to TextArea, is 'text'. I have a QObject subclass > with a QString to store wha

Re: [Interest] Draw a shadow around a Rectangle using DropShadow. Should be possible, right?

2014-02-06 Thread Mark Gaiser
6689 is thereby closed already.. Oh well, i'm glad i know how it should be done now. On Thu, Feb 6, 2014 at 3:18 PM, Mark Gaiser wrote: > Done: > https://bugreports.qt-project.org/browse/QTBUG-36689 (DropShadow > doesn't work on rectangle) > https://bugreports.qt-project.org

Re: [Interest] Draw a shadow around a Rectangle using DropShadow. Should be possible, right?

2014-02-06 Thread Mark Gaiser
Done: https://bugreports.qt-project.org/browse/QTBUG-36689 (DropShadow doesn't work on rectangle) https://bugreports.qt-project.org/browse/QTBUG-36690 (Effects not always applied on application startup) On Thu, Feb 6, 2014 at 2:48 PM, Mark Gaiser wrote: > On Thu, Feb 6, 2014 at 2:03 PM,

Re: [Interest] Draw a shadow around a Rectangle using DropShadow. Should be possible, right?

2014-02-06 Thread Mark Gaiser
On Thu, Feb 6, 2014 at 2:03 PM, Sze Howe Koh wrote: > On 6 February 2014 19:59, Mark Gaiser wrote: >> On Thu, Feb 6, 2014 at 11:33 AM, Sze Howe Koh wrote: >>> On 5 February 2014 23:35, Mark Gaiser wrote: >>>> I can't get it to work with a rectangle.. >&

Re: [Interest] Draw a shadow around a Rectangle using DropShadow. Should be possible, right?

2014-02-06 Thread Mark Gaiser
On Thu, Feb 6, 2014 at 11:33 AM, Sze Howe Koh wrote: > On 5 February 2014 23:35, Mark Gaiser wrote: >> I can't get it to work with a rectangle.. >> >> import QtQuick 2.0 >> import QtGraphicalEffects 1.0 >> >> Rectangle { >>

Re: [Interest] Blur part of rectangle possible?

2014-02-05 Thread Mark Gaiser
On Thu, Feb 6, 2014 at 1:28 AM, Mark Gaiser wrote: > On Thu, Feb 6, 2014 at 12:52 AM, Josh Faust wrote: >>> >>> >>> I've tried that. You get quite funny results :) >>> But in reality having your full ListView crammed into a small version >>>

Re: [Interest] Blur part of rectangle possible?

2014-02-05 Thread Mark Gaiser
On Thu, Feb 6, 2014 at 12:52 AM, Josh Faust wrote: > >> I've tried that. You get quite funny results :) >> But in reality having your full ListView crammed into a small version >> isn't looking good. The intention is to blur just a small part of the >> listview and doing this trick makes it look

Re: [Interest] Blur part of rectangle possible?

2014-02-05 Thread Mark Gaiser
On Wed, Feb 5, 2014 at 11:48 PM, Josh Faust wrote: >> That could probably work if i want to blur an image. >> In this case i want to blur the bottom part of a ListView where i want >> to overlay a search field and blur the background. >> That case makes splitting it a bit difficult ;) > > > You ca

Re: [Interest] Draw a shadow around a Rectangle using DropShadow. Should be possible, right?

2014-02-05 Thread Mark Gaiser
On Wed, Feb 5, 2014 at 5:09 PM, Till Oliver Knoll wrote: > Am 05.02.2014 um 16:35 schrieb Mark Gaiser : > >>> ... >>> On one hand, it makes sense because the Image is smaller than the >>> RectangularGlow (so the Image is "inside" the RectangularGlow). &g

Re: [Interest] Blur part of rectangle possible?

2014-02-05 Thread Mark Gaiser
On Wed, Feb 5, 2014 at 4:09 PM, Bo Thorsen wrote: > Den 05-02-2014 13:21, Mark Gaiser skrev: > >> Hi, >> >> The blur examples [1] all use a source rectangle and fully blur it. >> But what i want to do is only blur the bottom 20 pixels of an rectangle. >> Ho

Re: [Interest] Draw a shadow around a Rectangle using DropShadow. Should be possible, right?

2014-02-05 Thread Mark Gaiser
On Wed, Feb 5, 2014 at 4:11 PM, Sze Howe Koh wrote: > On 5 February 2014 22:31, Mark Gaiser wrote: >> Hi, >> >> I "thought" i could just use any of the QtGraphicalEffects and apply >> them to any item. >> But when i try to apply a simple shadow to

[Interest] Draw a shadow around a Rectangle using DropShadow. Should be possible, right?

2014-02-05 Thread Mark Gaiser
Hi, I "thought" i could just use any of the QtGraphicalEffects and apply them to any item. But when i try to apply a simple shadow to a rectangle (or a glow) i don't get any shadow. Instead, the destination rectangle simply gets filled with the color i provided as shadow. In case it matters. Nvid

[Interest] Blur part of rectangle possible?

2014-02-05 Thread Mark Gaiser
Hi, The blur examples [1] all use a source rectangle and fully blur it. But what i want to do is only blur the bottom 20 pixels of an rectangle. How do i do that? Cheers, Mark [1] http://qt-project.org/doc/qt-5/qml-qtgraphicaleffects-gaussianblur.html

Re: [Interest] How do i get the Qt::Key values from QKeySequence?

2014-01-01 Thread Mark Gaiser
This time to the list as well... Op 1 jan. 2014 23:33 schreef "Mark Gaiser" : > > Op 1 jan. 2014 21:55 schreef "Jonathan Greig" : > > > > Whats wrong with using QKeySequence::toString stored in a QHash? Then > make a function that breaks them apart o

[Interest] How do i get the Qt::Key values from QKeySequence?

2014-01-01 Thread Mark Gaiser
Hi, I'm using QKeySequence [1] and am trying to extend it's functionality to add mouse support. But in my structure i use stuff like: QVector keys; So now i want to have a vector with the keys in it. If i create a QKeySequence("Ctrl+A") i want to have: Qt::Key_Control Qt::Key_A Added to the vec

Re: [Interest] Pressing key (A-Z) behaves differently the pressing modifiers..

2014-01-01 Thread Mark Gaiser
; http://qt-project.org/doc/qt-5/qkeyevent.html#isAutoRepeat > For non-modifier keys and not key combinations, it should return true when > an event comes from that behaviour and so you can use it to screen for it > and ignore extra events. > > -- > Yours sincerely, > George Tas

[Interest] Pressing key (A-Z) behaves differently the pressing modifiers..

2014-01-01 Thread Mark Gaiser
Hi, I guess this will end up being a bug report, but i don't really if the results i see is a bug or intended behavior. Thus asking on the list to make sure before i make a bug report. I'm playing with a custom event filter and am observing some weird behavior with key presses. If i press and ho

Re: [Interest] 5.2 RC1 -> release

2013-12-12 Thread Mark Gaiser
On Thu, Dec 12, 2013 at 11:15 PM, Christoph Feck wrote: > On Thursday 12 December 2013 22:57:03 Mark Gaiser wrote: >> Where is the page with new C++ classes and new QML >> types/properties? doc.qt-project.org is pointing to >> http://qt-project.org/doc/qt-5/index.html

Re: [Interest] 5.2 RC1 -> release

2013-12-12 Thread Mark Gaiser
Where is the page with new C++ classes and new QML types/properties? doc.qt-project.org is pointing to http://qt-project.org/doc/qt-5/index.html for 5.2 which doesn't show a whats new page. Well, it does, but that is 5.0, not 5.2. On Thu, Dec 12, 2013 at 4:33 PM, Koehne Kai wrote: >> -Origina

  1   2   >