Questions tagged as 'qtgui'

2
answers

Add QtableView data to the database

Hello. How do I add all data from within tableView to the database? I am adding data in tableView with QStandardItem //TableView count = ui->tableView->verticalHeader()->count(); verticalHeader.append(QString...
asked by 12.04.2014 / 01:06
1
answer

How to get the contents of the selected cell in the Grid QTableView in Python?

How can I get the content of the cell selected in a Grid of type QTableView in Python ? Here is the code below: __author__ = 'Dener' from PyQt4.QtCore import * from PyQt4.QtGui import * import sys class Model(QAbstractTableModel...
asked by 02.09.2015 / 01:01
0
answers

Visual programming QT C ++

I have a job for college and would like the help of the veterans at one point. I want to create a block with inputText, checkbox, and reference frame combobox. UsingforexampletheQGridLayoutiseasytocreate,butIstillneedtolinktwoofthesebyapathC...
asked by 08.11.2015 / 18:25
2
answers

I connect in the database but the values do not change when I give UPDATE MYSQL Qt C ++

The data is loaded into the table, so I change the data in the table, when I click the button to update, I get the data (even the changes) and save it to the variable, but it seems that when I enter the sql query nothing happens . I need to be ab...
asked by 08.06.2017 / 12:51
1
answer

Update a ComboBox after opening QDialog

How do I update a ComboBox after opening a QDialog? The code below does not update if you have made an update to db. I have to close the application and open it to show the new data: Dialog::Dialog(){ carregar_comboBox(); } void Dialog::...
asked by 29.03.2014 / 19:08
0
answers

How to connect the dialog boxes in QTdesigner and execute py from them?

I'm new to programming in python and I already have some doubts. A friend created two codes for me in py using pu 2.7 , Numpy and SciPy . I have created an interface for these codes but I do not know how to connect them. I c...
asked by 15.04.2016 / 02:22