mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-23 12:02:39 -05:00
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:
parent
76d1377d04
commit
df1ff115f5
10 changed files with 130 additions and 9 deletions
|
|
@ -29,10 +29,10 @@
|
|||
|
||||
#include <QAbstractItemModel>
|
||||
#include <QList>
|
||||
#include <QGraphicsScene>
|
||||
|
||||
#include "parsetreenode.h"
|
||||
#include "devicestate.h"
|
||||
#include "rbscene.h"
|
||||
|
||||
class ParseTreeModel : public QAbstractItemModel
|
||||
{
|
||||
|
|
@ -64,8 +64,8 @@ public:
|
|||
Qt::ItemFlags flags(const QModelIndex &index) const;
|
||||
bool setData(const QModelIndex &index, const QVariant &value, int role);
|
||||
|
||||
QGraphicsScene* render(ProjectModel* project, DeviceState* device,
|
||||
SkinDocument* doc, const QString* file = 0);
|
||||
RBScene* render(ProjectModel* project, DeviceState* device,
|
||||
SkinDocument* doc, const QString* file = 0);
|
||||
|
||||
static QString safeSetting(ProjectModel* project, QString key,
|
||||
QString fallback)
|
||||
|
|
@ -85,7 +85,7 @@ private:
|
|||
ParseTreeNode* root;
|
||||
ParseTreeModel* sbsModel;
|
||||
struct skin_element* tree;
|
||||
QGraphicsScene* scene;
|
||||
RBScene* scene;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue