Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.5k Topics 457.3k Posts
  • [SOLVED] Open folder explorer with pre-selected file

    5
    0 Votes
    5 Posts
    10k Views
    M
    [quote author="marsupial" date="1341909697"]Although this might not be very convenient since there are tons of different file managers in use (especially on linux), you could build in support for the most common file managers. For Windows Explorer for example, have a look at the \select parameter http://support.microsoft.com/kb/152457[/quote] Thank you for your help. This pointed me to the right solution, thak you very much! At least on Windows it's perfect. Michele
  • [solved]QVariant to QFont

    3
    0 Votes
    3 Posts
    8k Views
    M
    Works! thanks
  • General Application Guidelines

    3
    0 Votes
    3 Posts
    2k Views
    S
    Thanks for the reply Tobias. I have sent them the Windows 7 certification guidelines as that does provide quite a simple overview. We can't run unfortunately :( I'm stuck with it.
  • QListWidget . First attempts

    15
    0 Votes
    15 Posts
    4k Views
    A
    I am only referring to putting widgets (any widget) in a QGraphicsView (so, using [[doc:QGrapicsProxyWidget]]). Putting a QpushBotton on a QmainWindow makes perfect sense, and has no issues.
  • Edit the icon of QListWidgetItem

    5
    0 Votes
    5 Posts
    2k Views
    A
    Well, that's not all that of a similar way of editing as you can with a string, is it? But yes, that is possible. You'll need to create your own editor for this though. See [[doc:QItemEditorFactory]] as a starting point.
  • [SOLVED] operator ==

    7
    0 Votes
    7 Posts
    3k Views
    I
    [quote author="koahnig" date="1343139525"][quote author="I-sty" date="1343134196"] @bool operator == (const theList & tmp){ if (this == &tmp){ @ [/quote] You are comparing the pointers. Do you like to compare the content? Then you need to compare the members individually. E.g. @class A { int a; int b; public: bool operator== ( const A & rhs) { return a == rhs.a && b ==rhs.b; } }; @ or similar. Otherwise you would need already the operator you are trying to define. NOTE: not tested just typed. [/quote] Thanks very much koahnig. You solved my problem. It's working now.
  • How to...

    13
    0 Votes
    13 Posts
    5k Views
    W
    [quote author="dcbasso" date="1343138037"]I added to .cpp file and appers to fix the problem. Why this is necessary? Thanks Wilk, DerManu and Mr.Universe! Thank you all![/quote] Actually I don't know how is it realy called, at least in English. Or don't remember. (Shame on me!) AFAIK it grows from old good C where you must not just declare static variable but also initialize it. (Probably it's called initialization?)
  • Border arround text

    6
    0 Votes
    6 Posts
    4k Views
    D
    Hi Gerolf, Thanks for your replay. I'm using the technique you mention, the problem is that since the document is already highlighted I must call rehighlight procedure to highlight the rearch result and this technique is very slow in large documents, it will be great to know how the guys in Qt Creator does the trick.
  • [SOLVED] Problem to compile with QtConcurrent with msvc2010 and qt 4.8.2

    5
    0 Votes
    5 Posts
    2k Views
    L
    ok thanks you very much.
  • QMessageBox With french Buttom's label

    2
    0 Votes
    2 Posts
    2k Views
    EddyE
    Have a look at this "FAQ":http://qt-project.org/faq/answer/how_can_i_translate_the_ok_and_cancel_buttons_when_using_the_static_qmessag
  • QToolButton: orange background?

    8
    0 Votes
    8 Posts
    7k Views
    L
    Ok, thanks, I found the information I was looking for in the pseudo-states section of the style sheet reference - I did not know this site before.
  • Qt development process

    3
    0 Votes
    3 Posts
    2k Views
    M
    Hello again! I tried to take as much as I can from Qt Project Wiki but I still have some blind spots: Who (and why?) decide how often releases are, when they happen and which number will they have? (like why we have Qt 4.8 but not 4.9?) What are next steps in each release? (alpha release? beta release? When next release is frozen?)
  • How to get dimensions of video files [Solved]

    6
    0 Votes
    6 Posts
    4k Views
    A
    Done with pleasure ;) Then, please mark the topic as [solved].
  • Bug on adding? [SOLVED]

    11
    0 Votes
    11 Posts
    4k Views
    T
    Thank you Koahnig. I solved it by multiplying the amounts straight away by 100, after they are entered, to skip any floating point calculations (which works for this exercise). Topic is closed for me.
  • 0 Votes
    1 Posts
    758 Views
    No one has replied
  • Highlighting search

    5
    0 Votes
    5 Posts
    2k Views
    D
    Yes, it helps. Thanks.
  • How to get working Qt mysql driver???

    7
    0 Votes
    7 Posts
    7k Views
    D
    I got everything working now. I've compiled the sources following Andre s advice. Thanks
  • Problem with status in QML

    1
    0 Votes
    1 Posts
    834 Views
    No one has replied
  • Sanity tests and Bots

    5
    0 Votes
    5 Posts
    3k Views
    L
    Hi, I have still a question concerning QT tests and WebKit test. Is there any domcumentaiton that is listed what tests are done and what features are tested. I have looked at : WebKit/QtWebKit-2.2.0/Tools/TestWebKitAPI/Tests/WebKit2 but i really don't undertand what the tests are supposed to do. thanks
  • [SOLVED] anchoring items in QWidget as you do with QML

    4
    0 Votes
    4 Posts
    2k Views
    S
    thank you. I will use Qt Animation Framework!