This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[Idea] new design for Kcalc

Tags: None
(comma "," separated)
rumangerst
Registered Member
Posts
58
Karma
0
OS

Re: [Idea] new design for Kcalc

Thu Sep 03, 2015 5:34 pm
You don't need the full LaTeX packages to have a nice formular rendering. There are libraries or even web based renderers (google returned eg https://www.mathjax.org/)
User avatar
andreas_k
Registered Member
Posts
561
Karma
0

Re: [Idea] new design for Kcalc

Thu Sep 03, 2015 6:50 pm
don't know what cantor have but I would share code. but we discuss here only design and it is good that the limit is the vision.
gnastyle
Registered Member
Posts
23
Karma
0
OS

Re: [Idea] new design for Kcalc

Thu Sep 03, 2015 7:16 pm
I added a button menu, so I could delete "file" and "edit" voices on menubar.
Other voices still remain because have too much functions (loke "constants" for example) but is still a good improvement.
https://www.dropbox.com/sh/1siml1dxqzo1 ... imple.png#
https://www.dropbox.com/sh/1siml1dxqzo1 ... ntific.png

Other suggestions? :)

@andreas_k @rumangerst
mathjax is javascript, don't know how simple would it be for the developer to implement it, but as andreas_k said better discuss on the design only
and later coding. Thanks anyway :)
User avatar
andreas_k
Registered Member
Posts
561
Karma
0

Re: [Idea] new design for Kcalc

Thu Sep 03, 2015 7:28 pm
no, no not that way grastyle.

1. menu bar or toolbar this is not a rocket sience app

2. move the menu bar into an burger icon in the toolbar (like you know it from dolphin config buttton)

3. toolbars are 22px icons ! that's a HIG !

4. rethink which icon's do you need
for quite you have the toolbar, what do you mean with back and foward what should the user do with this button. cut, copy, past why? in the icon bar the mail features should be shown all features move in an dropdown menu in a burger icon (like dolphin).
- show history
- switch between modes
- maybe drop down icon for constants and saved values
User avatar
alake
Registered Member
Posts
591
Karma
3
OS

Re: [Idea] new design for Kcalc

Fri Sep 04, 2015 10:46 pm
Good effort gnastyle. :-)

So as andreas said, I'd suggest doing away with the menu bar entirely. A Menu Button is essentially a button in the top right that shows a drop menu, (similar to the "hamburger" menu button in Chrome, Firefox and the like). Since you already have a toolbar with frequently used actions, the menu button would go on the far right of the toolbar and its drop menu would contain any less frequently used commands like print, settings, etc.

As I said though, good effort at incorporating the feedback you have received! Thanks so much for sharing your work. Keep at it and I'm sure we'll get a really good candidate design. :-)
gnastyle
Registered Member
Posts
23
Karma
0
OS

Re: [Idea] new design for Kcalc

Sat Sep 05, 2015 5:06 pm
Thanks guys,
here's my work. https://www.dropbox.com/sh/1siml1dxqzo1 ... tific1.png

So, first button is application exit.
Then we have the three modes (simple, scientific and statistical that is like scientific but with different variables, no different look).
The icon for the simple mode is a generic one since I didn't find a better one, suggestions are welcome :)
Then we have the buttons for show/hide logs and the expression panel.
The last one opens a dialog to show constants.
Then we have the hamburger menu.

What do you think? If it's ok I'd start to make kcalc more HIG designed, so suggestions are VERY welcomed.
User avatar
andreas_k
Registered Member
Posts
561
Karma
0

Re: [Idea] new design for Kcalc

Sun Sep 06, 2015 2:53 am
hi

toolbar icons are 22px in size. show|hide the icon Labels come from a global settings. I would add them in your views.

I would add the constants also in an side bar like log. so the user can can choose to show all (left panel log, right panel constants or both right with tabs, ....)

standard icons:
exit don't think so there is the window decoration for that
modes: why not. when you need an icon you will get it.
log, constants, expression: yes please

mobile
please also think on mobile and how sientific mode could work on different form factors (mobile devices)
gnastyle
Registered Member
Posts
23
Karma
0
OS

Re: [Idea] new design for Kcalc

Tue Sep 08, 2015 9:17 pm
Here's with the corrections.

