Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k Topics 456.4k Posts
  • Starting a service on computer startup

    5
    0 Votes
    5 Posts
    3k Views
    G
    You will have to use native Windows API for this. I'd suggest you ask in a respective forum, it's more likely you find someone with that knowledge over there. Oh: And do not forget do do a web search before - use your favorite search engine for that task. You know already what keywords to feed in...
  • Handle press and release with QShortcut

    3
    0 Votes
    3 Posts
    3k Views
    J
    Ok, thanks for the answer.
  • Hide a QDialog

    12
    0 Votes
    12 Posts
    14k Views
    J
    Oops, ok I'll change this right now!
  • All files from folder

    3
    0 Votes
    3 Posts
    7k Views
    A
    And if you prefer to loop (sometimes useful), take a look at QDirIterator.
  • Qt internal window

    3
    0 Votes
    3 Posts
    4k Views
    2
    [quote author="Chuck.Gao" date="1307065183"]Do you want a QMdiSubWindow window?[/quote] yes. that's what I was looking for. Thanks
  • Shortcut of Qt application.exe

    6
    0 Votes
    6 Posts
    3k Views
    EddyE
    Ok, it was not clear to me you wanted to start the exe from code. In that case you need QProcess. There is a similar thread that explains it : "Link":http://developer.qt.nokia.com/forums/viewthread/6145/
  • [Solved]How to call a PHP script on localhost using Qt?

    6
    0 Votes
    6 Posts
    9k Views
    R
    Thanks. Using QNetworkAccessManager and QNetworkReply answered the requirement.
  • Can't change page orientation printing to Brother label printer in Linux

    1
    0 Votes
    1 Posts
    5k Views
    No one has replied
  • Load a arbitrary library

    2
    0 Votes
    2 Posts
    2k Views
    F
    Sounds like "plugins":http://doc.trolltech.com/latest/qtplugin.html.
  • [Solved] Nested QGraphicsItems drawing positions

    8
    0 Votes
    8 Posts
    5k Views
    D
    Thanks again!
  • Difference in release and debug versions

    3
    0 Votes
    3 Posts
    2k Views
    A
    This is not actually problem. I mean I need to know why this happens ? The filename is not empty but the QImage is clear.
  • Drag & Drop and Context Menu problem QGraphicsScene

    11
    0 Votes
    11 Posts
    7k Views
    N
    or can anyone at least show me how the main function would look like,how everything should be called and initialized,please.. thanks
  • QLabel and some mouse click signals

    5
    0 Votes
    5 Posts
    8k Views
    S
    In terms of delivery invoking a slot or calling eventFilter() are both same or with negligible difference with an advance to eventFilter. But in this case the point of interest is how long you spend in eventFilter() hence it depends on the code inside eventFilter().
  • Error in subclassing QAbstractSlider

    13
    0 Votes
    13 Posts
    5k Views
    EddyE
    In the official Qt book : bq. C++ GUI Programming with Qt 4 by Jasmin Blanchette; Mark Summerfield If you google you should find it. Or you could use the docs .....Getting started You should read chapter 5 : Creating Custom Widgets bq. Integrating Custom Widgets with Qt Designer There the author explains with code and pictures the process of promoting widgets.
  • QString conversation

    5
    0 Votes
    5 Posts
    4k Views
    G
    toLongLong () is working fine Thanks a lot
  • [SOLVED] Label overflow?

    7
    0 Votes
    7 Posts
    4k Views
    D
    Now it's time to close this thread, as I set the class back to private, just to try it a second time which I think is still necessary in windows, it worked! :-/
  • Deactivate mouse press event

    3
    0 Votes
    3 Posts
    2k Views
    S
    If you need only one pixmap to be shown at any point of time( if I understood your problem correctly), then why don't you maintain a QGraphicsPixmapItem say currentPixmapItem which is the ONLY pixmap item added to the scene. In the corresponding methods, just set the pixmap of the currenPixmapItem, so that it changes accordingly.
  • Question about lighthouse

    2
    0 Votes
    2 Posts
    2k Views
    B
    Well, nobody answered my question. I guess I can answer it myself after some investigation. It turned out that, which platform plugin to use is determined during runtime, by a function called qt_guiPlatformPlugin() defined under qguiplatformplugin.cpp inside the function, QT checks an environment variable QT_PLATFORM_PLUGIN, and decides which plugin to load.
  • Why the program crash after it call the function of DLL compiled by VC++

    3
    0 Votes
    3 Posts
    3k Views
    C
    From what I see, your funGetCount is declared @typedef int (*funGetCount)(void)@, and exported function from dll is declared @int PASCAL EXPORT J_GetCount(HWND hParent)@ Try to export function from dll as: @int PASCAL EXPORT J_GetCount()@
  • Using QGraphicsItem in DLL.

    6
    0 Votes
    6 Posts
    3k Views
    G
    Im not sure about the blocking point, but I have important additional information. It seems that paintEvent is blocked somehow. Evenmore, when I click left mouse button on some application button nothing is happening, but when next I click right mouse button some events is occures and I see an effect from first left mouse button click and an effect from right button click...Why only right mouse button click force repaint? Im confused...