Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.7k Posts
  • How can we pass arguments while implementing slots?

    3
    0 Votes
    3 Posts
    3k Views
    F
    If you don't want to use the checkable property of the button, your only way to achieve this is to keep the status of the animation (e.g., started = true|false) somewhere else, and each time you handle the clicked() signal you manually toggle the animation status. Another way is to provide two different slots, let say animation_start and animation_stop. In each slot you disconnect the slot itself from the signal handling and connect the other one, so each time the button is clicked one of the two slots handles the signal alternatively.
  • [SOLVED] build error with QT SDK 1.1.3 on Linux

    3
    0 Votes
    3 Posts
    2k Views
    U
    "Qt Bug Tracker":http://bugreports.qt.nokia.com/ has a section dedicated to Qt Creator. Check it out.
  • Qgraphicsscene selecteditems boundingrect returns -nan?

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • User class for QtVariantPropertyBrowser

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • How to move QGraphicsTextItem's text along with cursor.

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Looking for image processing library

    18
    0 Votes
    18 Posts
    11k Views
    G
    I believe the IM/GM guys and the other graphics library folks do know what they are doing. And in doubt, the surely are of more wisdom in that topic than we all together. This discussion is becoming too academic for my taste and I'm out now. Happy bit squeezing to everyone who wants to save some three bytes on his 8 GB workstation...
  • How to get QHelpIndexModel from QHelpEngine?

    10
    0 Votes
    10 Posts
    4k Views
    G
    You can check whether your help collection is prepared correctly by loading it into Qt Assistant. This way you make sure the data you try to load is sane.
  • Detect input for Inplace editor

    4
    0 Votes
    4 Posts
    3k Views
    P
    no, but you can install the event filter on all childs of a widget; e.g subclass QWidget overrinding method eventFilter() (see "there":http://doc.qt.nokia.com/4.2/eventsandfilters.html;) Create a widget of this new type (in qtdesigner create a qwidget and then use promote to... to change is type) put all widget you want inside it; get the list of widgets with "findChildren()":http://doc.qt.nokia.com/4.2/qobject.html#findChildren iterate over the list and use installEventFilter on each widget. You should be fine.
  • [Solved] Tooltip display problem?

    8
    0 Votes
    8 Posts
    6k Views
    P
    In Qt namespace documentation see Qt::WidgetAttribute type
  • SetTabOrder problem

    2
    0 Votes
    2 Posts
    3k Views
    EddyE
    you mention a label. Could be the edit has this label as a proxy. from the docs : bq. If first or second has a focus proxy, setTabOrder() correctly substitutes the proxy. also have a look at "setFocusProxy":http://doc.qt.nokia.com/4.7/qwidget.html#setFocusProxy
  • QSqlRelationalTableModel and setFilter difficulties - possible bug?

    6
    0 Votes
    6 Posts
    10k Views
    Z
    Any progress? I find it incredible that this bug - which makes the documentation on QSqlRelationalTableModel erroneous - has been marked as being fixed for a "future release" for 7 months!
  • Input from text file error !!!

    5
    0 Votes
    5 Posts
    2k Views
    A
    now i know where is the problem...thx vass :D:D
  • SetFontCapitalization does not seem to work?!

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Class QListWidget, method clear() don't work

    5
    0 Votes
    5 Posts
    5k Views
    R
    ohhh, sorry for the trouble. It's work, I did not understand that the items on my listwidget is read from the local database, so when I do clear(), they again returned. thanks, thanks, thanks
  • [SOLVED] closing the whole application on another window

    6
    0 Votes
    6 Posts
    9k Views
    X
    thanks Volker for the explanation. i get it now why the quit() doesnt work. i was stuck on that. Lukas Geyer : thanks, i was thinking about last night that editing my main.cpp would do the trick. Eus : im doing a login dialog first, if dialog is cancel/close as so as the mainwindow.
  • Signal and slot related problem?

    5
    0 Votes
    5 Posts
    2k Views
    P
    ok i will try that thank's
  • Reading .txt file info into variables

    15
    0 Votes
    15 Posts
    20k Views
    M
    You should print an error message if it cannot open the file. @ if (...open...) { ... } else { // tell me about it } @
  • Looking for information on how to read and play an audio CD

    1
    0 Votes
    1 Posts
    798 Views
    No one has replied
  • Problem with style sheets and custom properties

    6
    0 Votes
    6 Posts
    4k Views
    L
    Voted.
  • Problem related to timer?

    3
    0 Votes
    3 Posts
    2k Views
    P
    thank you for your useful post i missed that