[Interest] No resize after hiding the navigation bar on Android under QML.

2016-04-20 Thread Tr3wory
Hi all, I have a full screen QML application on Android. I create a QQuickView in main() and use showFullscreen() to show it. On my Samsung phone (with physical navigation buttons) everything is fine, the status bar gets hidden, and my application uses the full area of the screen. On my Nexus (w

Re: [Interest] How long is QMatrix obsolete?

2014-08-12 Thread Tr3wory
On Sat, Aug 9, 2014 at 10:34 AM, Guido Seifert wrote: > That's not what I meant. I just question whether it makes sense to declare a > class like QMatrix obsolete. > It is not like QFtp or QHttp, QMatrix is so entwined in old code, it can > never be removed or changed. I think it depends on the

Re: [Interest] Full screen window and Win 8 Side-by-side

2014-08-06 Thread Tr3wory
Sorry, I missed that. It's a normal desktop application. tr3w On Wed, Aug 6, 2014 at 5:40 PM, Kalinowski Maurice wrote: > Hi, > > >> >> I have a working qml application in a QQuickView. >> If I show the window with showMaximized() and put a metro style >> application side-by-side, my applicatio

[Interest] Full screen window and Win 8 Side-by-side

2014-08-06 Thread Tr3wory
Hi all, I have a working qml application in a QQuickView. If I show the window with showMaximized() and put a metro style application side-by-side, my application's window get resized as expected. But if I show the window with showFullscreen(), then my application window's size remains the same ev

Re: [Interest] QVideoProbe in QML?

2014-02-06 Thread Tr3wory
LOL, I didn't find that class, so I wrote one for my own little more than a week ago: http://lists.qt-project.org/pipermail/interest/2014-January/010992.html I believe no QML class exist with the same functionality (fix me if I'm wrong, looks like I'm not good at finding classes :) ), so you need

Re: [Interest] Grabbing frames from the camera

2014-02-05 Thread Tr3wory
Thanks the info. Tr3w On Tue, Feb 4, 2014 at 4:23 PM, Lopes Yoann wrote: > I think this is simply bad API design... It should be > QAbstractVideoSurface::present(QVideoFrame &frame) instead. > It's absolutely safe to ignore the const-ness of the video frame. > > Yoann Lopes > Senior Software E

[Interest] Grabbing frames from the camera

2014-01-31 Thread Tr3wory
Hi, I started a new application which will do image processing on the frames captured from the camera. For grabbing the frame data, I followed what the documentation says: I derived a class from QAbstractVideoSurface and set it with QCamera::setViewFinder. So far so good, the camera calls my Vid

Re: [Interest] Default delegate with QTableView and QSqlTableModel

2013-03-28 Thread Tr3wory
On Thu, Mar 28, 2013 at 3:50 PM, Tr3wory wrote: > The QIdentityProxyModel works like a charm, except: > - for empty table (rows()==0) the header is wrong > (https://bugreports.qt-project.org/browse/QTBUG-23572) > - when the program starts the header is also wrong until I click on it.

Re: [Interest] Default delegate with QTableView and QSqlTableModel

2013-03-28 Thread Tr3wory
On Thu, Mar 28, 2013 at 11:18 AM, André Somers wrote: > For your case, I think I would make a simple proxy model based on > QIdentityProxyModel that adapts the data type from longlong to int when > possible and where desirable. That should only take a couple of loc. I don't > think it will be easy

Re: [Interest] Default delegate with QTableView and QSqlTableModel

2013-03-28 Thread Tr3wory
Yes I'm aware of that, I'm just thinking about a new default for qlonglong, so others don't have the same issue. tr3w On Thu, Mar 28, 2013 at 2:52 PM, André Somers wrote: > Op 28-3-2013 14:42, Tr3wory schreef: >> Thank you for the tip, the QIdentityProxyModel looks pr

Re: [Interest] Default delegate with QTableView and QSqlTableModel

2013-03-28 Thread Tr3wory
On Thu, Mar 28, 2013 at 11:18 AM, André Somers wrote: > Op 28-3-2013 11:13, Tr3wory schreef: > >> Technically you are right, on the other hand it is really counter >> intuitive to not have a default editor for qlonglong if the qsqlite >> driver gives me that for every i

Re: [Interest] Default delegate with QTableView and QSqlTableModel

2013-03-28 Thread Tr3wory
Op 27-3-2013 21:50, Tr3wory schreef: >> Yes I know that, but based on this: >> http://qt-project.org/doc/qt-4.8/qitemeditorfactory.html#standard-editing-widgets >> I think it should work out of the box... > Why? LongLong is neither int nor unsigned int > > André > >

Re: [Interest] Default delegate with QTableView and QSqlTableModel

2013-03-27 Thread Tr3wory
to show QSpinBox you need to tell that for xyz column >> QSpinBox Widget should open.. >> >> >> On Wed, Mar 27, 2013 at 2:46 PM, Tr3wory wrote: >>> >>> Another piece of information: the model->data(...) returns a >>> QVariant::LongLong... >>

Re: [Interest] Default delegate with QTableView and QSqlTableModel

2013-03-27 Thread Tr3wory
Another piece of information: the model->data(...) returns a QVariant::LongLong... tr3w On Wed, Mar 27, 2013 at 8:32 PM, Tr3wory wrote: > Hi all, > > I have a QTableView and a connected QSqlTableModel. The database is an > SQLite database with two columns, the types are T

[Interest] Default delegate with QTableView and QSqlTableModel

2013-03-27 Thread Tr3wory
Hi all, I have a QTableView and a connected QSqlTableModel. The database is an SQLite database with two columns, the types are TEXT and INTEGER. Everything is works as expected, except I don't get QSpinbox as a editor for the INTEGER column, so I can write there anything, and since the SQLite can

Re: [Interest] Semi-OT: What could / should Elop / Nokia have done differently?

2012-06-22 Thread Tr3wory
> What -- in the face of the very real challenges Nokia faced -- would you have > done? As I heard the Nokia as a company has a really bad inner structure with lots of duplications and fighting departments. So first: I would streamline it. Drop Symbian, put all resources to Qt and MeeGo. We know N

Re: [Interest] Qt on Windows Phone 8

2012-06-22 Thread Tr3wory
On Fri, Jun 22, 2012 at 8:27 AM, Pau Garcia i Quiles wrote: > On Fri, Jun 22, 2012 at 5:34 AM,   wrote: > >>> "Windows Phone 8 offers native support for the C and C++ development >>> languages. This will be a boon for developers. Microsoft also plans to >>> offer a wide range of APIs that work b