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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-05-2010, 03:44 AM   #1
nbdarvin
Junior Member
nbdarvin began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2010
Device: Palm Treo
Lightbulb Gtk frontend for Calibre

Hello,
I want to improve my programming skills and looking for great project to collaborate, so I want make gtk+ HIG-compliance Calibre port. I looking for mentor, that know much about Calibre internals. I plan use calibre as library
nbdarvin is offline   Reply With Quote
Old 05-05-2010, 07:44 AM   #2
nbdarvin
Junior Member
nbdarvin began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2010
Device: Palm Treo
at first, i need simple snippet of code to print all entryes in current library, for example.
nbdarvin is offline   Reply With Quote
Advert
Old 05-05-2010, 10:26 AM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 35,326
Karma: 12711906
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
A good place to learn about the interface to the database is in the file

calibre/library/cli.py

which implements a simple command line interface to the database.

Then look at the files

calibre/gui2/library.py

and

calibre/library/database2.py
kovidgoyal is offline   Reply With Quote
Old 05-05-2010, 01:45 PM   #4
Dave Berk
Fanatic
Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.Dave Berk can fool all of the people all of the time.
 
Dave Berk's Avatar
 
Posts: 574
Karma: 138556
Join Date: May 2006
Device: PRS505
Why would you need to create a GTK front end to Calibre. Correct me if I'm wrong, but Qt is already able to emulate GTK thems & styles.
Dave Berk is offline   Reply With Quote
Old 05-05-2010, 02:07 PM   #5
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,979
Karma: 350515
Join Date: Feb 2008
Device: Kobo Aura
Quote:
Originally Posted by nbdarvin View Post
I want make gtk+ HIG-compliance Calibre port.
Seriously, what's the point of that? Linux users seem obsessed with this GTK vs. Qt war. Since both can be made to look like the other (QtCurve, QGtkStyle etc.), it all seems like such a waste of energy.
Valloric is offline   Reply With Quote
Advert
Old 05-05-2010, 08:55 PM   #6
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,488
Karma: 1054509
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by Valloric View Post
Seriously, what's the point of that? Linux users seem obsessed with this GTK vs. Qt war. Since both can be made to look like the other (QtCurve, QGtkStyle etc.), it all seems like such a waste of energy.
There is a lot more to just how they look. GTK and Qt apps behave differently. There are also differences in the overall design due to differing philosophies of their respective HIG.

Quote:
Originally Posted by nbdarvin
I want to improve my programming skills and looking for great project to collaborate, so I want make gtk+ HIG-compliance Calibre port.
As someone who prefers the design of Gnome apps, I say go for it. However, I personally despise working with GTK and absolutely love Qt.
user_none is offline   Reply With Quote
Old 05-06-2010, 12:51 PM   #7
nbdarvin
Junior Member
nbdarvin began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2010
Device: Palm Treo
Quote:
Originally Posted by kovidgoyal View Post
A good place to learn about the interface to the database is in the file

calibre/library/cli.py

which implements a simple command line interface to the database.

Then look at the files

calibre/gui2/library.py

and

calibre/library/database2.py
thanks!
nbdarvin 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
GUI Frontend for python scripts [windows] - seeking mod input first sherman Workshop 7 04-27-2009 01:04 AM
iLiad GTK Application Needed Adam B. iRex Developer's Corner 8 04-04-2009 05:45 AM
Is a gtk version possible? frandavid100 Calibre 14 12-16-2008 03:09 PM
iLiad [ILIAD]GTK developpement Olivier78180 iRex Developer's Corner 7 07-14-2008 05:22 PM
iLiad Need help getting started with gtk tribble iRex Developer's Corner 4 06-05-2007 12:38 PM


All times are GMT -4. The time now is 11:30 AM.


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