Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 08-01-2021, 05:26 PM   #16
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 717
Karma: 1433328
Join Date: Aug 2008
Location: Auckland - NZ
Device: Kobo Aura H2O, Kobo Forma
Don't forget, Nickel is old. I imagine it still carries a lot of baggage from its Qt 4.6 days, despite the fact they're now using Qt 5.2.

As far as styling goes, geek1011 was (I think) referring to stuff like font face and size, as well as border styles etc. Unstyled widgets on Kobo's are... not pretty.
sherman is offline   Reply With Quote
Old 08-02-2021, 12:33 AM   #17
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 717
Karma: 1433328
Join Date: Aug 2008
Location: Auckland - NZ
Device: Kobo Aura H2O, Kobo Forma
I've done some experimenting today, and managed to subclass a QPushButton and respond to standard QGesture events. Or at least tap events.
sherman is offline   Reply With Quote
Old 08-03-2021, 09:31 AM   #18
halfdozen
Junior Member
halfdozen began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2021
Device: Kobo Libra H2O
Which signals were you able to see when using a standard widget?

I've not played much more as I've been tidying up how my symbols work, the C code was bugging me some what but now I have an `IconButton` class that behaves as a QObject so I can create a button like a Qt class without passing things into functions (pretty much a shim on top of the NickelHook symbols).

With that and some playing around with the Nickel GenericContainer I've been able to inject some new buttons into the `More` menu.
halfdozen is offline   Reply With Quote
Old 08-03-2021, 05:23 PM   #19
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 717
Karma: 1433328
Join Date: Aug 2008
Location: Auckland - NZ
Device: Kobo Aura H2O, Kobo Forma
I've been doing some more experimenting and it appears there's at least some support for QTouchEvent as well, if enabled by setting Qt::WA_AcceptTouchEvents attribute on a widget.

I've only ever seen TouchBegin events though.

And I've discovered that Qt gestures are a PITA
sherman is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Kindle Touch] Calibre Kindle Collections Plug-in Hooks sumpin Kindle Developer's Corner 68 11-30-2012 06:20 PM
Finding my posts melmac Feedback 5 08-30-2011 02:34 PM
Need help finding an e-reader please Pica Which one should I buy? 28 12-19-2010 09:26 AM
Hooks, They Ain't That Easy plumboz Writers' Corner 8 05-03-2010 08:28 PM
Need help finding this book Katosen Reading Recommendations 5 09-10-2009 09:42 PM


All times are GMT -4. The time now is 04:50 AM.


MobileRead.com is a privately owned, operated and funded community.