{"id":3585,"date":"2012-08-31T19:07:50","date_gmt":"2012-08-31T23:37:50","guid":{"rendered":"http:\/\/blog-j.marcano.net.ve\/?p=3585"},"modified":"2012-08-31T19:07:50","modified_gmt":"2012-08-31T23:37:50","slug":"cargar-archivo-de-texto-con-qfiledialog","status":"publish","type":"post","link":"https:\/\/blog-j.marcano.net.ve\/index.php\/2012\/08\/31\/cargar-archivo-de-texto-con-qfiledialog\/","title":{"rendered":"Cargar archivo de texto con QfileDialog"},"content":{"rendered":"<p>Un ejemplo muy r\u00e1pido\u00a0 de como\u00a0 se puede cargar un archivo de texto en un textedit con <a href=\"http:\/\/doc.qt.nokia.com\/4.7-snapshot\/qfiledialog.html\">QfileDialog<\/a>, luego se extraen las l\u00edneas una a una, y de cada una de ellas se extraen las palabras de forma muy sencilla con la ayuda de la clase <a href=\"http:\/\/doc.qt.nokia.com\/4.6\/qstring.html\">Qstring<\/a>. El c\u00f3digo de ejemplo\u00a0 <a href=\"https:\/\/dl.dropbox.com\/u\/8091274\/ejemplo.txt\">aqu\u00ed.<br \/>\n<\/a><\/p>\n<p><iframe src=\"http:\/\/www.youtube.com\/embed\/2yug-ZX8zg8\" frameborder=\"0\" width=\"560\" height=\"315\"><\/iframe><\/p>\n<p>tomado de:<\/p>\n<p><a href=\"https:\/\/dl.dropbox.com\/u\/8091274\/Qt4-Gu%C3%ADa-B%C3%A1sica.pdf\">QT4 guia b\u00e1sica<\/a> en espa\u00f1ol PDF,\u00a0 (TEMA 9: manejo de cadenas)\u00a0 RECOMENDADO<\/p>\n<p><a href=\"http:\/\/www.zonaqt.com\/foro\/leer-un-textedit-linea-linea\">http:\/\/www.zonaqt.com\/foro\/leer-un-textedit-linea-linea<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Un ejemplo muy r\u00e1pido\u00a0 de como\u00a0 se puede cargar un archivo de texto en un textedit con QfileDialog, luego se extraen las l\u00edneas una a una, y de cada una de ellas se extraen las palabras de forma muy sencilla con la ayuda de la clase Qstring. El c\u00f3digo de ejemplo\u00a0 aqu\u00ed. tomado de: QT4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/blog-j.marcano.net.ve\/index.php\/wp-json\/wp\/v2\/posts\/3585"}],"collection":[{"href":"https:\/\/blog-j.marcano.net.ve\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog-j.marcano.net.ve\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog-j.marcano.net.ve\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog-j.marcano.net.ve\/index.php\/wp-json\/wp\/v2\/comments?post=3585"}],"version-history":[{"count":28,"href":"https:\/\/blog-j.marcano.net.ve\/index.php\/wp-json\/wp\/v2\/posts\/3585\/revisions"}],"predecessor-version":[{"id":3942,"href":"https:\/\/blog-j.marcano.net.ve\/index.php\/wp-json\/wp\/v2\/posts\/3585\/revisions\/3942"}],"wp:attachment":[{"href":"https:\/\/blog-j.marcano.net.ve\/index.php\/wp-json\/wp\/v2\/media?parent=3585"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog-j.marcano.net.ve\/index.php\/wp-json\/wp\/v2\/categories?post=3585"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog-j.marcano.net.ve\/index.php\/wp-json\/wp\/v2\/tags?post=3585"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}