Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k Topics 456.4k Posts
  • QHelpSearchResultWidget

    5
    0 Votes
    5 Posts
    2k Views
    O
    bump... still lost on how to populate the result widget. There don't seem to be any functions in any in the qthelp classes for this...
  • QComboBox doing weird things on first show

    20
    0 Votes
    20 Posts
    8k Views
    C
    Maybe DPI ? ... or something else specific to your Win7 configuration
  • [SOLVED] Exec full script by QSqlDatabase

    11
    0 Votes
    11 Posts
    8k Views
    A
    Note that for those corner cases, it may be acceptable to access the API of the underlying driver directly. There may be support for sending multiple statements in one go at that level. Otherwise, perhaps you can look into using Predicate. I believe that that SQL framework does include an SQL parser.
  • 0 Votes
    13 Posts
    8k Views
    D
    The row is not enough, because you have a tree and the hierarchy is also needed. You need to have a QModelIndex of a cell which is close to where you want to go. If you have a QModelIndex of the parent item you can use @QModelIndex::child ( int row, int column ) @ If you have a QModelIndex of a sibling, for example an item in the same row you would use @QModelIndex::sibling ( int row, int column ) @
  • QProgressDialog doubt

    24
    0 Votes
    24 Posts
    21k Views
    D
    Mh, i tried to connect to a not given IP. I want to see the dialog while @ _tcpScoket.waitForConnected(30000) @ is active till it times out. At 30000 ms. In not working code: @ dlg.show() _tcpScoket.waitForConnected(30000) dlg.cancel() @ But in this 30000ms i don't get updates to my gui. Like i expected. But i'm looking for a way, to have my progressdialog running during this 30000 ms without calling waitForConnected from another thread because i don't want to move my socket from the main thread. I think it's not possible?
  • Qt Creator 2.2.1

    3
    0 Votes
    3 Posts
    3k Views
    C
    Yes. I actually downloaded the Qt SDK twice (the second time just to be sure).
  • Simulating of QTouchEvent

    2
    0 Votes
    2 Posts
    3k Views
    M
    First create QListQTouchEvent::TouchPoint touchPoints, and hand it over to the QTouchEvent constructor: http://doc.qt.nokia.com/latest/qtouchevent.html#QTouchEvent
  • 0 Votes
    2 Posts
    3k Views
    G
    Closed. Duplicate of http://developer.qt.nokia.com/forums/viewthread/7403/ You are note likely to get any help if you keep reposting your unanswered questions. Especially if reposted within a day.
  • Macdeployqt erros on mac

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    G
    Closed this thread, it is a duplicate of http://developer.qt.nokia.com/forums/viewthread/7404/
  • QSqlQuery and Umlauts

    7
    0 Votes
    7 Posts
    4k Views
    D
    I lost overview what the status of the issue is. One driver delivers correct results the other doesn't, is it like this? Then it is a obviously a driver issue. Maybe you want to start a new thread where you present the results of your research so far.
  • [SOLVED] Qt Creator and debugging Qt sources

    11
    0 Votes
    11 Posts
    15k Views
    H
    You're welcome. Please set your thread as [SOLVED] if you're problem is gone :)
  • Any ideas how makefiles work for opengl

    14
    0 Votes
    14 Posts
    5k Views
    Z
    Take a look at (or get an svn checkout of) this section of my repository to see how I have ported the first few examples from the OpenGL SuperBible book to Qt.
  • [solved] qmake scope based on (32 vs 64) architecture

    3
    1 Votes
    3 Posts
    7k Views
    D
    [quote author="Lukas Geyer" date="1309845035"]"How can I detect in the .pro file if I am compiling for a 32 bit or a 64 bit platform?":http://developer.qt.nokia.com/faq/answer/how_can_i_detect_in_the_.pro_file_if_i_am_compiling_for_a_32_bit_or_a_64_bi "Building projects for 32 and 64 bit Windows on 64 bit machine":http://developer.qt.nokia.com/forums/viewthread/5601[/quote] Thank you!
  • Regarding using QFile::readAll

    3
    0 Votes
    3 Posts
    4k Views
    D
    Which kind of question is that? It's not a matter of one-size-fits-all rules. If it makes sense for you (esp. regarding the memory allocation of such a thing) then do it. Just remember to properly decode the bytes of the file.
  • Design approach to feeding model with data

    7
    0 Votes
    7 Posts
    3k Views
    B
    Exactly.
  • QGLWidget docking/undocking problem with PowerVR OpenGL ES 2.0

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Resizing problems with widgets

    4
    0 Votes
    4 Posts
    9k Views
    S
    Hello All, I figured this out. I need to call label->setMinimumSize and label->setMaximumSize. Thanks, -G
  • [Solved]QGraphicsScene | QGraphicsView

    11
    0 Votes
    11 Posts
    10k Views
    L
    The only thing I can think of is that the videowidget might not get its size until after you've put it in the scene. But I still cannot see why you want to use QGraphicsView for this. You can do your own painting on/in any widget. QGraphicsView is great for keeping track of large numbers of individual grahpical items, but does not really help you that much if you just want to put text on top of a video.
  • Delegate not working as expected...

    3
    0 Votes
    3 Posts
    2k Views
    G
    Did you debug it and check, whether the code was reached where you set the validators? The other thing is you have to react on the validators. So what does not work with them?
  • Style of Window

    11
    0 Votes
    11 Posts
    6k Views
    G
    This can be found in the "docs":http://doc.qt.nokia.com/4.7/index.html and "main window examples":http://doc.qt.nokia.com/4.7/examples-mainwindow.html . If you want to add a menu bar or a tool bar to a "normal" qwidget,. you have to add it amnually to a layout like all other widgets.