Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.8k Posts
  • QTreeView drag & drop issue

    5
    0 Votes
    5 Posts
    4k Views
    G
    [quote author="Marcus Frenkel" date="1328951033"] What's the use of QStandardItem::setDropEnabled then? When this is set to false the item still accepts drops.[/quote] Sorry, I don't know that. We never used the standard item models in our projects together with DnD.
  • Automatic resizing of window

    2
    0 Votes
    2 Posts
    2k Views
    K
    welcome to devnet Is the slot shrink() activated by the singleShot? Since there might be timing issue, you might want to give a bit more time before firing the shot.
  • [solved] Extracting information from a password protected web page.

    15
    0 Votes
    15 Posts
    8k Views
    M
    After monitoring http request with the help off google chrome I see that a http post request is made by a script.I see that it’s initiator is game.js:17 (a javascript).Can I make a http request to that script or how can I do it?Is it necessary to use XMLHttpRequest?The scripts takes a user and a password and returns a form and there is some information in that form that I need to login.
  • [SOLVED]How to handle our own signals and slot.

    7
    0 Votes
    7 Posts
    5k Views
    S
    kinjalp and xfreax thanx 4 ur reply, i will surely try this and let u know..
  • Widgets promoting

    3
    0 Votes
    3 Posts
    2k Views
    D
    Thank you for you answer. So, as I understood, I'd better re-implement the widget and put in all properties, what I want, than I'd promote it. Am I right?
  • QString and int or double check

    2
    0 Votes
    2 Posts
    11k Views
    L
    @ bool isNumeric = false; foreach(const QString &string, str) { string.toDouble(&isNumeric); // if you need support for the thousands // group seperator use QLocale::toDouble() if(isNumeric == true) { ... } } @ Brain to terminal. Not tested.
  • Update on earlier post - custom widget as an QItemDelegate

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Trying to cast QPointer<Type1> to QPointer<Type2> with no joy

    7
    0 Votes
    7 Posts
    6k Views
    P
    You're welcome :)
  • Audio player for WMA DRM

    2
    0 Votes
    2 Posts
    2k Views
    W
    I'll just try to make it clear, i need to play protected audio files, Microsoft's DRM and apple's DRM and a specific DRM which i'll define. In this case is phonon suitable for me ? Any link about this topic, any advice, any idea are welcome.
  • Lupdate hangs forever

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Reloading QML image

    2
    0 Votes
    2 Posts
    2k Views
    T
    Hello, How do you realod image? If you just set source property to the same value. It won't work. Read "this thread":http://developer.qt.nokia.com/forums/viewthread/7093/ for some ideas how to solve your problem.
  • Is signal-slot blocking.??

    7
    0 Votes
    7 Posts
    10k Views
    A
    miroslav is right, but I guess the more correct answer is: it depends on what connection flag you used when you connected the signal and the slot. The default flag will result in different behaviour in threaded and non-threaded cases.
  • Blur effect in title bar

    4
    0 Votes
    4 Posts
    3k Views
    F
    One more thing, if you want to, later (in 8 hours) I'll be able to share my code with you.
  • Making movable QRubberBand be only movable within parent widget

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    3 Posts
    8k Views
    N
    Thanks a lot for your help. That's exactly what I've been looking for. bq. BTW, it looks like kanban board :) Well, as it so happens... ;)
  • How threading is implemented in Spectrum Analyser

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    1 Posts
    3k Views
    No one has replied
  • QInputDialog In Main

    5
    0 Votes
    5 Posts
    3k Views
    S
    for exit() i mean the stdlib function. [quote author="Lukas Geyer" date="1328868453"][quote author="stuk" date="1328868151"]compare the output with "Text to Exit" and call exit() ?[/quote] QApplication::quit() and QApplication:exit() does nothing if there is no event loop running (ie. before QApplication::exec() is called).[/quote]
  • Show a window before calling a terminal command in python

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Why cant i use QFileSystem, treeView inside mainWindow?

    3
    0 Votes
    3 Posts
    3k Views
    A
    ok thank u