further rewrites, interface fixes, added temporary icon
This commit is contained in:
@@ -424,6 +424,12 @@ template $ChecklistPage: Box {
|
||||
margin-bottom: 4;
|
||||
}
|
||||
|
||||
ToggleButton uriel {
|
||||
name: "uriel";
|
||||
label: _("Uriel");
|
||||
margin-bottom: 4;
|
||||
}
|
||||
|
||||
ToggleButton valkyr {
|
||||
name: "valkyr";
|
||||
label: _("Valykr");
|
||||
@@ -944,6 +950,18 @@ template $ChecklistPage: Box {
|
||||
margin-bottom: 4;
|
||||
}
|
||||
|
||||
ToggleButton uriel_prime {
|
||||
name: "uriel_prime";
|
||||
label: _("Uriel Prime");
|
||||
margin-bottom: 4;
|
||||
can-target: false;
|
||||
can-focus: false;
|
||||
|
||||
styles [
|
||||
"disabled",
|
||||
]
|
||||
}
|
||||
|
||||
ToggleButton valkyr_prime {
|
||||
name: "valkyr_prime";
|
||||
label: _("Valykr Prime");
|
||||
|
||||
@@ -501,6 +501,13 @@ corresponding .blp file and regenerate this file with blueprint-compiler.
|
||||
<property name="margin-bottom">4</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkToggleButton" id="uriel">
|
||||
<property name="name">uriel</property>
|
||||
<property name="label" translatable="yes">Uriel</property>
|
||||
<property name="margin-bottom">4</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkToggleButton" id="valkyr">
|
||||
<property name="name">valkyr</property>
|
||||
@@ -1091,6 +1098,18 @@ corresponding .blp file and regenerate this file with blueprint-compiler.
|
||||
<property name="margin-bottom">4</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkToggleButton" id="uriel_prime">
|
||||
<property name="name">uriel_prime</property>
|
||||
<property name="label" translatable="yes">Uriel Prime</property>
|
||||
<property name="margin-bottom">4</property>
|
||||
<property name="can-target">false</property>
|
||||
<property name="can-focus">false</property>
|
||||
<style>
|
||||
<class name="disabled"/>
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkToggleButton" id="valkyr_prime">
|
||||
<property name="name">valkyr_prime</property>
|
||||
|
||||
@@ -2,12 +2,21 @@ using Gtk 4.0;
|
||||
using Adw 1;
|
||||
|
||||
template $HomePage: Box {
|
||||
Adw.StatusPage {
|
||||
title: _("Home");
|
||||
Box {
|
||||
Text {
|
||||
text: _("This is a placeholder.");
|
||||
orientation: vertical;
|
||||
baseline-position: center;
|
||||
Adw.Clamp {
|
||||
Adw.StatusPage {
|
||||
title: _("Home");
|
||||
Box {
|
||||
baseline-position: center;
|
||||
orientation: vertical;
|
||||
Label {
|
||||
justify: center;
|
||||
wrap: true;
|
||||
wrap-mode: word;
|
||||
label: _("Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui.");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -7,14 +7,25 @@ corresponding .blp file and regenerate this file with blueprint-compiler.
|
||||
<interface>
|
||||
<requires lib="gtk" version="4.0"/>
|
||||
<template class="HomePage" parent="GtkBox">
|
||||
<property name="orientation">1</property>
|
||||
<property name="baseline-position">1</property>
|
||||
<child>
|
||||
<object class="AdwStatusPage">
|
||||
<property name="title" translatable="yes">Home</property>
|
||||
<object class="AdwClamp">
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<object class="AdwStatusPage">
|
||||
<property name="title" translatable="yes">Home</property>
|
||||
<child>
|
||||
<object class="GtkText">
|
||||
<property name="text" translatable="yes">This is a placeholder.</property>
|
||||
<object class="GtkBox">
|
||||
<property name="baseline-position">1</property>
|
||||
<property name="orientation">1</property>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="justify">2</property>
|
||||
<property name="wrap">true</property>
|
||||
<property name="wrap-mode">0</property>
|
||||
<property name="label" translatable="yes">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui.</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
||||
@@ -2,10 +2,20 @@ using Gtk 4.0;
|
||||
using Adw 1;
|
||||
|
||||
template $SettingsPage: Box {
|
||||
orientation: vertical;
|
||||
baseline-position: center;
|
||||
Adw.Clamp {
|
||||
Box {
|
||||
Text {
|
||||
text: _("This is a placeholder!");
|
||||
Adw.StatusPage {
|
||||
title: _("Settings");
|
||||
Box {
|
||||
baseline-position: center;
|
||||
orientation: vertical;
|
||||
Label {
|
||||
justify: center;
|
||||
wrap: true;
|
||||
wrap-mode: word;
|
||||
label: _("Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui.");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,13 +7,25 @@ corresponding .blp file and regenerate this file with blueprint-compiler.
|
||||
<interface>
|
||||
<requires lib="gtk" version="4.0"/>
|
||||
<template class="SettingsPage" parent="GtkBox">
|
||||
<property name="orientation">1</property>
|
||||
<property name="baseline-position">1</property>
|
||||
<child>
|
||||
<object class="AdwClamp">
|
||||
<child>
|
||||
<object class="GtkBox">
|
||||
<object class="AdwStatusPage">
|
||||
<property name="title" translatable="yes">Settings</property>
|
||||
<child>
|
||||
<object class="GtkText">
|
||||
<property name="text" translatable="yes">This is a placeholder!</property>
|
||||
<object class="GtkBox">
|
||||
<property name="baseline-position">1</property>
|
||||
<property name="orientation">1</property>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="justify">2</property>
|
||||
<property name="wrap">true</property>
|
||||
<property name="wrap-mode">0</property>
|
||||
<property name="label" translatable="yes">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui.</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
||||
@@ -9,6 +9,7 @@ template $GnomeframeWindow: Adw.ApplicationWindow {
|
||||
content:
|
||||
// Scaffolding
|
||||
Adw.ToolbarView {
|
||||
bottom-bar-style: raised;
|
||||
// Header bar
|
||||
[top]
|
||||
Adw.HeaderBar {
|
||||
@@ -22,6 +23,7 @@ template $GnomeframeWindow: Adw.ApplicationWindow {
|
||||
icon-name: "open-menu-symbolic";
|
||||
menu-model: primary_menu;
|
||||
tooltip-text: _("Main Menu");
|
||||
has-tooltip: true;
|
||||
primary: true;
|
||||
}
|
||||
title-widget:
|
||||
@@ -36,8 +38,13 @@ template $GnomeframeWindow: Adw.ApplicationWindow {
|
||||
|
||||
};
|
||||
[bottom]
|
||||
Adw.ViewSwitcherBar switcher_bar {
|
||||
stack: viewstack;
|
||||
ActionBar {
|
||||
[center]
|
||||
Button btn_reset_profile {
|
||||
label: _("Reset");
|
||||
tooltip-text: _("Reset Profile");
|
||||
has-tooltip: true;
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -12,6 +12,7 @@ corresponding .blp file and regenerate this file with blueprint-compiler.
|
||||
<property name="title">Gnomeframe</property>
|
||||
<property name="content">
|
||||
<object class="AdwToolbarView">
|
||||
<property name="bottom-bar-style">1</property>
|
||||
<child type="top">
|
||||
<object class="AdwHeaderBar">
|
||||
<child type="start">
|
||||
@@ -25,6 +26,7 @@ corresponding .blp file and regenerate this file with blueprint-compiler.
|
||||
<property name="icon-name">open-menu-symbolic</property>
|
||||
<property name="menu-model">primary_menu</property>
|
||||
<property name="tooltip-text" translatable="yes">Main Menu</property>
|
||||
<property name="has-tooltip">true</property>
|
||||
<property name="primary">true</property>
|
||||
</object>
|
||||
</child>
|
||||
@@ -40,8 +42,14 @@ corresponding .blp file and regenerate this file with blueprint-compiler.
|
||||
<object class="AdwViewStack" id="viewstack"></object>
|
||||
</property>
|
||||
<child type="bottom">
|
||||
<object class="AdwViewSwitcherBar" id="switcher_bar">
|
||||
<property name="stack">viewstack</property>
|
||||
<object class="GtkActionBar">
|
||||
<child type="center">
|
||||
<object class="GtkButton" id="btn_reset_profile">
|
||||
<property name="label" translatable="yes">Reset</property>
|
||||
<property name="tooltip-text" translatable="yes">Reset Profile</property>
|
||||
<property name="has-tooltip">true</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
||||
Reference in New Issue
Block a user