Huge push that fixes lot of the problems with headers and added a Slider

This commit is contained in:
Tobias Rundstrom 2006-02-20 00:43:42 -03:00
parent 76b9131d03
commit f36ba49ea9
21 changed files with 298 additions and 42 deletions

View file

@ -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 *)));
}