simple
https://www.dropbox.com/sh/1siml1dxqzo1 ... simple.png

simple with logs
https://www.dropbox.com/sh/1siml1dxqzo1 ... e-logs.png

scientific (don't mind the different color scheme)
https://www.dropbox.com/sh/1siml1dxqzo1 ... ntific.png

scientific with logs and expression panels
https://www.dropbox.com/sh/1siml1dxqzo1 ... c-logs.png

scientific with constants panel (yes is separated)
https://www.dropbox.com/sh/1siml1dxqzo1 ... stants.png

Thoughts?
ripper17
Registered Member
Posts
46
Karma
0
OS

Re: [Idea] new design for Kcalc

Wed Sep 09, 2015 7:55 am
This is (of course) just a matter of taste, but for me the calculator is *way* to colourful. I just don't like the distinction of the different "areas" by colour.


openSUSE 13.2 x64, Platform Version 4.14.X, Kubuntu 14.04 (LTS), Platform Version 4.13.X
gnastyle
Registered Member
Posts
23
Karma
0
OS

Re: [Idea] new design for Kcalc

Wed Sep 09, 2015 10:58 am
@ripper17
for now we are concentrating on design and features, later we can discuss about beauty ;)
A part from the color what do you think about it?
ripper17
Registered Member
Posts
46
Karma
0
OS

Re: [Idea] new design for Kcalc

Wed Sep 09, 2015 11:22 am
I'm using the calculator mostly for doing the quick conversion from DEC to HEX (or vice-versa).

So, coming from that point of view: I don't' really like the current way of KCalc that I can't have "statistics mode" (or "science mode") and simultaneously the option to convert from DEC to HEX - I have to switch profiles. If I have to do some statistical stuff in between DEC<->HEX conversions (this does not happen very often) I'm forced to switch profiles twice, and by default there is no keyboard shortcut for doing so (I know I can assign one). I'm never using "AND, OR, XOR" or any other functions specific to the current "Numeral Systems Mode", but of course these might be useful for others. Since I don't need them, I would be able to continue in "statistics mode" if I'm able to convert numeral systems from that mode as well.

It might also be nice to have a context-menu (or button or something along the line) to copy the result? I know that current KCalc has the option to click into the result box and paste with middle-click, but I don't think that feature is very discoverable.

Please also take a look at the Windows 7 calculator as an example of how NOT to do it: in that calculator, if you're in the "programmers mode" (to do DEC<->HEX conversions) you can't even do something like "1/3" because it refuses (even in DEC mode) to give you any rationals (i.e. 0.333333). The result is actually zero in that case :-)
I absolutely loathed that behaviour - because for 1/3 it's obvious, but if you're doing more complex calculations (e.g. 4580247 divided by 7) you never know if the result actually is 654321 or if that has just been rounded.

TL;DR:
Maybe put the option to convert DEC<->HEX<->OCT<->BIN in any mode but the simple mode, just as your screen-shots suggest?


openSUSE 13.2 x64, Platform Version 4.14.X, Kubuntu 14.04 (LTS), Platform Version 4.13.X
gnastyle
Registered Member
Posts
23
Karma
0
OS

Re: [Idea] new design for Kcalc

Thu Sep 10, 2015 12:17 pm
@ripper17
Yes you have the DEC<->HEX<->OCT<->BIN converter in any mode but the simple mode.
Also how would you improve the current kcalc?
If you think this GUI is too colorful can you suggest me another desing or tip?
I mean even another app as example would be great. ;)
User avatar
andreas_k
Registered Member
Posts
561
Karma
0
gnastyle
Registered Member
Posts
23
Karma
0
OS

Re: [Idea] new design for Kcalc

Fri Sep 11, 2015 12:58 am
@andreas_k
I already saw it, on the scientific design I used colors from it.
ripper17
Registered Member
Posts
46
Karma
0
OS

Re: [Idea] new design for Kcalc

Fri Sep 11, 2015 10:22 am
I'm absolutely fine with the general design, I'd just like to see less different colors - maybe some spacing instead?


openSUSE 13.2 x64, Platform Version 4.14.X, Kubuntu 14.04 (LTS), Platform Version 4.13.X


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan