[Interest] How can I implement Warp7 sample as same as sample in QtWS16

2017-12-07 Thread Nguyen Ngoc Thach Chau
Hi everyone Please help me in case below. I see this video on youtube which is showing that Boot2Qt is working on NXP WaRP7 with QTLite 5.8 I 've bought WaRP7 & its LCD display but I can not make it work (display something on screen). Sorry for my noo

Re: [Interest] Qt Location GeoServices plugin to use geo-referenced image file as map source

2017-12-07 Thread Richard Lang
Concluded that this wouldn't be the greatest idea as the implementation would be less than straightforward, and in practice any non-trivial map image would likely be large enough that an initial tiling step, followed by use of one of the standard tiled mapping plugins referencing a local tile s

[Interest] 5.10 QPA: WebGL ... Uploads?

2017-12-07 Thread Jason H
Many web pages offer the ability to upload a file via drag and drop. With the new WebGL port, are users able to drag a file into the browser and have that upload? I'd like oo ingest a file from the client then provide the UI for editing it. ___ Intere

Re: [Interest] [Solved] Change QCheckBox to QPushButton in a QTableView

2017-12-07 Thread Jason H
Oh man what a trip. The essentials for anyone who wants to replace checkboxes with QPushbuttons: void ButtonDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const { bool isChecked = index.data(Qt::CheckStateRole).toInt() == Qt::Checked;

Re: [Interest] QFile fails on Windows when screen is locked with message "device not open"?

2017-12-07 Thread Emre Besirik
> On 6 Dec 2017, at 19:11, Thiago Macieira wrote: > > On Wednesday, 6 December 2017 04:58:32 PST Shantanu Tushar wrote: >> Most likely the "device not open" message is being output when you >> call `.exists()` on the file, followed by your qDebug. > > Right, it's the exists() call that causes

[Interest] Qt5.9 installer's default package selection

2017-12-07 Thread Michael Jackson
I have noticed in the Qt 5.9 installer (at least for macOS and Linux) that when the "wizard" gets to the package selection page the ONLY thing that is by default selected is QtCreator and QtSpeech. *Nothing* else is selected? Curios as to the reasoning behind this setting. I would almost rather

Re: [Interest] Change QCheckBox to QPushButton in a QTableView

2017-12-07 Thread Jason H
> I added an assignment of QStypeOptionButton rect from options, and that now > shows the text, but the rest of the button is not rendered (Attached). If I > use a pushbutton to initialize options I've got to subclass it because > initStypeOptions is protected (why?), won't I overwrite the supp

Re: [Interest] Change QCheckBox to QPushButton in a QTableView

2017-12-07 Thread Jason H
> Sent: Thursday, December 07, 2017 at 1:10 AM > From: "André Somers" > To: interest@qt-project.org > Subject: Re: [Interest] Change QCheckBox to QPushButton in a QTableView > ... > > > > But all I got out of it was a black pixel in the first cell. > > You're going to have to do a proper initi

Re: [Interest] Qt Location GeoServices plugin to use geo-referenced image file as map source

2017-12-07 Thread Paolo Angelelli
Indeed! As answered in the bug report, the easy workaround is to cut your tif into tiles (like using QGis w QTiler plugin or gdal2tiles, or whatever other mean), and then you don't even need to serve the tiles via http, you can fetch them locally either from file (file:///) or qrc, depending on

Re: [Interest] Qt Location GeoServices plugin to use geo-referenced image file as map source

2017-12-07 Thread Vlad Stelmahovsky
Hi take a look at OSM plugin. it contains custom providers and caching mechanism On Thu, Dec 7, 2017 at 3:19 AM, Richard Lang wrote: > Repost of question asked on Qt Forums and raised as a feature request on > the bug tracker... > > https://forum.qt.io/topic/85704/qt-location-geoservices- > plu