×

Discussion Board

Search:

Type: Posts; User: Massis_; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Re: My app luancher icon isn't displayed correctly

    OK I did it. I've just save my svg as "plain svg" in Inkscape, default being "Inkscape svg" (don't know the difference). I've converted it to tiny with the official tool, and that's it.
  2. Re: My app luancher icon isn't displayed correctly

    I'll try that, thank teemup. The gradient I'm using comes directly from the Nokia Icon ToolKit, I have followed step by step the official tutorial.
  3. Re: My app luancher icon isn't displayed correctly

    Thanks but I have the same issue even when having converted to svg-t with the converter provided by Nokia
  4. My app luancher icon isn't displayed correctly

    Hi,

    I'm developing a Qt Quick app and have a problem with its icon.

    I've followed the official guidelines to create the .svg. It respects the size limit and is available here:...
  5. Re: ListViewing large datasets: how to load the model dynamically

    So it means :
    1. In QML, to keep my exposed QsqlqueryModel
    2. In Qt, in that class, to deal with dbengine instead of bare qsqlquerymodel

    What do you mean by request queue? I'm new to Qt and...
  6. Re: ListViewing large datasets: how to load the model dynamically

    I think it's a bit more complicated than that. I could have a sql query thread, and it should feed back a model, progressively, via Qsqlrecord for instance. This is the part I don't understand how to...
  7. Re: ListViewing large datasets: how to load the model dynamically

    Thanks all for your answers.

    I've tried threading my model, but I've failed. My QsqlQueryModel exposed to QML is based upon: http://qt-project.org/wiki/How_to_use_a_QSqlQueryModel_in_QML (see end...
  8. Re: ListViewing large datasets: how to load the model dynamically

    You're right. I've discovered indexes yesterday. I've added an index, limited to the columns that the user can select to sort the table. It take more time to import the file, but it looks a lot more...
  9. Re: ListViewing large datasets: how to load the model dynamically

    Thanks. But my app has an "order by" option as well. If I implement a dedicated timestamp column as in your example, I will have to :1. Sort first by time stamp, 2. Sort the result by the selected...
  10. Re: ListViewing large datasets: how to load the model dynamically

    I know that SQLite doesn't support QuerySize. I could re-implement fetchmore/canfetchmore. But I'm wondering, is it the query which takes time, or the display. In fact, Qsqlquerymodel only grabs 256...
  11. Re: ListViewing large datasets: how to load the model dynamically

    vladestCh
    Do you have any example to do this? I use this class http://qt-project.org/wiki/How_to_use_a_QSqlQueryModel_in_QML (the last generic one) to expose sqlquerymodel to QML.

    Your help would...
  12. Re: ListViewing large datasets: how to load the model dynamically

    Thanks izinin.

    I didn't know about the LIMIT keyword. I understand what you're suggesting, but I struggle to imagine how to achieve a smooth result. If LIMIT is set to 50, and I reach the end of...
  13. ListViewing large datasets: how to load the model dynamically

    Hi

    I have exposed qsqlquerymodel to QML and use listview to view my model.

    My table has, let's say 30 columns, and thousands of rows. I use SQLite.

    Everytime I set a filter/order via ORDER...
  14. Replies
    1
    Views
    448

    Re: Properties are not updated instantly

    I've found the answer, after having read this excellent page: http://qt-project.org/wiki/ThreadsEventsQObjects

    Event loop was blocked by my long process, so I just added

    ...
  15. Re: Program finishes unexpectedly when parsing a huge XML

    I did it, I found the reason why it segfaulted!

    If someone encounters the same situation, here is the solution.
    When parsing the XML, I sometimes capture some attributes. I was using the...
  16. Replies
    1
    Views
    448

    Properties are not updated instantly

    Hi,

    In my project, I have a filemanage which calls my XML parsing QT c++ object.

    GestionnaireFichier.qml calls the importFichier function from Importation.qml

    Until now, I had a XMLListModel...
  17. Program finishes unexpectedly when parsing a huge XML

    Hi,

    In my Qt Quick Project, I've written a Qt C++ object in order to parse a XML file and populate a SQLITE db.

    It works great with an XML containing 5 meta-entities (I'm dealing with geocaches...
  18. Re: XML Parsing and sqlite db building, via C++

    Thanks. In the meanwhile, I have decided :

    1. To write a C++ parser using QXmlStreamReader
    2. To also write the SQL database filling part in Qt C++
    3. And expose this object to QML

    My code...
  19. XML Parsing and sqlite db building, via C++

    Hi,

    After many trials/fails, I've concluded that, in order to parse a huge XML to populate a sqlite db in a responsive way, I need to expose a Qt C++ class, using QXmlStreamReader.

    The example...
  20. Re: how to combine base and relative query in XmlListModel?

    I've tried to use 3 XmlListModels, one after the other (launched in parallel, I had a full memory error on my N8).

    To load a 1000 entity file, I waited for 7 minutes on my N8 to load the first...
  21. Replies
    2
    Views
    878

    Re: Help with namespace in XmlListModel

    OK, it works with this:


    namespaceDeclarations: "declare namespace xsd='http://www.w3.org/2001/XMLSchema'; declare namespace xsi='http://www.w3.org/2001/XMLSchema-instance'; declare default...
  22. Replies
    2
    Views
    878

    Help with namespace in XmlListModel

    Hi

    I'd like to parse this kind of file:



    <?xml version="1.0" encoding="utf-8"?>
    <gpx xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...
  23. Re: how to combine base and relative query in XmlListModel?

    Hi I'm facing the same situation. I've succeeded in filling a sqlite db by parsing a xmllistmodel, but to access to different levels, I can't afford to duplicate lists, when my XML file contains 1000...
  24. Re: Import a .xml to sqlite database and expose it in a ListView

    Well, it's broadly what I need, but not exactly.

    My need is to :
    1. open a file (xml-formatted) and import its contents to a sqlite db
    2. work on that db (and in fact modify the contents; at...
  25. Replies
    2
    Views
    1,878

    Re: Binding 2 QML pages

    Thanks, I've found another way

    1. In Main Window, I define a importer item, based on Importer.qml
    2. Importer.qml has a filename property, and an importFile function
    3. My B.qml (the...
Results 1 to 25 of 30
Page 1 of 2 1 2
×