Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.7k Posts
  • Unable to see variables

    4
    0 Votes
    4 Posts
    713 Views
    K
    I get the same thing on Mac OS X 10.10.1 with QCreator 3.3.0 and Qt 5.4.
  • QDialogButtonBox accepts clicks outside the buttons ( but near to them )

    3
    0 Votes
    3 Posts
    697 Views
    S
    Hi Andre, Thanks for the reply. I checked the behaviour with QPushButton. As you pointed out, I was able to see the issue there as well. I will raise a bug report. Thanks
  • Help to solve an xlsx file with QAxObject

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • [Solved] How can I show a GUI while working on background

    7
    0 Votes
    7 Posts
    2k Views
    R
    Hi, Srry for the late answer but I was busy with other things. Finally I created a new class which inherited from QThread and created both on main, then put there thread1.myconnectfunction(&thread2) which is the function where I put all the connect() needed so both threads can see each other. With that I put the GUI on the mainwindow and the background work on my new class. Thanks!
  • [Solved] How to have a progressbar with movement

    8
    0 Votes
    8 Posts
    6k Views
    R
    Hi, Thank you everybody for your help. As I had so much problems I decided to change my desing to another idea I liked so much too so I just use now a normal pbar. Anyway, I understand what you mean and it's obvious that I'm blocking the threads somehow.
  • QListView selection with mouse

    5
    0 Votes
    5 Posts
    2k Views
    jerome_isAviableJ
    tokafr: there is some mouse event click function assigned for handle them on event. Also, there is some flags for tell the QListView if this event has to select the row and how to do it. After that, there is also many way of handle them: by press mouse button, or by release the button. For exemple, to be able to keep some function allready in place in my QTreeView (like unroll the childs to be shown), i used "mouseReleaseEvent" to handle the click of the mouse. Also, consider that you have to write a class who is an implmentation of your QListView for do it (and then, include this function inside). After handle the event, this give you back an index (this index is also dependent of the flags configuration give to your QListView options), you can use this index from position at event time handle to do something. if you point on index.row(), so you will act on the row of this index item/model. I hope this could help you in what you want to do.
  • How to get windowTitle as shown on the application title bar.

    3
    0 Votes
    3 Posts
    1k Views
    C
    I can't see why this wouldn't suffice: @title = this->windowTitle();@ Nevermind...feel free to delete this post :P
  • Debugger stuck under mac

    2
    0 Votes
    2 Posts
    857 Views
    S
    You've upgraded to the latest Qt Creator ?
  • Qt Creator Target Parameters

    2
    0 Votes
    2 Posts
    542 Views
    W
    Sorry, finally found it - the Run tab on the project settings...
  • [solved] Having trouble linking QML button to C++ class

    8
    0 Votes
    8 Posts
    3k Views
    SGaistS
    Good ! Since you have it working now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)
  • Folder structure within QT project

    5
    0 Votes
    5 Posts
    2k Views
    C
    Hi, If the features of the Projects view is not suitable for you, you can switch to File System view in Edit mode and see all the files and folders in the project folder on the disk.
  • [SOLVED] QML with nested Repeaters, created dynamically

    2
    0 Votes
    2 Posts
    2k Views
    J
    I ended up passing a path string from the c++ side that looks like "/xml/Customer/Order/Product", parsing that in the QML side via JavaScript, and used the Qt.createQmlObject() method to do the nesting. It's not as ugly as I thought it might be, and I agree that it is nice keeping the display code contained in the QML side of things.
  • 0 Votes
    3 Posts
    786 Views
    F
    Thank you very much, that did the trick!
  • Cannot access multimedia widgets in designer (Qt 5.2.1)

    2
    0 Votes
    2 Posts
    850 Views
    C
    Hi, Unfortunately the widgets in the Qt Multimedia module are not available in Designer. You have to use them programmatically in your source code.
  • [SOLVED] Subclass QGraphicsPixmapItem to work with signals and slots

    3
    0 Votes
    3 Posts
    1k Views
    I
    Thanks... then I will.
  • How to get mingw 4.4

    11
    0 Votes
    11 Posts
    51k Views
    R
    ShaoLin, Thank you very much! I searched for it a lot...........
  • [SOLVED] QTableView

    4
    0 Votes
    4 Posts
    1k Views
    G
    Perfect that worked. Thank you very much
  • [SOLVED] Saving custom user settings in Qt

    25
    0 Votes
    25 Posts
    19k Views
    A
    How would you format the color as a QColor entry in an INI type file? I want to read in a value from the file to set the initial color
  • 0 Votes
    5 Posts
    1k Views
    dheerendraD
    You can close this request chaining the subject line to SOLVED.
  • 0 Votes
    6 Posts
    1k Views
    A
    There is different ways to do that. The QPainter::drawImage functions can do scaling for you, or you can use QImage::scaled (or QImage::scaledToHeight or scaledToWidth) to first scale and then paint.