mirror of
https://gitlab.cvh-server.de/skrause/flashcards.git
synced 2025-12-12 06:41:38 +01:00
26 lines
407 B
Plaintext
26 lines
407 B
Plaintext
using Gtk 4.0;
|
|
using Adw 1;
|
|
|
|
template $FlashcardsCreateCardDialog : Adw.AlertDialog {
|
|
heading: _("Create a new flashcard");
|
|
close-response: "cancel";
|
|
responses [
|
|
cancel: _("Cancel"),
|
|
add: _("Add") suggested,
|
|
]
|
|
response => $on_response();
|
|
|
|
Adw.EntryRow titleEntry {
|
|
title: _("Title");
|
|
styles [
|
|
"card",
|
|
]
|
|
}
|
|
|
|
Adw.EntryRow answerEntry {
|
|
title: _("Answer");
|
|
styles [
|
|
"card",
|
|
]
|
|
}
|
|
} |