Commit 48212450 authored by Sai Moukthik Konduru's avatar Sai Moukthik Konduru
Browse files

Update FunctionPad.qml

parent f8527335
......@@ -26,17 +26,15 @@ import org.kde.kirigami 2.13 as Kirigami
import QtQuick.Layouts 1.1
GridLayout {
signal pressed(string text)
columns: 3
columns: 2
rowSpacing: Kirigami.Units.smallSpacing
columnSpacing: Kirigami.Units.smallSpacing
NumberButton {text: "sin(" ; display: "sin"; onClicked: pressed(text);}
NumberButton {text: "cos(" ; display: "cos"; onClicked: pressed(text);}
NumberButton {text: "tan(" ; display: "tan"; onClicked: pressed(text);}
NumberButton {text: "log(" ; display: "ln"; onClicked: pressed(text);}
NumberButton {text: "log10(" ; display: "log10"; onClicked: pressed(text);}
NumberButton {text: "log2(" ; display: "log2"; onClicked: pressed(text);}
NumberButton {text: "√(" ; display: ""; onClicked: pressed(text);}
NumberButton {text: "log10("; display: "log10"; onClicked: pressed(text);}
NumberButton {text: "log2("; display: "log2"; onClicked: pressed(text);}
NumberButton {text: "π" ; onClicked: pressed(text);}
NumberButton {text: "e" ; onClicked: pressed(text);}
NumberButton {text: "%" ; onClicked: pressed(text);}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment