mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-30 07:07:25 +00:00
Optional C++ namespaces (#4759)
Co-authored-by: Michael Winkelmann <michael@winkelmann.site>
This commit is contained in:
parent
43266f7f76
commit
bef532b5fc
11 changed files with 148 additions and 19 deletions
|
@ -5,7 +5,8 @@
|
|||
|
||||
int main()
|
||||
{
|
||||
auto demo = MainWindow::create();
|
||||
auto demo = todo_ui::MainWindow::create();
|
||||
using todo_ui::TodoItem;
|
||||
|
||||
auto todo_model = std::make_shared<slint::VectorModel<TodoItem>>(std::vector {
|
||||
TodoItem { "Implement the .slint file", true },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue