Questions tagged as 'qt'

1
answer

How to use qtwebkit-plugins in my project?

QtWebkit-plugins is a library that provides features for QWebView , such as SpellCheck/Corretor ortografico and Notification Web API .    Read about on:       SpellCheck    Notification Web API...
asked by 04.03.2015 / 21:21
2
answers

How to make a constructor like QObject?

Having a new question about an old question, I want to know how to create a class equal to QObject . Basically, I want to know: How to make a copy constructor that does not accept assignment operators? How to make a class that can de...
asked by 12.02.2014 / 18:16
3
answers

Integer for String

In QT Creator 5, how do I convert Integer to string? In Visual Studio 2012 there was the command: std::to_string(10); But it does not work on QT. I tried: #include <QCoreApplication> #include <iostream> #include <string>...
asked by 24.12.2014 / 14:26
3
answers

How to get a text from a QLineEdit in Qt?

For example, I have a LineEdit , when I push a button I want to get what I wrote in this LineEdit and store a QString .     
asked by 20.04.2015 / 12:30
1
answer

How to extend Widgets length within a QScrollArea?

I'm looking to build a question form in Qt. As there are several questions to be answered, it is necessary to allow the scrolling of the form, so I used a QScrollArea . The questions are all answered in a Likert scale, so I adjusted the...
asked by 22.08.2016 / 21:13
1
answer

C ++ - Sorting particular points of a rectangle in a vector?

I have a project in c ++ where I should map regions of an image using the mouse click. The issue is that I need to get the mapping points in a specific storage order, as in the image below: My problem starts at the moment of storing thi...
asked by 19.08.2016 / 06:27
2
answers

Dynamic / stochastic object allocation in QML

I'm currently trying to do the following in QML at the same time: Dynamic loading of objects previously created a separate file; When doing what is previously described, select objects stochastically For this I am, very basically,...
asked by 26.10.2016 / 12:01
1
answer

Problem in coding Strings Qt

I'm having a problem encoding strings in Qt . When I show something in a QMessageBox or give drawText to paintEvent , my strings are badly formatted, as if they were not in the correct encoding. Here's how it appears...
asked by 15.06.2014 / 04:17
1
answer

Repainting screen every few minutes without crashing - C ++

I have the following situation: I have to repaint the screen every few minutes so that objects on the screen get stuck on account, but this has to happen in a way that the program will not crash. I have tried to make a Thread and call the...
asked by 08.06.2014 / 21:28
1
answer

Resize components while increasing window

How can I resize the components within QWidget when I increase the window? Example, how it works:     
asked by 18.03.2014 / 14:52