Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
19.9k Topics 77.1k Posts
QtWS25 Last Chance
  • Problem with opacity for rectangle.

    2
    0 Votes
    2 Posts
    3k Views
    T
    Child element inherits parent's opacity and adds it's opacity. This is explained "here":http://doc.qt.nokia.com/4.7-snapshot/qml-item.html#opacity-prop . A workaround is @ Rectangle { id: mainRect anchors.fill: parent; visible: true; opacity: 0.5; color: "black" border.width: 0 } Rectangle { id: childRect; anchors.bottom: mainRect.bottom; anchors.bottomMargin: 20; anchors.right: mainRect.right; anchors.rightMargin: 20; radius: 30; border.width: 5 opacity: 1 color: "white" } @
  • [Solved] QDeclarativeView::setSource not working?

    11
    0 Votes
    11 Posts
    11k Views
    F
    I thought this didn't apply to me because I wasn't using resources, but this (using QUrl) in fact did the trick! Thank you!
  • How to display QML screen from the JavaScript code.

    6
    0 Votes
    6 Posts
    4k Views
    T
    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.
  • QML video element and UNC paths

    19
    0 Votes
    19 Posts
    19k Views
    M
    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
  • [SOLVED] Drop into a QDeclarativeView doesn't work

    3
    0 Votes
    3 Posts
    2k Views
    F
    Thank you. I'll check that out. UPDATE: checked it out, and it sure does work. Thanks for the tip.
  • Facing Problems While Using ListView.

    3
    0 Votes
    3 Posts
    3k Views
    A
    Thanks for the reply it helped me a lot.
  • [Solved] Mouse area onClicked problem.

    3
    0 Votes
    3 Posts
    5k Views
    N
    Ah there we go. Thanks for the help I new I was missing something.
  • QML WebView does not lose Keyboard Focus

    3
    0 Votes
    3 Posts
    3k Views
    C
    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.
  • Interface with qml and qt, joined...

    3
    0 Votes
    3 Posts
    2k Views
    S
    i thank you! =)
  • NFC chat example problem on Nokia N9

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • [Solved]Text rendering problem in QML Harmattan

    2
    0 Votes
    2 Posts
    4k Views
    K
    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.
  • [Moved] problem in Audio component in QtQuick (muted property)?

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • [Solved] Error: Invalid use of member (...) in static member function

    8
    0 Votes
    8 Posts
    17k Views
    E
    And here I thought it was some heavy C++ issue that I wouldn't understand. :o) It was right there in front of me!! Thanks both of you for your help!
  • System language in Harmattan?

    13
    0 Votes
    13 Posts
    4k Views
    G
    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.
  • WebView user agent

    3
    0 Votes
    3 Posts
    5k Views
    A
    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
  • Hide instead of Quit

    4
    0 Votes
    4 Posts
    2k Views
    J
    Thank you a lot! Really helpfull :)
  • [solved] opening a widget with qml file included

    7
    0 Votes
    7 Posts
    2k Views
    M
    [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)
  • [SOLVED]QML buttons for alphabets

    14
    0 Votes
    14 Posts
    4k Views
    EddyE
    [quote author="jr_jags" date="1317314928"]yup, anu b ung name ng game nio? [/quote] What is the meaning of this? Is it Qt related? If it's just about learning to know each other you could send a mail using the profile page ;) Edit: Deleted the referenced post, per the poster's request; mlong
  • Is There Any XML Parser Provided for QML JavaScript.

    2
    0 Votes
    2 Posts
    5k Views
    D
    May be you need to look at XmlRole and XmlModels http://doc.qt.nokia.com/latest/qml-xmlrole.html check out this project: http://projects.developer.nokia.com/QuickFlickr/browser it handles some XML in QML
  • [SOLVED] Model items in javascript.

    5
    0 Votes
    5 Posts
    2k Views
    D
    Ok, so I solved this by implementing a slot. One thing QtQuick should think about is to provide a consistent API set for all the models.