Skip to content

Brainstorm

Stuck? Some ideas just need to be dumped on someone before they can materialize.
452 Topics 3.2k Posts
  • Transparent & blur

    7
    0 Votes
    7 Posts
    8k Views
    Q
    Thank you deadbird :)
  • QML-How-to? Anonymous Access To TableView From Within Delegates

    3
    0 Votes
    3 Posts
    3k Views
    W
    Thanks, Jens, I posted this same question on StackOverflow. A couple of suggestions from one commenter, (plus about 10 hours of banging my head against my keyboard) and I actually came up with a fairly painless way to achieve this that avoids using the id AND avoids making any assumptions about the internal ancestry of a delegate. Rather than duplicating the solution here, you can read about it there: "Anonymous Access To TableView.":http://stackoverflow.com/questions/23522186/qml-how-to-anonymously-access-to-tableview-from-within-delegates: It's not quite as straightforward as the exposure of the model to the delegate, but it's pretty close. wahynes
  • [solved] Console here

    5
    0 Votes
    5 Posts
    2k Views
    SGaistS
    The shadow build directory can be set anywhere you want but not in the sources (that would defeat the purpose) You're welcome ! Since it's all good now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)
  • Newbie Problems - Android Hello World

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • [SOLVED]QPixmap on click checking

    7
    0 Votes
    7 Posts
    3k Views
    L
    I see. Thank you for help!
  • [SOLVED]Project something not working

    6
    0 Votes
    6 Posts
    2k Views
    L
    I corrected in the .pro file. Thank you!
  • [SOLVED]QStringList index problem

    3
    0 Votes
    3 Posts
    2k Views
    L
    [quote author="Clochydd" date="1397405737"]Hi, it will work with an integer variable as well. Make sure, your variable has a content which is represented in your QList - you may want to test it with qDebug() << i;[/quote] It's working. The for loop is running 0-5, but the data for QStringList have 0-4. Thank you for helping!
  • [SOLVED]MYSQL query not working

    5
    0 Votes
    5 Posts
    2k Views
    EddyE
    You're welcome, Please edit the title of your first post and prepend [solved] to it so that others can see easily it in the overview.
  • Can I make own file system access with QFileSystemModel?

    10
    0 Votes
    10 Posts
    9k Views
    J
    It looks like this was never answered. It's strange to me that QAbstractFileEngine was taken out considering Android "assets:" was added, "qrc:" has always been around, and it would be a really seamless way to integrate many things that just can't be integrated at the OS level when you don't have full control over the machine. How is it a "design flaw" to have this interface? Is GDAL VSI flawed? I think that's a matter of opinion, but the fact remains that many libraries have to work with both file and memory APIs. If a library is based on Qt, it would be nice to be able to make an abstract file system and be done with integration.
  • [Moved] qteacher or so

    6
    0 Votes
    6 Posts
    4k Views
    G
    Thank you alot. I will write you.
  • [Moved] Web server in Qt

    6
    0 Votes
    6 Posts
    8k Views
    V
    I built one library called Tufão: https://github.com/vinipsmaker/tufao
  • Qt SDK

    12
    0 Votes
    12 Posts
    6k Views
    JKSHJ
    Hi chethan7845, Please post your question in a new thread. It is completely unrelated to this one.
  • Data and Picture viewer tool

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • LGPL licensing questions

    6
    0 Votes
    6 Posts
    4k Views
    SGaistS
    AFAIK currently, on iOS the libraries are built statically. It's at least the result of the default build
  • Qt - OpacityMask does not work properly

    3
    0 Votes
    3 Posts
    6k Views
    S
    I found the problem! Your mask object size must be same as source object. See a sample: @import QtQuick 2.1 import QtGraphicalEffects 1.0 Rectangle { id: root width: 600; height: 450 Rectangle { id: sourceObj anchors.fill: parent Column { anchors.centerIn: parent rotation: -13 Text { text: "Iran advancing science" font { family: "Segoe UI Light"; pixelSize: 32 } } Text { text: "Persia was a cradle of science in earlier times. "+"<br/>"+ "Persia contributed to the current understanding of nature, "+"<br/>"+ "medicine, mathematics, and philosophy. Persians made important "+"<br/>"+ "contributions to algebra and chemistry, invented the wind-power "+"<br/>"+ "machine, and the first distillation of alcohol. " font { family: "Segoe UI Light"; pixelSize: 12 } } } color: "skyblue" visible: false } Rectangle { id: maskObj color: "transparent" //Notice! i want to mask only non-transparent area! anchors.fill: sourceObj //Size must be same as sourceObj Rectangle { id: realMask //<----- This is my real mask width: 313; height: 72 anchors.centerIn: parent color: "red" radius: 36 } visible: false } OpacityMask { id: myEffect source: sourceObj maskSource: maskObj anchors.fill: parent } } @ Good luck!
  • General direction question: OpenGL/Qt Quick

    3
    0 Votes
    3 Posts
    2k Views
    J
    Thanks for taking out time to help
  • Just a transformation of coordinates

    2
    0 Votes
    2 Posts
    2k Views
    SGaistS
    Hi and welcome to devnet, Sounds like a feature request to me :) If you think it might be a good idea, you can always fill a feature request on the "bug report system":http://bugreports.qt-project.org Or even better, if you already use Geotrans, you could try to give it a nice Qt interface and submit it to the Qt project
  • Two QTableView as One

    2
    0 Votes
    2 Posts
    2k Views
    M
    Hi, as I said in the other thread, I think your isn't an optimal solution: what's happen if 2 tables aren't enough to show all your data? Could you show a mockup of your solution?
  • Synchronizing multiple Qt/QML Applications

    5
    0 Votes
    5 Posts
    3k Views
    M
    Yes the idea is to have the same qml file ( more or less - I'm still investigating if this is possible ) on each device and each device renders the part for its screen. I think this is easily achievable when the qml has static parts and no animation. I trying to figure out how to make it work when you have animation, simple example: a square that moves horizontally from one to screen to the next... In my example I have a timer that every second moves the rectangle of 10pixel to the right, to make everything work I need to have the two timers of the two devices synchronized... and this is what I'm trying to look in the sources of Qt.... Your idea could be a solution, do you think its feasible? The problem is that when you have a big videowall ( 3x3 or 4x4 ) I don't think a single computer has the power to render at a decent frame rate the whole setup..
  • 0 Votes
    2 Posts
    2k Views
    J
    Hey, I just made a little research and what I found so far: Watch for an added file with QFileSystemWatcher::directoryChanged and printing with QPrinter. I will now try to use those classes and see how far I can get. I then want to show the file that just has been added to the directory with QImage and QLabel. Is there a better way to do this? The button should then be a QPushButton with set alpha value. I will give it a try :) Thank for any comment :P Best, JRS