void EditMapWindow::setButtonPosition(QAbstractButton & button, int x, int y) {
    int ButtonWidth = button.geometry().width();
    int ButtonHeight = button.geometry().height();
    button.setGeometry(x, y, ButtonWidth, ButtonHeight);
}