~openhommdev/openhomm/gui

« back to all changes in this revision

Viewing changes to src/gui/hrUI.hpp

  • Committer: Roman Fomin
  • Date: 2010-02-23 11:20:15 UTC
  • Revision ID: rfomin@gmail.com-20100223112015-9thacb3wemnlge6m
map border

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
        return ui;
33
33
    }
34
34
 
35
 
    void script(QString path);
 
35
    void script(QString fileName);
 
36
    void reload();
36
37
    void addGlobalObject(QObject *obj, QString name);
37
38
 
38
39
    QListIterator<hrGraphicsItem> getItems();
39
40
 
40
41
    void onMousePress(const QPoint &p);
41
42
    void onMouseRelease(const QPoint &p);
42
 
    void reload();
43
43
 
44
44
public slots:
45
45
    void addWidget(hrWidget *item);
46
46
    void resize(int w, int h);
 
47
    void include(QString name);
47
48
 
48
49
private:
49
50
    hrUI(QObject * parent = 0);
50
51
    QString path;
51
52
 
 
53
    void load(const QString &fileName);
52
54
    void collect();
53
55
 
54
56
    QVector<hrWidget*> widgets;