<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://techbase.kde.org/skins/common/feed.css?0.2"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://techbase.kde.org/index.php?title=Development/Tutorials/Plasma/JavaScript/API-Enumerations&amp;feed=atom&amp;action=history</id>
		<title>Development/Tutorials/Plasma/JavaScript/API-Enumerations - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://techbase.kde.org/index.php?title=Development/Tutorials/Plasma/JavaScript/API-Enumerations&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://techbase.kde.org/index.php?title=Development/Tutorials/Plasma/JavaScript/API-Enumerations&amp;action=history"/>
		<updated>2013-05-22T15:57:07Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.20.2</generator>

	<entry>
		<id>http://techbase.kde.org/index.php?title=Development/Tutorials/Plasma/JavaScript/API-Enumerations&amp;diff=59197&amp;oldid=prev</id>
		<title>Aseigo: Created page with '== Global Enumerations == In the global namespace are a set of useful enumerations that can be used with various classes in the Simplified Javascript Plasmoid API. These include:...'</title>
		<link rel="alternate" type="text/html" href="http://techbase.kde.org/index.php?title=Development/Tutorials/Plasma/JavaScript/API-Enumerations&amp;diff=59197&amp;oldid=prev"/>
				<updated>2011-06-24T11:54:08Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;== Global Enumerations == In the global namespace are a set of useful enumerations that can be used with various classes in the Simplified Javascript Plasmoid API. These include:...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Global Enumerations ==&lt;br /&gt;
In the global namespace are a set of useful enumerations that can be used with various classes in the Simplified Javascript Plasmoid API. These include:&lt;br /&gt;
&lt;br /&gt;
= AspectRatioMode =&lt;br /&gt;
* '''IgnoreAspectRatio''': The Plasmoid can be freely resized &lt;br /&gt;
* '''KeepAspectRatio''': The Plasmoid keeps a fixed aspect ratio &lt;br /&gt;
* '''Square: The Plasmoid is always a square &lt;br /&gt;
* '''ConstrainedSquare''': The Plasmoid is no wider (in horizontal formfactors) or no higher (in vertical ones) than a square &lt;br /&gt;
* '''FixedSize''': The Plasmoid cannot be resized &lt;br /&gt;
&lt;br /&gt;
= FormFactor =&lt;br /&gt;
* '''Planar''': The Plasmoid 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.&lt;br /&gt;
* '''MediaCenter''': As with Plasmoid the applet lives in a but the interface should be optimized for medium-to-high resolution screens that 5-15 feet distant from the viewer. Sometimes referred to as a &amp;quot;ten foot interface&amp;quot;.&lt;br /&gt;
* '''Horizontal''': The Plasmoid is constrained vertically, but can expand horizontally.&lt;br /&gt;
* '''Vertical''': The Plasmoid is constrained horizontally, but can expand vertically.&lt;br /&gt;
&lt;br /&gt;
= Location =&lt;br /&gt;
* '''Floating''': Free floating. Neither geometry or z-ordering is described precisely by this value.&lt;br /&gt;
* '''Desktop''': On the planar desktop layer, extending across the full screen from edge to edge&lt;br /&gt;
* '''FullScreen'''&lt;br /&gt;
* '''TopEdge'''&lt;br /&gt;
* '''BottomEdge'''&lt;br /&gt;
* '''LeftEdge'''&lt;br /&gt;
* '''RightEdge'''&lt;br /&gt;
&lt;br /&gt;
= AnimationDirection =&lt;br /&gt;
* '''AnimationForward'''&lt;br /&gt;
* '''AnimationBackward'''&lt;br /&gt;
&lt;br /&gt;
= BackgroundHints =&lt;br /&gt;
* '''NoBackground'''&lt;br /&gt;
* '''StandardBackground'''&lt;br /&gt;
* '''TranslucentBackground'''&lt;br /&gt;
* '''DefaultBackground'''&lt;br /&gt;
&lt;br /&gt;
= QtAlignment =&lt;br /&gt;
* QtAlignLeft&lt;br /&gt;
* QtAlignRight&lt;br /&gt;
* QtAlignHCenter&lt;br /&gt;
* QtAlignJustify&lt;br /&gt;
* QtAlignTop&lt;br /&gt;
* QtAlignBottom&lt;br /&gt;
* QtAlignVCenter&lt;br /&gt;
&lt;br /&gt;
If you need to align something in the center (both horizontally and vertically) you can sum the constans.&lt;br /&gt;
&lt;br /&gt;
= QtAnchorPoint =&lt;br /&gt;
* QtAnchorLeft&lt;br /&gt;
* QtAnchorRight&lt;br /&gt;
* QtAnchorBottom&lt;br /&gt;
* QtAnchorTop&lt;br /&gt;
* QtAnchorHorizontalCenter&lt;br /&gt;
* QtAnchorVerticalCenter&lt;br /&gt;
&lt;br /&gt;
= QtCorner =&lt;br /&gt;
* QtTopLeftCorner&lt;br /&gt;
* QtTopRightCorner&lt;br /&gt;
* QtBottomLeftCorner&lt;br /&gt;
* QtBottomRightCorner&lt;br /&gt;
&lt;br /&gt;
= QtMouseButton =&lt;br /&gt;
* QtNoButton&lt;br /&gt;
* QtLeftButton&lt;br /&gt;
* QtRightButton&lt;br /&gt;
* QtMidButton&lt;br /&gt;
* QtXButton1&lt;br /&gt;
* QtXButton2&lt;br /&gt;
&lt;br /&gt;
= QtOrientation =&lt;br /&gt;
* QtHorizontal&lt;br /&gt;
* QtVertical&lt;br /&gt;
&lt;br /&gt;
= QtScrollBarPolicy =&lt;br /&gt;
* QtScrollBarAsNeeded&lt;br /&gt;
* QtScrollBarAlwaysOff&lt;br /&gt;
* QtScrollBarAlwaysOn&lt;br /&gt;
&lt;br /&gt;
= QtSizePolicy =&lt;br /&gt;
* QSizePolicyFixed&lt;br /&gt;
* QSizePolicyMinimum&lt;br /&gt;
* QSizePolicyMaximum&lt;br /&gt;
* QSizePolicyPreferred&lt;br /&gt;
* QSizePolicyExpanding&lt;br /&gt;
* QSizePolicyMinimumExpanding&lt;br /&gt;
* QSizePolicyIgnored&lt;br /&gt;
&lt;br /&gt;
= Theme Colors (API v3) =&lt;br /&gt;
* TextColor&lt;br /&gt;
* HighlightColor&lt;br /&gt;
* BackgroundColor&lt;br /&gt;
* ButtonTextColor&lt;br /&gt;
* ButtonBackgroundColor&lt;br /&gt;
* LinkColor&lt;br /&gt;
* VisitedLinkColor&lt;br /&gt;
&lt;br /&gt;
= Status =&lt;br /&gt;
* UnknownStatus The status is unknown&lt;br /&gt;
* PassiveStatus The Item is passive&lt;br /&gt;
* ActiveStatus The Item is active&lt;br /&gt;
* NeedsAttentionStatus The Item needs attention&lt;br /&gt;
* AcceptingInputStatus The Item is accepting input&lt;/div&gt;</summary>
		<author><name>Aseigo</name></author>	</entry>

	</feed>