2time Posted February 3, 2014 Report Posted February 3, 2014 O problema care trebuie facuta in Qt " Write an application using Qt Creator IDE that displays tables from a SQLite database (see details below) in a GUI (Tip: use QTableView). You must use QxtLogger from QxtLib to log events in a single debug log named debug.log. Use QTabWidget to create two tabs, one for displaying table data and one for displaying the debug.log file in a QTextBrowser. In the first tab you must also display the result returned by a query (see details below) (Tip: use QSqlQuery and QSqlQueryModel). Everything must be done under Fedora OS.The database:name: school.dbtables:students(id int not null, name varchar(10), year int, primary key (id asc))classes(id int not null, name varchar(15), class_room_number int, primary key (id asc))class_rooms(number int not null, primary key (number asc))time_table(class_id int, year int)table contents example:students:1 | student1 | 52 | student2 | 53 | student3 | 54 | student4 | 25 | student5 | 3classes:1 | mathematics | 3452 | biology | 784 | english | 112class_rooms:34578112time_table:1 | 53 | 22 | 3Query: In what classroom do the 5th year students have to go for mathematics class? Result must contain student names, year, classroom number, and class name.For the given example the result should be the one below.student1 | 5 | 345 | mathematicsstudent2 | 5 | 345 | mathematicsstudent3 | 5 | 345 | mathematics"stie careva sau niste tutoriale in care pot invata sa fac asa ceva ? Quote
Active Members MrGrj Posted February 3, 2014 Active Members Report Posted February 3, 2014 (edited) . Aboneaza-te la tipu' asta si parcurge cu atentie tot ce face el. Spor Edited February 3, 2014 by MrGrj Quote
2time Posted February 4, 2014 Author Report Posted February 4, 2014 nu inteleg ce vrea sa zica aicea " and one for displaying the debug.log file in a QTextBrowser" Quote