Is it possible that QClipboard doesnt work? I've copy some text from Mobile Firefox and tried to insert these text in my Application, but the following code doesnt work. On Desktop the problem doesnt exist. ... QClipboard *cb = QApplication::clipboard(); ui->m_key->setText( cb->text() ); ...
Git commit 363f93ca4cee1ca1d7ab2ddebf893ffc996c8919 by BogDan Vatra. Committed on 23/09/2012 at 16:47. Pushed by vatra into branch 'beta2'. Add basic clipboard support. Send right click on long press touch. M +39 -2 src/android/jar/src/org/kde/necessitas/industrius/QtNative.java M +11 -0 src/android/jar/src/org/kde/necessitas/industrius/QtSurface.java M +39 -1 src/android/jar_4/src/org/kde/necessitas/industrius/QtNative.java M +14 -3 src/gui/widgets/qlineedit.cpp M +92 -2 src/plugins/platforms/android/src/androidjnimain.cpp M +8 -1 src/plugins/platforms/android/src/androidjnimain.h A +52 -0 src/plugins/platforms/android/src/qandroidplatformclipboard.cpp [License: LGPL] A +37 -0 src/plugins/platforms/android/src/qandroidplatformclipboard.h [License: LGPL] M +11 -1 src/plugins/platforms/android/src/qandroidplatformintegration.cpp M +3 -0 src/plugins/platforms/android/src/qandroidplatformintegration.h M +2 -0 src/plugins/platforms/android/src/src.pri http://commits.kde.org/android-qt/363f93ca4cee1ca1d7ab2ddebf893ffc996c8919
hi bogdan, just curious , means that a tapandhold will trigger right click so that context menues and similar in qt will work seamless or will it trigger a paste signal? Marco Bernasocchi (mobile) http://opengis.ch On Sep 23, 2012 10:01 PM, "BogDan Vatra" <bogdan@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=304195 > > BogDan Vatra <bogdan@kde.org> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > Status|UNCONFIRMED |RESOLVED > Resolution|--- |FIXED > Latest Commit| | > http://commits.kde.org/andr > | > |oid-qt/363f93ca4cee1ca1d7ab > | |2ddebf893ffc996c8919 > > --- Comment #1 from BogDan Vatra <bogdan@kde.org> --- > Git commit 363f93ca4cee1ca1d7ab2ddebf893ffc996c8919 by BogDan Vatra. > Committed on 23/09/2012 at 16:47. > Pushed by vatra into branch 'beta2'. > > Add basic clipboard support. > > Send right click on long press touch. > > M +39 -2 > src/android/jar/src/org/kde/necessitas/industrius/QtNative.java > M +11 -0 > src/android/jar/src/org/kde/necessitas/industrius/QtSurface.java > M +39 -1 > src/android/jar_4/src/org/kde/necessitas/industrius/QtNative.java > M +14 -3 src/gui/widgets/qlineedit.cpp > M +92 -2 src/plugins/platforms/android/src/androidjnimain.cpp > M +8 -1 src/plugins/platforms/android/src/androidjnimain.h > A +52 -0 > src/plugins/platforms/android/src/qandroidplatformclipboard.cpp > [License: LGPL] > A +37 -0 > src/plugins/platforms/android/src/qandroidplatformclipboard.h > [License: LGPL] > M +11 -1 > src/plugins/platforms/android/src/qandroidplatformintegration.cpp > M +3 -0 > src/plugins/platforms/android/src/qandroidplatformintegration.h > M +2 -0 src/plugins/platforms/android/src/src.pri > > http://commits.kde.org/android-qt/363f93ca4cee1ca1d7ab2ddebf893ffc996c8919 > > -- > You are receiving this mail because: > You reported the bug. >
Yup, tap and hold will trigger right click and (qt) context menu should appear, still no android native context menu support yet, but I'm working on it ;-) (In reply to comment #2) > hi bogdan, just curious , means that a tapandhold will trigger right click > so that context menues and similar in qt will work seamless or will it > trigger a paste signal? > > Marco Bernasocchi (mobile) > http://opengis.ch > On Sep 23, 2012 10:01 PM, "BogDan Vatra" <bogdan@kde.org> wrote: > > > https://bugs.kde.org/show_bug.cgi?id=304195 > > > > BogDan Vatra <bogdan@kde.org> changed: > > > > What |Removed |Added > > > > ---------------------------------------------------------------------------- > > Status|UNCONFIRMED |RESOLVED > > Resolution|--- |FIXED > > Latest Commit| | > > http://commits.kde.org/andr > > | > > |oid-qt/363f93ca4cee1ca1d7ab > > | |2ddebf893ffc996c8919 > > > > --- Comment #1 from BogDan Vatra <bogdan@kde.org> --- > > Git commit 363f93ca4cee1ca1d7ab2ddebf893ffc996c8919 by BogDan Vatra. > > Committed on 23/09/2012 at 16:47. > > Pushed by vatra into branch 'beta2'. > > > > Add basic clipboard support. > > > > Send right click on long press touch. > > > > M +39 -2 > > src/android/jar/src/org/kde/necessitas/industrius/QtNative.java > > M +11 -0 > > src/android/jar/src/org/kde/necessitas/industrius/QtSurface.java > > M +39 -1 > > src/android/jar_4/src/org/kde/necessitas/industrius/QtNative.java > > M +14 -3 src/gui/widgets/qlineedit.cpp > > M +92 -2 src/plugins/platforms/android/src/androidjnimain.cpp > > M +8 -1 src/plugins/platforms/android/src/androidjnimain.h > > A +52 -0 > > src/plugins/platforms/android/src/qandroidplatformclipboard.cpp > > [License: LGPL] > > A +37 -0 > > src/plugins/platforms/android/src/qandroidplatformclipboard.h > > [License: LGPL] > > M +11 -1 > > src/plugins/platforms/android/src/qandroidplatformintegration.cpp > > M +3 -0 > > src/plugins/platforms/android/src/qandroidplatformintegration.h > > M +2 -0 src/plugins/platforms/android/src/src.pri > > > > http://commits.kde.org/android-qt/363f93ca4cee1ca1d7ab2ddebf893ffc996c8919 > > > > -- > > You are receiving this mail because: > > You reported the bug. > >
nice, so i can get rid of some if def :) and no worries about nstive context menu... there are much mure important menu to me:) Marco Bernasocchi (mobile) http://opengis.ch