From: Norbert Moutarde Date: Sun, 29 Dec 2013 21:30:57 +0000 (+0100) Subject: new file, the png X-Git-Url: https://git.nothing2do.fr/?a=commitdiff_plain;h=95930434d1e3594dbc55f981ad5454c02cce1ff1;p=diary-mobile.git new file, the png --- diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index 863c908..d095089 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -1,7 +1,7 @@ - - - + + + @@ -31,7 +31,7 @@ - + diff --git a/jean_victor_balin_book.png b/jean_victor_balin_book.png new file mode 100644 index 0000000..962ad3a Binary files /dev/null and b/jean_victor_balin_book.png differ diff --git a/mainwindow.cpp b/mainwindow.cpp index d4c3028..4cea0f2 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -317,13 +317,13 @@ void MainWindow::addButtonDB(){ bool ok=0; cmd.append("insert into ui (label, keyword, action) values (:label, :keyword, :action)"); QString cur=way.last(); - QString a=QInputDialog::getText(this, QString("label"), QString("Entrez le label"),QLineEdit::Normal, QString(), &ok); - if ((a=="")||(ok==0))a="default"; - cmd.append(a); + QString a, b=QInputDialog::getText(this, QString("label"), QString("Entrez le label"),QLineEdit::Normal, QString(), &ok); + if ((b=="")||(ok==0))b="default"; + cmd.append(b); a=QInputDialog::getText(this, QString("keyword"), QString("Entrez le nom de la page où il siègera"), QLineEdit::Normal, cur); cmd.append(a); cur.chop(1); - a=QInputDialog::getText(this, QString("action"), QString("Entrez l'action"), QLineEdit::Normal, cur+" "+a); + a=QInputDialog::getText(this, QString("action"), QString("Entrez l'action"), QLineEdit::Normal, cur+" "+b); cmd.append(a); exec(cmd); getButtons(way[way.size()-1]); diff --git a/ui.sql b/ui.sql index 16b8faf..6ef13d2 100644 --- a/ui.sql +++ b/ui.sql @@ -28,7 +28,7 @@ INSERT INTO "ui" (keyword, label, action) VALUES('config','host','settext host ' INSERT INTO "ui" (keyword, label, action) VALUES('config','port','setint port'); INSERT INTO "ui" (keyword, label, action) VALUES('config','user','settext user'); INSERT INTO "ui" (keyword, label, action) VALUES('config','password','settext pass'); -INSERT INTO "ui" (keyword, label, action) VALUES('config','database','settext db'); +INSERT INTO "ui" (keyword, label, action) VALUES('config','database','settext database'); INSERT INTO "ui" (keyword, label, action) VALUES('config','filesave','settext file'); INSERT INTO "ui" (keyword, label, action) VALUES('config','SQLsettings', 'settext SQLsettings'); INSERT INTO "ui" (keyword, label, action) VALUES('config','button', 'settext button');