aboutsummaryrefslogtreecommitdiff
path: root/qml/CommandInput.qml
AgeCommit message (Collapse)Author
2015-08-15Restructure QML and JS sourcesAdrian Kummerlaender
`list` holds the components of the central list UI element. `command` holds the UI and implementation parts of the command mode. `widget` holds more or less general purpose elements that may also be of use in other circumstances.
2015-08-13Implement `ls` commandAdrian Kummerlaender
This suggested adding an `iterate` helper method to `TerminalList` as well as line break logic to the command output log.
2015-08-12Change color setting types to `string`Adrian Kummerlaender
While `color` would obviously be the correct type to store a color value it is serialized as a `QVariant` value which is not easily changeable by the user. This requirement is satisfied by `string` and as such this type is - at this point in time - a superior replacement of `color`. Should the QML settings module be changed to serialize color values in a human readable fashion these types should be changed back to their formally correct value.
2015-08-12Add command output error font color to settingsAdrian Kummerlaender
2015-08-12Add special error formatting to command outputAdrian Kummerlaender
2015-08-11Add command output log to UIAdrian Kummerlaender
`output` text item reference is passed to all command implementations.
2015-08-10Implement proper handling of unimplemented commandsAdrian Kummerlaender
2015-08-09Return to normal mode after command evaluationAdrian Kummerlaender
Requires new `executed` signal in `CommandInput` component to correctly trigger the state change.
2015-08-09Implement basic command dispatch logicAdrian Kummerlaender
Moved command implementation into separate ressource. Commands are plain JavaScript functions in this separate ressource and as such callable via a simple call to `eval`. Introduced the concept of a command prefix to enable implementation of e.g. a search command analogously to _vim_.
2015-08-07Implemented basic command modeAdrian Kummerlaender
Exposes access to the application via JavaScript to the user. This will enable easy configuration changes as well as make more complex commands possible. All JavaScript entered in command mode is evaluated at the application root.