forked from liferooter/textpieces
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The reason is bad tooling support. I hope to bring Blueprint back when the tooling will support it better.
- Loading branch information
1 parent
d985bd1
commit 2ed4335
Showing
22 changed files
with
972 additions
and
973 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<interface> | ||
<requires lib="gtk" version="4.0"/> | ||
<template class="TextPiecesCustomToolPage" parent="GtkBox"> | ||
<property name="orientation">vertical</property> | ||
<child> | ||
<object class="AdwHeaderBar"> | ||
<property name="show-start-title-buttons">false</property> | ||
<property name="show-end-title-buttons">false</property> | ||
<child type="start"> | ||
<object class="GtkButton"> | ||
<signal name="clicked" handler="go_back"/> | ||
<property name="icon-name">go-previous-symbolic</property> | ||
</object> | ||
</child> | ||
<child type="title"> | ||
<object class="GtkLabel"> | ||
<style> | ||
<class name="heading"/> | ||
</style> | ||
<property name="label" translatable="true">Edit Tool</property> | ||
</object> | ||
</child> | ||
<child type="end"> | ||
<object class="GtkButton"> | ||
<style> | ||
<class name="destructive-action"/> | ||
</style> | ||
<signal name="clicked" handler="delete_tool"/> | ||
<signal name="clicked" handler="go_back"/> | ||
<property name="label" translatable="true">D_elete</property> | ||
<property name="use-underline">true</property> | ||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="TextPiecesToolSettings" id="tool_settings"> | ||
<property name="can-edit-script">true</property> | ||
</object> | ||
</child> | ||
</template> | ||
</interface> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<interface> | ||
<requires lib="gtk" version="4.0"/> | ||
<template class="TextPiecesEditor" parent="AdwBin"> | ||
<property name="child"> | ||
<object class="AdwToastOverlay" id="message_overlay"> | ||
<child> | ||
<object class="GtkOverlay"> | ||
<child> | ||
<object class="GtkScrolledWindow"> | ||
<child> | ||
<object class="GtkSourceView" id="editor"> | ||
<property name="monospace">true</property> | ||
<property name="auto-indent">true</property> | ||
<property name="show-line-numbers">true</property> | ||
<property name="smart-backspace">true</property> | ||
<property name="smart-home-end">before</property> | ||
<property name="top-margin">6</property> | ||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
<child type="overlay"> | ||
<object class="GtkBox"> | ||
<property name="valign">start</property> | ||
<property name="halign">end</property> | ||
<property name="margin-top">4</property> | ||
<property name="orientation">vertical</property> | ||
<property name="spacing">6</property> | ||
<child> | ||
<object class="TextPiecesSearchBar" id="search_bar"> | ||
<property name="editor">editor</property> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkBox" id="arguments_box"> | ||
<style> | ||
<class name="linked"/> | ||
<class name="editor-overlay"/> | ||
</style> | ||
<property name="halign">end</property> | ||
<property name="hexpand">false</property> | ||
<property name="width-request">300</property> | ||
<property name="margin-top">5</property> | ||
<property name="margin-bottom">2.5</property> | ||
<property name="margin-start">5</property> | ||
<property name="margin-end">10</property> | ||
<property name="spacing">3</property> | ||
<property name="orientation">vertical</property> | ||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
</object> | ||
</property> | ||
</template> | ||
</interface> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<interface> | ||
<requires lib="gtk" version="4.0"/> | ||
<template class="TextPiecesNewToolPage" parent="GtkBox"> | ||
<property name="orientation">vertical</property> | ||
<child> | ||
<object class="AdwHeaderBar"> | ||
<property name="show-start-title-buttons">false</property> | ||
<property name="show-end-title-buttons">false</property> | ||
<child type="start"> | ||
<object class="GtkButton"> | ||
<signal name="clicked" handler="go_back"/> | ||
<property name="icon-name">go-previous-symbolic</property> | ||
</object> | ||
</child> | ||
<child type="title"> | ||
<object class="GtkLabel"> | ||
<style> | ||
<class name="heading"/> | ||
</style> | ||
<property name="label" translatable="true">New Tool</property> | ||
</object> | ||
</child> | ||
<child type="end"> | ||
<object class="GtkRevealer"> | ||
<property name="transition-type">crossfade</property> | ||
<property name="reveal-child" bind-source="tool_settings" bind-property="is_valid" bind-flags="sync-create"/> | ||
<property name="child"> | ||
<object class="GtkButton"> | ||
<style> | ||
<class name="suggested-action"/> | ||
</style> | ||
<signal name="clicked" handler="create"/> | ||
<signal name="clicked" handler="go_back"/> | ||
<property name="label" translatable="true">_Create</property> | ||
<property name="use-underline">true</property> | ||
</object> | ||
</property> | ||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="TextPiecesToolSettings" id="tool_settings"></object> | ||
</child> | ||
</template> | ||
</interface> |
Oops, something went wrong.