Questions tagged [qtgui]

QtGui module extends QtCore with GUI functionality. It has collection of classes useful for creating Qt based GUI applications

Prior to , the Qt GUI module was the monolithic container for all things relating to graphical user interfaces in Qt, and included the Qt widget set, the item views, the graphics view framework and also printing. Starting Qt 5, these classes have been moved to the Qt Widgets module. Printing has been moved to the Qt Print Support module. Please note that these modules can be excluded from a Qt installation.

If you use qmake to build your projects, Qt Gui is included by default.

The official Qt documentation can be found here for Qt 4.8 and here for Qt 5.

539 questions
0
votes
1 answer

How to use QtGui in PyQt4 to collect input variables to a python program?

Instead of input flags on the command line, using sys.argv, I want to change my python program so that a GUI with dialog boxes lets users provide answers to some questions. After the "apply" button is pushed I want the dialog GUI to dissapear and…
chriselswede
  • 21
  • 1
  • 5
0
votes
1 answer

Python QtGui: inheritance of variables between classes

I'm very new to GUIs and I have a quick question on inheritance of variables. In my GUI i have two buttons, one selects an xlsx file, the other graphs it. The first class below sets the buttons and selects the file: class…
Dave'o-Telephone
  • 113
  • 1
  • 11
0
votes
0 answers

Why EndPrimitive function sometimes does not work?

Problem Sometimes EndPrimitive function in OpenGL's geometry shaders does not work as I expected- few output primitives are joined together. Details Program I want to draw a shape that consists of lines on each multiplication of given angle and…
BPiek
  • 174
  • 11
0
votes
2 answers

was ue4 made in Qt?

Unreal Engine 4 is a great piece of software. I wondered if anybody knew how the GUI editor was created. Did they use their own technology based on Windows (i doubt it though) or based on something else? Or did they build this with Qt or another…
Wouter Standaert
  • 299
  • 1
  • 4
  • 13
0
votes
2 answers

How to support multiple language in Qt Based Application

I am trying to develop a Qml based QT application which will support multiple languages.In the application there will be drop down list from where on select of language whole language family of the application will be changed.Can anyone help me on…
0
votes
1 answer

How can I create a template for a button with QtGui (python3.x)

I was wondering how to create an amount(that is taken from a user input) of the same type of buttons that can be controlled individually? I tried to use classes to do this, but it only creates a single button. class GridBtn(QMainWindow): def…
toads_tf
  • 128
  • 9
0
votes
1 answer

How to make adaptive QGridLayout?

How to make QGridLayout adaptive to the size of the window, so that when I resize it, the amount of cols and rows would change automatically?
Dmitry K.
  • 3,065
  • 2
  • 21
  • 32
0
votes
1 answer

How can I change background color for child windows in Qt MDI project?

How can I change background color for child windows in Qt MDI project?
Ufx
  • 2,595
  • 12
  • 44
  • 83
0
votes
1 answer

How can I assign the click event handler as I click the row in QT?

I know how to bind the QSqlTableModel and QTableView to display all the data in the specific table in the databases. Here, it's my code. QSqlTableModel model; QTableView *view1 = createView(&model, QObject::tr("Table Model (View…
Gapry
  • 253
  • 1
  • 7
  • 20
0
votes
1 answer

How to set cursor when it is in some area?

I have some rectangle link area on my widget. What is the best way to make cursor Qt::PointingHandCursor when it is in this area?
Ufx
  • 2,595
  • 12
  • 44
  • 83
0
votes
1 answer

Qt5 mingw - How to add required dlls to run an app standalone?

I made an application with Qt5(mingw). To run this application out of qtcreator, I have to put some dlls like Qt5Widgets.dll, Qt5Core.dll, ... beside the executable file. I tried to add these libraries to project, but "Add Library" option doesn't…
mohammads
  • 228
  • 1
  • 9
0
votes
2 answers

Qt - GUI Database programming

I am using Qt GUI to save data in MySQL using C++. I am using QDateTimeEdit widget for this. Whatever the value changed by user in GUI of QDateTimeEdit, it should be inserted in MySQL. Can anyone tell me how to do that? How to access value from…
A.P.
  • 1
0
votes
0 answers

pyqt4 gui over several threads

Basically i want to make a qtabwidget and start every widget in it in a different thread. So far i tried to emit the widget which does not work cause slot does not support Qwidget. I can however start a widget class in the main thread in which i…
0
votes
0 answers

Customised QThread is possible?

I Want Qt with xenomai patch.So i want to inherit QThread, inside QThread pthread functions will call for Linux. I want to replace with Xenomai RT_TASK. Is it possible?
Nagur Basha Shaik
  • 187
  • 1
  • 1
  • 7
0
votes
2 answers

QCustomPlot misplots during plot resize

I have a QCustomPlot which is graphing incoming data. The plots look great but when I resize the window or zoom or drag abruptly the data get misplotted, as if I dragged a canvas out from under a painter. Why does this happen? I will be trying to…
AKstat
  • 354
  • 3
  • 14