Posts by carlosgoes2008 • 79 points
5 posts
-
3
votes1
answer196
viewsQ: How to use Qvector<Qvector <double> as matrix?
In the mainwindow.h have: private: QVector<QVector<double> > numbers; //Variável que será minha matriz public slot: void realizar_calcs(QVector<QVector<double> >…
-
1
votes1
answer312
viewsQ: Validate a Qlineedit to only take Double
I’m using the QDoubleValidator data = new QDoubleValidator(0.00, 1000.00, 2, lineEdit); However, when inserting the actual value in the lineEdit he does not resort to the point (.) as decimal and…
qtasked carlosgoes2008 79 -
1
votes2
answers2314
viewsA: The method openOrCreateDatabase(String, int, null) is Undefined for the type Bancodedados
The main reason for creating this class for creating and manipulating databases is reuse it and what’s more this class didn’t need to extend any other! Below My Class after solving the problem.…
-
0
votes2
answers2314
viewsQ: The method openOrCreateDatabase(String, int, null) is Undefined for the type Bancodedados
I’m having trouble creating a class that creates and manipulates the database! But in the method criar() gave a problem saying that "The method openOrCreateDatabase(String, int, null) is Undefined…
-
1
votes1
answer2919
viewsQ: Take data from BD Sqlite without using Listview
My code needs to take the data from the database, in short only the following commands are missing: if (cursor.moveToNext()) { Contato contato = new Contato();…