Move more custom widgets to ui/
This commit is contained in:
parent
d61d33f47f
commit
45f5024d11
8 changed files with 7 additions and 7 deletions
|
@ -634,7 +634,7 @@ void Editor::createConnectionItem(MapConnection* connection, bool hide) {
|
||||||
connection_edit_item->setY(y);
|
connection_edit_item->setY(y);
|
||||||
connection_edit_item->setZValue(-1);
|
connection_edit_item->setZValue(-1);
|
||||||
scene->addItem(connection_edit_item);
|
scene->addItem(connection_edit_item);
|
||||||
connect(connection_edit_item, SIGNAL(connectionMoved(Connection*)), this, SLOT(onConnectionMoved(Connection*)));
|
connect(connection_edit_item, SIGNAL(connectionMoved(MapConnection*)), this, SLOT(onConnectionMoved(MapConnection*)));
|
||||||
connect(connection_edit_item, SIGNAL(connectionItemSelected(ConnectionPixmapItem*)), this, SLOT(onConnectionItemSelected(ConnectionPixmapItem*)));
|
connect(connection_edit_item, SIGNAL(connectionItemSelected(ConnectionPixmapItem*)), this, SLOT(onConnectionItemSelected(ConnectionPixmapItem*)));
|
||||||
connect(connection_edit_item, SIGNAL(connectionItemDoubleClicked(ConnectionPixmapItem*)), this, SLOT(onConnectionItemDoubleClicked(ConnectionPixmapItem*)));
|
connect(connection_edit_item, SIGNAL(connectionItemDoubleClicked(ConnectionPixmapItem*)), this, SLOT(onConnectionItemDoubleClicked(ConnectionPixmapItem*)));
|
||||||
connection_edit_items.append(connection_edit_item);
|
connection_edit_items.append(connection_edit_item);
|
||||||
|
|
12
porymap.pro
12
porymap.pro
|
@ -24,6 +24,9 @@ SOURCES += core/block.cpp \
|
||||||
core/tileset.cpp \
|
core/tileset.cpp \
|
||||||
ui/metatileselector.cpp \
|
ui/metatileselector.cpp \
|
||||||
ui/movementpermissionsselector.cpp \
|
ui/movementpermissionsselector.cpp \
|
||||||
|
ui/neweventtoolbutton.cpp \
|
||||||
|
ui/noscrollcombobox.cpp \
|
||||||
|
ui/noscrollspinbox.cpp \
|
||||||
ui/selectablepixmapitem.cpp \
|
ui/selectablepixmapitem.cpp \
|
||||||
editor.cpp \
|
editor.cpp \
|
||||||
event.cpp \
|
event.cpp \
|
||||||
|
@ -31,9 +34,6 @@ SOURCES += core/block.cpp \
|
||||||
main.cpp \
|
main.cpp \
|
||||||
mainwindow.cpp \
|
mainwindow.cpp \
|
||||||
map.cpp \
|
map.cpp \
|
||||||
neweventtoolbutton.cpp \
|
|
||||||
noscrollcombobox.cpp \
|
|
||||||
noscrollspinbox.cpp \
|
|
||||||
objectpropertiesframe.cpp \
|
objectpropertiesframe.cpp \
|
||||||
parseutil.cpp \
|
parseutil.cpp \
|
||||||
project.cpp
|
project.cpp
|
||||||
|
@ -50,15 +50,15 @@ HEADERS += core/block.h \
|
||||||
core/tileset.h \
|
core/tileset.h \
|
||||||
ui/metatileselector.h \
|
ui/metatileselector.h \
|
||||||
ui/movementpermissionsselector.h \
|
ui/movementpermissionsselector.h \
|
||||||
|
ui/neweventtoolbutton.h \
|
||||||
|
ui/noscrollcombobox.h \
|
||||||
|
ui/noscrollspinbox.h \
|
||||||
ui/selectablepixmapitem.h \
|
ui/selectablepixmapitem.h \
|
||||||
editor.h \
|
editor.h \
|
||||||
event.h \
|
event.h \
|
||||||
graphicsview.h \
|
graphicsview.h \
|
||||||
mainwindow.h \
|
mainwindow.h \
|
||||||
map.h \
|
map.h \
|
||||||
neweventtoolbutton.h \
|
|
||||||
noscrollcombobox.h \
|
|
||||||
noscrollspinbox.h \
|
|
||||||
objectpropertiesframe.h \
|
objectpropertiesframe.h \
|
||||||
parseutil.h \
|
parseutil.h \
|
||||||
project.h
|
project.h
|
||||||
|
|
Loading…
Reference in a new issue