questions about plasmoidviewer

Aaron J. Seigo aseigo at kde.org
Tue Mar 22 17:42:34 CET 2011


On Tuesday, March 22, 2011, Tsiapaliwkas Giorgos wrote:
> -The location constraint to start the Containment with (floating, desktop,
> fullscreen, top, bottom, left, right) [floating]

simulates a location on the screen, e.g. the left screen edge. see the 
documentation for Containment::setLocation(Plasma::Location) for more 
information
 
> -The formfactor to use (horizontal, vertical, mediacenter or planar)

from plasma.h:

/**
 * The FormFactor enumeration describes how a Plasma::Applet should arrange
 * itself. The value is derived from the container managing the Applet
 * (e.g. in Plasma, a Corona on the desktop or on a panel).
 **/
enum FormFactor {
    Planar = 0,  /**< The applet lives in a plane and has two
                    degrees of freedom to grow. Optimize for
                    desktop, laptop or tablet usage: a high
                    resolution screen 1-3 feet distant from the
                    viewer. */
    MediaCenter, /**< As with Planar, the applet lives in a plane
                    but the interface should be optimized for
                    medium-to-high resolution screens that are
                    5-15 feet distant from the viewer. Sometimes
                    referred to as a "ten foot interface".*/
    Horizontal,  /**< The applet is constrained vertically, but
                    can expand horizontally. */
    Vertical     /**< The applet is constrained horizontally, but
                    can expand vertically. */
};

 
> Also,i gave "plasmoidviewer desktop" but i couldn't add any widgets.Did i

it doesn't include a widget explorer, no. the point of plasmoidviewer is to 
view individual plasmoids, primarily for debugging purposes. you can tell it 
to load a specific containment (e.g. desktop) with:

  -c, --containment <name>  Name of the containment plugin [null]

what are you wanting to do, exactly?

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20110322/65d1bc76/attachment.sig 


More information about the Plasma-devel mailing list