There seems to be some issues since QT4.6.2 release where the widgets don't align well in QMainWindow and QDialog, seems like the spacing is lost. Ive attached an example program to show this issue...
Type: Posts; User: rkurvakat; Keyword(s):
There seems to be some issues since QT4.6.2 release where the widgets don't align well in QMainWindow and QDialog, seems like the spacing is lost. Ive attached an example program to show this issue...
this could help you
http://wiki.maemo.org/Qt4_Hildon
if Ive got your question right, you could use a table model for your value list.
there is a good example here
sorry Daniil, it doesnt look that obvious to me :-( since Ive just begun my programming in graphics.
Ive spent past few days reading a lot about this but nothing seemed good enough for a start to...
are we sure the above is the rootcase for even the delegate issue mentioned below.
This seems to only indicate the height of the row, but the issues I mentioned below, the row height was maemo...
Ive answered the above query myself with the below mentioned solutions for the benefit of others and also for the gurus to comment.
Now if I draw something more than the viewing area I get a scroll....
what Im trying to do is create a drawing( a simple line graph) that scrolls horizontally since it can grow larger than the display size.
Im confused if I really need to use QGraphicsView for this...
Hi,
I am trying a simple test to draw a line in a qgraphicsscene which goes beyond the co-ordinates of the display.
For example Im trying to draw a line with co-ordinates ( 20,40,1000,40 ) on a...
sorry to persist, Im just trying to understand any specific reason why its not available in maemo.
Is it due to some limitation of the windowmanager (matchbox ) or something related to QT(maemo) ?
...
thanks for the quick response Daniil.
a quick answer to explain briefly how/why its disable ?
Ive looked around all day, but could you direct me to a simple example to animate a widget...
Hi,
Ive seen examples for widget animations using a QStackedWidget class.
Is there a way to animate stacked windows ( Qt::WA_Maemo5StackedWindow) in Maemo.
Something like
* making the...
Hi Daniil,
Sorry to persist, but this is very easy to reproduce I think.
All you need is to implement a delegate :: paint() or a proxymodel:: data() and register it with one of the columns of the...
have a look here
http://qt.nokia.com/doc/qt-maemo-4.6/maemo5-rotation.html
Ok , I also tried the model proxy tonight, after the delegate example in my previous post.
Its the same performance, slow !
I think the issue is with the index() , if we try to check the index in...
this is an example of a delegate that Im using to color and convert for display a date field.
void DateItemDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex...
thanks for the tips but not sure if it will help me.
Sorry but its my fault I should have been clearer with my query.
Im doing the app for fremantle and Im setting my QTableView using a...
While using delegates, I had put some logs and those logs indicated my paint() method in the delegate was called as many times as there were items in my table( i.e for each index ), so if I had 2...
this doesnt work on Fremantle :-(
failed to color the text.
If I the deregister the delegates the list scrolls smoothly.
example of my delegate is
void DateItemDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex...
Ive implemented a QTableView with 4 columns and 6 rows of simple text.
Ive implemented a delegate(QStyledItemDelegate) like the one above for each column to show each column text in a different...
How can we have the rows/columns in Qtableiew/QListview/QTableWidget coloured in Fremantle ? Ive tried to implement a delegate to paint each row but it didnt seem to work fine. I would also like it...
the thing is my app needs to send some sms'es(multiple) in the background , if I use the Dbus or the QDesktopService, the UI will open up and my app will be minimized automatically in maemo , right ?...
thanks Ive checked that thread already.
and Im aware of qt mobility as well, but what I really wanted is some reliable method to do it now.
So as I understand it , dbus is the only way to do it ATM.
Hi,
is there a better way to send a predefined sms to a predefined number on the maemo platform rather than me having to call the dbus directly ?
Can I do it using QDesktopServices and not...