Overview about smart classes/functions etc.

Anders F Björklund afb at algonet.se
Fri Jun 5 07:26:12 PDT 2009


Christian Metzen wrote:

> Hello there,
>
> because we are thinking about developing our own smart PyQT4 based
> interface, is there any doumentation overview about smarts classes?

There isn't much developer documentation, there's some user docs
and that's about it - unless reading the .py source code counts...
But if you have questions about it, then do put them to the list.
Now, when you say "our own", does that mean with a diffent layout ?

> Beginning with what needs to be called to get the package lists and  
> so on?
> Investigating smart itself isn' t really fun!

The way the current graphic interface works is that there is a common
code, that calls upon a specific "interface" implementation to show it.
 From your description it sounds like you are writing an external app,
but Smart doesn't really have an external API - at least not explicitly.

> And yes, i know there is a qt3 interface in development, but we really
> want to develop this in qt4. Perhaps the smart community might  
> profit from
> this too!?

The qt(3) interface should be more or less done, but the overall idea
about it is that it should be as similar as possible to the gtk one...

There's also a totally different Qt4 interface to Smart in KPackage,
which presents its own interface and then makes calls over to smart.

--anders




More information about the Smart mailing list