Questions tagged as 'qt'

1
answer

Capturing date from QDateEdit

I need to get the date of a QDateEdit . I made the designer using Qt Designer, in properties enabled calendarPopup and displayFormat to dd/MM/yyyy . I want to capture this date to insert into a query. I've tried us...
asked by 25.10.2016 / 01:57
1
answer

QT - Display WebCam on a QLabel using another Thread?

Hello, I'm doing a project in C ++ using GUI QT. In the project in question I need to display images of a camera in the window, but in doing so, the performance of the window is very compromised, all other buttons and features that it includes i...
asked by 03.08.2016 / 17:44
1
answer

Reset a QAbstractListModel

I would like to know how do I reset or clear the data of a QAbstractListModel? I'm using version 5.6 of Qt. The problem I am having is when I try to perform an update of the information that is in the Model, where I need to clean the data and...
asked by 16.06.2016 / 16:00
1
answer

Qt QDebug does not work (does not display messages)

I have the Fedora 23 operating system and I use Qt to develop graphical interfaces (GUI), however my debugger does not work: I'm trying to print messages on the console using qDebug () , but nothing is displayed . I've tried everything and...
asked by 28.04.2016 / 19:13
1
answer

Use of delete function - Inheritance of a QList

When compiling I get the following error, in QList . I'm using Qt 5.6. error: use of deleted function 'Vitamin: Vitamin (const Vitamin &)' current-> v = new T (* reinterpret_cast (src-> v)) error: use of deleted function 'Vitamin:...
asked by 08.06.2016 / 15:57
1
answer

Problem compiling python in pyqt libraries, with py2exe

I'm trying to compile with py2exe , but when I'll compile from the error. I will give an example of this error, with the programs Python 2.7 64 bits, pyqt4 for Python 2.7, and py2exe for Python 2.7. Follow the example: Crea...
asked by 03.02.2016 / 01:24
1
answer

Problem with FileDialog in QML

I'm trying to use the FileDialog component in QML I've done exactly the same code that is in the Qt documentation on the link and this code did not show FileDialog and returned the error: QFileInfo::absolutePath: Constructe...
asked by 18.11.2015 / 14:40
1
answer

QT disable QPushButton

I created a form with several QPushButtons and linked a SLOT to each of the buttons. At this moment I have, for each button, a SLOT different. Although each button performs a different function, part of the process is equal regar...
asked by 15.07.2015 / 22:01
1
answer

Qt5 creating a QAction that calls an info window

I'm developing a solution in qt5.4.2, in my menu bar, when clicking an option, a new window should open with that information. I was thinking of doing a QDialog , but depending on it would be complicated to edit some things and put imag...
asked by 14.06.2015 / 16:58
1
answer

"Finished" signal of a QProcess is not called

In my project I have a Main responsible for executing a QThread and in this it runs QProcess responsible for creating a postgreSQL backup file. Well, the main works correctly by calling QThread which also works by...
asked by 03.02.2015 / 13:06