One thing the trend of mobile development will change. It will soon jump into cross platform mobile development with native code generation. In this way QT will be a good option as it does support Blackberry too and other embedded platform. In QT what we do is develop the code once and it will cross compile to multiple platforms with least effort. So we have a app ready for IOS , android, Blackberry(10 onwards), and many embedded platforms. For IOS or Android developers, if they want to port there app to other platform then they have to work hard and even if the app is successfully ported they wont get the optimal soln. Example is apportable, what it does converts app to other platform with the constraint that the size of the api for android will increase which to some extend hamper the performance of the system itself. So, i think QT is a good option , build once deploy anywhere...
AFAIK, there's no direct function which can detect it.
There's a simple way, use the "currentCellChanged":http://qt-project.org/doc/qt-5.0/qtwidgets/qtablewidget.html#currentCellChanged signal and check if the focus is currently at the last item.
void MainWindow::on_tableWidget_currentCellChanged(int currentRow, int currentColumn, int previousRow, int previousColumn)
qDebug() << currentRow << currentColumn;
if(currentRow==ui->tableWidget->rowCount()-1 && currentColumn==ui->tableWidget->columnCount()-1)
qDebug() << "End of table reached";
For this you need to connect currentCellChanged signal to the slot on_tableWidget_currentCellChanged(int currentRow, int currentColumn, int previousRow, int previousColumn)
Most of Qt functionality (and I really mean most: probably 98% or so) is identical in the Open Source version of Qt. So you can easily use that for evaluation purposes (or sign up at Digia for a trial license), and then buy the license if your use case requires it and you are happy with the product. Or even do it if you simply want to help Qt grow bigger :)
As i told earlier,there is a problem on GUI that gets struck when database is not opened due to network problem or access problem.So,
I need some suggestions or part of code for my requirement on multithreading. Basically my need is like thread 1 will fetch an data from database and handle that to another thread where it does updating the GUI fields. so thread 2 is exposed to user events from gui.
suggestions would be highly appreciated and eagerly waiting for your replies..Thanks in advance
This is getting off-topic. You can add a QObject to the rootContext (as rootContextProperty), and then use Q_INVOKABLE methods, properties and slots from that object in all your QML files, including to assign the colour. You may loose the benefit of bindings this way, though. I do strongly recommend reading the documentation, as JKSH has suggested.
but during compilation i am geting error "qjson.pro not found". I have searched for qjson.pro in qjson directory its empty.I think I am not geting the complete source code.
can anyone suggest any link from where i can download the full code for facebook qt source.
[quote author="sushant" date="1371810323"]I try to install qt on fedora 15 (32 bit) .Help me to create a serial port application (setting is created baudrate,start/stop,parity,hardware support.) how to download the serial port application http://doc-snapshot.qt-project.org/qt5-stable/qtserialport/terminal.html and install in embedded board[/quote] That example is designed to run on your PC. What do you want your embedded board to do?