public WindowFast()
	{
		super();
		
		//setStyleSheet(core.Const.menuStyle);
		
		setMinimumSize(1000, 700);
		setMaximumSize(1000, 700);
		
		back.setGeometry(width()-200, height()-50*1-32, 150, 40);
		start.setGeometry(width()-200, height()-50*2-32, 150, 40);
		
		
		background.setParent(this);
		logo.setParent(this);
		back.setParent(this);
		start.setParent(this);
		
		logo.move(250, 50);
		//logo.setStyleSheet("background-color: none");
		
		options.setLayout(layout);
		options.setParent(this);
		options.setGeometry(width()-250, 40, 200, 510);
		//options.setStyleSheet("QFrame { background-color: none; color: white } QTextEdit, QLineEdit, QComboBox, QListView { border: 1px solid white; background-color: #333; color: white; padding: 3px; }");
		
		layout.setMargin(0);
		layout.addRow("Gracz niebieski:", nameb);
		
		heror.setColor(core.Color.RED);
		herob.setColor(core.Color.BLUE);
		
		
		layout.addRow(new QLabel("Jednostki (kliknij aby usunąć): "));
		layout.addRow(listb);
		layout.addRow("Gracz czerwony:", namer);
		layout.addRow("Gra komputer:", ai);
		layout.addRow(new QLabel("Jednostki (kliknij aby usunąć): "));
		layout.addRow(listr);
		nameCheck();
		
		layout.addRow(new QLabel("<b>Dodaj jednostkę do garnizonu</b>"));
		layout.addRow("Typ:", unit);
		layout.addRow("Ilość:", num);
		num.setMinimum(1);
		
		for(core.UnitType u: core.UnitType.values()) {
			if (u != core.UnitType.DUMMY) {
				unit.addItem(u.name, u);
			}
		}
		
		QLayout addButtons = new QHBoxLayout();
		addButtons.addWidget(addb);
		addButtons.addWidget(addr);
		layout.addRow(addButtons);
		
		
		nameb.editingFinished.connect(this, "nameCheck()");
		namer.editingFinished.connect(this, "nameCheck()");
		back.clicked.connect(this, "backClicked()");
		start.clicked.connect(this, "startClicked()");
		addb.clicked.connect(this, "addBlue()");
		addr.clicked.connect(this, "addRed()");
		listb.pressed.connect(this, "clickedBlue(int,int)");
		listr.pressed.connect(this, "clickedRed(int,int)");
		
		LAST_INSTACE = this;
	}