1
0
Fork 0
Commit graph

36 commits

Author SHA1 Message Date
TheFGFSEagle
a5f2e19c12 Pass node in the config hash instead of as an argument 2023-02-10 13:01:20 +00:00
TheFGFSEagle
8a1192c918 Added Switch class, added group-checked-radio-changed signal for radio buttons 2023-02-03 11:28:29 +00:00
TheFGFSEagle
7274ec886a Added some utility functions (all, any, map and filter) 2023-01-24 19:03:52 +00:00
TheFGFSEagle
7dd431cbbd Implemented canvas radio button 2023-01-24 14:09:22 +00:00
TheFGFSEagle
f569a5ac29 Added property tree widget and browser dialog 2023-01-24 13:59:47 +00:00
James Turner
151486219d Add ComboBox widget 2023-01-24 13:27:04 +00:00
James Turner
ede0844631 GUI MenuItem/menuBar fixes:
- ensure createItem returns the item
- add an accessor for text()
- don't do lazy view creation for now
- skip aboutToShow until item iteration works for me
2023-01-24 13:27:04 +00:00
TheFGFSEagle
2b9d10804b Added list widget 2023-01-24 13:17:02 +00:00
TheFGFSEagle
0a6ddb689a Added label benchmarking functionality and a menu bar 2023-01-24 13:15:53 +00:00
TheFGFSEagle
ef602c0d3a Improved resize buttons by Hooray 2023-01-11 11:08:40 +00:00
James Turner
aa57b7992f Canvas: rule lines working with styling
PUI uses these a lot, so good to have them working
2023-01-11 10:57:42 +00:00
James Turner
d00c983429 Canvas widgets: style for Slider
Only horizontal mode for now, and not quite right visually,
but usable enough to start with.
2023-01-11 10:57:42 +00:00
James Turner
333321556f Add example of coordinate conversion 2023-01-05 14:28:20 +00:00
James Turner
df43cb2554 Canvas: make setVisible chainable
Change Element.setVisible to return self, so it can be chain
called like most other setters. Note this also requires some C++
changes in FlightGear.
2023-01-04 15:32:26 +00:00
TheFGFSEagle
074e2511de Fixed some more typos 2023-01-04 12:35:04 +00:00
TheFGFSEagle
114694cbbe Fix inheritance mistake, add resizing test button 2023-01-04 10:03:27 +00:00
TheFGFSEagle
b2f37b67f8 Added usage example for the TabWidget 2023-01-03 13:49:56 +00:00
TheFGFSEagle
4bc559bcf4 Added canvas widget factory dialog 2023-01-03 13:49:56 +00:00
Henning Stahlke
fba17e4d34 Replace printlog by logprint 2020-04-21 09:07:20 +02:00
Thomas Geymayer
fd3bd5da20 canvas.gui: Basic InputDialog and some small tweaks. 2014-09-01 19:31:25 +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
59edeea5c3 Aircraft Center: fix aircraft switching log message. 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
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
1864153b9a canvas.gui.MessageBox: Ensure path for saving selections exists. 2014-06-26 18:11:41 +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
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
8760036aa2 Aircraft Center: tabs for installed aircrafts. Buttons to switch aircraft. 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
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
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
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