Questions tagged as 'qt'

0
answers

Integrate ComboBox with TableView QT

I have a table Courses: create table Cursos( ID_curso int not null auto_increment, Nome_curso varchar (50), primary key (ID_curso) )default charset = utf8; And another table registered: create table Cadastrados( Nome varchar(50), Matricul...
asked by 03.04.2017 / 17:00
0
answers

Google maps API for desktop, and no internet connection

Does anyone know a way to use API from Google Maps for Desktop without an internet connection? I need to map some items on the map, but it is not always that the user will have access to the Internet to load the maps. On mobile this is...
asked by 09.03.2017 / 23:24
0
answers

Project in Qt compiles in Ubuntu but does not compile in Windows

I have a project for college originally produced on linux platform using Qt Creator and I need to migrate it to windows. I tried to compile but the project has errors in a single header file and I do not understand why. Some of the errors are...
asked by 20.10.2016 / 20:30
1
answer

How to convert str to unicode python

I have to do a comparison between 2 items, one is in unicode, and the other is in str, and what is str is an array. for bloqueiosPermanentes in arquivo: self.blocks.append(bloqueiosPermanentes.replace("\n", "")) This is how append is ma...
asked by 19.10.2016 / 16:35
1
answer

Dynamic table in python

I have a problem and I can not identify the error. I am creating a Python PivotTable where it will be populated with database information. The problem is the code is repeating the first line of the sql query: # Cria tabela def tabela(self,l...
asked by 22.10.2016 / 00:57
1
answer

Visual Studio 2015 does not display QString contents during debug / debugging [duplicate]

I'm using Visual Studio 2015 to develop an application in Qt 5. Everything works correctly, but when I try to debug the code and inspect a variable of type QString , the debug does not show the contents (text) of the variable, but yes in...
asked by 18.08.2016 / 15:35
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
0
answers

How to change the background color of a QTableView header?

I would like to know how to change the background color of the (horizontal / vertical) headers of the QTableWidget object in Qt. I already know how to change all headers together, using: ui->tableWidget->setStyleSheet("QHeaderView::se...
asked by 21.08.2015 / 20:37
0
answers

How to render graphics in Qt applications? [closed]

I'm developing a small application to read a serial port. I would like to know how to generate a graph that is updated in real time with two variables, one x (time), and another y (value_serial_id), in C ++ with Qt. Here's an example of what y...
asked by 31.01.2015 / 00:30
1
answer

List data from two tables in tableView

What do I do to list data from two tables in tableView? Database (Example) Sqlite: tb_venda tb_produto tb_valor tb_cliente_id (Id do cliente "tb_cliente") tb_cliente tb_cliente_id (id primary key) tb_nome tb_estado With...
asked by 04.07.2014 / 16:08