Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.7k Topics 457.9k Posts
  • Line in QTextEdit

    3
    0 Votes
    3 Posts
    2k Views
    C
    You mean create multiple QTextEdit in QScrollArea for example ? If that's right, I tried but the management of the number of page when deleting rows, for example is not so easy :) Otherwise can you be more specific about your idea? In advance thank you
  • Commercial application for Windows and MAC OSX

    3
    0 Votes
    3 Posts
    2k Views
    L
    You have to pay at least to the I-have-spelled-Qt-wrong jar. Twice.
  • Phonon with vlc backend on Windows

    4
    0 Votes
    4 Posts
    8k Views
    F
    If you still need a solution, download "the phonon vlc dlls":http://people.videolan.org/~jb/phonon/phonon-vlc-4.5-0.4.1-sdk.7z. It's built with mingw, so if your application is building in Visual Studio it won't work for you. Extract the bin folder to your application folder and remove the ds9 dll in the phonon_backend folder. According to jb (the guy who built it), it is that simple. Hope this helps!
  • Does Winid function of Qwidget class will work in different platform?

    2
    0 Votes
    2 Posts
    2k Views
    L
    It is available on all supported platforms but the type of the id differs. See the "documentation":http://doc.qt.nokia.com/stable/qwidget.html#winId. [quote]Portable in principle, but if you use it you are probably about to do something non-portable. Be careful.[/quote]
  • [SOLVED] QRegExp exept capture group

    4
    0 Votes
    4 Posts
    3k Views
    M
    tnx a lot! Don't read to that paragraph, i remember so need write some symbol, but what exactly - can't remember. :(
  • 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