Huge push that fixes lot of the problems with headers and added a Slider
This commit is contained in:
parent
76b9131d03
commit
f36ba49ea9
21 changed files with 298 additions and 42 deletions
|
@ -1,14 +1,13 @@
|
|||
#include "MainWindow.h"
|
||||
|
||||
#include "PixWidget.h"
|
||||
|
||||
|
||||
PixWidget::PixWidget (QWidget *parent) : QWidget (parent)
|
||||
{
|
||||
MainWindow *mw = (MainWindow *)((SkinDisplay *)parent)->getMW();
|
||||
|
||||
MainWindow *mw = dynamic_cast<MainWindow *>(window ());
|
||||
if (!mw) {
|
||||
qDebug ("******** DANGER! NO MAINWINDOW FOUND");
|
||||
}
|
||||
m_pixmap = QPixmap(0,0);
|
||||
|
||||
connect (mw->getSkin(), SIGNAL (skinChanged (Skin *)), this, SLOT (setPixmaps(Skin *)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue