Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k Topics 456.5k Posts
  • QT + OSG + Mac focus issue

    1
    0 Votes
    1 Posts
    958 Views
    No one has replied
  • QNetworkReply doesn't emit the signal finished()

    4
    0 Votes
    4 Posts
    2k Views
    T
    Ok. I wanted to see if the reply wasn't finished before your connect (so the signal would be emitted before being connected to your slot). Maybe you can try "QNetworkAccessManager::finished()":http://qt-project.org/doc/qt-4.8/qnetworkaccessmanager.html#finished instead of QNetworkReply signal. I am not sure it will change anything, but I have no other idea :( .
  • MinGW: Plugin DLL not linking to application DLL

    1
    0 Votes
    1 Posts
    972 Views
    No one has replied
  • Mimetype

    2
    0 Votes
    2 Posts
    1k Views
    H
    If you are useing QT5: "See":http://qt-project.org/doc/qt-5.0/qtcore/qmimedatabase.html#mimeTypeForFile
  • GroupBox and RadioButton

    8
    0 Votes
    8 Posts
    6k Views
    S
    You can use "Stylesheets":http://qt-project.org/doc/qt-4.8/stylesheet-examples.html#customizing-qgroupbox for that. eg @ui->groupBox->setStyleSheet("QGroupBox{border: 2px solid red};");@
  • Unable to add widgets to the newly navigated window

    6
    0 Votes
    6 Posts
    2k Views
    S
    thanks alot . i will try the same and get back to you
  • Qt5+libpng.12

    4
    0 Votes
    4 Posts
    3k Views
    niqtN
    i have this issue with qt-linux-opensource-5.0.0-x86-offline.run
  • 0 Votes
    4 Posts
    8k Views
    H
    [quote author="trollixx" date="1355960841"]You should write: @ connect(this, SIGNAL(textChanged(QString)), this, SLOT(upDateSize(QString))); @[/quote] Thanks for the fast reply. The example I was looking at did not have parameters so I missed that.
  • 0 Votes
    4 Posts
    1k Views
    P
    problem is already solved
  • 0 Votes
    1 Posts
    897 Views
    No one has replied
  • [SOLVED]Qt Plugin framework, extend with C++

    3
    0 Votes
    3 Posts
    3k Views
    J
    Hi! Thanks for clearing things up. Currently I'm still on Qt 4.8.3 because I need MinGW compiler ( to lazy to find replacement for unistd.h which VS does not support). But I'm porting to Qt 5. Full control of course is not an option. I did not find suitable words to express myself what I want. I'm currently still planing how I'll implement everything so that there wont be any problems with extensibility. Overall, I solved a lot of problems with some basic logic with combination of XML and Lua ( not QtLua). Thanks! Marked as solved. Regards, Jake
  • Dynamically resize rows in QTableView based on the delegate's editor size

    2
    0 Votes
    2 Posts
    3k Views
    P
    Allow me a gentle bump with a little more info. I realize that I have to use signals and slots to achieve this. My confusion is what signals and slots I should use in all three classes (QTextEdit, QStyledItemDelegate, and QTableView) to do the work. Currently, in the custom QTextEdit class I have connected the textChanged() signal to a custom slot that resizes the QTextEdit as text is added or removed. This indeed works in the table view but the row doesn't resize automatically too so, while editing a cell, the QTextEdit overlaps to the next row. After I leave the edited cell, the row resizes properly. I suppose I will have to connect a signal from the delegate to the resizeRowToContents(int) slot in the QTableView and that's where I could use some help. TIA
  • Odd behaviour on Ubuntu

    9
    0 Votes
    9 Posts
    2k Views
    G
    Ok... Now it seems to work, I just forget the to use the ./ ; I'm sorry but I'm new on ubuntu os. Thank you very much for your support. Have a nice Christmas time!!!
  • [Closed] QTreeView setCurrentIndex() signal ?

    2
    0 Votes
    2 Posts
    2k Views
    T
    No :)
  • 0 Votes
    2 Posts
    1k Views
    marievinM
    "The bug screen shot":http://www.hostingpics.net/viewer.php?id=877624bug.png
  • 0 Votes
    3 Posts
    9k Views
    _
    check "expandsOnDoubleClick : bool property of QTreeView":http://qt-project.org/doc/qt-4.8/qtreeview.html#expandsOnDoubleClick-prop
  • Where can I find the Qt SDK 4.7.3?

    4
    0 Votes
    4 Posts
    4k Views
    F
    Thank you very much to both of you CyberIllusion and QMartin!! That helps a lot :)
  • Help me with graphics!

    6
    0 Votes
    6 Posts
    2k Views
    W
    [quote author="terenty" date="1354875735"] [quote author="wspilot" date="1354874209"]If you consider for the future to also create a Web version, add 3D viewing (terrain/height), lighting, etc., you might consider OpenGL ES. If so, let me know, for I have much that stuff available in my Open Source (aircraft navigation) project.[/quote] Hi, could you provide a link or something, would be nice to have a look :) [/quote] Sorry, I missed your reply. The project is "pilotnavigator":http://sourceforge.net/projects/pilotnavigator/ The oglwindow.cpp contains the (Qt)Gl stuff, esp. the OGLWindow::draw function.
  • How to steal focus on simple mouse click at an empty space of the window?

    3
    0 Votes
    3 Posts
    2k Views
    S
    In addition to the above code you need to emit a signal inside mousePressEvent() like @void MyClass::mousePressEvent(QMouseEvent *event) { if (event->button() == Qt::LeftButton) emit clicked(); }@ where clicked() is a signal declared in .h file eg @class MyClass : public QWidget { Q_OBJECT public: //some declaration ... ... signals: void clicked(); private: Ui::MyClass *ui; };@ and you need to connect signal & slots like @connect(this,SIGNAL(clicked()),SLOT(editingfinished()));@
  • MS VS 2010 HotFix (13-Dec-2012) breaks Qt Creator building

    4
    0 Votes
    4 Posts
    2k Views
    T
    Where are the screen shots? I can't see them on the bug report:-/