[Interest] QML select/drag/drop like a calendar.

2012-07-07 Thread Mark
Hi, I'm developing a calendar in QML and thus far it seems to going quite well. Making a view with 12 months visible or a full month to select a day isn't an issue. Works wonderful in QML. The place where i hit real big QML issues (or actually the lack of components) is when i want to make the da

Re: [Interest] AudioInput example app noticable very sluggish on Mac

2012-07-07 Thread Mark
On Thu, Jul 5, 2012 at 3:19 PM, Mark wrote: > On Thu, Jul 5, 2012 at 7:05 AM, wrote: >> Hello again, >> >> On 5/07/12 10:44 AM, "Goddard Michael (Nokia-MP/Brisbane)" >> wrote: >> >>>Hi Mark, >>> >>>On 4/07/12 11:41 PM, "ext Mark" wrote: >>> >Does anyone know what's going wrong in the Qt ap

[Interest] Best way to implement "delete from" when using a QSqlTableModel?

2012-07-07 Thread K. Frank
Hello List! I have a QSqlTableModel (connected to a QTableView) that I use to edit a table in a database. Specifically, I would like to achieve the effect of: delete from my_table where my_column = 'some_value'; I don't see a way to do this directly with QSqlTableModel. Have I missed anythi

Re: [Interest] QDBus Dict

2012-07-07 Thread Lucas Betschart
2012/7/7 Thiago Macieira : > On sábado, 7 de julho de 2012 13.19.36, Lucas Betschart wrote: >> /usr/include/qt4/QtCore/qmetatype.h:169:80: error: 'qt_metatype_id' is >> not a member of 'QMetaTypeId >' > > Ah, right. You need to Q_DECLARE_METATYPE that type. And note that you can't > use a comma in

[Interest] No rule to make target '.../qmake.conf'

2012-07-07 Thread Vincent Cai
Dear All, I have compiled a project successfully, but when I try to debug/run the project, I encountered an issue, the error reported as below: mingw32-make[2]: *** No rule to make target `../../../../QtSDK/Desktop/Qt/4.7.3/mingw/mkspecs/win32-g++/qmake.conf', needed by `Makefile'. Sto

Re: [Interest] QDBus Dict

2012-07-07 Thread Thiago Macieira
On sábado, 7 de julho de 2012 13.19.36, Lucas Betschart wrote: > /usr/include/qt4/QtCore/qmetatype.h:169:80: error: 'qt_metatype_id' is > not a member of 'QMetaTypeId >' Ah, right. You need to Q_DECLARE_METATYPE that type. And note that you can't use a comma in Q_DECLARE_METATYPE, so you need to t

Re: [Interest] QDBus Dict

2012-07-07 Thread Lucas Betschart
2012/7/7 Thiago Macieira : > On sábado, 7 de julho de 2012 12.29.38, Lucas Betschart wrote: >> It still doesn't work.. I know that the value will be an int, but >> qdbus_cast >(ret.arguments().first()); returns a >> compiler error. > > And you don't think that's relevant information? In file incl

Re: [Interest] QDBus Dict

2012-07-07 Thread Thiago Macieira
On sábado, 7 de julho de 2012 12.29.38, Lucas Betschart wrote: > It still doesn't work.. I know that the value will be an int, but > qdbus_cast >(ret.arguments().first()); returns a > compiler error. And you don't think that's relevant information? -- Thiago Macieira - thiago.macieira (AT) intel.

Re: [Interest] QDBus Dict

2012-07-07 Thread Lucas Betschart
2012/7/7 Thiago Macieira : > On sábado, 7 de julho de 2012 09.22.50, Lucas Betschart wrote: >> Thats my code: >> >> bool QUbuntuOne::getThrottlingLimits(){ >> QDBusMessage ret = >> QDBusCon->call(QDBusMessage::createMethodCall(DESTINATION,"/config","","get_ >> throttling_limits")); if(ret.type(

Re: [Interest] QDBus Dict

2012-07-07 Thread Thiago Macieira
On sábado, 7 de julho de 2012 09.22.50, Lucas Betschart wrote: > Thats my code: > > bool QUbuntuOne::getThrottlingLimits(){ > QDBusMessage ret > > QDBusCon->call(QDBusMessage::createMethodCall(DESTINATION,"/config","","get_ > throttling_limits")); if(ret.type() == QDBusMessage::ErrorMessage){

Re: [Interest] download a file form http

2012-07-07 Thread Sivan Greenberg
On Fri, Jul 6, 2012 at 5:44 PM, Till Oliver Knoll wrote: > Sivan, it seems to me that you're stumbling over the most basic steps in > developing a Qt application, all of which could've been resolved by reading > the docs and spending a fine day or so with the tutorials. > So, as stated before, I s

[Interest] QDBus Dict

2012-07-07 Thread Lucas Betschart
Good Morning, I'm using QDbus to talk with the Ubuntu One SyncDaemon. How can I convert a DBus Dict into a QMap? I'm want to implement the following DBus method: /config method com.ubuntuone.SyncDaemon.Config.get_throttling_limits Get the read write limit from AQ and return a dict Returns a dic