Figured it out with below code
item->setText(0, fav1->Name);
item->setText(1, fav1->Link);
Type: Posts; User: ginda1; Keyword(s):
Figured it out with below code
item->setText(0, fav1->Name);
item->setText(1, fav1->Link);
Hi all
I am trying to loop throught a QList and display each record in a treewidget, but i am having no success. I have managed to achieve this using a listwidget but as i need to display more...
Hi achipa
Thanks veyr much for replying i have taken a look at the QSettings documentation but i am a little confused on how to use it to implement a favorites feature (Offline) Could you please...
Hi all
I would like to add "favorites" functionality to my app but i am a little confused on which way to implement this.
There are a few bits of information i want to record, For example: int...
Hi all
I am using the below to take a screenshot of the webview widget.
QPixmap pix(QPixmap::grabWidget(ui->webView));
pix.save("sshot.bmp");
Hi all
I was thinking about ways i could protect the data inside an sqlite database file. Does anyone know if this is possible on symbian! any code snippets would really be appriciated.
Thanks...
Hi sorry for delayed reply. Thanks to everyone who replied. I achieved what i wanted by reading each line into a qlist and accessing the qlist by at index.
I was hoping i wouldnt have to loop to a line instead read a line, by its line number. Never mind. Thanks for your reply.
Hi all
I am currentley reading in a line of text from a text file using the below code:
QFile settingsfile("file.txt");
settingsfile.open(QIODevice::ReadOnly | QIODevice::Text);
...
Hi
This is how i did it.
MainWindow w;
w.showFullScreen();
Hi all
I have my mainwindow which has a couple of widgets on there (stackedwidget, Lineedit, listwidget, pushbuttons)
I have set the layout to the Grid layout but the lineedit and listwidget is...
Thanks for your reply, do you know if the sqlite3 library used on Nokia devices has been compiled with FTS3/4 support? or will i have to compile a custom version of the library?
Wouldnt that just be as simple as changing the keypad from the toggle keypad button on the keypad itself? If you want a specific type of keypad to pop up i would think that could be done but i have...
Hi amol_benare60
I have never done adaptive search i did something similiar that suited what i needed. I connected a textchanged signal from the Qlineedit to send the Qstring to a search function...
Hi all
A few days back i was having problems searching from my sqlite database. But i would like to hopefully discuss one of those issues today and get your advice and feedback.
My database was...
Sorry jakoskin that was a typo, i have updated the below.
I am having issue now that i cannot resolve and could really do with some help. When i manually created the directory E:/resource/Fonts and put my ttf font in there after restarting the device the...
Right....i manually copied the ttf font into E:/Resource/Fonts and restarted device and it worked....i must have forgot to restart the device earlier in my attempts and caused myself a right...
Hi Jakoskin
Thanks for your reply. I am actually using font in my css stylesheets.
#MainWindow {
}
QListWidget {
border: 3px solid rgb(77, 77, 70);
Hi again
I am trying to install the font when the app gets installed but it doesnt seem to be working. I have even tried to install the font to every possible location so that it may get picked up...
Sorry another quick question i have been using / for my paths in the app but you have stated this Z:\resource\Fonts.
does symbian recognise
Z:\resource\Fonts
and
Z:/resource/Fonts
Hi Petrib
Thanks for replying. I am not planning to overwrite the system fonts just add one or two that my app can use to display text.
Kind regards
I need to install a font along with my app and was wondering where the system fonts are on a nokia device and if that directory changes for the various nokia devices.
Kind regards
Hi again
If i create a new sqlite db and add a table with a few records the app searches fine, but with my db it doesnt work?
My db has the following points to consider:
17 tables
48mb in...
I have tried with absolute path and i have also reduced size of db file to half its size and still same issue. I have searched google regarding the size of an sqlite db and it can be even bigger than...