Top "Qt" questions

Qt is a cross-platform application development framework widely used for the development of application software that can be run on various software and hardware platforms with little or no change in the underlying codebase, while having the power and speed of native applications.

Clear all widgets in a layout in pyqt

Is there a way to clear (delete) all the widgets in a layout? self.plot_layout = QtGui.QGridLayout() self.plot_…

python qt pyqt pyqt4
How to set QWidget width?

How to set QWidget width? I know setGeometry(QRect& rect) function to do that, but in that case I …

c++ qt qwidget
Qt - remove all widgets from layout?

This doesn't seem easy. Basically, I add QPushButtons through a function to a layout, and when the function executes, I …

c++ qt mobile qt4 nokia
Compile a Qt project from command Line

I am developing a application using Qt, the C++ library/framework. Using the QT-Creator I can compile my project just …

c++ qt qt-creator
How to run a system command in Qt?

I have to run a system command in Qt. but I have to give an argument for that command. for …

qt file qt4 system
How to change QPushButton text and background color

I am using following code to connect QMenu to QPushButton. When button is clicked a pull-down menu with multiple sub-menu's …

python qt pyqt qtstylesheets
Qt: How to display a Messagebox when you are within a function?

I'm developing using the Qt Nokia SDK. I'm having trouble displaying the buttons of a MessageBox, when trying to display …

c++ qt button messagebox
Qt foreach loop ordering vs. for loop for QList

When iterating through a QList<T> with a foreach loop, in the tests I conducted the items are …

c++ qt for-loop foreach qt4
How to create a subdirectory for a project QtCreator?

I would like to divide my Qt project into several directories because it is growing pretty large. However, when I …

qt qt-creator qmake
GIF animation in Qt

I have used QGraphicsView, QGraphicsScene classes in order to show a picture in a widget like this: m_Scene->…

c++ qt qgraphicsview