Commit Graph

52 Commits

Author SHA1 Message Date
Quentin Guidée
c68a0cdb33 New Default theme: Omega theme! (Beta) 2019-11-29 19:42:39 +01:00
Quentin Guidée
3b592c847e New dark theme & KDColorWhite -> Palette::BackgroundHard 2019-11-26 23:04:03 +01:00
Ruben Dashyan
413397652c [apps/*/expression_model_list_controller] Refactor modelStore()
Its return type is covariant. Get the ExpressionModelStore from the App.
2019-09-20 17:11:42 +02:00
Ruben Dashyan
e80aaa649d [apps/solver/list_controller] Use modelStore() 2019-09-20 17:11:42 +02:00
Ruben Dashyan
a5bff416d1 [apps/*/expression_model_list_controller] Use isAddEmptyRow 2019-09-20 17:11:42 +02:00
Ruben Dashyan
eb6d697927 [apps] Make app accessors static members of App classes 2019-07-19 15:06:25 +02:00
Ruben Dashyan
44809f4b3f Substitute Escher app() by Container::activeApp() 2019-07-19 15:06:25 +02:00
Ruben Dashyan
3e992a3560 [apps] Replace app() by textFieldDelegateApp() in TextFieldDelegates 2019-07-19 15:06:25 +02:00
Ruben Dashyan
055d601854 [apps] Define TextFieldDelegate::textFieldDelegateApp() directly from ::app() 2019-07-19 15:06:25 +02:00
Ruben Dashyan
5058f64163 [apps] Define LayoutFieldDelegate::expressionFieldDelegateApp() directly from ::app() 2019-07-19 15:06:25 +02:00
Romain Goyet
21907fb89a [apps] Get rid of App casts 2019-07-19 15:06:25 +02:00
Émilie Feral
9665f11d06 [poincare] Layout: discard methods isVerticalOffset(), isHorizontal(),
isRightParenthesisLayout(), isLeftBracket(), isRightBracket(),
isCodePoint(),
isLeftParenthesisLayout() and use type() instead
2019-05-03 15:54:21 +02:00
Émilie Feral
578c65d5dd [shared] Clean class names containing storage 2019-05-03 15:53:20 +02:00
Émilie Feral
2e6e7f93f7 [solver] Make Solver::ListController inherits from
StorageExpressionModelListController instead of
ExpressionModelListController
2019-05-03 15:53:20 +02:00
Émilie Feral
f8e9fdef65 [solver] EquationListView: clean setBraceStyle to always re-layout 2019-05-03 15:53:20 +02:00
Léa Saviot
4c5251f04f [unicode] Use unicode when dealing with chars - Part 2 2019-05-03 15:53:19 +02:00
Léa Saviot
f576e31ff1 [apps/poincare] Replace CharLayouts with CodePointLayouts 2019-05-03 15:53:19 +02:00
Émilie Feral
8ac623be08 [solver] ListController: display a pop up when an equation is 'unreal' 2019-01-10 11:42:04 +01:00
Émilie Feral
7306e3abcf [solver] ListController: fix textRepresentsAnEquality 2018-11-26 13:46:18 +01:00
Léa Saviot
c30f136fb3 [apps/poincare] Fix cursor position when inserting log(a,b) in 2DEdition 2018-11-23 12:04:09 +01:00
Léa Saviot
94603b2b7d [poincare] Layout::serialize is serializeForParsing or ParsedExpression
serializeForParsing serializes the layout once,
serializeParsedExpression serializes the layout, parses it and
serializes it again.
2018-11-23 12:04:09 +01:00
Léa Saviot
056c78408d [apps/solver] Reove unneeded EquationStore::Error::VariableNameTooLong 2018-11-23 12:04:07 +01:00
Léa Saviot
bea78aa3b1 [apps/escher] Invocation::Action returns a bool 2018-11-23 12:04:04 +01:00
Émilie Feral
a93e9566ad [escher] Create a parent class Field of TextField and
LayoutField
2018-11-23 12:03:59 +01:00
Émilie Feral
6113f97027 [solver] Display warning when one of the variable name exceeds 10
characters
2018-11-23 12:03:58 +01:00
Romain Goyet
f8beae3b86 [kandinsky] Move to KDFont 2018-10-11 16:44:02 +02:00
Émilie Feral
365b145cf3 [poincare] Change names: LayoutReference-->Layout 2018-09-18 16:29:44 +02:00
Émilie Feral
0fbab2f35c [apps] Get rid of DynamicViewController 2018-09-07 17:55:42 +02:00
Émilie Feral
66eba3cfb3 [solver] Fix ListController with new Poincare API 2018-09-07 09:47:56 +02:00
Émilie Feral
30f83cde2c [apps] Change names: ExpressionLayout -> Layout 2018-09-06 14:23:57 +02:00
Émilie Feral
aaa20a58fa [poincare] Implement SerializationHelper and
SerializationHelperInterface. WriteTextInBuffer->serialize
2018-08-08 15:31:40 +02:00
Émilie Feral
34198945f2 [solver] Prevent adding an expression which is not an equation by
displaying a pop-up (if the input is too long, the automatically
added "=0" will fail)
2018-07-06 10:31:51 +02:00
Léa Saviot
acc49412f1 [apps/escher] EvenOddExpressionCell has left and right margins 2018-06-12 15:50:50 +02:00
Émilie Feral
031ca760c0 [solver] Fix brace: when there are the 'add equation' is not displayed
anymore, brace embrace all equations
2018-06-11 16:39:15 +02:00
Émilie Feral
4a6724115c [solver] Fix bug: when adding '=0' to an equation, force the cursor the
be at the end of the expression before adding '=0'
2018-06-11 13:58:42 +02:00
Émilie Feral
f8039fac32 [solver] Fix update of the button message between: 'Solve the equation'
and 'Solve the system'
2018-06-11 13:58:42 +02:00
Émilie Feral
e3bfec9aa2 [solver] If the user adds an equation which is not an equality,
automatically add =0
2018-06-08 15:46:38 +02:00
Émilie Feral
f4b87f8680 [solver] Increase the 'Solve equation' button size 2018-06-08 15:15:25 +02:00
Émilie Feral
2d1c31a54b [solver] Align the 'Add Equation' button with the equation list 2018-06-08 15:15:25 +02:00
Émilie Feral
ed74c4e6e2 [solver] Reload the brace view when adding or removing row in the list
controller
2018-06-08 15:13:50 +02:00
Émilie Feral
ad6c985111 [solver] ExpressionCell are EvenOddExpressionCell rather than former
ModelExpressionCell
2018-06-08 15:13:50 +02:00
Émilie Feral
a120c1c7e0 [solver] Add a brace view on the list controller 2018-06-08 15:13:41 +02:00
Émilie Feral
0a27cc1584 [solver] The 'resolve' button evolves from 'Resolve equation' to
'Resolve system'
2018-06-07 16:21:39 +02:00
Émilie Feral
bc8dbd85c1 [solver] If one equation is undefined, display a warning 2018-06-07 16:21:39 +02:00
Émilie Feral
2d580faf51 [solver] Ignore empty equation when resolving systems 2018-06-07 14:46:14 +02:00
Émilie Feral
dcdd2a9b9a [solver] Improve messages for edge cases (No equation, no solution...) 2018-06-07 13:46:19 +02:00
Émilie Feral
a2469c458f [solver] Add a interval parameter controller for approximate solutions 2018-06-07 13:46:19 +02:00
Émilie Feral
b3ce8e2bc9 [solver] Display the solutions controller when resolving equation system 2018-06-07 13:46:18 +02:00
Émilie Feral
0b51b6e4fe [solver][graph][sequence] Force input edition when adding a new
Function/Sequence/Equation
2018-06-07 13:46:17 +02:00
Émilie Feral
2ca685984e [solver] Add a modal with equation models when adding a new equation 2018-06-07 13:46:17 +02:00