Now triangle draws by three sides and by two sides and angle. Also added side highlighting when mouse clicked on QLineEdit object