1
0
Fork 0
forked from len0rd/rockbox

Theme Editor: Added coordinate display when moving mouse around preview window

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27738 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Bieber 2010-08-06 20:53:50 +00:00
parent 76d1377d04
commit df1ff115f5
10 changed files with 130 additions and 9 deletions

View file

@ -69,11 +69,15 @@ void SkinViewer::connectSkin(SkinDocument *skin)
QObject::connect(ui->codeUndoButton, SIGNAL(pressed()),
skin, SLOT(parseCode()));
QObject::connect(skin->scene(), SIGNAL(mouseMoved(QString)),
ui->coordinateLabel, SLOT(setText(QString)));
doc = skin;
}
else
{
ui->viewer->setScene(0);
ui->coordinateLabel->setText("");
doc = 0;
}