Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.8k Posts
  • 0 Votes
    6 Posts
    8k Views
    G
    [quote author="umen242" date="1330330035"]can i install squid in my local pc ?[/quote] Yes.
  • [Solved] XML coded in UTF-8 on Linux

    7
    0 Votes
    7 Posts
    4k Views
    G
    Don't forget to mark the topic as solved then, thanks!
  • Problem: QTableWidget with stylesheet don't scroll items

    3
    0 Votes
    3 Posts
    3k Views
    N
    [quote author="ddriver" date="1330441073"]Way to go, hardcore procedural programming in an OOP language and an OOP framework. I really hope this is not your usual programming practice, just some quick code for illustrative purposes.[/quote] This code is just for example of problem, of course.
  • Using background picture for QScrollBar::handle

    2
    0 Votes
    2 Posts
    3k Views
    T
    Is this even possible, and if not, is there a way to create a similar effect or to somehow reasonably scale the image?
  • Start program center screen on main monitor

    11
    0 Votes
    11 Posts
    8k Views
    A
    This is not the method you are after. Read the section Screen Geometry in the [[doc:QDesktopWidget]] documentation.
  • QTreeView: Inserting row to model breaks sorting (QSortFilterProxyModel).

    4
    0 Votes
    4 Posts
    4k Views
    A
    Interesting... Perhaps you should file a bugreport agains QSFPM?
  • Debug and Release mode

    8
    0 Votes
    8 Posts
    6k Views
    S
    thanx for the information..
  • QDataStream writeRawData question

    5
    0 Votes
    5 Posts
    4k Views
    G
    Why not use the operator<< overloads or, better, use real C++ objects for storing your data (e.g. use a QString or a QByteArray instead of the char array).
  • [Solved] Converting a string to ASCII

    17
    0 Votes
    17 Posts
    18k Views
    C
    Got it already, thanks anyway!
  • [Solved]QFile::exists return true when i choose folder

    8
    0 Votes
    8 Posts
    13k Views
    R
    I guess QFile was a more friendly name than QFileSystemElement. The name may suggest it only deals with what's perceived to the end-user as "files", but it does folders too.
  • QFileDialog - enter key behaviour

    8
    0 Votes
    8 Posts
    4k Views
    R
    For now, I have switched to native dialog too :)
  • [SOLVED] QString and file paths

    10
    0 Votes
    10 Posts
    11k Views
    G
    You can make everything to Platin ASCII by encoding it with, for example, base64. Just make sure to split at the path separators before encoding.
  • 0 Votes
    6 Posts
    10k Views
    K
    When you "list all members of QNertworkReply":http://developer.qt.nokia.com/doc/qt-4.8/qnetworkreply-members.html there is an entry errorString() So this should work @ QString str = reply->errorString(); @ errorString is a member function of QIODevice and QNetworkReply inherits QIODevice.
  • Question about QScriptEngine and JSON.stringify

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • QTableView equally sized and resizable columns.

    3
    0 Votes
    3 Posts
    2k Views
    S
    This mode also does not work, the documentation of this property clearly states this as well.
  • QListWidget::clear() effect on pointers

    6
    0 Votes
    6 Posts
    5k Views
    T
    I was 90% sure, since I called the delete operator and the program crashed, and now I'm 100% sure. Thanks :-)
  • [SOLVED] QMenuBar

    7
    0 Votes
    7 Posts
    2k Views
    M
    Oops. Messed up on the definition of "slot". It works now. Thanks much.
  • QRegExp - Question on defining a regular expression

    3
    0 Votes
    3 Posts
    4k Views
    K
    Exactly what I needed, thanks!
  • QT list question

    3
    0 Votes
    3 Posts
    2k Views
    K
    [quote author="maybnxtseasn" date="1330232961"]If i allocate objects and place them inside a list, will the QList perform the deallocation on the objects i dynamically allocate and place in the list when the QList dies?[/quote] Assuming that you mean having pointers to these objects and place them in QList. It depends on the items in your list, but not in general. If you would use QSharedPointer to store in QList, the objects will be destroyed when those references are the last ones.
  • I can't download New Qt4.x

    10
    0 Votes
    10 Posts
    6k Views
    F
    very very thanks for your answers.