Put some long method definitions in the .cpp

This commit is contained in:
Tats
2014-10-14 22:36:03 +00:00
parent 8f03e98010
commit 5640e5b471
2 changed files with 29 additions and 20 deletions
+25
View File
@@ -1776,6 +1776,31 @@ int MainWindow::getItemRowFromId(const QListWidget& list, uid id)
return (-1);
}
void MainWindow::setCurrentPaint(int uid)
{
currentPaintId = uid;
if (uid != NULL_UID)
paintPropertyPanel->setCurrentWidget(paintGuis[uid]->getPropertiesEditor());
_hasCurrentPaint = true;
}
void MainWindow::setCurrentMapping(int uid)
{
currentMappingId = uid;
if (uid != NULL_UID)
mappingPropertyPanel->setCurrentWidget(mappers[uid]->getPropertiesEditor());
_hasCurrentMapping = true;
}
void MainWindow::removeCurrentPaint() {
_hasCurrentPaint = false;
currentPaintId = NULL_UID;
}
void MainWindow::removeCurrentMapping() {
_hasCurrentMapping = false;
currentMappingId = NULL_UID;
}
void MainWindow::startOscReceiver()
{