Skip to content

Brainstorm

Stuck? Some ideas just need to be dumped on someone before they can materialize.
460 Topics 3.3k Posts
  • How to change that part of the UI that has been changed by the model

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Can you please recommend a textbook on Qt4

    12
    0 Votes
    12 Posts
    8k Views
    J
    ' C++ GUI Programming with Qt4 ' is very easy, given you have enough knowledge in c++. Don't understand what you find difficult.
  • Video4Linux and Qt ?

    5
    1 Votes
    5 Posts
    5k Views
    P
    Well, I would like to join the dev team. However, I have to find time. I will look for its IRC channel Thanks all :)
  • Brainstorming: MOE (Editor for Writers)

    7
    0 Votes
    7 Posts
    4k Views
    M
    Well, OK, then I forget that one in my file format plans :) Thanks anyway!
  • Off subject, just curiousity, no technical issues.

    6
    0 Votes
    6 Posts
    4k Views
    M
    Glad you posted this. I was also as curious as you are. Will check out the suggestions. thanks!
  • Is this a good case for a QStateMachine?

    4
    0 Votes
    4 Posts
    4k Views
    Z
    Hmmm, one way would be to provide a custom delegate (see [[Doc:QStyledItemDelegate]]) that knows about flashing.
  • [Moved] Run an application by double-clicking on the asociated file

    4
    0 Votes
    4 Posts
    3k Views
    G
    [quote author="hisoft" date="1314093113"]Hi, Thanks for replying. I didn't know that it's not Qt related as i hasn't any idea how to do it. I just started reading the articles you forwarded me to, and it seems to be what i'm looking for ![/quote] No problem, sometimes it's not clear where to post in the first place. We move stuff to the right forum then, nothing you must be worried about too much. If you've come to a solution, feel free to report back here. We'll be glad to hear that we could be of help.
  • [Moved] automatic run

    12
    0 Votes
    12 Posts
    5k Views
    R
    Yeah, I'll look into it once I decide to use such logging, thanks for the input.
  • Qt/Qt Designer (Version 3.x) GUI questions

    28
    0 Votes
    28 Posts
    16k Views
    L
    [quote author="qt-newbie" date="1313106592"]Loladiro, Thanks. I got the button text labels via the QAbstractButton class. Please explain where "queryInterface(nr)" is defined. I am a bit confused. Do I need to write a class/method for this ? Is it a wrapper ? Thanks, Qt-Newbie[/quote] Since I have no idea what kind of interface you have I just put it there to indicate where you have to query your interface.
  • Write into file

    11
    0 Votes
    11 Posts
    9k Views
    M
    And thus, the Muffincycle Party was born with the nomination of it's first candidate. :-)
  • [Moved] My application and it’s plugins

    2
    0 Votes
    2 Posts
    2k Views
    U
    Two years ago I asked myself the same question. My solution: getting the QtCreator source code and study it. QtCreator is exactly the kind of application you descibe in your post. It is very well designed and you can learn a lot from it - especially how to make a modular, plugin based application. Another good example for such a plugin based framework is the "Generic Component Framework":http://www.vcreatelogic.com/products/gcf/. You can use this framework out of the box without the need to design your own. Another great source for learning is the "Qtilities":http://www.qtilities.org/ library.
  • Exposing third-party API to QtScript

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • [SOLVED] (WINAPI!!!) Crash while render HBITMAP (Vista Glow)

    10
    0 Votes
    10 Posts
    7k Views
    S
    code works if I comment call of DrawThemeTextEx It draws may be need to set clipping before call it? OMG! @typedef HRESULT (*PDrawThemeTextEx)( HTHEME hTheme, HDC hdc, int iPartId, int iStateId, LPCWSTR pszText, int iCharCount, DWORD dwFlags, LPRECT pRect, const DTTOPTS *pOptions );@ I forget typedef WINAPI Should be @HRESULT (WINAPI *PDrawThemeTextEx)( HTHEME hTheme, HDC hdc, int iPartId, int iStateId, LPCWSTR pszText, int iCharCount, DWORD dwFlags, LPRECT pRect, const DTTOPTS *pOptions );@ All works!!! Thanks all PS. never ever copy-paste function declaration from MSDN!!!
  • [Moved] CSV File to XML File

    9
    0 Votes
    9 Posts
    8k Views
    G
    I moved this thread to the brainstorm forum, as it's only marginally Qt related.
  • [Moved] Help needed for SQL query

    10
    0 Votes
    10 Posts
    5k Views
    A
    [quote author="loladiro" date="1309941231"]Or something like this @SELECT a FROM (SELECT a, COUNT(DISTINCT b) as c a_b WHERE b IN(1,4) GROUP BY a HAVING c=2)@[/quote] Good, that's what I want.
  • [SOLVED] Generating a UI on the fly, Pt.2

    18
    0 Votes
    18 Posts
    9k Views
    V
    Thanks Andre. I think I know how I'll go about and design this.
  • Somebody for special coding in documentation for deprecated classes?

    11
    0 Votes
    11 Posts
    5k Views
    J
    If one is trying a use a class and looks at the documentation, it is quite obvious. I also understand that Qt documentation provides a list of "obsolete classes":http://doc.qt.nokia.com/4.7/obsoleteclasses.html each version. But unless you're constantly looking to keep the code up-to-date, you might not keep track of it. I usually compile the new version.. fire up assistant and continue working on the client's requirements. Maybe, it would be good to make that page more prominent and have a more in-your-face-visibility web page for it here on devnet. But then again, i don't see too many classes on the list. Anyhoo...
  • [SOLVED -- DON'T WASTE TIME ON THIS THREAD] Background Information

    5
    0 Votes
    5 Posts
    3k Views
    S
    Damnit, curiosity killed the cat again....
  • [SOLVED] Generating a UI on the fly

    20
    0 Votes
    20 Posts
    11k Views
    V
    Of course. I can post a screenshot as soon as I have something interesting.
  • QVector2D, QSizeF and QPointF : they all hold 2 floating point values

    6
    0 Votes
    6 Posts
    6k Views
    A
    I think maintainability is more important than you avoiding an if statement. It is hard to understand what piece of data is where if you use an array to store them. That may lead to bugs in Qt in the future. So please, don't. Adding a convenience function that implements operator is fine by me, but the implementation would basically look like FrankZ's proposal. I am not sure if adding a size to a point should yield another point, but perhaps it should. That would be easy to implement. You might want to supply a merge request containing the patch and a use case and/or other argumentation why this is needed.