ogoffart
3278b39549
Bump version number to 0.1.6
2021-11-24 14:19:09 +00:00
ogoffart
b25ae6fbcd
Bump version number to 0.1.5
2021-10-26 07:36:54 +00:00
ogoffart
77fcd5221b
Bump version number to 0.1.4
2021-10-07 09:36:43 +00:00
Olivier Goffart
db10bf2187
Fix embedded window icon with the Qt backend
...
Also add a window icon to the gallery
2021-10-06 12:39:22 +02:00
Simon Hausmann
4a26faef9a
Add AboutSixtyFPS element
2021-10-05 23:16:46 +02:00
ogoffart
8b9717633e
Bump version number to 0.1.3
2021-10-05 10:31:45 +00:00
Simon Hausmann
d8a39c8d6e
gallery: Change the text of the textedit example
...
to something that might make more sense to read :-)
2021-09-08 18:52:07 +02:00
Olivier Goffart
cbf22d494e
TextEdit
2021-09-06 21:52:12 +02:00
ogoffart
e54e03148f
Bump version number to 0.1.2
2021-09-04 10:08:51 +02:00
Olivier Goffart
013eee351c
Wasm demos: add touch-action: none
to all canvas
...
So that the Slider, Flickabke and such works on android/chrome
2021-08-20 09:33:49 +02:00
Tobias Hunger
aea4ecca99
Apply pre-commit hooks to all files
2021-08-17 22:38:16 +02:00
Olivier Goffart
429e5bdb07
Add link to SixtyFPS homepage from the wasm demo pages
2021-08-12 14:19:29 +02:00
Simon Hausmann
9779408e35
Apply the loading spinner from the plotter example to the gallery
2021-08-12 10:00:44 +02:00
Olivier Goffart
ffccef4e0c
Examples: replace all _ by - in identifiers
2021-08-10 22:21:01 +02:00
ogoffart
53f286258c
Bump version number to 0.1.1
2021-08-10 08:06:20 +00:00
Olivier Goffart
a0a8cc3bc9
Mark the TabWidget as internal and re-export it from the style
2021-08-09 12:41:03 +02:00
Olivier Goffart
63db0959f9
Fix the TabWidget's ugly style size constraints
2021-08-06 15:58:13 +02:00
Olivier Goffart
d41839abe3
Compiler pass for the TabWidget
...
it will lower the TabWidget into a TabWidgetImpl and the tabs into TabImpl
2021-08-06 15:58:13 +02:00
Simon Hausmann
14c6819791
Add support for icons in the Button widget
...
The icon in the gallery example was generated via https://emoji.aranja.com
2021-07-27 19:37:06 +02:00
Olivier Goffart
13bd828b96
Update license date
2021-07-02 15:55:54 +02:00
Olivier Goffart
c5312fd642
Ugly style: use a layout for the ComboBox
...
Then it is properly layed out and we can use the auto-wrap in the gallery example
2021-07-02 14:17:15 +02:00
Olivier Goffart
962dc0075c
Layout: Make the default padding and spacing 0
...
and add Box widgets that have proper defaults
Closes #200
2021-06-21 14:29:53 +02:00
Olivier Goffart
fbdbe69fe7
Window: make hight and width fixed size, preferred-* property set the initial size
...
Issue #227
2021-05-18 10:23:06 +02:00
Simon Hausmann
7773678e22
Simplify wasm "startup" code
...
Apply the simplification of 2398d00e6f
to all
index.html files we use. An async function
can be called directly.
2021-04-14 09:36:33 +02:00
Olivier Goffart
ed1fc31b84
Put the window background color in the StyleMetrics
...
And make use of Window::background in Qt
2021-02-15 15:57:58 +01:00
Olivier Goffart
9bdb793ec1
Rename Window::color to background
2021-02-05 09:38:40 +01:00
Olivier Goffart
265efbbf4f
Draw multi-line text with GL backend
2021-01-19 12:10:16 +01:00
Olivier Goffart
b42c16851a
Use the color property of the window as a background
2020-12-18 16:54:19 +01:00
Olivier Goffart
61399e566a
Add a title to the Window
...
also add a color, but not yet implemented
2020-12-18 16:47:14 +01:00
Olivier Goffart
002cfa76af
Use PRIVATE in target_link_libraries
2020-12-16 14:29:12 +01:00
Olivier Goffart
d8680c33d0
Port more wasm example to the simplified wasm
2020-12-08 13:01:02 +01:00
Simon Hausmann
7047856d4e
Replace FooRc with Foo and without ComponentHandle in examples and tests
2020-12-03 08:13:24 +01:00
Simon Hausmann
08b8a8cb83
Port the examples away from the ComponentHandle based API
2020-12-03 08:13:15 +01:00
Simon Hausmann
a5932c9f88
Remove the outline around the canvas in the wasm demos
2020-11-26 17:31:46 +01:00
Olivier Goffart
d6a440aa4a
Change C++ API to use the ComponentHandle
2020-11-10 19:28:34 +01:00
Simon Hausmann
f5eb39562f
Shrink the default height of the gallery a little
2020-11-06 13:29:27 +01:00
Simon Hausmann
07a728ef8b
Improve gallery layout slightly
...
Place the Button next to the CheckBox
2020-11-06 13:24:45 +01:00
Simon Hausmann
fb8a0b1b5c
Add disabling to the spinbox
2020-11-06 11:09:40 +01:00
Simon Hausmann
851c376d67
Add disabling to the Slider
2020-11-06 11:09:40 +01:00
Simon Hausmann
9f5ea10e49
Add support for disabling some widgets
2020-11-06 11:09:23 +01:00
Simon Hausmann
78f94a1316
Add a common toggle for disabling widgets
2020-11-06 11:09:22 +01:00
Simon Hausmann
8729f07199
Fix the spacing of the gallery "head paragraph"
2020-11-04 17:39:51 +01:00
Olivier Goffart
8a95b806c7
Strawman implementation of a combo box
2020-11-03 17:55:49 +01:00
Olivier Goffart
9bf686db29
Use layout alignment in the example
2020-11-03 12:25:55 +01:00
Simon Hausmann
6b7630963f
Add support for disabling a Button
...
This also removes the funny binding on the button in the gallery.
UI wise it's confusing that a button changes its size when pressed, and we can
show off bindings somewhere else :-)
2020-10-30 15:55:18 +01:00
Simon Hausmann
a7abfea961
Fix gallery layout
...
The layout before this patch resulted in constraints where the maximum
width was less than the calculated minimum width.
To avoid this situation, this patch rewrites the layout to use a central
vertical layout and places the items that we don't want to stretch into
horizontal boxes with a spacer.
2020-10-30 14:23:54 +01:00
Olivier Goffart
263df7dc63
Remove the www from all sixtyfps.io URL
2020-10-29 11:06:06 +01:00
Olivier Goffart
dc98487160
Add a placeholder-text property to LineEdit
2020-10-27 10:55:08 +01:00
Simon Hausmann
0cb54b84f9
Remove dummy Rectangle from Gallery
...
It's not "needed" anymore AFAICS
2020-10-21 15:09:03 +02:00
Olivier Goffart
1436402999
Change the target name for the C++ example
...
they were ending by _cpp because corrosion used to add all rust target as target
but that's no longer the case
2020-10-20 18:02:28 +02:00