mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 06:27:45 +00:00
Calculator: Add a Shrinking action
This action allow the user to shrink a number to a finite number of decimal.
This commit is contained in:
parent
e3b22c395d
commit
2ff773a6ba
7 changed files with 32 additions and 7 deletions
|
@ -13,10 +13,10 @@ class RoundingDialog : public GUI::Dialog {
|
|||
C_OBJECT(RoundingDialog);
|
||||
|
||||
public:
|
||||
static ExecResult show(GUI::Window* parent_window, unsigned& rounding_value);
|
||||
static ExecResult show(GUI::Window* parent_window, StringView title, unsigned& rounding_value);
|
||||
|
||||
private:
|
||||
RoundingDialog(GUI::Window* parent_window);
|
||||
RoundingDialog(GUI::Window* parent_window, StringView title);
|
||||
virtual ~RoundingDialog() override = default;
|
||||
|
||||
RefPtr<GUI::SpinBox> m_rounding_spinbox;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue