~openhommdev/openhomm/gui

« back to all changes in this revision

Viewing changes to src/gui/hrPushButton.hpp

  • Committer: Roman Fomin
  • Date: 2010-02-22 15:38:37 UTC
  • Revision ID: rfomin@gmail.com-20100222153837-7idkqlt3dt5br3ny
add border
pcx plugin: alpha channel

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
    QString getName() const;
30
30
    void setName(QString name);
31
31
 
32
 
    hrGraphicsItem getItem() const;
33
 
    void setItem(const hrGraphicsItem& item);
 
32
    Q_PROPERTY(int x READ getX WRITE setX)
 
33
    void setX(int x);
 
34
    int getX() const;
 
35
 
 
36
    Q_PROPERTY(int y READ getY WRITE setY)
 
37
    void setY(int y);
 
38
    int getY() const;
34
39
 
35
40
    void onMousePress();
36
41
    void onMouseRelease();
40
45
 
41
46
private:
42
47
    QString name;
43
 
    hrGraphicsItem item;
44
48
};
45
49