Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Italian
  4. Cerco un esempio di data entry semplice tipo anagrafica

Cerco un esempio di data entry semplice tipo anagrafica

Scheduled Pinned Locked Moved Italian
2 Posts 2 Posters 2.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    etognoni
    wrote on last edited by
    #1

    Cerco un esempio di scrittura file tipo anagrafica con una interfaccia grafica, ho installato qt5 e vorrei compilarlo e farlo funzionare anche su windows 8. Non vorrei usare un database complicato ma semplicemente un file di testo. Potete indicarmi quale tutorial guardare e un esempio pratico?

    grazie!

    1 Reply Last reply
    0
    • R Offline
      R Offline
      RoyBellingan
      wrote on last edited by
      #2

      Mmm con file di testo è scomodo, in quanto dovresti usare un csv, o una struttura simile, che altri non è se un database primitivo...

      Vai di sqlite e amen...
      Dentro agli esempi ci stà una rubrica telefonica.

      Edit ho detto due fesserie, il primo è che l'esempio si chiama Address Book Example, il secondo è che puoi usare tranquillamente un
      QList<QPair<QString, QString> > pairs = table->getList();
      QDataStream out(&file);
      out << pairs;

      Per scrivere su file la struttura dei dati...
      Se vedi nell'esempio è tutto documentato benissimo

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved