Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.4k Posts
  • Windows 8 Support

    30
    0 Votes
    30 Posts
    34k Views
    SGaistS
    Yes indeed, it is
  • [SOLVED] -Difference between QTextStream and QString

    3
    0 Votes
    3 Posts
    2k Views
    P
    Thanks again Leonardo.
  • [SOLVED]-Pointers- When to use them

    3
    0 Votes
    3 Posts
    785 Views
    P
    Thank you for the reply.
  • How update QStringListModel and combo box after initialization

    5
    0 Votes
    5 Posts
    2k Views
    M
    Hi, I had same problem as your. you can get the pointer of the model by calling model() method on the combobox at this point, you have two opportunities: ** if you have the displayable datas from another, you can reset the stringlist on the model ** simply insert a new row by calling the insertRow Regards, Norbert
  • [SOLVED]Trying to use a bool when pressing a button

    3
    0 Votes
    3 Posts
    823 Views
    D
    Thank you for your help! :)
  • Performing cross-platform calls to php from Qt5

    4
    0 Votes
    4 Posts
    2k Views
    SGaistS
    "This":http://forums.devnetwork.net/viewtopic.php?t=10924 might help
  • How to maximize and minimize the window by double click

    2
    0 Votes
    2 Posts
    1k Views
    SGaistS
    Hi, Subclass QVideoWidget and reimplement mouseDoubleClickEvent ?
  • Macros for simplifying transferring code from another framework

    4
    0 Votes
    4 Posts
    1k Views
    SGaistS
    Hi, When porting an application like that it can become vital to ensure you didn't broke anything.
  • QSplitter disappears once child widget is hidden.

    4
    0 Votes
    4 Posts
    2k Views
    SGaistS
    You're welcome ! Indeed, collapsed doesn't necessarily mean invisible however you should be able to deduct this from the widget size
  • Check if application is running

    9
    0 Votes
    9 Posts
    9k Views
    SGaistS
    On "gitorious":https://qt.gitorious.org/qt-solutions :)
  • 0 Votes
    4 Posts
    2k Views
    SGaistS
    Was textChanged triggered only once or repeatedly with your original code ?
  • How to load a text file from a web server

    6
    0 Votes
    6 Posts
    1k Views
    SGaistS
    You are missing the Q_OBJECT macro to use signals & slots. Don't forget to run qmake after you added it and before you build again.
  • Fit Tree View fit in widget

    2
    0 Votes
    2 Posts
    750 Views
    A
    You need to put TreeView in QLayout (vertical or horizontal)
  • [SOLVED] Questions about implementing custom Model

    2
    0 Votes
    2 Posts
    665 Views
    SGaistS
    Hi, It depends on what type of model you are talking about: list, table, tree ? Depending on that you'll have implement more than just rowCount. Indeed, data is called but it returns much more than the text displayed. Read about the role parameter to see what your model can return in order to customize the view's output. setData is used when you want to modify something in your model, be it from an editor or another source. It's the central point where you modify your model like data is the central point to retrieve its content. No, you don't insert blank rows. This is valid if you are using one of the convenient classes like QTableWidget, QListWidget and friends. There you have to "configure" the underlying model before inserting data in it. Otherwise the view will ask your model for a row count so then it will try to retrieve as much data. Hope it helps
  • Ubuntu.Components 1.1 is not installed

    5
    0 Votes
    5 Posts
    2k Views
    R
    I am actually working on to Develop a mobile app for Ubuntu phones in QML. shall update this post with more details as I find out..
  • [SOLVED] Best method for a "recursive QListView"?

    4
    0 Votes
    4 Posts
    1k Views
    T
    OK, so after reading up on stuff for a while I think I know what I need to do, I really do not want to switch to a database file, and then I realized that the QSqlTableModel is just an implementation of QAbstractItemModel, so I think what I need to do is make my own implementation of QAbstractItemModel that can filter and display only what needs to be displayed at a given time.
  • Plotting points connected by lines on graph

    2
    0 Votes
    2 Posts
    1k Views
    GianlucaG
    If you are using QCustomPlot, why you don't use their forum ? http://www.qcustomplot.com/index.php/support/forum
  • Taskbar icon different from the icon of the window

    17
    1 Votes
    17 Posts
    14k Views
    R
    Finally, I get it! Thank you for your patience.
  • A question about QComboBox::setCurrentIndex

    3
    0 Votes
    3 Posts
    4k Views
    H
    Yeah, you are right. I've figured out the question by modify the xml file. thanks~~
  • QScrollBar Stylesheet not working with Qt 5.3.1

    7
    0 Votes
    7 Posts
    3k Views
    J
    The compiler is the only difference besides the Qt version! As I said, the stylesheet for QScrollBoxes works fine for Qt versions < 5.3!