Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k Topics 456.4k Posts
  • Make a label editable after clicking on it. How?

    12
    0 Votes
    12 Posts
    17k Views
    B
    Sorry for the delayed response. Oh yeah. I see your point and you are indeed right. Unfortunately, I can not do that at the moment because I will need to change a lot of stuff and I am not the only one working on this project. But I will consider this on the next update of our application. For now, as Andre suggested, I inherit from QLineEdit my own class and I do some stylesheet "magic". It actually works fine. But yet, I find the QTreeWidget solution a better idea. I will give it a go soon! Thank you all guys! Cheers!
  • Tessellation QShader Support

    30
    0 Votes
    30 Posts
    15k Views
    Z
    Thanks. I'll take a look at it when I get a chance (probably be the weekend). From what you have said, it looks like Qt could do with an overhaul when it comes to support for newer versions of OpenGL. Your machine must generate a lot of heat with 2 x 480's in it ;-) I only have a lowly 8800GTS at the moment but I want to build myself a new machine sometime later this year.
  • Generic advice: capture core dump

    6
    0 Votes
    6 Posts
    9k Views
    F
    The only way to be portable amongst Mac / linux / windows is to rely on 3rd party : otherwise, you'll end up writting #ifdef code everywhere (and breakpad is definitely a good idea)
  • How to disable a button in the slot function?

    23
    0 Votes
    23 Posts
    37k Views
    R
    Yes.Suppose If I have 'Nth' subwindow that is on click of 'Nth' button(All the 'N' buttons are on the same window).In that case,I want all the buttons to be disabled apart from the one I clicked.
  • Tranparent combobox background

    8
    0 Votes
    8 Posts
    5k Views
    G
    Hm, the I have currently no idea why it is that way, sorry...
  • 0 Votes
    10 Posts
    6k Views
    B
    My real problem is that I am not using gradient but PNG images composed of gradient from opaque to full transparency. Then I have no idea how to render these images without the non-dithering effect then.
  • How do I get SMS's MessageId with PC Suite Connectivity API?

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Problem on char on different windoes machine

    6
    0 Votes
    6 Posts
    2k Views
    A
    How did you conclude that it did not work? Did you inspect the actual frase_conferma string before sending it? Just trying to help you pinpoint the precise point of failure here... Note that both toLatin1() and toAscii() may be dangerous to use, as you seem to use data in that string that comes from user input directly or indirectly. What happens if one or more of these strings contain characters from another character set?
  • QQueue to QByteArray? C# to C++

    21
    0 Votes
    21 Posts
    15k Views
    A
    Thanks again, ive successfully (after a few more issues that I sorted out) gotten it to stream from my phones camera to the smartcam server. Next step, making the GUI. Once all the bugs are fixed, step after that will be looking at recoding my own smartcam server/webcam filter to support higher resolutions and maybe other things, which I have a feeling will be a lot more trouble than this was.
  • [Solved] set myapp.app icon

    5
    0 Votes
    5 Posts
    4k Views
    P
    Ok, perfect! now it work. Thank you :)
  • Centralwidget: as small as possible

    2
    0 Votes
    2 Posts
    2k Views
    G
    the central widgets get always the complete space of the main window which is not covered by dock areas. You might want to add some spacers to "squeeze" the label into the desired place.
  • DOMLSSerializer (from Xerces-C++ 3.0) on QtXML

    2
    0 Votes
    2 Posts
    4k Views
    A
    I am not familiar with Xerces, and I don't know what the code above does exactly. But, did you take a look at that QXmlStreamWriter class?
  • Get MAC address from IP of local network machine

    9
    0 Votes
    9 Posts
    14k Views
    ?
    Code examples for arp -a might be found here... http://beej.us/guide/bgnet/output/html/multipage/index.html
  • GrabFrameBuffer function on Solarix and Windows platform

    3
    0 Votes
    3 Posts
    2k Views
    J
    Hi Andre, thank you for your suggestion. Paint engine is too much for my project. Is there any simple way to do it? What is in my mind now is hide or minimized the print_preview dialog box before grabFrameBuffer and then show or showNormal the dialog box back after grabFrameBuffer. The result that I got is hide() and show() will crash the application. Minimized and showNormal only works on Windows platform. Solaris cant minimized the print_preview dialog box. :(
  • 0 Votes
    3 Posts
    3k Views
    S
    Fixed as per http://bugreports.qt.nokia.com/browse/QTBUG-13179 and http://bugreports.qt.nokia.com/browse/QTBUG-12478. Bug http://bugreports.qt.nokia.com/browse/QTBUG-18241 closed as duplicate.
  • [Solved] Remove System menu bar mac os x

    5
    0 Votes
    5 Posts
    9k Views
    G
    Thanks for the info. I added a "wiki article":http://developer.qt.nokia.com/wiki/OS_X_application_without_menu_bar for this, you'll find some info there on how to change your .pro file to grab up your customized Info.plist automatically.
  • Calendar widget?

    12
    0 Votes
    12 Posts
    10k Views
    R
    cool thanks for the share Andre! I'll start checking it out and maybe work a bit on it, if I make some changes I'll let the author and everyone know
  • How to catch actions with default shortcuts

    5
    0 Votes
    5 Posts
    7k Views
    P
    Very cool, thanks! PAul
  • 0 Votes
    9 Posts
    8k Views
    G
    The program works fine on OS X too. On an older Kubuntu box (8.04) with an old Qt version (4.4.1) there are no warnigs. So, I suggest you go with Tobias' advice and just ignore the glib/dbus warnings.
  • QSortFilterProxyModel - filtering for NULL values

    10
    0 Votes
    10 Posts
    5k Views
    A
    Thanks for letting us know of your results, and sharing your solution.