Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify dropdown_list icons of beam and column #40

Merged
merged 8 commits into from Mar 14, 2020

Conversation

SurajDadral
Copy link
Collaborator

Solve issue amrit3701#7
On the Qt5, image icon size is normal but on Qt4 it is very large.
Now, it is fixed.
Images were not smooth after scaling as shown here:
amrit3701#12 (comment)

Now, images are scaled smoothly using:
QPixmap().scaled(150, 150, QtCore.Qt.KeepAspectRatioByExpanding, QtCore.Qt.SmoothTransformation))
instead of:
QPixmap().scaledToWidth(250)
Add functionality to rotate Stirrups with Structure
Code snippet:
structureAngle = math.degrees(structure.Placement.Rotation.Angle)
stirrupAngle = structureAngle-90
rebar.Placement.Rotation.__setattr__('Angle',math.radians(stirrupAngle))
This reverts commit 82a2736.
Reverted because it creates some problems and is not right patch.
This reverts commit 996b26b.
Reverted this commit because these changes are already done in branch
"edit-left-right-rebars" and I am going to merge that branch into
master.
This reverts commit 2e96e0b.
Reverted this commit because these changes are already done in branch
"edit-left-right-rebars" and I am going to merge that branch into
master branch.
@amrit3701
Copy link
Owner

Merged!

@amrit3701 amrit3701 merged commit 8107dc3 into amrit3701:master Mar 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants