-
Notifications
You must be signed in to change notification settings - Fork 29
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
Update Calculator.app #189
base: master
Are you sure you want to change the base?
Conversation
Thanks @Hierosme. Can we put the = button in the lower left spot of the grid? Also, I think we should try to minimize the width of the window; if we can use a smaller font for the M... buttons we might be able to do something like this: But as far as I remember, the theme is currently hardcoding the font size for buttons, so I need to change that in QtPlugin first. |
Oh you are right, the trouble is that we are forcing all buttons the same height in the theme. Can you please make the = button align to the bottom, so that at least it doesn't end up in between columns. |
Just for let you know i have look for create a custum button class, soon a screenshoot i hope ... |
This comment was marked as off-topic.
This comment was marked as off-topic.
@louies0623 i have create the paper tape dialog last day afternoon :) in fact i have recreate the Calc interface by use QDesigner. Here what i code: |
If possible, please change the background color of C to #FF3333, then change the background of = to #FF9933, and finally change the background of the digital display to #CCFFCC and change its text to black #333333. |
Yes that is possible, but from where come it color palette ? For Nord -> https://www.nordtheme.com/docs/colors-and-palettes The red color you propose is the same as darcula color palette The color i use come from OsX color palette... |
Html Web colors |
This comment was marked as duplicate.
This comment was marked as duplicate.
And we certainly don't want "flat design". |
That suppose to load images in the background of each button. I have 100% control of what is display on the custum button class. but i havent Calculator Buttons asset ready to use ... Have you graphic any asset i can use ? |
The better is to create our, that not take a tonne of time. |
Beautiful |
In fact it exist a Minus sign https://www.utf8icons.com/character/8722/minus-sign |
This comment was marked as outdated.
This comment was marked as outdated.
Maybe it can be merged to start testing, and the rest of the functions will be merged later. |
I add functions one by one. For each one i have to understand what that is suppose to do, and implement it. test and repport issue is really important for it type of application. I'll do my best , i have look calculator for fun when restart to work for helloSystem after my vacations. Soon i'll back to Date and Time.app and the famous sudo loop. About Merge code: Personally i sugest to Merge the code, Freeze the code before a Release, etc ... common app life circle... Briefffff everything commun application life circle can be apply. |
Have a good rest. I have a strong feeling that this "Date and Time.app" must be rebuilt and requires more physical effort. The main problems at present are the time display problem in the upper left corner and the lame design of removing unnecessary mandatory language and time zone links. |
Wow, this is really doing a lot already. Are "Page Setup", "Print Paper Tape", "RPN" and "Precision" currently doing anything? If not, I suggest to set them to disabled for now. I like the idea of calling it a "paper tape". Maybe (later) we can even add some cool animation of "paper" coming out from from behind the main window at the top or something like that... |
It look like i can swith back to Date and Time.app, the code should be merged and a issue open (With Need Contributor Tag) about implement rest of funtions of the scientific layout. that can be a good task for a new contributor |
This comment was marked as outdated.
This comment was marked as outdated.
Why are the characters "ⁿᵈ" not aligned? |
You have send me the exact right char: Superscript Latin Small Letter N. That is a Superscript then it is align like a Superscript. That exactlly the right char... |
Do you think this is ready for merge @Hierosme? |
Yes the code can be merged. An issue should be open in for asking new contributor assistence for implemente more feature on the scientific layout. |
Which features do you see as missing? Maybe we should put them into the notes/comments somewhere so that people know what to hack on ;) |
Actully they options are disable:
by the code: if btnText in ["Rad", "EE", "RN", "eˣ", "2ⁿᵈ", "n", "yˣ", "In", "x!", "ˣ√𝑦", "√", "%"]:
self.scientific_buttons[btnText].setEnabled(False) That because that it is unimplemented the task is not really hard, but that a work should be done button by button. |
Fix for #186