~ubuntu-branches/ubuntu/quantal/kde-runtime/quantal

« back to all changes in this revision

Viewing changes to plasma/declarativeimports/core/framesvgitem.h

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2012-06-03 21:50:00 UTC
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: package-import@ubuntu.com-20120603215000-vn7oarsq0ynrydj5
Tags: upstream-4.8.80
Import upstream version 4.8.80

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
{
32
32
    Q_OBJECT
33
33
 
 
34
    /**
 
35
     * width in pixels of the left margin
 
36
     */
34
37
    Q_PROPERTY(qreal left READ left NOTIFY marginsChanged)
 
38
 
 
39
    /**
 
40
     * height in pixels of the top margin
 
41
     */
35
42
    Q_PROPERTY(qreal top READ top NOTIFY marginsChanged)
 
43
 
 
44
    /**
 
45
     * width in pixels of the right margin
 
46
     */
36
47
    Q_PROPERTY(qreal right READ right NOTIFY marginsChanged)
 
48
 
 
49
    /**
 
50
     * height in pixels of the bottom margin
 
51
     */
37
52
    Q_PROPERTY(qreal bottom READ bottom NOTIFY marginsChanged)
38
53
 
39
54
public:
55
70
{
56
71
    Q_OBJECT
57
72
 
 
73
    /**
 
74
     * Theme relative path of the svg, like "widgets/background"
 
75
     */
58
76
    Q_PROPERTY(QString imagePath READ imagePath WRITE setImagePath)
 
77
 
 
78
    /**
 
79
     * prefix for the 9 piece svg, like "pushed" or "normal" for the button
 
80
     * see http://techbase.kde.org/Development/Tutorials/Plasma/ThemeDetails
 
81
     * for a list of paths and prefixes
 
82
     */
59
83
    Q_PROPERTY(QString prefix READ prefix WRITE setPrefix)
 
84
 
 
85
    /**
 
86
     * The margins of the frame, read only
 
87
     * @see FrameSvgItemMargins
 
88
     */
60
89
    Q_PROPERTY(QObject *margins READ margins CONSTANT)
61
90
 
62
91
    Q_FLAGS(Plasma::FrameSvg::EnabledBorders)
 
92
    /**
 
93
     * The borders that will be rendered, it's a flag combination of:
 
94
     *  NoBorder
 
95
     *  TopBorder
 
96
     *  BottomBorder
 
97
     *  LeftBorder
 
98
     *  RightBorder
 
99
     */
63
100
    Q_PROPERTY(Plasma::FrameSvg::EnabledBorders enabledBorders READ enabledBorders WRITE setEnabledBorders)
64
101
 
65
102
public: