[education/labplot] lib/python: [scripting] added a couple of bindings for missing functions.

Alexander Semke <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 13c590aaf3444beee7d9dcd381570362339daee5 by Alexander Semke.
Committed on 06/08/2026 at 17:59.
Pushed by asemke into branch 'master'.

[scripting] added a couple of bindings for missing functions.

M  +7    -0    lib/python/bindings.xml

https://invent.kde.org/education/labplot/-/commit/13c590aaf3444beee7d9dcd381570362339daee5

diff --git a/lib/python/bindings.xml b/lib/python/bindings.xml
index a9bcab5c3f..cc5366cc1e 100644
--- a/lib/python/bindings.xml
+++ b/lib/python/bindings.xml
@@ -513,6 +513,10 @@
         <declare-function signature="setRotationAngle(qreal)" return-type="void"/>
         <declare-function signature="size()const" return-type="qreal"/>
         <declare-function signature="setSize(qreal)" return-type="void"/>
+        <declare-function signature="brush()const" return-type="QBrush"/>
+        <declare-function signature="setBrush(const QBrush&amp;)" return-type="void"/>
+        <declare-function signature="pen()const" return-type="QPen"/>
+        <declare-function signature="setPen(const QPen&amp;)" return-type="void"/>
     </object-type>
     <rejection class="Value" field-name="*"/>
     <rejection class="Value" function-name="*"/>
@@ -1540,6 +1544,9 @@
                 <replace-default-expression with="-1"/>
             </modify-argument>
         </declare-function>
+
+        <declare-function signature="horizontalAxis()const" return-type="Axis*"/>
+        <declare-function signature="verticalAxis()const" return-type="Axis*"/>
     </object-type>
 
     <!-- Worksheet Elements -->
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.