Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.8k Posts
  • Crash in QTcpSocket inherited class : Help Needed

    9
    0 Votes
    9 Posts
    5k Views
    R
    Well, since most of the surrounding socket code is the same in Qt 5.0, you could have a look at the implementation from there. It might help you out.
  • How to insert many items into QListView without making the app freeze?

    22
    0 Votes
    22 Posts
    11k Views
    G
    Because the item views are a bit imperformant when using many item widgets. That's not the main usage they were designed for.
  • QAudioDeviceInfo - no formats available

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Virtual Camera Device

    2
    0 Votes
    2 Posts
    3k Views
    T
    This is that you are looking for: "Canival LiveCam":http://developer.qt.nokia.com/forums/viewthread/12519
  • QDataStream won't work with custom crafted char array

    2
    0 Votes
    2 Posts
    2k Views
    G
    It's most probably a byte order issue. Windows uses little endian, whereas QDataStream by default uses big endian. You should add this right after the data stream instantiation (after line 15): @ ds.setByteOrder(QDataStream::LittleEndian); @ A platform independent way would be: @ #include <QSysInfo> ds.setByteOrder(QSysInfo::ByteOrder); @
  • Recognize ~ in UNIX , with QCompleter

    5
    0 Votes
    5 Posts
    2k Views
    C
    @class UnixFsValidator : public QValidator { public: UnixFsValidator(QObject *parent): QValidator (parent) {} virtual void fixup (QString & path) const { path.replace(QRegExp ("^~") , QDesktopServices::storageLocation(QDesktopServices::HomeLocation)); qDebug() << "Replaced to: " << path; } virtual State validate (QString &, int &) const { return QValidator::Acceptable; } }; @ So I'm wrong again ? This time i even see no output.
  • Suspected Bug in cursor registration with Qt4.8 and Mac OS X

    2
    0 Votes
    2 Posts
    1k Views
    K
    Can you prepare a small example showing the issue. That would help to demonstrate the problem. If you cannot find it on "JIRA, you probably should file a bug report there.":https://bugreports.qt-project.org/secure/Dashboard.jspa Please post a link here so that people can watch and vote your bug report.
  • Hand code GUI completely

    29
    0 Votes
    29 Posts
    18k Views
    A
    I agree: Designer-based UI's when possible, and hand-crafted when needed. However, I must say that at time, I also find that I fight with Designer more than I like.
  • How to fix the MDI Window?

    13
    0 Votes
    13 Posts
    7k Views
    M
    [quote author="Lukas Geyer" date="1327754227"]-Do you want to prevent the MDI windows from beeing dragged outside the visible area?- Too slow.[/quote] For that reason but, QMdiArea among child windows overlap, because the case is being generated.
  • QMYSQL equivalent of MYSQL source function

    2
    0 Votes
    2 Posts
    2k Views
    G
    There is no built-in method for this. You will have to read the file yourself into a QString and pass that to the prepare method of a QSqlQuery.
  • Restrict QGraphicsLineItem movement

    5
    0 Votes
    5 Posts
    4k Views
    A
    [quote author="cincirin" date="1327748569"]If you want to add QGraphicsLineItemMember object to scene you need to use "QGraphicsScene::addItem":http://developer.qt.nokia.com/doc/qt-4.8/qgraphicsscene.html#addItem @ QGraphicsLineItemMember* lineItemMember = new QGraphicsLineItemMember(); pq_scn->addItem(lineItemMember); @[/quote] works perfect, thank you!
  • How to detect available proxy server on network

    2
    0 Votes
    2 Posts
    2k Views
    A
    Will QNetworkProxyQuery return us the proxy sevrer details available on network, similar like what we have in Mozilla browser "Auto detection of proxy sevrer seetings".
  • Handling shortcut() in keyPressEvent

    9
    0 Votes
    9 Posts
    6k Views
    L
    BTW, I've just found a real example of what I originally wanted to do. Under Windows, you can adjust the behaviour of how files are displayed. For example, there is a checkbox to make Windows show hidden files in folders. If you click on that checkbox, a message window pops up, asking for confirmation. Here you can see it with images: http://www.sevenforums.com/tutorials/394-hidden-files-folders-show-hide.html It seems that my original idea is not that a bad GUI behaviour...
  • What is the class of the children of a QMenu?

    13
    0 Votes
    13 Posts
    6k Views
    A
    Unless you want to reimplement QMenu itself, and do the rendering yourself: yes, it is.
  • CSV format!

    4
    0 Votes
    4 Posts
    3k Views
    K
    will do, thanks both of you guys! Greetings!
  • [solved]delete row not deleting :(

    5
    0 Votes
    5 Posts
    2k Views
    K
    Thanks for sharing your solution.
  • Connection won't reset

    1
    0 Votes
    1 Posts
    946 Views
    No one has replied
  • Qt/3D vs Quick3D (git)

    4
    0 Votes
    4 Posts
    3k Views
    B
    Look for the qtquick3d subdir in the qt5 package ;)
  • Windows within windows within windows...

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • String in titlebar becomes rubbisch after translation (font problem?)

    5
    0 Votes
    5 Posts
    2k Views
    G
    The window titlebar uses the font that is set in windows settings. If this font does not support hebrew (like most english windows do not by default) you see rubbish.