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
|
@ -1,9 +1,17 @@
|
|||
#include "Display.h"
|
||||
#include "MainWindow.h"
|
||||
|
||||
SkinDisplay::SkinDisplay (QWidget *parent) : QWidget(parent)
|
||||
{
|
||||
m_noDrag = false;
|
||||
m_mw = parent;
|
||||
|
||||
connect(((MainWindow *)m_mw)->getSkin(), SIGNAL(skinChanged(Skin *)), this, SLOT(setPixmaps(Skin *)));
|
||||
}
|
||||
|
||||
void
|
||||
SkinDisplay::setPixmaps (Skin *skin)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue