Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.7k Posts
  • QT framework Error?

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    EddyE
    Please continue your discussions / new information in the same thread. Closing this one.
  • 0 Votes
    2 Posts
    7k Views
    BilbonSacquetB
    Of course a QSpinBox widget is a composition of widgets, in fact 2 widgets the spinbox and it's child the line edit) and the rule is that the upper widget get the mouse event. In case of the spinbox it's the text line widget which takes them. The buttons in contrario aren't child widgets it's just a graphical part of the spinbox. it's rendered by the style (QXxxStyle). To resume if you go on text edit the mouse messages go to it, other areas it is its parent - the combobox which gets them. Now of course you should install an event filter to the line edit but it sound all like an hack, rethink more on the way you will implement and probably there is another to handle your problem without to take the mouse events!
  • Lupdate command and cmake

    3
    0 Votes
    3 Posts
    7k Views
    B
    but this command not perform! why?
  • 0 Votes
    2 Posts
    2k Views
    A
    No, but the documentation contains an example on how do that.
  • QDataStream for general purposes or standard c++ stream ?

    8
    0 Votes
    8 Posts
    4k Views
    A
    Yes, you can read the data again using another toolkit or language. The format of the data is documented. Reading in the data may not be as easy as it would be using Qt again, though.
  • [SOLVED]QUdpSocket & broadcast & Windows7

    15
    0 Votes
    15 Posts
    11k Views
    Q
    I think I understand what the problem was. On computers that I use some older programs are installed and they have changed during installation several system files. By default, on clean Windows everything is working fine.
  • Plugin Issue

    5
    0 Votes
    5 Posts
    3k Views
    G
    If I remember correctly, you will have to build the plugins separately.
  • Subclassing QAbstractEventDispatcher and implementing unregisterTimer.

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Recursive mutex and QWaitCondition

    5
    0 Votes
    5 Posts
    6k Views
    S
    That would work, I guess... It can get pretty messy though. But I think I can make it work using a second non-recursive mutex that is only used to inter-lock my two methods, while the "global" recursive one can still be used everywhere safely... as long as one specific method (illustrated by funcB2 in the example) is not called by another locked method, which should work in my case. Thanks again; I just wanted to be sure I wasn't missing an obvious solution or something.
  • [SOLVED] [Moved] Close Application

    6
    0 Votes
    6 Posts
    11k Views
    V
    :) tnx rokemoon tnx to all :)
  • QSettings dont see all keys

    4
    0 Votes
    4 Posts
    4k Views
    BilbonSacquetB
    I'm using your code with just an extra ';' at the first line :P
  • Caching QIcon

    5
    0 Votes
    5 Posts
    5k Views
    A
    Yes, it does! Thanks, all!
  • Increasing contrast of QImage

    5
    0 Votes
    5 Posts
    12k Views
    BilbonSacquetB
    Contrast in general is not a very simple thing, please check here "Contrast in wiki":http://en.wikipedia.org/wiki/Contrast_(vision) "Histogram egalization":http://en.wikipedia.org/wiki/Histogram_equalization#Histogram_equalization_of_color_images
  • QPainter save() and restore()

    5
    0 Votes
    5 Posts
    3k Views
    G
    Or leave it as a snippet in the "wiki":/wiki/Category:Snippets for the time being :)
  • [SOLVED] String selected by mouse in QTextEdit

    4
    0 Votes
    4 Posts
    6k Views
    J
    your welcome, please mark the thread as solved
  • Spell checker for Qt application Editor

    23
    0 Votes
    23 Posts
    15k Views
    J
    yes and a lowercase l before the lib name right? exactly like i wrote 2 posts before is my call
  • Specify shared library search path at runtime

    8
    0 Votes
    8 Posts
    12k Views
    G
    You can load libraries after the program start only if the program is not "hard" linked against those and does not need them to start up. This is false for all the Qt libs, it usually works for plugins. QLibrary is just a wrapper around the native dlopen/LoadLibrary functions to ease the latter. You can do some tricks if you don't know exactly what version you are loading. Have a look at Qt's SSL support classes, they late-load the SSL libraries, as there are license issues with OpenSSL.
  • QScrollBar remove arrow

    4
    0 Votes
    4 Posts
    8k Views
    BilbonSacquetB
    The drawing/handling of a QScrollBar goes always through the style. Mainly you have no chance to do anything through widget manipulation because there is no children. The only way is through the style, for this you have 2 approachs possible: like you propose using style sheet settings (in fact internally through the QStyleSheetStyle) to define you own QStyle (per ex. inherited of QWindowsStyle).
  • [SOLVED]PDF files how to

    11
    0 Votes
    11 Posts
    6k Views
    L
    It depends. If you create an application just for your company and it is just used internally there is no need to release any source code. But if you release the source code or the product to the public you will have to release the source code under the terms of the GPL as well. IANAL.
  • Crash in void QWidgetBackingStore::sync()

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied