Move more custom widgets to ui/

This commit is contained in:
Marcus Huderle 2018-09-24 18:49:44 -05:00
parent d61d33f47f
commit 45f5024d11
8 changed files with 7 additions and 7 deletions

View file

@ -634,7 +634,7 @@ void Editor::createConnectionItem(MapConnection* connection, bool hide) {
connection_edit_item->setY(y);
connection_edit_item->setZValue(-1);
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(connectionItemDoubleClicked(ConnectionPixmapItem*)), this, SLOT(onConnectionItemDoubleClicked(ConnectionPixmapItem*)));
connection_edit_items.append(connection_edit_item);

View file

@ -24,6 +24,9 @@ SOURCES += core/block.cpp \
core/tileset.cpp \
ui/metatileselector.cpp \
ui/movementpermissionsselector.cpp \
ui/neweventtoolbutton.cpp \
ui/noscrollcombobox.cpp \
ui/noscrollspinbox.cpp \
ui/selectablepixmapitem.cpp \
editor.cpp \
event.cpp \
@ -31,9 +34,6 @@ SOURCES += core/block.cpp \
main.cpp \
mainwindow.cpp \
map.cpp \
neweventtoolbutton.cpp \
noscrollcombobox.cpp \
noscrollspinbox.cpp \
objectpropertiesframe.cpp \
parseutil.cpp \
project.cpp
@ -50,15 +50,15 @@ HEADERS += core/block.h \
core/tileset.h \
ui/metatileselector.h \
ui/movementpermissionsselector.h \
ui/neweventtoolbutton.h \
ui/noscrollcombobox.h \
ui/noscrollspinbox.h \
ui/selectablepixmapitem.h \
editor.h \
event.h \
graphicsview.h \
mainwindow.h \
map.h \
neweventtoolbutton.h \
noscrollcombobox.h \
noscrollspinbox.h \
objectpropertiesframe.h \
parseutil.h \
project.h