Discussion:
[kst] [Bug 396854] New: Need C++ class capable of creating, reading and modifying KST session files
Jim Henderson
2018-07-25 17:49:52 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=396854

Bug ID: 396854
Summary: Need C++ class capable of creating, reading and
modifying KST session files
Product: kst
Version: 2.0.8
Platform: MS Windows
OS: MS Windows
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: scripting
Assignee: ***@kde.org
Reporter: ***@elkengineering.com
Target Milestone: ---

KST command line options are insufficient to fully control the formatting of
data rendered by KST. In many cases, KST provides a means of formatting the
rendering to suit preferences, but only through manual use of internal dialogs
and menu options.

A means of programatically creating, modifying and reading KST session files is
needed. Providing C++ source for a class capable of manipulating KST session
files would be ideal for my purposes.

Alternately, if documentation were available detailing the KST session file
format, I could author such a class for general release.

In a similar vein, it would be convenient to remotely configure and control KST
via a named pipe or other communications path. This would eliminate the need
for generation of KST session files for many applications which treat KST as a
visualization extension.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@kde.org
2018-08-29 18:28:50 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=396854

***@astro.utoronto.ca changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@astro.utoronto.
| |ca

--- Comment #1 from ***@astro.utoronto.ca ---
Another approach would be to use pykst to create sessions. It is much more
powerful than the command line.

links to the package and the documentation is at the bottom of
https://kst-plot.kde.org/

Let me know if this looks like it will do the job for you.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@kde.org
2018-09-28 22:41:53 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=396854

***@astro.utoronto.ca changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WORKSFORME
Status|REPORTED |RESOLVED

--- Comment #2 from ***@astro.utoronto.ca ---
Looking at the request again, I see that the requested feature ("remotely
configure and control Kst") does in fact exist through the pykst python
bindings.

It is also possible for C++ code to control kst from a C++ program with the
interface used by the pykst python bindings: talking to a running kst session
with a QLocalSocket. The only problem is that the second is not documented,
except by reading the pykst.py bindings (which actually isn't too bad).

If neither of these will work, or if you are having problems making these work,
let me know. I am closing the bug in the meantime.
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...