implementing texture size member attribute for mainwindow