Posts

Showing posts from October, 2014

Qt Snippet: Set background color of a widget

Image
Is possible to easily set the background color of a widget by changing the palette of widget itself.



Qt Snippet: Remove all rows from QTableWidget

Image
QTableWidget is the Qt widget that, as the name suggest, show a table composed by cells able to contain both native field like text or icon and also more complex widgets like listbox, checkbox and so on.



Android.mk: include multiple source files using wildcards

Image
In case your Android project consist in a lot of source files you should, normally, add one by one to the LOCAL_SRC_FILES label and this could be a very boring task to complete. Fortunately there is the possibility to make addition of multiple files using wildcards in a very easy way. Let's go to see how to make it.