Questions tagged [plasmoid]

A plasmoid is a widget for the KDE Plasma system, which can be placed on the screen background or in the panel.

36 questions
1
vote
0 answers

Perform operations on multiple ajax requests

This is for a plasma widget that gets different exchange rates and multiplies them with each other if the option is enabled. ie rate1 * rate2 * rate3. bear in mind that i'm new to this and am not sure how i'd implement this due to the necessity of…
yamahama
  • 39
  • 2
1
vote
1 answer

Plasmoid won't attach to desktop

Trying to learn the fine art of Plasma5 (specifically 5.12) plasmoid development. I'm aspiring to be a minor KDE documentation contributor. It's a simple plasmoid that pops open when clicked and displays a message. It runs fine inside of…
Dito
  • 182
  • 3
  • 12
1
vote
1 answer

multiple layouts/layout transitions in a python plasmoid

I'm doing a little python plasmoid that deals with remote resources. Here's the code : glpoid It offers a view of tickets (the default one), a view that let the user filling and sending a new ticket, and a last one to see a ticket detail... My…
Jérôme Pigeot
  • 2,091
  • 4
  • 22
  • 25
0
votes
0 answers

Sliding a frameless window in and out of screen edge in qml

As the title says, I want to move, clicking a button in task bar , a frameless window out and in of screen right edge .One way to achieve this under kde neon in QML, is to create a PlasmaCore.Dialog{} window and setting as flags the…
cgiannakidis
  • 81
  • 1
  • 6
0
votes
1 answer

QML TextArea gets activeFocus (cursor is blinking) I can paste text with right-click context menu, but I can not type anything

I have made a custon plasmoid widget for KDE.It is a PlasmaCore.Dialog{} "window" , without background which slides in and out from right side of screen.Inside this window I have "append" some other widgets, I mean, I have used the qml files in a…
cgiannakidis
  • 81
  • 1
  • 6
0
votes
1 answer

config.qml in Wallpaper Plugin KDE plasma

I am developing a Wallpaper Plugin for KDE Plasma. I have coded all the effects and tested them. It runs well. But while coding the configuration file, the config didn't show up at all in Configure Wallpaper. When I choose another plugin, it shows…
0
votes
1 answer

QML 2 / KDE - What is the Controls to register shortcuts

All across KDE, I can see this button to register shortcuts : Is there a QML control/anything to be used to have that ? I found nothing in https://doc.qt.io/qt-5.15/qmltypes.html, or anywhere else. If not, how can I provide something similar in the…
0
votes
2 answers

How to "require" manually installed gems (KDE plasmoid)?

I'm trying to write a Ruby plasmoid for KDE. I need to use barely one rubygem. Whenever I write require 'dbus', it throw me and an error: code/main.rb:6:in 'require': no such file to load -- dbus (LoadError) code/main.rb:6:in…
kyrylo
  • 1,691
  • 1
  • 15
  • 22
0
votes
1 answer

How to make an infinite async loop on Plasma 5 plasmoids

I'm starting on KDE Plasma 5 plasmoids developments and I'm trying to make a plasmoid that fetches data from an API every 10 seconds and shows it in a Label (from org.kde.plasma.components). In browser environments we can use setTimeout with no…
NathanPB
  • 685
  • 1
  • 7
  • 22
0
votes
2 answers

Kde global menu with PhpStorm or Visual Studio Code

I have a problem with Kde Global Menu. Debian buster KDE 5.13.5: KDE Framework: 5.49.0 Qt Version: 5.11.2 and PhpStorm 2018.3 EAP - Build #PS-183.4284.100 I'm using latte dock with global menu that for some programs works (for instance google chrome…
matiux
  • 493
  • 1
  • 6
  • 16
0
votes
0 answers

Can I add a database to QML's Local Storage system?

I'm trying to write a desktop widget (plasmoid) for KDE Plasma. I've got a nice sqlite database I've put together. I discovered the QML LocalStorage database system today, but in my opinion it's not well documented. My main question is... can I add…
Dito
  • 182
  • 3
  • 12
0
votes
1 answer

Execute specific command from plasmoid

I'm writing a Remote Control Plasmoid, I want it to send certain commands over ssh to a remote host, I've tried: QProcess p; p.start("/home/user/bin/command"); p.waitfForFinished(-1); where command is a script which has #!/bin/bash ssh…
Cognhuepan
  • 11
  • 1
0
votes
0 answers

Where can I find kde qml object api?

Excuse me for my bad English. I am write a kde plasmoid for show info of top maximized window on the top panel. I need to know what window is maximized and is over other windows. I by use of org.kde.tasmanager know that a specific window is…
mojtaba baghban
  • 111
  • 1
  • 2
0
votes
1 answer

How to handle a connection of a second monitor in a KDE5 plasmoid?

Essentially, the question is asked in the subj. I have some plasmoid and I need to handle the event when a secondary screen appeared in the system.
Serge Roussak
  • 1,731
  • 1
  • 14
  • 28
0
votes
1 answer

(KDE4) Plasma::TextEdit.nativeWidget()->setHtml() does not accept a colors

I have a plasmoid-application which utilises an objects of the Plasma::TextEdit class. And now I could to colorize a text in this objects. I had tried to do this: m_text->nativeWidget()->setHtml("some text
other…
Serge Roussak
  • 1,731
  • 1
  • 14
  • 28