Skin class now emits a signal when a skin has (hopefully) been loaded.
Widgets interested in such events handle the signal and update their pixmaps accordingly.
This commit is contained in:
parent
1b1cf78647
commit
9fb1376afe
15 changed files with 391 additions and 273 deletions
|
@ -24,6 +24,8 @@ class SkinDisplay : public QWidget
|
|||
void setNoDrag(bool d) { m_noDrag = d; }
|
||||
|
||||
QWidget *getMW() const { return m_mw; }
|
||||
public slots:
|
||||
virtual void setPixmaps(Skin *skin);
|
||||
|
||||
protected:
|
||||
void mousePressEvent (QMouseEvent *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue