Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.7k Posts
  • Implementing flowgraph inside a flowgraph application

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • [Solved] How to make multi QPushButton to activate slot

    6
    0 Votes
    6 Posts
    5k Views
    D
    Thank you very much for help
  • Negative container size?

    9
    1 Votes
    9 Posts
    6k Views
    T
    I don't know... You guys have a point. But it's only that I'm very used to the standard C++ form, which makes stuff always bad when I gotta convert between containers. I automatically write "unsigned long int" when I deal with loops that have to deal with containers; and I have some classes that have nothing to do with Qt, and some others with QObject that use Qt containers. When I transfer data between them I always fall into the problem of either having warnings in my compilation process, or statically casting my data, which I find unnecessary and annoying up to some level. It just doesn't comply with the standard every standard C++ programmer knows. :-)
  • Spectrum analyzer demo, the HZ is 0 ~ 1000, how to change this?

    21
    0 Votes
    21 Posts
    9k Views
    S
    check this... @if (isPCMS16LE(m_file->fileFormat())) { result = initialize();@ and if (result) { m_analysisFile = new WavFile(this); m_analysisFile->open(fileName); }
  • Using QFileDialog for creating directories instead of files?

    5
    0 Votes
    5 Posts
    6k Views
    A
    QDir does not handle the UI side of things. d2uriel's advise is sound though.
  • How to save and read image in QTextEdit

    1
    0 Votes
    1 Posts
    3k Views
    No one has replied
  • QTableView & QSqlQueryModel :when query changes

    5
    0 Votes
    5 Posts
    3k Views
    S
    nice. Thank u very much
  • Newbie Question, Main Function?

    6
    0 Votes
    6 Posts
    3k Views
    S
    please mark your thread as solved...
  • [Solved]QSortFilterProxyModel dont find in the "folder"

    6
    0 Votes
    6 Posts
    2k Views
    L
    [quote author="Andre" date="1329732295"]I wrote a proxy you might use as inspiration. Depending on the size of your model, it might need serious performance enhancements, but it is a start. Check "this":http://developer.qt.nokia.com/forums/viewthread/7782 topic for details. [/quote] Great information. Thanks.
  • I'd like to highlight keywords in a QTextEdit

    5
    0 Votes
    5 Posts
    3k Views
    C
    Not yet, I was in hurry so I have tried a QScintilla widget it works I can look for words.
  • Make item if QTreeView or QStandartItem unvisible

    5
    0 Votes
    5 Posts
    2k Views
    R
    I already try to use QSortFilterProxyModel and сonfronted with the question(http://developer.qt.nokia.com/forums/viewthread/14401/#74631) No matter what thank you for your help!
  • QFile accessing samba shared file (Qt on linux )

    6
    0 Votes
    6 Posts
    11k Views
    F
    [quote author="saeed144" date="1329729808"]Being a software developer, I have to develop for both operating systems, though I personally prefer linux. It was interesting for me to see how OS can affect the behavior of a Cross-platform framework like Qt. [/quote] Well, the framework cannot give you a totally OS-independent environment, at some point you have to deal with your deploy environment. For instance, Windows allows unit letters (C:) while *nix does not. My opinion is that, in order to be as much portable as possible, your application should not use two different paths but a single one which correspond to either a mount point or a link and is configured at the time the application is deployed.
  • Live Image with Graphicsview

    5
    0 Votes
    5 Posts
    2k Views
    X
    I am sorry I didn't mean to offend anyone, I did study the documentation as well as the chapter on 2D graphics in the C++ GUI Programming book, went through the examples to see if something is similar to what I am looking for atleast with respect to scaling of live images or the like but still could not get the idea. I do not have much image processing experience and am still in the 'getting comfortable' stage in this field and I am not doing this for any commercial purposes, just want to learn as I want to work in the research area of this field. Anyways thanks for your time, I appreciate it.
  • Add QStandartItem with childrens in model

    5
    0 Votes
    5 Posts
    4k Views
    R
    This message show when item already insert in some QAbstractItemView, thats why before you insert this item in new QAbstractItemView you need to take it from old QAbstractItemView
  • 0 Votes
    4 Posts
    2k Views
    A
    No, there is not. The only thing you can do, is subclass your model or build a proxy model that does this for you. There is no concept of nested columns, but you can manipulate the number of columns and what data is in there.
  • Design Advice

    2
    0 Votes
    2 Posts
    2k Views
    F
    Uhm...it is quite hard to give you good advice having so few information. However, assuming each point 1-4 is going to send a query to the database I would start creating a base class, let's say QueryHandler, that has two method to send a query request (via HTTP post I suspect) and to parse the XML document it receives back. Then you can override/implement these two method to customize the behaviors of the class and therefore the implementation details of each point. Doing this you will end up with a class per request and therefore a quite modular system. You could also chain classes, so that request 4 cannot be done before request 1, and therefore doing 4 triggers the execution of 1, and so on.... Just an idea.
  • 0 Votes
    9 Posts
    3k Views
    ?
    is there anybody to help from this problem
  • 0 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    3 Posts
    2k Views
    D
    Thanks a bunch!