-
Notifications
You must be signed in to change notification settings - Fork 54
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
增加了scientific mode #25
base: master
Are you sure you want to change the base?
Conversation
issue:执行等号操作后,再执行backspace会报错(debug状态,编译后未发现此问题。)
@@ -28,6 +28,8 @@ | |||
#include <QLabel> | |||
#include <QDebug> | |||
|
|||
#define ENABLE_SCIENTIFIC; //open scientific mode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个 define 看上去并没有用到?
原来scientific mode只开发了一半,
#ifdef ENABLE_SCIENTIFIC m_tbMenu->addAction(m_simpleAction); m_tbMenu->addAction(m_scAction); #endif
如果不define ENABLE_SCIENTIFIC,在title的菜单里不会出现两种模式的切换
…------------------ 原始邮件 ------------------
发件人: "Gary Wang"<[email protected]>;
发送时间: 2019年6月16日(星期天) 下午3:57
收件人: "linuxdeepin/deepin-calculator"<[email protected]>;
抄送: "Kyle Mong"<[email protected]>;"Author"<[email protected]>;
主题: Re: [linuxdeepin/deepin-calculator] 增加了scientific mode (#25)
@BLumia commented on this pull request.
In mainwindow.cpp:
@@ -28,6 +28,8 @@ #include <QLabel> #include <QDebug> +#define ENABLE_SCIENTIFIC; //open scientific mode
这个 define 看上去并没有用到?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
cc @wangjia12 |
科学计算器为下阶段开发计划 |
After our internal analysis, this PR cannot be integrated into the main line because the code is too different. If you need to merge, please adapt the latest code. |
TAG Bot New tag: 6.0.1 |
TAG Bot New tag: 6.0.2 |
TAG Bot New tag: 6.5.0 |
TAG Bot New tag: 6.5.1 |
TAG Bot New tag: 6.5.2 |
TAG Bot New tag: 6.5.3 |
TAG Bot New tag: 6.5.4 |
TAG Bot New tag: 6.5.5 |
TAG Bot New tag: 6.5.6 |
将struct KeyDescription和keyDescription[]的声明移至buttons.h,原basickeypad.h和scientifickeypad.h中的相关声明被删除。
问题:在调试时,执行完等号操作再执行backspace会出错,但是编译后未发现此问题。