Thorsten Renk
a91bb4caa0
Update canvas dialog widget lib
2018-09-01 09:49:16 +03:00
Thomas Geymayer
8eb3707042
canvas.gui: Fix warning when deleting widget after canvas
2018-02-27 08:42:34 +01:00
Thorsten Renk
b09fcb593d
Start adding widget collection for aircraft-side canvas dialogs
2018-02-11 10:04:08 +02:00
Thomas Geymayer
7c3762108c
canvas.gui: editingFinished signal for LineEdit.
2015-06-02 18:27:19 +02:00
Thomas Geymayer
7b279f1fd7
canvas.gui: ensure all LineEdit/ScrollArea methods are chainable.
2014-11-23 23:35:26 +01:00
Thomas Geymayer
fd3bd5da20
canvas.gui: Basic InputDialog and some small tweaks.
2014-09-01 19:31:25 +02:00
Thomas Geymayer
246c480ea3
canvas.gui: Add a basic LineEdit for text input.
2014-08-31 19:40:14 +02:00
Thomas Geymayer
a10e9c7b00
canvas.gui: simplify MessageBox and Aircraft center with core changes.
2014-08-05 00:22:14 +02:00
Thomas Geymayer
67229cbadc
canvas.gui: handle visibility changes of widgets.
2014-07-21 00:28:44 +02:00
Thomas Geymayer
59edeea5c3
Aircraft Center: fix aircraft switching log message.
2014-07-12 18:10:36 +02:00
Thomas Geymayer
bb1ab2d975
canvas.gui: let widgets set layout size to allow user defined size hints.
2014-07-12 18:10:36 +02:00
Thomas Geymayer
c75869271e
Aircraft Center: fixes for install progress in reopened windows.
...
Restore install progress indication after closing and reopening
Aircraft Center.
2014-06-30 18:16:22 +02:00
Thomas Geymayer
bc714fa39c
canvas.gui: widget focus fixes and clean up.
2014-06-29 12:04:36 +02:00
Thomas Geymayer
f8bbc32d68
Aircraft Center: improve responsiveness.
...
Only show max 50 aircraft by default and provide a "Show More"
button. This prevents locking the GUI for up to nearly 15 seconds
with showing the list of all aircraft.
2014-06-28 13:18:57 +02:00
Thomas Geymayer
eb01ab7127
canvas.gui.ScrollArea: no need for double update of content size.
2014-06-28 13:18:56 +02:00
Thomas Geymayer
1864153b9a
canvas.gui.MessageBox: Ensure path for saving selections exists.
2014-06-26 18:11:41 +02:00
Thomas Geymayer
0338d82c55
canvas.gui.ScrollArea: fix (wheel) scroll behavior.
...
Rewrite the way scrolling for ScrollAreas is handled: Store
content position instead of scrollbar positions to keep position
on resize and promote moving the content instead of the contents
to as primary API.
Let the mousewheel scroll by fixed content offset instead of
scrollbar offset to make it actually usable (especially with
low scrolling distance).
2014-06-26 00:50:46 +02:00
Thomas Geymayer
4b00bb3067
canvas.gui: tweak label size hints and text color.
2014-06-23 21:12:26 +02:00
Thomas Geymayer
351f67952c
canvas.gui: Tweak size hints and MessageBox size.
2014-06-19 01:17:40 +02:00
Thomas Geymayer
e091ff9c40
Aircraft Center: show a warning message that it is experimental.
2014-06-18 17:25:15 +02:00
Thomas Geymayer
c03454a6b4
canvas.gui: MessageBox allow saving user selection.
2014-06-18 17:24:51 +02:00
Thomas Geymayer
5d723e6eab
canvas.gui: Add checkbox widget.
2014-06-17 21:02:59 +02:00
Thomas Geymayer
e496ca56ab
canvas.gui: Add MessageBox class.
...
Use canvas.MessageBox.critical/warning/information/question
to show a standard, but also customizable dialog box.
2014-06-17 17:16:02 +02:00
Thomas Geymayer
9933398a37
canvas.gui: missing return and minor color update.
2014-06-17 17:12:21 +02:00
Thomas Geymayer
b5dae5b567
canvas.gui: Button color tweaking.
2014-06-17 11:44:05 +02:00
Thomas Geymayer
8760036aa2
Aircraft Center: tabs for installed aircrafts. Buttons to switch aircraft.
2014-06-16 22:38:46 +02:00
Thomas Geymayer
55980af126
canvas.gui: remove canvas elements on deleting layout items.
2014-06-16 22:38:46 +02:00
Thomas Geymayer
cba00d9217
Aircraft Center: tweaking/typos.
...
- Increase default size.
- Run parse_markdown on description to remove multi
whitespace, possible present in catalog.xml and
also support simple, one-level bullet point lists.
2014-06-16 22:38:45 +02:00
Thomas Geymayer
45889adb74
canvas.gui.ScrollArea: drag to scroll inside content area.
2014-06-13 12:27:31 +02:00
Thomas Geymayer
6d086ad73e
Aircraft Center: show description and package size.
...
Description is probably not visible, as currently now package
includes a description. If no description is available the
ratings are shown.
2014-06-13 00:34:44 +02:00
Thomas Geymayer
3505d3c8bf
canvas.gui: support height-for-width layouting.
...
Setting wordWrap on canvas.gui.Label enables height-for-width
where the height of the label depends on the layouted texts
width.
2014-06-13 00:34:44 +02:00
Thomas Geymayer
2aeeae855f
Aircraft Center: filter based on minimum rating and show missing thumbnail.
2014-06-12 00:49:18 +02:00
Thomas Geymayer
35bf001fa6
Aircraft Center: show progress and update button on install/remove.
2014-06-11 00:44:17 +02:00
Thomas Geymayer
1b5fc0cbdf
canvas.gui: allow disabling widgets.
2014-06-11 00:36:42 +02:00
Thomas Geymayer
e4d60f2153
Simple canvas based "Aircraft Center".
...
- Needs FlightGear compiled with -DENABLE_PACKAGE_SYSTEM.
- Shows only first 100 available aircrafts.
- Now progress indication on install/remove (need to reopen
dialog afterwards)
2014-06-10 18:47:13 +02:00
Thomas Geymayer
48f33fe78f
canvas.gui: Checkable buttons, layout for ScrollArea and images for Lables.
2014-06-10 18:46:52 +02:00
Thomas Geymayer
7e2c93825f
canvas.gui: restructuring, fixing and new Label widget.
2014-06-09 01:00:21 +02:00
Thomas Geymayer
f91d439ac0
canvas.gui: Update ScrollArea for layouting system.
2014-06-05 17:33:44 +02:00
Thomas Geymayer
c226e171ca
canvas.gui: tweaking and testing widget/layout stretch.
2014-06-04 17:53:52 +02:00
Thomas Geymayer
c3a65442b1
canvas.gui: Update for core changes and use new layouting system
2014-06-03 19:30:30 +02:00
Philosopher
6e17a1d2cb
Initial Nasal REPL work (canvas-based)
...
Features:
- Various configurable styles.
- Working scroll bars, thanks to Tom
- Adequate REPL-ness.
See the wiki for more information!
http://wiki.flightgear.org/Interactive_Nasal_Console
N.B. This makes some (sane) changes to other Nasal files, including
expanding some of the Canvas API.
2014-04-18 16:49:11 -05:00
Thomas Geymayer
a5401c19c7
canvas: update for new bounding box getters.
2014-03-31 13:34:50 +02:00
Thomas Geymayer
04c40a4232
canvas.gui.ScrollArea: check for valid content bounding box.
2014-03-24 00:18:29 +01:00
Thomas Geymayer
e593ee2c30
canvas.gui: Update for 'file'->'src' rename.
2014-03-20 11:46:48 +01:00
Thomas Geymayer
d7ddeb7183
canvas.gui: Basic ScrollArea widget.
2014-03-19 23:51:33 +01:00
Thomas Geymayer
a13add166b
Canvas GUI: Basic widget, focus and theming support.
2013-07-27 12:57:52 +02:00