-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6592ef1
commit 8068b9b
Showing
14 changed files
with
214 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,8 +20,8 @@ | |
<enum id="@[email protected]"> | ||
<value nick="euler" value="0" /> | ||
<value nick="archimedes" value="1" /> | ||
<value nick="imaginary" value="2" /> | ||
<value nick="golden_ratio" value="3" /> | ||
<value nick="golden_ratio" value="2" /> | ||
<value nick="imaginary" value="3" /> | ||
<value nick="euler_masch" value="4" /> | ||
<value nick="conway" value="5" /> | ||
<value nick="khinchin" value="6" /> | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
// SPDX-FileCopyrightText: 2024 Subhadeep Jasu <[email protected]> | ||
using Gtk 4.0; | ||
using Adw 1; | ||
|
||
template $PebblesPreferencesDialog: Adw.PreferencesDialog { | ||
Adw.PreferencesPage { | ||
Adw.PreferencesGroup { | ||
title: _("General"); | ||
styles ["preferences-group"] | ||
|
||
Adw.SwitchRow { | ||
title: _("Save State"); | ||
subtitle: _("Load last session on startup"); | ||
focus-on-click: false; | ||
focusable: false; | ||
} | ||
|
||
Adw.ActionRow float_accuracy { | ||
title: _("Precision"); | ||
subtitle: _("Number of decimal places"); | ||
focus-on-click: false; | ||
focusable: false; | ||
|
||
SpinButton { | ||
width-request: 100; | ||
adjustment: Adjustment { | ||
lower: 0; | ||
upper: 9; | ||
step-increment: 1; | ||
}; | ||
focus-on-click: false; | ||
focusable: false; | ||
can-focus: false; | ||
} | ||
} | ||
|
||
Adw.ExpanderRow { | ||
title: _("Scientific Constants Button"); | ||
subtitle: _("The scientific constants to insert when the 'Constants' button is clicked"); | ||
focus-on-click: false; | ||
focusable: false; | ||
can-focus: false; | ||
|
||
Adw.ComboRow constants_select_1 { | ||
title: _("Constants Button Default"); | ||
use-subtitle: true; | ||
model: bind template.constant_button_model; | ||
focus-on-click: false; | ||
focusable: false; | ||
} | ||
|
||
Adw.ComboRow constants_select_2 { | ||
title: _("Constants Button Shifted"); | ||
use-subtitle: true; | ||
model: bind template.constant_button_model; | ||
focus-on-click: false; | ||
focusable: false; | ||
} | ||
} | ||
} | ||
|
||
Adw.PreferencesGroup { | ||
title: _("Calculus"); | ||
styles ["preferences-group"] | ||
|
||
Adw.ActionRow { | ||
title: _("Integration Resolution"); | ||
subtitle: _("Higher resolution means more time to process"); | ||
focus-on-click: false; | ||
focusable: false; | ||
|
||
Scale { | ||
width-request: 200; | ||
adjustment: Adjustment { | ||
lower: 0; | ||
upper: 9; | ||
step-increment: 1; | ||
}; | ||
focus-on-click: false; | ||
focusable: false; | ||
} | ||
} | ||
} | ||
|
||
Adw.PreferencesGroup { | ||
title: _("Converters"); | ||
styles ["preferences-group"] | ||
|
||
Adw.EntryRow { | ||
title: _("Currency Converter API Key"); | ||
focus-on-click: false; | ||
focusable: false; | ||
} | ||
} | ||
} | ||
} |
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 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
Oops, something went wrong.