Hi,
Glad you found a solution for this. Note that using an Item to do the clip, rather than a Rectangle, may be slightly more efficient (a Rectangle will try to paint itself, while an Item won't).
Regards,
Michael
[quote author="frankiefrank" date="1317642487"]Ok hope no one is getting tired from me solving my own issues :-)
[/quote]
Glad you were able to figure it out! :-) Be sure and edit your thread title to add [Solved] (regardless of who solved it!)
To remove object you can call your_object.destroy(ms_to_wait_before_removing_object) (see "Deleting objects dynamically":http://doc.qt.nokia.com/4.7-snapshot/qdeclarativedynamicobjects.html#deleting-objects-dynamically )
You can access items inside created component throught "children property":http://doc.qt.nokia.com/4.7-snapshot/qml-item.html#children-prop , but I think it will be easier to use "property aliases":http://doc.qt.nokia.com/latest/qml-extending-types.html#property-aliases for children properties you need.
i am using QML and i want to play video from http://www.youtube.com so any one of you help me resolve this issue.
video link like =http://www.youtube.com/watch?v=rdNdmc83xe4
I tried, but the keyboard still doesn't go away. I found out that you can manually hide the keyboard by performing a swipe down on it. However, it's not intuitive enough for the user to do that every time the keyboard appears.
I realized that I have set openvg as graphics system in my main.cpp and that was causing above issue.
"QApplication::setGraphicsSystem("openvg");"
After removing above line from main.cpp. My application is working fine now.
I have successfully used QString locale = QLocale::system().name() to translate a mobile application for harmattan, n950 with latest firmware. Used meego 1.2 harmattan api and it returned it_IT with my current settings.
Hi,
I have the same question, please any help?
How I can set the user agent for this example: "http://doc.qt.nokia.com/latest/demos-declarative-webbrowser.html":http://doc.qt.nokia.com/latest/demos-declarative-webbrowser.html
Thank you
[quote author="spode" date="1317321543"]@
void prima::nuovo()
{
seconda s;
s.show();
close();
here:
goto here;
}
@
the window stops working...[/quote]
Oh, that's just so wrong in so many ways... see above.
But let's step through the code...
@
seconda s; // This creates the object
s.show(); // This shows it. It DOES NOT BLOCK AND WAIT FOR THE WIDGET TO CLOSE
close(); // This closes the window immediately.
@
Here's an exercise. What do you think the
@
here:
goto here;
@
code does? (Hint... tight, infinite loop)