File indexing completed on 2024-05-12 16:08:38
0001 class pyqtSignal(): 0002 def connect(self, targetSignal): pass 0003 def emit(self, *args): pass 0004 from QtCore import * 0005 0006 class Plasma(): 0007 """""" 0008 # Enum Plasma.TrustLevel 0009 InvalidCredentials = 0 0010 UnknownCredentials = 0 0011 ValidCredentials = 0 0012 TrustedCredentials = 0 0013 UltimateCredentials = 0 0014 0015 # Enum Plasma.AnnouncementMethod 0016 NoAnnouncement = 0 0017 ZeroconfAnnouncement = 0 0018 0019 # Enum Plasma.ItemStatus 0020 UnknownStatus = 0 0021 PassiveStatus = 0 0022 ActiveStatus = 0 0023 NeedsAttentionStatus = 0 0024 AcceptingInputStatus = 0 0025 0026 # Enum Plasma.MessageButton 0027 ButtonNone = 0 0028 ButtonOk = 0 0029 ButtonYes = 0 0030 ButtonNo = 0 0031 ButtonCancel = 0 0032 0033 # Enum Plasma.MarginEdge 0034 TopMargin = 0 0035 BottomMargin = 0 0036 LeftMargin = 0 0037 RightMargin = 0 0038 0039 # Enum Plasma.ComponentType 0040 AppletComponent = 0 0041 DataEngineComponent = 0 0042 RunnerComponent = 0 0043 AnimatorComponent = 0 0044 ContainmentComponent = 0 0045 WallpaperComponent = 0 0046 GenericComponent = 0 0047 0048 # Enum Plasma.AspectRatioMode 0049 InvalidAspectRatioMode = 0 0050 IgnoreAspectRatio = 0 0051 KeepAspectRatio = 0 0052 Square = 0 0053 ConstrainedSquare = 0 0054 FixedSize = 0 0055 0056 # Enum Plasma.ImmutabilityType 0057 Mutable = 0 0058 UserImmutable = 0 0059 SystemImmutable = 0 0060 0061 # Enum Plasma.ItemTypes 0062 AppletType = 0 0063 LineEditType = 0 0064 0065 # Enum Plasma.IntervalAlignment 0066 NoAlignment = 0 0067 AlignToMinute = 0 0068 AlignToHour = 0 0069 0070 # Enum Plasma.ZoomLevel 0071 DesktopZoom = 0 0072 GroupZoom = 0 0073 OverviewZoom = 0 0074 0075 # Enum Plasma.FlipDirection 0076 NoFlip = 0 0077 HorizontalFlip = 0 0078 VerticalFlip = 0 0079 0080 # Enum Plasma.PopupPlacement 0081 FloatingPopup = 0 0082 TopPosedLeftAlignedPopup = 0 0083 TopPosedRightAlignedPopup = 0 0084 LeftPosedTopAlignedPopup = 0 0085 LeftPosedBottomAlignedPopup = 0 0086 BottomPosedLeftAlignedPopup = 0 0087 BottomPosedRightAlignedPopup = 0 0088 RightPosedTopAlignedPopup = 0 0089 RightPosedBottomAlignedPopup = 0 0090 0091 # Enum Plasma.Position 0092 LeftPositioned = 0 0093 RightPositioned = 0 0094 TopPositioned = 0 0095 BottomPositioned = 0 0096 CenterPositioned = 0 0097 0098 # Enum Plasma.Location 0099 Floating = 0 0100 Desktop = 0 0101 FullScreen = 0 0102 TopEdge = 0 0103 BottomEdge = 0 0104 LeftEdge = 0 0105 RightEdge = 0 0106 0107 # Enum Plasma.ZoomDirection 0108 ZoomIn = 0 0109 ZoomOut = 0 0110 0111 # Enum Plasma.Direction 0112 Down = 0 0113 Up = 0 0114 Left = 0 0115 Right = 0 0116 0117 # Enum Plasma.FormFactor 0118 Planar = 0 0119 MediaCenter = 0 0120 Horizontal = 0 0121 Vertical = 0 0122 0123 # Enum Plasma.Constraint 0124 NoConstraint = 0 0125 FormFactorConstraint = 0 0126 LocationConstraint = 0 0127 ScreenConstraint = 0 0128 SizeConstraint = 0 0129 ImmutableConstraint = 0 0130 StartupCompletedConstraint = 0 0131 ContextConstraint = 0 0132 PopupConstraint = 0 0133 AllConstraints = 0 0134 0135 def isPluginVersionCompatible(self, version): 0136 '''static bool Plasma.isPluginVersionCompatible(int version)''' 0137 return bool() 0138 def versionString(self): 0139 '''static str Plasma.versionString()''' 0140 return str() 0141 def versionRelease(self): 0142 '''static int Plasma.versionRelease()''' 0143 return int() 0144 def versionMinor(self): 0145 '''static int Plasma.versionMinor()''' 0146 return int() 0147 def versionMajor(self): 0148 '''static int Plasma.versionMajor()''' 0149 return int() 0150 def version(self): 0151 '''static int Plasma.version()''' 0152 return int() 0153 def packageStructure(self, language, type): 0154 '''static unknown-type Plasma.packageStructure(QString language, Plasma.ComponentType type)''' 0155 return unknown-type() 0156 def loadScriptEngine(self, language, applet): 0157 '''static Plasma.AppletScript Plasma.loadScriptEngine(QString language, Plasma.Applet applet)''' 0158 return Plasma.AppletScript() 0159 def loadScriptEngine(self, language, dataEngine): 0160 '''static Plasma.DataEngineScript Plasma.loadScriptEngine(QString language, Plasma.DataEngine dataEngine)''' 0161 return Plasma.DataEngineScript() 0162 def loadScriptEngine(self, language, runner): 0163 '''static Plasma.RunnerScript Plasma.loadScriptEngine(QString language, Plasma.AbstractRunner runner)''' 0164 return Plasma.RunnerScript() 0165 def loadScriptEngine(self, language, wallpaper): 0166 '''static Plasma.WallpaperScript Plasma.loadScriptEngine(QString language, Plasma.Wallpaper wallpaper)''' 0167 return Plasma.WallpaperScript() 0168 def knownLanguages(self, types): 0169 '''static QStringList Plasma.knownLanguages(Plasma.ComponentTypes types)''' 0170 return QStringList() 0171 def actionsFromMenu(self, menu, prefix = QString(), parent = None): 0172 '''static list-of-QAction Plasma.actionsFromMenu(QMenu menu, QString prefix = QString(), QObject parent = None)''' 0173 return [QAction()] 0174 def viewFor(self, item): 0175 '''static QGraphicsView Plasma.viewFor(QGraphicsItem item)''' 0176 return QGraphicsView() 0177 def locationToInverseDirection(self, location): 0178 '''static Plasma.Direction Plasma.locationToInverseDirection(Plasma.Location location)''' 0179 return Plasma.Direction() 0180 def locationToDirection(self, location): 0181 '''static Plasma.Direction Plasma.locationToDirection(Plasma.Location location)''' 0182 return Plasma.Direction() 0183 def scalingFactor(self, level): 0184 '''static float Plasma.scalingFactor(Plasma.ZoomLevel level)''' 0185 return float() 0186 class PopupApplet(Plasma.Applet): 0187 """""" 0188 def __init__(self, parent, args): 0189 '''void Plasma.PopupApplet.__init__(QObject parent, list-of-QVariant args)''' 0190 def timerEvent(self, event): 0191 '''void Plasma.PopupApplet.timerEvent(QTimerEvent event)''' 0192 def isIconified(self): 0193 '''bool Plasma.PopupApplet.isIconified()''' 0194 return bool() 0195 def popupAlignment(self): 0196 '''Qt.AlignmentFlag Plasma.PopupApplet.popupAlignment()''' 0197 return Qt.AlignmentFlag() 0198 def setPopupAlignment(self, alignment): 0199 '''void Plasma.PopupApplet.setPopupAlignment(Qt.AlignmentFlag alignment)''' 0200 def sizeHint(self, which, constraint = QSizeF()): 0201 '''QSizeF Plasma.PopupApplet.sizeHint(Qt.SizeHint which, QSizeF constraint = QSizeF())''' 0202 return QSizeF() 0203 def setGraphicsWidget(self, widget): 0204 '''void Plasma.PopupApplet.setGraphicsWidget(QGraphicsWidget widget)''' 0205 def setWidget(self, widget): 0206 '''void Plasma.PopupApplet.setWidget(QWidget widget)''' 0207 def dropEvent(self, event): 0208 '''void Plasma.PopupApplet.dropEvent(QGraphicsSceneDragDropEvent event)''' 0209 def dragLeaveEvent(self, event): 0210 '''void Plasma.PopupApplet.dragLeaveEvent(QGraphicsSceneDragDropEvent event)''' 0211 def dragEnterEvent(self, event): 0212 '''void Plasma.PopupApplet.dragEnterEvent(QGraphicsSceneDragDropEvent event)''' 0213 def eventFilter(self, watched, event): 0214 '''bool Plasma.PopupApplet.eventFilter(QObject watched, QEvent event)''' 0215 return bool() 0216 def mouseReleaseEvent(self, event): 0217 '''void Plasma.PopupApplet.mouseReleaseEvent(QGraphicsSceneMouseEvent event)''' 0218 def mousePressEvent(self, event): 0219 '''void Plasma.PopupApplet.mousePressEvent(QGraphicsSceneMouseEvent event)''' 0220 def popupEvent(self, show): 0221 '''void Plasma.PopupApplet.popupEvent(bool show)''' 0222 def togglePopup(self): 0223 '''void Plasma.PopupApplet.togglePopup()''' 0224 def showPopup(self, displayTime = 0): 0225 '''void Plasma.PopupApplet.showPopup(int displayTime = 0)''' 0226 def hidePopup(self): 0227 '''void Plasma.PopupApplet.hidePopup()''' 0228 def isPopupShowing(self): 0229 '''bool Plasma.PopupApplet.isPopupShowing()''' 0230 return bool() 0231 def isPassivePopup(self): 0232 '''bool Plasma.PopupApplet.isPassivePopup()''' 0233 return bool() 0234 def setPassivePopup(self, passive): 0235 '''void Plasma.PopupApplet.setPassivePopup(bool passive)''' 0236 def popupPlacement(self): 0237 '''Plasma.PopupPlacement Plasma.PopupApplet.popupPlacement()''' 0238 return Plasma.PopupPlacement() 0239 def graphicsWidget(self): 0240 '''QGraphicsWidget Plasma.PopupApplet.graphicsWidget()''' 0241 return QGraphicsWidget() 0242 def widget(self): 0243 '''QWidget Plasma.PopupApplet.widget()''' 0244 return QWidget() 0245 def popupIcon(self): 0246 '''QIcon Plasma.PopupApplet.popupIcon()''' 0247 return QIcon() 0248 def setPopupIcon(self, icon): 0249 '''void Plasma.PopupApplet.setPopupIcon(QIcon icon)''' 0250 def setPopupIcon(self, iconName): 0251 '''void Plasma.PopupApplet.setPopupIcon(QString iconName)''' 0252 class DataContainer(QObject): 0253 """""" 0254 def __init__(self, parent = None): 0255 '''void Plasma.DataContainer.__init__(QObject parent = None)''' 0256 def timerEvent(self, event): 0257 '''void Plasma.DataContainer.timerEvent(QTimerEvent event)''' 0258 def getDataEngine(self): 0259 '''Plasma.DataEngine Plasma.DataContainer.getDataEngine()''' 0260 return Plasma.DataEngine() 0261 def setNeedsToBeStored(self, store): 0262 '''void Plasma.DataContainer.setNeedsToBeStored(bool store)''' 0263 def needsToBeStored(self): 0264 '''bool Plasma.DataContainer.needsToBeStored()''' 0265 return bool() 0266 def isStorageEnabled(self): 0267 '''bool Plasma.DataContainer.isStorageEnabled()''' 0268 return bool() 0269 def setStorageEnabled(self, store): 0270 '''void Plasma.DataContainer.setStorageEnabled(bool store)''' 0271 def forceImmediateUpdate(self): 0272 '''void Plasma.DataContainer.forceImmediateUpdate()''' 0273 def checkUsage(self): 0274 '''void Plasma.DataContainer.checkUsage()''' 0275 def setNeedsUpdate(self, update = True): 0276 '''void Plasma.DataContainer.setNeedsUpdate(bool update = True)''' 0277 def timeSinceLastUpdate(self): 0278 '''int Plasma.DataContainer.timeSinceLastUpdate()''' 0279 return int() 0280 def checkForUpdate(self): 0281 '''void Plasma.DataContainer.checkForUpdate()''' 0282 updateRequested = pyqtSignal() # void updateRequested(Plasma::DataContainer *) - signal 0283 becameUnused = pyqtSignal() # void becameUnused(const QStringamp;) - signal 0284 dataUpdated = pyqtSignal() # void dataUpdated(const QStringamp;,const Plasma::DataEngine::Dataamp;) - signal 0285 def disconnectVisualization(self, visualization): 0286 '''void Plasma.DataContainer.disconnectVisualization(QObject visualization)''' 0287 def connectVisualization(self, visualization, pollingInterval, alignment): 0288 '''void Plasma.DataContainer.connectVisualization(QObject visualization, int pollingInterval, Plasma.IntervalAlignment alignment)''' 0289 def visualizationIsConnected(self, visualization): 0290 '''bool Plasma.DataContainer.visualizationIsConnected(QObject visualization)''' 0291 return bool() 0292 def removeAllData(self): 0293 '''void Plasma.DataContainer.removeAllData()''' 0294 def setData(self, key, value): 0295 '''void Plasma.DataContainer.setData(QString key, QVariant value)''' 0296 def data(self): 0297 '''dict-of-QString-QVariant Plasma.DataContainer.data()''' 0298 return dict-of-QString-QVariant() 0299 class AuthorizationManager(QObject): 0300 """""" 0301 # Enum Plasma.AuthorizationManager.AuthorizationPolicy 0302 DenyAll = 0 0303 TrustedOnly = 0 0304 PinPairing = 0 0305 Custom = 0 0306 0307 readyForRemoteAccess = pyqtSignal() # void readyForRemoteAccess() - signal 0308 def setAuthorizationInterface(self, interface): 0309 '''void Plasma.AuthorizationManager.setAuthorizationInterface(Plasma.AuthorizationInterface interface)''' 0310 def setAuthorizationPolicy(self, policy): 0311 '''void Plasma.AuthorizationManager.setAuthorizationPolicy(Plasma.AuthorizationManager.AuthorizationPolicy policy)''' 0312 def self(self): 0313 '''static Plasma.AuthorizationManager Plasma.AuthorizationManager.self()''' 0314 return Plasma.AuthorizationManager() 0315 class ScrollBar(QGraphicsProxyWidget): 0316 """""" 0317 def __init__(self, parent = None): 0318 '''void Plasma.ScrollBar.__init__(QGraphicsWidget parent = None)''' 0319 sliderMoved = pyqtSignal() # void sliderMoved(int) - signal 0320 def setMaximum(self, max): 0321 '''void Plasma.ScrollBar.setMaximum(int max)''' 0322 def setMinimum(self, min): 0323 '''void Plasma.ScrollBar.setMinimum(int min)''' 0324 def orientation(self): 0325 '''Qt.Orientation Plasma.ScrollBar.orientation()''' 0326 return Qt.Orientation() 0327 def contextMenuEvent(self, event): 0328 '''void Plasma.ScrollBar.contextMenuEvent(QGraphicsSceneContextMenuEvent event)''' 0329 valueChanged = pyqtSignal() # void valueChanged(int) - signal 0330 def setOrientation(self, orientation): 0331 '''void Plasma.ScrollBar.setOrientation(Qt.Orientation orientation)''' 0332 def setValue(self, val): 0333 '''void Plasma.ScrollBar.setValue(int val)''' 0334 def nativeWidget(self): 0335 '''QScrollBar Plasma.ScrollBar.nativeWidget()''' 0336 return QScrollBar() 0337 def styleSheet(self): 0338 '''QString Plasma.ScrollBar.styleSheet()''' 0339 return QString() 0340 def setStyleSheet(self, stylesheet): 0341 '''void Plasma.ScrollBar.setStyleSheet(QString stylesheet)''' 0342 def maximum(self): 0343 '''int Plasma.ScrollBar.maximum()''' 0344 return int() 0345 def minimum(self): 0346 '''int Plasma.ScrollBar.minimum()''' 0347 return int() 0348 def value(self): 0349 '''int Plasma.ScrollBar.value()''' 0350 return int() 0351 def pageStep(self): 0352 '''int Plasma.ScrollBar.pageStep()''' 0353 return int() 0354 def setPageStep(self, val): 0355 '''void Plasma.ScrollBar.setPageStep(int val)''' 0356 def singleStep(self): 0357 '''int Plasma.ScrollBar.singleStep()''' 0358 return int() 0359 def setSingleStep(self, val): 0360 '''void Plasma.ScrollBar.setSingleStep(int val)''' 0361 def setRange(self, min, max): 0362 '''void Plasma.ScrollBar.setRange(int min, int max)''' 0363 class AbstractDialogManager(QObject): 0364 """""" 0365 def __init__(self, parent = None): 0366 '''void Plasma.AbstractDialogManager.__init__(Plasma.Corona parent = None)''' 0367 def showDialog(self, widget, applet): 0368 '''void Plasma.AbstractDialogManager.showDialog(QWidget widget, Plasma.Applet applet)''' 0369 class RunnerContext(QObject): 0370 """""" 0371 # Enum Plasma.RunnerContext.Type 0372 __kdevpythondocumentation_builtin_None = 0 0373 UnknownType = 0 0374 Directory = 0 0375 File = 0 0376 NetworkLocation = 0 0377 Executable = 0 0378 ShellCommand = 0 0379 Help = 0 0380 FileSystem = 0 0381 0382 def __init__(self, parent = None): 0383 '''void Plasma.RunnerContext.__init__(QObject parent = None)''' 0384 def __init__(self, other, parent = None): 0385 '''void Plasma.RunnerContext.__init__(Plasma.RunnerContext other, QObject parent = None)''' 0386 def singleRunnerQueryMode(self): 0387 '''bool Plasma.RunnerContext.singleRunnerQueryMode()''' 0388 return bool() 0389 def setSingleRunnerQueryMode(self, enabled): 0390 '''void Plasma.RunnerContext.setSingleRunnerQueryMode(bool enabled)''' 0391 def removeMatches(self, matchIdList): 0392 '''bool Plasma.RunnerContext.removeMatches(QStringList matchIdList)''' 0393 return bool() 0394 def removeMatch(self, matchId): 0395 '''bool Plasma.RunnerContext.removeMatch(QString matchId)''' 0396 return bool() 0397 def addMatches(self, term, matches): 0398 '''bool Plasma.RunnerContext.addMatches(QString term, list-of-Plasma.QueryMatch matches)''' 0399 return bool() 0400 matchesChanged = pyqtSignal() # void matchesChanged() - signal 0401 def run(self, match): 0402 '''void Plasma.RunnerContext.run(Plasma.QueryMatch match)''' 0403 def save(self, config): 0404 '''void Plasma.RunnerContext.save(KConfigGroup config)''' 0405 def restore(self, config): 0406 '''void Plasma.RunnerContext.restore(KConfigGroup config)''' 0407 def match(self, id): 0408 '''Plasma.QueryMatch Plasma.RunnerContext.match(QString id)''' 0409 return Plasma.QueryMatch() 0410 def matches(self): 0411 '''list-of-Plasma.QueryMatch Plasma.RunnerContext.matches()''' 0412 return [Plasma.QueryMatch()] 0413 def addMatch(self, term, match): 0414 '''bool Plasma.RunnerContext.addMatch(QString term, Plasma.QueryMatch match)''' 0415 return bool() 0416 def isValid(self): 0417 '''bool Plasma.RunnerContext.isValid()''' 0418 return bool() 0419 def mimeType(self): 0420 '''QString Plasma.RunnerContext.mimeType()''' 0421 return QString() 0422 def type(self): 0423 '''Plasma.RunnerContext.Type Plasma.RunnerContext.type()''' 0424 return Plasma.RunnerContext.Type() 0425 def query(self): 0426 '''QString Plasma.RunnerContext.query()''' 0427 return QString() 0428 def setQuery(self, term): 0429 '''void Plasma.RunnerContext.setQuery(QString term)''' 0430 def reset(self): 0431 '''void Plasma.RunnerContext.reset()''' 0432 class BusyWidget(QGraphicsWidget): 0433 """""" 0434 def __init__(self, parent = None): 0435 '''void Plasma.BusyWidget.__init__(QGraphicsWidget parent = None)''' 0436 def mouseReleaseEvent(self, event): 0437 '''void Plasma.BusyWidget.mouseReleaseEvent(QGraphicsSceneMouseEvent event)''' 0438 def timerEvent(self, event): 0439 '''void Plasma.BusyWidget.timerEvent(QTimerEvent event)''' 0440 def mousePressEvent(self, event): 0441 '''void Plasma.BusyWidget.mousePressEvent(QGraphicsSceneMouseEvent event)''' 0442 def resizeEvent(self, event): 0443 '''void Plasma.BusyWidget.resizeEvent(QGraphicsSceneResizeEvent event)''' 0444 def hideEvent(self, event): 0445 '''void Plasma.BusyWidget.hideEvent(QHideEvent event)''' 0446 def showEvent(self, event): 0447 '''void Plasma.BusyWidget.showEvent(QShowEvent event)''' 0448 def paint(self, painter, option, widget = None): 0449 '''void Plasma.BusyWidget.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 0450 clicked = pyqtSignal() # void clicked() - signal 0451 def label(self): 0452 '''QString Plasma.BusyWidget.label()''' 0453 return QString() 0454 def setLabel(self, label): 0455 '''void Plasma.BusyWidget.setLabel(QString label)''' 0456 def isRunning(self): 0457 '''bool Plasma.BusyWidget.isRunning()''' 0458 return bool() 0459 def setRunning(self, running): 0460 '''void Plasma.BusyWidget.setRunning(bool running)''' 0461 class ToolTipManager(QObject): 0462 """""" 0463 # Enum Plasma.ToolTipManager.State 0464 Activated = 0 0465 Inhibited = 0 0466 Deactivated = 0 0467 0468 linkActivated = pyqtSignal() # void linkActivated(const QStringamp;,Qt::MouseButtons,Qt::KeyboardModifiers,const QPointamp;) - signal 0469 windowPreviewActivated = pyqtSignal() # void windowPreviewActivated(WId,Qt::MouseButtons,Qt::KeyboardModifiers,const QPointamp;) - signal 0470 def state(self): 0471 '''Plasma.ToolTipManager.State Plasma.ToolTipManager.state()''' 0472 return Plasma.ToolTipManager.State() 0473 def setState(self, state): 0474 '''void Plasma.ToolTipManager.setState(Plasma.ToolTipManager.State state)''' 0475 def clearContent(self, widget): 0476 '''void Plasma.ToolTipManager.clearContent(QGraphicsWidget widget)''' 0477 def setContent(self, widget, data): 0478 '''void Plasma.ToolTipManager.setContent(QGraphicsWidget widget, Plasma.ToolTipContent data)''' 0479 def unregisterWidget(self, widget): 0480 '''void Plasma.ToolTipManager.unregisterWidget(QGraphicsWidget widget)''' 0481 def registerWidget(self, widget): 0482 '''void Plasma.ToolTipManager.registerWidget(QGraphicsWidget widget)''' 0483 def hide(self, widget): 0484 '''void Plasma.ToolTipManager.hide(QGraphicsWidget widget)''' 0485 def isVisible(self, widget): 0486 '''bool Plasma.ToolTipManager.isVisible(QGraphicsWidget widget)''' 0487 return bool() 0488 def show(self, widget): 0489 '''void Plasma.ToolTipManager.show(QGraphicsWidget widget)''' 0490 def self(self): 0491 '''static Plasma.ToolTipManager Plasma.ToolTipManager.self()''' 0492 return Plasma.ToolTipManager() 0493 class TreeView(QGraphicsProxyWidget): 0494 """""" 0495 def __init__(self, parent = None): 0496 '''void Plasma.TreeView.__init__(QGraphicsWidget parent = None)''' 0497 def nativeWidget(self): 0498 '''QTreeView Plasma.TreeView.nativeWidget()''' 0499 return QTreeView() 0500 def styleSheet(self): 0501 '''QString Plasma.TreeView.styleSheet()''' 0502 return QString() 0503 def setStyleSheet(self, stylesheet): 0504 '''void Plasma.TreeView.setStyleSheet(QString stylesheet)''' 0505 def model(self): 0506 '''QAbstractItemModel Plasma.TreeView.model()''' 0507 return QAbstractItemModel() 0508 def setModel(self, model): 0509 '''void Plasma.TreeView.setModel(QAbstractItemModel model)''' 0510 class AppletScript(Plasma.ScriptEngine): 0511 """""" 0512 def __init__(self, parent = None): 0513 '''void Plasma.AppletScript.__init__(QObject parent = None)''' 0514 def setContainmentType(self, type): 0515 '''void Plasma.AppletScript.setContainmentType(Plasma.Containment.Type type)''' 0516 def containmentType(self): 0517 '''Plasma.Containment.Type Plasma.AppletScript.containmentType()''' 0518 return Plasma.Containment.Type() 0519 def setDrawWallpaper(self, drawWallpaper): 0520 '''void Plasma.AppletScript.setDrawWallpaper(bool drawWallpaper)''' 0521 def drawWallpaper(self): 0522 '''bool Plasma.AppletScript.drawWallpaper()''' 0523 return bool() 0524 def loadAnimationFromPackage(self, name, parent): 0525 '''Plasma.Animation Plasma.AppletScript.loadAnimationFromPackage(QString name, QObject parent)''' 0526 return Plasma.Animation() 0527 popupEvent = pyqtSignal() # void popupEvent(bool) const - signal 0528 def description(self): 0529 '''KPluginInfo Plasma.AppletScript.description()''' 0530 return KPluginInfo() 0531 def isRegisteredAsDragHandle(self, item): 0532 '''bool Plasma.AppletScript.isRegisteredAsDragHandle(QGraphicsItem item)''' 0533 return bool() 0534 def unregisterAsDragHandle(self, item): 0535 '''void Plasma.AppletScript.unregisterAsDragHandle(QGraphicsItem item)''' 0536 def registerAsDragHandle(self, item): 0537 '''void Plasma.AppletScript.registerAsDragHandle(QGraphicsItem item)''' 0538 def showMessage(self, icon, message, buttons): 0539 '''void Plasma.AppletScript.showMessage(QIcon icon, QString message, Plasma.MessageButtons buttons)''' 0540 saveState = pyqtSignal() # void saveState(KConfigGroupamp;) const - signal 0541 def addStandardConfigurationPages(self, dialog): 0542 '''void Plasma.AppletScript.addStandardConfigurationPages(KConfigDialog dialog)''' 0543 def standardConfigurationDialog(self): 0544 '''KConfigDialog Plasma.AppletScript.standardConfigurationDialog()''' 0545 return KConfigDialog() 0546 def package(self): 0547 '''Plasma.Package Plasma.AppletScript.package()''' 0548 return Plasma.Package() 0549 def mainScript(self): 0550 '''QString Plasma.AppletScript.mainScript()''' 0551 return QString() 0552 def dataEngine(self, engine): 0553 '''Plasma.DataEngine Plasma.AppletScript.dataEngine(QString engine)''' 0554 return Plasma.DataEngine() 0555 def configChanged(self): 0556 '''void Plasma.AppletScript.configChanged()''' 0557 def showConfigurationInterface(self): 0558 '''void Plasma.AppletScript.showConfigurationInterface()''' 0559 def extender(self): 0560 '''Plasma.Extender Plasma.AppletScript.extender()''' 0561 return Plasma.Extender() 0562 def configNeedsSaving(self): 0563 '''void Plasma.AppletScript.configNeedsSaving()''' 0564 def setFailedToLaunch(self, failed, reason = QString()): 0565 '''void Plasma.AppletScript.setFailedToLaunch(bool failed, QString reason = QString())''' 0566 def setConfigurationRequired(self, req, reason = QString()): 0567 '''void Plasma.AppletScript.setConfigurationRequired(bool req, QString reason = QString())''' 0568 def setHasConfigurationInterface(self, hasInterface): 0569 '''void Plasma.AppletScript.setHasConfigurationInterface(bool hasInterface)''' 0570 def shape(self): 0571 '''QPainterPath Plasma.AppletScript.shape()''' 0572 return QPainterPath() 0573 def contextualActions(self): 0574 '''list-of-QAction Plasma.AppletScript.contextualActions()''' 0575 return [QAction()] 0576 def constraintsEvent(self, constraints): 0577 '''void Plasma.AppletScript.constraintsEvent(Plasma.Constraints constraints)''' 0578 def size(self): 0579 '''QSizeF Plasma.AppletScript.size()''' 0580 return QSizeF() 0581 def paintInterface(self, painter, option, contentsRect): 0582 '''void Plasma.AppletScript.paintInterface(QPainter painter, QStyleOptionGraphicsItem option, QRect contentsRect)''' 0583 def applet(self): 0584 '''Plasma.Applet Plasma.AppletScript.applet()''' 0585 return Plasma.Applet() 0586 def setApplet(self, applet): 0587 '''void Plasma.AppletScript.setApplet(Plasma.Applet applet)''' 0588 class PaintUtils(): 0589 """""" 0590 def texturedText(self, text, font, texture): 0591 '''static QPixmap Plasma.PaintUtils.texturedText(QString text, QFont font, Plasma.Svg texture)''' 0592 return QPixmap() 0593 def centerPixmaps(self, from_, to): 0594 '''static void Plasma.PaintUtils.centerPixmaps(QPixmap from, QPixmap to)''' 0595 def drawHalo(self, painter, rect): 0596 '''static void Plasma.PaintUtils.drawHalo(QPainter painter, QRectF rect)''' 0597 def shadowText(self, text, font, textColor, shadowColor, offset = None, radius = 2): 0598 '''static QPixmap Plasma.PaintUtils.shadowText(QString text, QFont font, QColor textColor, QColor shadowColor, QPoint offset = QPoint(1,1), int radius = 2)''' 0599 return QPixmap() 0600 def shadowText(self, text, textColor, shadowColor, offset = None, radius = 2): 0601 '''static QPixmap Plasma.PaintUtils.shadowText(QString text, QColor textColor, QColor shadowColor, QPoint offset = QPoint(1,1), int radius = 2)''' 0602 return QPixmap() 0603 def transition(self, from_, to, amount): 0604 '''static QPixmap Plasma.PaintUtils.transition(QPixmap from, QPixmap to, float amount)''' 0605 return QPixmap() 0606 def roundedRectangle(self, rect, radius): 0607 '''static QPainterPath Plasma.PaintUtils.roundedRectangle(QRectF rect, float radius)''' 0608 return QPainterPath() 0609 def shadowBlur(self, image, radius, color): 0610 '''static void Plasma.PaintUtils.shadowBlur(QImage image, int radius, QColor color)''' 0611 class SpinBox(QGraphicsProxyWidget): 0612 """""" 0613 def __init__(self, parent = None): 0614 '''void Plasma.SpinBox.__init__(QGraphicsWidget parent = None)''' 0615 def focusOutEvent(self, event): 0616 '''void Plasma.SpinBox.focusOutEvent(QFocusEvent event)''' 0617 def mousePressEvent(self, event): 0618 '''void Plasma.SpinBox.mousePressEvent(QGraphicsSceneMouseEvent event)''' 0619 def paint(self, painter, option, widget): 0620 '''void Plasma.SpinBox.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget)''' 0621 def resizeEvent(self, event): 0622 '''void Plasma.SpinBox.resizeEvent(QGraphicsSceneResizeEvent event)''' 0623 def hoverLeaveEvent(self, event): 0624 '''void Plasma.SpinBox.hoverLeaveEvent(QGraphicsSceneHoverEvent event)''' 0625 def hoverEnterEvent(self, event): 0626 '''void Plasma.SpinBox.hoverEnterEvent(QGraphicsSceneHoverEvent event)''' 0627 def changeEvent(self, event): 0628 '''void Plasma.SpinBox.changeEvent(QEvent event)''' 0629 editingFinished = pyqtSignal() # void editingFinished() - signal 0630 valueChanged = pyqtSignal() # void valueChanged(int) - signal 0631 sliderMoved = pyqtSignal() # void sliderMoved(int) - signal 0632 def setValue(self, value): 0633 '''void Plasma.SpinBox.setValue(int value)''' 0634 def setRange(self, minimum, maximum): 0635 '''void Plasma.SpinBox.setRange(int minimum, int maximum)''' 0636 def setMinimum(self, minimum): 0637 '''void Plasma.SpinBox.setMinimum(int minimum)''' 0638 def setMaximum(self, maximum): 0639 '''void Plasma.SpinBox.setMaximum(int maximum)''' 0640 def nativeWidget(self): 0641 '''KIntSpinBox Plasma.SpinBox.nativeWidget()''' 0642 return KIntSpinBox() 0643 def styleSheet(self): 0644 '''QString Plasma.SpinBox.styleSheet()''' 0645 return QString() 0646 def setStyleSheet(self, stylesheet): 0647 '''void Plasma.SpinBox.setStyleSheet(QString stylesheet)''' 0648 def value(self): 0649 '''int Plasma.SpinBox.value()''' 0650 return int() 0651 def minimum(self): 0652 '''int Plasma.SpinBox.minimum()''' 0653 return int() 0654 def maximum(self): 0655 '''int Plasma.SpinBox.maximum()''' 0656 return int() 0657 class RadioButton(QGraphicsProxyWidget): 0658 """""" 0659 def __init__(self, parent = None): 0660 '''void Plasma.RadioButton.__init__(QGraphicsWidget parent = None)''' 0661 def changeEvent(self, event): 0662 '''void Plasma.RadioButton.changeEvent(QEvent event)''' 0663 def resizeEvent(self, event): 0664 '''void Plasma.RadioButton.resizeEvent(QGraphicsSceneResizeEvent event)''' 0665 toggled = pyqtSignal() # void toggled(bool) - signal 0666 def isChecked(self): 0667 '''bool Plasma.RadioButton.isChecked()''' 0668 return bool() 0669 def setChecked(self, checked): 0670 '''void Plasma.RadioButton.setChecked(bool checked)''' 0671 def nativeWidget(self): 0672 '''QRadioButton Plasma.RadioButton.nativeWidget()''' 0673 return QRadioButton() 0674 def styleSheet(self): 0675 '''QString Plasma.RadioButton.styleSheet()''' 0676 return QString() 0677 def setStyleSheet(self, stylesheet): 0678 '''void Plasma.RadioButton.setStyleSheet(QString stylesheet)''' 0679 def image(self): 0680 '''QString Plasma.RadioButton.image()''' 0681 return QString() 0682 def setImage(self, path): 0683 '''void Plasma.RadioButton.setImage(QString path)''' 0684 def text(self): 0685 '''QString Plasma.RadioButton.text()''' 0686 return QString() 0687 def setText(self, text): 0688 '''void Plasma.RadioButton.setText(QString text)''' 0689 class Animation(): 0690 """""" 0691 class MovementDirection(): 0692 """""" 0693 def __init__(self): 0694 '''Plasma.Animation.MovementDirection Plasma.Animation.MovementDirection.__init__()''' 0695 return Plasma.Animation.MovementDirection() 0696 def __init__(self): 0697 '''int Plasma.Animation.MovementDirection.__init__()''' 0698 return int() 0699 def __init__(self): 0700 '''void Plasma.Animation.MovementDirection.__init__()''' 0701 def __bool__(self): 0702 '''int Plasma.Animation.MovementDirection.__bool__()''' 0703 return int() 0704 def __ne__(self, f): 0705 '''bool Plasma.Animation.MovementDirection.__ne__(Plasma.Animation.MovementDirection f)''' 0706 return bool() 0707 def __eq__(self, f): 0708 '''bool Plasma.Animation.MovementDirection.__eq__(Plasma.Animation.MovementDirection f)''' 0709 return bool() 0710 def __invert__(self): 0711 '''Plasma.Animation.MovementDirection Plasma.Animation.MovementDirection.__invert__()''' 0712 return Plasma.Animation.MovementDirection() 0713 def __and__(self, mask): 0714 '''Plasma.Animation.MovementDirection Plasma.Animation.MovementDirection.__and__(int mask)''' 0715 return Plasma.Animation.MovementDirection() 0716 def __xor__(self, f): 0717 '''Plasma.Animation.MovementDirection Plasma.Animation.MovementDirection.__xor__(Plasma.Animation.MovementDirection f)''' 0718 return Plasma.Animation.MovementDirection() 0719 def __xor__(self, f): 0720 '''Plasma.Animation.MovementDirection Plasma.Animation.MovementDirection.__xor__(int f)''' 0721 return Plasma.Animation.MovementDirection() 0722 def __or__(self, f): 0723 '''Plasma.Animation.MovementDirection Plasma.Animation.MovementDirection.__or__(Plasma.Animation.MovementDirection f)''' 0724 return Plasma.Animation.MovementDirection() 0725 def __or__(self, f): 0726 '''Plasma.Animation.MovementDirection Plasma.Animation.MovementDirection.__or__(int f)''' 0727 return Plasma.Animation.MovementDirection() 0728 def __int__(self): 0729 '''int Plasma.Animation.MovementDirection.__int__()''' 0730 return int() 0731 def __ixor__(self, f): 0732 '''Plasma.Animation.MovementDirection Plasma.Animation.MovementDirection.__ixor__(Plasma.Animation.MovementDirection f)''' 0733 return Plasma.Animation.MovementDirection() 0734 def __ior__(self, f): 0735 '''Plasma.Animation.MovementDirection Plasma.Animation.MovementDirection.__ior__(Plasma.Animation.MovementDirection f)''' 0736 return Plasma.Animation.MovementDirection() 0737 def __iand__(self, mask): 0738 '''Plasma.Animation.MovementDirection Plasma.Animation.MovementDirection.__iand__(int mask)''' 0739 return Plasma.Animation.MovementDirection() 0740 class AbstractRunner(QObject): 0741 """""" 0742 # Enum Plasma.AbstractRunner.Priority 0743 LowestPriority = 0 0744 LowPriority = 0 0745 NormalPriority = 0 0746 HighPriority = 0 0747 HighestPriority = 0 0748 0749 # Enum Plasma.AbstractRunner.Speed 0750 SlowSpeed = 0 0751 NormalSpeed = 0 0752 0753 def __init__(self, parent = None, path = QString()): 0754 '''void Plasma.AbstractRunner.__init__(QObject parent = None, QString path = QString())''' 0755 def __init__(self, parent, args): 0756 '''void Plasma.AbstractRunner.__init__(QObject parent, list-of-QVariant args)''' 0757 def __init__(self, service, parent = None): 0758 '''void Plasma.AbstractRunner.__init__(unknown-type service, QObject parent = None)''' 0759 def suspendMatching(self, suspend): 0760 '''void Plasma.AbstractRunner.suspendMatching(bool suspend)''' 0761 matchingSuspended = pyqtSignal() # void matchingSuspended(bool) - signal 0762 def isMatchingSuspended(self): 0763 '''bool Plasma.AbstractRunner.isMatchingSuspended()''' 0764 return bool() 0765 def mimeDataForMatch(self, match): 0766 '''QMimeData Plasma.AbstractRunner.mimeDataForMatch(Plasma.QueryMatch match)''' 0767 return QMimeData() 0768 def dataEngine(self, name): 0769 '''Plasma.DataEngine Plasma.AbstractRunner.dataEngine(QString name)''' 0770 return Plasma.DataEngine() 0771 def setDefaultSyntax(self, syntax): 0772 '''void Plasma.AbstractRunner.setDefaultSyntax(Plasma.RunnerSyntax syntax)''' 0773 def defaultSyntax(self): 0774 '''Plasma.RunnerSyntax Plasma.AbstractRunner.defaultSyntax()''' 0775 return Plasma.RunnerSyntax() 0776 teardown = pyqtSignal() # void teardown() - signal 0777 prepare = pyqtSignal() # void prepare() - signal 0778 def setSyntaxes(self, syns): 0779 '''void Plasma.AbstractRunner.setSyntaxes(list-of-Plasma.RunnerSyntax syns)''' 0780 def init(self): 0781 '''void Plasma.AbstractRunner.init()''' 0782 def addSyntax(self, syntax): 0783 '''void Plasma.AbstractRunner.addSyntax(Plasma.RunnerSyntax syntax)''' 0784 def clearActions(self): 0785 '''void Plasma.AbstractRunner.clearActions()''' 0786 def actions(self): 0787 '''unknown-type Plasma.AbstractRunner.actions()''' 0788 return unknown-type() 0789 def action(self, id): 0790 '''QAction Plasma.AbstractRunner.action(QString id)''' 0791 return QAction() 0792 def removeAction(self, id): 0793 '''void Plasma.AbstractRunner.removeAction(QString id)''' 0794 def addAction(self, id, icon, text): 0795 '''QAction Plasma.AbstractRunner.addAction(QString id, QIcon icon, QString text)''' 0796 return QAction() 0797 def addAction(self, id, action): 0798 '''void Plasma.AbstractRunner.addAction(QString id, QAction action)''' 0799 def actionsForMatch(self, match): 0800 '''list-of-QAction Plasma.AbstractRunner.actionsForMatch(Plasma.QueryMatch match)''' 0801 return [QAction()] 0802 def serviceQuery(self, serviceType, constraint = QString()): 0803 '''unknown-type Plasma.AbstractRunner.serviceQuery(QString serviceType, QString constraint = QString())''' 0804 return unknown-type() 0805 def setPriority(self, newPriority): 0806 '''void Plasma.AbstractRunner.setPriority(Plasma.AbstractRunner.Priority newPriority)''' 0807 def setSpeed(self, newSpeed): 0808 '''void Plasma.AbstractRunner.setSpeed(Plasma.AbstractRunner.Speed newSpeed)''' 0809 def setHasRunOptions(self, hasRunOptions): 0810 '''void Plasma.AbstractRunner.setHasRunOptions(bool hasRunOptions)''' 0811 def config(self): 0812 '''KConfigGroup Plasma.AbstractRunner.config()''' 0813 return KConfigGroup() 0814 def bigLock(self): 0815 '''static QMutex Plasma.AbstractRunner.bigLock()''' 0816 return QMutex() 0817 def syntaxes(self): 0818 '''list-of-Plasma.RunnerSyntax Plasma.AbstractRunner.syntaxes()''' 0819 return [Plasma.RunnerSyntax()] 0820 def reloadConfiguration(self): 0821 '''void Plasma.AbstractRunner.reloadConfiguration()''' 0822 def package(self): 0823 '''Plasma.Package Plasma.AbstractRunner.package()''' 0824 return Plasma.Package() 0825 def icon(self): 0826 '''QIcon Plasma.AbstractRunner.icon()''' 0827 return QIcon() 0828 def description(self): 0829 '''QString Plasma.AbstractRunner.description()''' 0830 return QString() 0831 def id(self): 0832 '''QString Plasma.AbstractRunner.id()''' 0833 return QString() 0834 def name(self): 0835 '''QString Plasma.AbstractRunner.name()''' 0836 return QString() 0837 def setIgnoredTypes(self, types): 0838 '''void Plasma.AbstractRunner.setIgnoredTypes(Plasma.RunnerContext.Types types)''' 0839 def ignoredTypes(self): 0840 '''Plasma.RunnerContext.Types Plasma.AbstractRunner.ignoredTypes()''' 0841 return Plasma.RunnerContext.Types() 0842 def priority(self): 0843 '''Plasma.AbstractRunner.Priority Plasma.AbstractRunner.priority()''' 0844 return Plasma.AbstractRunner.Priority() 0845 def speed(self): 0846 '''Plasma.AbstractRunner.Speed Plasma.AbstractRunner.speed()''' 0847 return Plasma.AbstractRunner.Speed() 0848 def run(self, context, match): 0849 '''void Plasma.AbstractRunner.run(Plasma.RunnerContext context, Plasma.QueryMatch match)''' 0850 def createRunOptions(self, widget): 0851 '''void Plasma.AbstractRunner.createRunOptions(QWidget widget)''' 0852 def hasRunOptions(self): 0853 '''bool Plasma.AbstractRunner.hasRunOptions()''' 0854 return bool() 0855 def performMatch(self, context): 0856 '''void Plasma.AbstractRunner.performMatch(Plasma.RunnerContext context)''' 0857 def match(self, context): 0858 '''void Plasma.AbstractRunner.match(Plasma.RunnerContext context)''' 0859 class FlashingLabel(QGraphicsWidget): 0860 """""" 0861 def __init__(self, parent = None): 0862 '''void Plasma.FlashingLabel.__init__(QGraphicsItem parent = None)''' 0863 def duration(self): 0864 '''int Plasma.FlashingLabel.duration()''' 0865 return int() 0866 def color(self): 0867 '''QColor Plasma.FlashingLabel.color()''' 0868 return QColor() 0869 def font(self): 0870 '''QFont Plasma.FlashingLabel.font()''' 0871 return QFont() 0872 def sizeHint(self, which, constraint): 0873 '''QSizeF Plasma.FlashingLabel.sizeHint(Qt.SizeHint which, QSizeF constraint)''' 0874 return QSizeF() 0875 def fadeOut(self): 0876 '''void Plasma.FlashingLabel.fadeOut()''' 0877 def fadeIn(self): 0878 '''void Plasma.FlashingLabel.fadeIn()''' 0879 def kill(self): 0880 '''void Plasma.FlashingLabel.kill()''' 0881 def autohide(self): 0882 '''bool Plasma.FlashingLabel.autohide()''' 0883 return bool() 0884 def setAutohide(self, autohide): 0885 '''void Plasma.FlashingLabel.setAutohide(bool autohide)''' 0886 def flash(self, text, duration = 0, option = None): 0887 '''void Plasma.FlashingLabel.flash(QString text, int duration = 0, QTextOption option = QTextOption(Qt.AlignCenter))''' 0888 def flash(self, pixmap, duration = 0, align = None): 0889 '''void Plasma.FlashingLabel.flash(QPixmap pixmap, int duration = 0, Qt.Alignment align = Qt.AlignCenter)''' 0890 def setDuration(self, duration): 0891 '''void Plasma.FlashingLabel.setDuration(int duration)''' 0892 def setColor(self): 0893 '''QColor Plasma.FlashingLabel.setColor()''' 0894 return QColor() 0895 def setFont(self): 0896 '''QFont Plasma.FlashingLabel.setFont()''' 0897 return QFont() 0898 def paint(self, painter, option, widget = None): 0899 '''void Plasma.FlashingLabel.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 0900 class ComponentTypes(): 0901 """""" 0902 def __init__(self): 0903 '''Plasma.ComponentTypes Plasma.ComponentTypes.__init__()''' 0904 return Plasma.ComponentTypes() 0905 def __init__(self): 0906 '''int Plasma.ComponentTypes.__init__()''' 0907 return int() 0908 def __init__(self): 0909 '''void Plasma.ComponentTypes.__init__()''' 0910 def __bool__(self): 0911 '''int Plasma.ComponentTypes.__bool__()''' 0912 return int() 0913 def __ne__(self, f): 0914 '''bool Plasma.ComponentTypes.__ne__(Plasma.ComponentTypes f)''' 0915 return bool() 0916 def __eq__(self, f): 0917 '''bool Plasma.ComponentTypes.__eq__(Plasma.ComponentTypes f)''' 0918 return bool() 0919 def __invert__(self): 0920 '''Plasma.ComponentTypes Plasma.ComponentTypes.__invert__()''' 0921 return Plasma.ComponentTypes() 0922 def __and__(self, mask): 0923 '''Plasma.ComponentTypes Plasma.ComponentTypes.__and__(int mask)''' 0924 return Plasma.ComponentTypes() 0925 def __xor__(self, f): 0926 '''Plasma.ComponentTypes Plasma.ComponentTypes.__xor__(Plasma.ComponentTypes f)''' 0927 return Plasma.ComponentTypes() 0928 def __xor__(self, f): 0929 '''Plasma.ComponentTypes Plasma.ComponentTypes.__xor__(int f)''' 0930 return Plasma.ComponentTypes() 0931 def __or__(self, f): 0932 '''Plasma.ComponentTypes Plasma.ComponentTypes.__or__(Plasma.ComponentTypes f)''' 0933 return Plasma.ComponentTypes() 0934 def __or__(self, f): 0935 '''Plasma.ComponentTypes Plasma.ComponentTypes.__or__(int f)''' 0936 return Plasma.ComponentTypes() 0937 def __int__(self): 0938 '''int Plasma.ComponentTypes.__int__()''' 0939 return int() 0940 def __ixor__(self, f): 0941 '''Plasma.ComponentTypes Plasma.ComponentTypes.__ixor__(Plasma.ComponentTypes f)''' 0942 return Plasma.ComponentTypes() 0943 def __ior__(self, f): 0944 '''Plasma.ComponentTypes Plasma.ComponentTypes.__ior__(Plasma.ComponentTypes f)''' 0945 return Plasma.ComponentTypes() 0946 def __iand__(self, mask): 0947 '''Plasma.ComponentTypes Plasma.ComponentTypes.__iand__(int mask)''' 0948 return Plasma.ComponentTypes() 0949 class Extender(QGraphicsWidget): 0950 """""" 0951 # Enum Plasma.Extender.Appearance 0952 NoBorders = 0 0953 BottomUpStacked = 0 0954 TopDownStacked = 0 0955 0956 def __init__(self, applet): 0957 '''void Plasma.Extender.__init__(Plasma.Applet applet)''' 0958 def applet(self): 0959 '''Plasma.Applet Plasma.Extender.applet()''' 0960 return Plasma.Applet() 0961 def itemChange(self, change, value): 0962 '''QVariant Plasma.Extender.itemChange(QGraphicsItem.GraphicsItemChange change, QVariant value)''' 0963 return QVariant() 0964 geometryChanged = pyqtSignal() # void geometryChanged() - signal 0965 itemDetached = pyqtSignal() # void itemDetached(Plasma::ExtenderItem *) - signal 0966 itemAttached = pyqtSignal() # void itemAttached(Plasma::ExtenderItem *) - signal 0967 def dropEvent(self, event): 0968 '''void Plasma.Extender.dropEvent(QGraphicsSceneDragDropEvent event)''' 0969 def dragLeaveEvent(self, event): 0970 '''void Plasma.Extender.dragLeaveEvent(QGraphicsSceneDragDropEvent event)''' 0971 def dragMoveEvent(self, event): 0972 '''void Plasma.Extender.dragMoveEvent(QGraphicsSceneDragDropEvent event)''' 0973 def dragEnterEvent(self, event): 0974 '''void Plasma.Extender.dragEnterEvent(QGraphicsSceneDragDropEvent event)''' 0975 def mousePressEvent(self, event): 0976 '''void Plasma.Extender.mousePressEvent(QGraphicsSceneMouseEvent event)''' 0977 def resizeEvent(self, event): 0978 '''void Plasma.Extender.resizeEvent(QGraphicsSceneResizeEvent event)''' 0979 def enabledBordersForItem(self, item): 0980 '''Plasma.FrameSvg.EnabledBorders Plasma.Extender.enabledBordersForItem(Plasma.ExtenderItem item)''' 0981 return Plasma.FrameSvg.EnabledBorders() 0982 def saveState(self): 0983 '''void Plasma.Extender.saveState()''' 0984 def itemHoverLeaveEvent(self, item): 0985 '''void Plasma.Extender.itemHoverLeaveEvent(Plasma.ExtenderItem item)''' 0986 def itemHoverMoveEvent(self, item, pos): 0987 '''void Plasma.Extender.itemHoverMoveEvent(Plasma.ExtenderItem item, QPointF pos)''' 0988 def itemHoverEnterEvent(self, item): 0989 '''void Plasma.Extender.itemHoverEnterEvent(Plasma.ExtenderItem item)''' 0990 def itemRemovedEvent(self, item): 0991 '''void Plasma.Extender.itemRemovedEvent(Plasma.ExtenderItem item)''' 0992 def itemAddedEvent(self, item, pos = None): 0993 '''void Plasma.Extender.itemAddedEvent(Plasma.ExtenderItem item, QPointF pos = QPointF(-1,-1))''' 0994 def groups(self): 0995 '''list-of-Plasma.ExtenderGroup Plasma.Extender.groups()''' 0996 return [Plasma.ExtenderGroup()] 0997 def appearance(self): 0998 '''Plasma.Extender.Appearance Plasma.Extender.appearance()''' 0999 return Plasma.Extender.Appearance() 1000 def setAppearance(self, appearance): 1001 '''void Plasma.Extender.setAppearance(Plasma.Extender.Appearance appearance)''' 1002 def isEmpty(self): 1003 '''bool Plasma.Extender.isEmpty()''' 1004 return bool() 1005 def hasItem(self, name): 1006 '''bool Plasma.Extender.hasItem(QString name)''' 1007 return bool() 1008 def group(self, name): 1009 '''Plasma.ExtenderGroup Plasma.Extender.group(QString name)''' 1010 return Plasma.ExtenderGroup() 1011 def item(self, name): 1012 '''Plasma.ExtenderItem Plasma.Extender.item(QString name)''' 1013 return Plasma.ExtenderItem() 1014 def detachedItems(self): 1015 '''list-of-Plasma.ExtenderItem Plasma.Extender.detachedItems()''' 1016 return [Plasma.ExtenderItem()] 1017 def attachedItems(self): 1018 '''list-of-Plasma.ExtenderItem Plasma.Extender.attachedItems()''' 1019 return [Plasma.ExtenderItem()] 1020 def items(self): 1021 '''list-of-Plasma.ExtenderItem Plasma.Extender.items()''' 1022 return [Plasma.ExtenderItem()] 1023 def emptyExtenderMessage(self): 1024 '''QString Plasma.Extender.emptyExtenderMessage()''' 1025 return QString() 1026 def setEmptyExtenderMessage(self, message): 1027 '''void Plasma.Extender.setEmptyExtenderMessage(QString message)''' 1028 class GroupBox(QGraphicsProxyWidget): 1029 """""" 1030 def __init__(self, parent = None): 1031 '''void Plasma.GroupBox.__init__(QGraphicsWidget parent = None)''' 1032 def changeEvent(self, event): 1033 '''void Plasma.GroupBox.changeEvent(QEvent event)''' 1034 def resizeEvent(self, event): 1035 '''void Plasma.GroupBox.resizeEvent(QGraphicsSceneResizeEvent event)''' 1036 def nativeWidget(self): 1037 '''QGroupBox Plasma.GroupBox.nativeWidget()''' 1038 return QGroupBox() 1039 def styleSheet(self): 1040 '''QString Plasma.GroupBox.styleSheet()''' 1041 return QString() 1042 def setStyleSheet(self, stylesheet): 1043 '''void Plasma.GroupBox.setStyleSheet(QString stylesheet)''' 1044 def text(self): 1045 '''QString Plasma.GroupBox.text()''' 1046 return QString() 1047 def setText(self, text): 1048 '''void Plasma.GroupBox.setText(QString text)''' 1049 class Svg(QObject): 1050 """""" 1051 def __init__(self, parent = None): 1052 '''void Plasma.Svg.__init__(QObject parent = None)''' 1053 sizeChanged = pyqtSignal() # void sizeChanged() - signal 1054 repaintNeeded = pyqtSignal() # void repaintNeeded() - signal 1055 def theme(self): 1056 '''Plasma.Theme Plasma.Svg.theme()''' 1057 return Plasma.Theme() 1058 def setTheme(self, theme): 1059 '''void Plasma.Svg.setTheme(Plasma.Theme theme)''' 1060 def isUsingRenderingCache(self): 1061 '''bool Plasma.Svg.isUsingRenderingCache()''' 1062 return bool() 1063 def setUsingRenderingCache(self, useCache): 1064 '''void Plasma.Svg.setUsingRenderingCache(bool useCache)''' 1065 def imagePath(self): 1066 '''QString Plasma.Svg.imagePath()''' 1067 return QString() 1068 def setImagePath(self, svgFilePath): 1069 '''void Plasma.Svg.setImagePath(QString svgFilePath)''' 1070 def containsMultipleImages(self): 1071 '''bool Plasma.Svg.containsMultipleImages()''' 1072 return bool() 1073 def setContainsMultipleImages(self, multiple): 1074 '''void Plasma.Svg.setContainsMultipleImages(bool multiple)''' 1075 def isValid(self): 1076 '''bool Plasma.Svg.isValid()''' 1077 return bool() 1078 def elementAtPoint(self, point): 1079 '''QString Plasma.Svg.elementAtPoint(QPoint point)''' 1080 return QString() 1081 def hasElement(self, elementId): 1082 '''bool Plasma.Svg.hasElement(QString elementId)''' 1083 return bool() 1084 def elementRect(self, elementId): 1085 '''QRectF Plasma.Svg.elementRect(QString elementId)''' 1086 return QRectF() 1087 def elementSize(self, elementId): 1088 '''QSize Plasma.Svg.elementSize(QString elementId)''' 1089 return QSize() 1090 def resize(self, width, height): 1091 '''void Plasma.Svg.resize(float width, float height)''' 1092 def resize(self, size): 1093 '''void Plasma.Svg.resize(QSizeF size)''' 1094 def resize(self): 1095 '''void Plasma.Svg.resize()''' 1096 def size(self): 1097 '''QSize Plasma.Svg.size()''' 1098 return QSize() 1099 def paint(self, painter, point, elementID = QString()): 1100 '''void Plasma.Svg.paint(QPainter painter, QPointF point, QString elementID = QString())''' 1101 def paint(self, painter, x, y, elementID = QString()): 1102 '''void Plasma.Svg.paint(QPainter painter, int x, int y, QString elementID = QString())''' 1103 def paint(self, painter, rect, elementID = QString()): 1104 '''void Plasma.Svg.paint(QPainter painter, QRectF rect, QString elementID = QString())''' 1105 def paint(self, painter, x, y, width, height, elementID = QString()): 1106 '''void Plasma.Svg.paint(QPainter painter, int x, int y, int width, int height, QString elementID = QString())''' 1107 def pixmap(self, elementID = QString()): 1108 '''QPixmap Plasma.Svg.pixmap(QString elementID = QString())''' 1109 return QPixmap() 1110 class VideoWidget(QGraphicsProxyWidget): 1111 """""" 1112 # Enum Plasma.VideoWidget.Control 1113 NoControls = 0 1114 Play = 0 1115 Pause = 0 1116 Stop = 0 1117 PlayPause = 0 1118 Previous = 0 1119 Next = 0 1120 Progress = 0 1121 Volume = 0 1122 OpenFile = 0 1123 DefaultControls = 0 1124 1125 def __init__(self, parent = None): 1126 '''void Plasma.VideoWidget.__init__(QGraphicsWidget parent = None)''' 1127 def tickInterval(self): 1128 '''int Plasma.VideoWidget.tickInterval()''' 1129 return int() 1130 def setTickInterval(self, interval): 1131 '''void Plasma.VideoWidget.setTickInterval(int interval)''' 1132 def hoverMoveEvent(self, event): 1133 '''void Plasma.VideoWidget.hoverMoveEvent(QGraphicsSceneHoverEvent event)''' 1134 def hoverLeaveEvent(self, event): 1135 '''void Plasma.VideoWidget.hoverLeaveEvent(QGraphicsSceneHoverEvent event)''' 1136 def hoverEnterEvent(self, event): 1137 '''void Plasma.VideoWidget.hoverEnterEvent(QGraphicsSceneHoverEvent event)''' 1138 def resizeEvent(self, event): 1139 '''void Plasma.VideoWidget.resizeEvent(QGraphicsSceneResizeEvent event)''' 1140 previousRequested = pyqtSignal() # void previousRequested() - signal 1141 nextRequested = pyqtSignal() # void nextRequested() - signal 1142 aboutToFinish = pyqtSignal() # void aboutToFinish() - signal 1143 tick = pyqtSignal() # void tick(qint64) - signal 1144 def seek(self, time): 1145 '''void Plasma.VideoWidget.seek(int time)''' 1146 def stop(self): 1147 '''void Plasma.VideoWidget.stop()''' 1148 def pause(self): 1149 '''void Plasma.VideoWidget.pause()''' 1150 def play(self): 1151 '''void Plasma.VideoWidget.play()''' 1152 def styleSheet(self): 1153 '''QString Plasma.VideoWidget.styleSheet()''' 1154 return QString() 1155 def setStyleSheet(self, stylesheet): 1156 '''void Plasma.VideoWidget.setStyleSheet(QString stylesheet)''' 1157 def controlsVisible(self): 1158 '''bool Plasma.VideoWidget.controlsVisible()''' 1159 return bool() 1160 def setControlsVisible(self, visible): 1161 '''void Plasma.VideoWidget.setControlsVisible(bool visible)''' 1162 def usedControls(self): 1163 '''Plasma.VideoWidget.Controls Plasma.VideoWidget.usedControls()''' 1164 return Plasma.VideoWidget.Controls() 1165 def setUsedControls(self, controls): 1166 '''void Plasma.VideoWidget.setUsedControls(Plasma.VideoWidget.Controls controls)''' 1167 def remainingTime(self): 1168 '''int Plasma.VideoWidget.remainingTime()''' 1169 return int() 1170 def totalTime(self): 1171 '''int Plasma.VideoWidget.totalTime()''' 1172 return int() 1173 def currentTime(self): 1174 '''int Plasma.VideoWidget.currentTime()''' 1175 return int() 1176 def url(self): 1177 '''QString Plasma.VideoWidget.url()''' 1178 return QString() 1179 def setUrl(self, url): 1180 '''void Plasma.VideoWidget.setUrl(QString url)''' 1181 class View(QGraphicsView): 1182 """""" 1183 def __init__(self, containment, parent = None): 1184 '''void Plasma.View.__init__(Plasma.Containment containment, QWidget parent = None)''' 1185 def __init__(self, containment, viewId, parent = None): 1186 '''void Plasma.View.__init__(Plasma.Containment containment, int viewId, QWidget parent = None)''' 1187 lostContainment = pyqtSignal() # void lostContainment() - signal 1188 def configNeedsSaving(self): 1189 '''void Plasma.View.configNeedsSaving()''' 1190 def config(self): 1191 '''KConfigGroup Plasma.View.config()''' 1192 return KConfigGroup() 1193 def setContainment(self, containment): 1194 '''void Plasma.View.setContainment(Plasma.Containment containment)''' 1195 sceneRectChanged = pyqtSignal() # void sceneRectChanged() - signal 1196 sceneRectAboutToChange = pyqtSignal() # void sceneRectAboutToChange() - signal 1197 def id(self): 1198 '''int Plasma.View.id()''' 1199 return int() 1200 def topLevelViewAt(self, pos): 1201 '''static Plasma.View Plasma.View.topLevelViewAt(QPoint pos)''' 1202 return Plasma.View() 1203 def trackContainmentChanges(self): 1204 '''bool Plasma.View.trackContainmentChanges()''' 1205 return bool() 1206 def setTrackContainmentChanges(self, trackChanges): 1207 '''void Plasma.View.setTrackContainmentChanges(bool trackChanges)''' 1208 def swapContainment(self, existing, name, args = QVariantList()): 1209 '''Plasma.Containment Plasma.View.swapContainment(Plasma.Containment existing, QString name, list-of-QVariant args = QVariantList())''' 1210 return Plasma.Containment() 1211 def swapContainment(self, name, args = QVariantList()): 1212 '''Plasma.Containment Plasma.View.swapContainment(QString name, list-of-QVariant args = QVariantList())''' 1213 return Plasma.Containment() 1214 def containment(self): 1215 '''Plasma.Containment Plasma.View.containment()''' 1216 return Plasma.Containment() 1217 def effectiveDesktop(self): 1218 '''int Plasma.View.effectiveDesktop()''' 1219 return int() 1220 def desktop(self): 1221 '''int Plasma.View.desktop()''' 1222 return int() 1223 def screen(self): 1224 '''int Plasma.View.screen()''' 1225 return int() 1226 def setScreen(self, screen, desktop = None): 1227 '''void Plasma.View.setScreen(int screen, int desktop = -1)''' 1228 def isWallpaperEnabled(self): 1229 '''bool Plasma.View.isWallpaperEnabled()''' 1230 return bool() 1231 def setWallpaperEnabled(self, draw): 1232 '''void Plasma.View.setWallpaperEnabled(bool draw)''' 1233 class PushButton(QGraphicsProxyWidget): 1234 """""" 1235 def __init__(self, parent = None): 1236 '''void Plasma.PushButton.__init__(QGraphicsWidget parent = None)''' 1237 def click(self): 1238 '''void Plasma.PushButton.click()''' 1239 def sizeHint(self, which, constraint): 1240 '''QSizeF Plasma.PushButton.sizeHint(Qt.SizeHint which, QSizeF constraint)''' 1241 return QSizeF() 1242 def isCheckable(self): 1243 '''bool Plasma.PushButton.isCheckable()''' 1244 return bool() 1245 def changeEvent(self, event): 1246 '''void Plasma.PushButton.changeEvent(QEvent event)''' 1247 released = pyqtSignal() # void released() - signal 1248 pressed = pyqtSignal() # void pressed() - signal 1249 def isDown(self): 1250 '''bool Plasma.PushButton.isDown()''' 1251 return bool() 1252 def hoverLeaveEvent(self, event): 1253 '''void Plasma.PushButton.hoverLeaveEvent(QGraphicsSceneHoverEvent event)''' 1254 def hoverEnterEvent(self, event): 1255 '''void Plasma.PushButton.hoverEnterEvent(QGraphicsSceneHoverEvent event)''' 1256 def resizeEvent(self, event): 1257 '''void Plasma.PushButton.resizeEvent(QGraphicsSceneResizeEvent event)''' 1258 def paint(self, painter, option, widget = None): 1259 '''void Plasma.PushButton.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 1260 toggled = pyqtSignal() # void toggled(bool) - signal 1261 clicked = pyqtSignal() # void clicked() - signal 1262 def nativeWidget(self): 1263 '''KPushButton Plasma.PushButton.nativeWidget()''' 1264 return KPushButton() 1265 def isChecked(self): 1266 '''bool Plasma.PushButton.isChecked()''' 1267 return bool() 1268 def setChecked(self, checked): 1269 '''void Plasma.PushButton.setChecked(bool checked)''' 1270 def setCheckable(self, checkable): 1271 '''void Plasma.PushButton.setCheckable(bool checkable)''' 1272 def icon(self): 1273 '''QIcon Plasma.PushButton.icon()''' 1274 return QIcon() 1275 def setIcon(self, icon): 1276 '''void Plasma.PushButton.setIcon(QIcon icon)''' 1277 def setIcon(self, icon): 1278 '''void Plasma.PushButton.setIcon(KIcon icon)''' 1279 def action(self): 1280 '''QAction Plasma.PushButton.action()''' 1281 return QAction() 1282 def setAction(self, action): 1283 '''void Plasma.PushButton.setAction(QAction action)''' 1284 def styleSheet(self): 1285 '''QString Plasma.PushButton.styleSheet()''' 1286 return QString() 1287 def setStyleSheet(self, stylesheet): 1288 '''void Plasma.PushButton.setStyleSheet(QString stylesheet)''' 1289 def image(self): 1290 '''QString Plasma.PushButton.image()''' 1291 return QString() 1292 def setImage(self, path): 1293 '''void Plasma.PushButton.setImage(QString path)''' 1294 def setImage(self, path, elementid): 1295 '''void Plasma.PushButton.setImage(QString path, QString elementid)''' 1296 def text(self): 1297 '''QString Plasma.PushButton.text()''' 1298 return QString() 1299 def setText(self, text): 1300 '''void Plasma.PushButton.setText(QString text)''' 1301 class DeclarativeWidget(QGraphicsWidget): 1302 """""" 1303 def __init__(self, parent = None): 1304 '''void Plasma.DeclarativeWidget.__init__(QGraphicsWidget parent = None)''' 1305 def scriptEngine(self): 1306 '''QScriptEngine Plasma.DeclarativeWidget.scriptEngine()''' 1307 return QScriptEngine() 1308 finished = pyqtSignal() # void finished() - signal 1309 def resizeEvent(self, event): 1310 '''void Plasma.DeclarativeWidget.resizeEvent(QGraphicsSceneResizeEvent event)''' 1311 def mainComponent(self): 1312 '''QDeclarativeComponent Plasma.DeclarativeWidget.mainComponent()''' 1313 return QDeclarativeComponent() 1314 def rootObject(self): 1315 '''QObject Plasma.DeclarativeWidget.rootObject()''' 1316 return QObject() 1317 def engine(self): 1318 '''QDeclarativeEngine Plasma.DeclarativeWidget.engine()''' 1319 return QDeclarativeEngine() 1320 def isInitializationDelayed(self): 1321 '''bool Plasma.DeclarativeWidget.isInitializationDelayed()''' 1322 return bool() 1323 def setInitializationDelayed(self, delay): 1324 '''void Plasma.DeclarativeWidget.setInitializationDelayed(bool delay)''' 1325 def qmlPath(self): 1326 '''QString Plasma.DeclarativeWidget.qmlPath()''' 1327 return QString() 1328 def setQmlPath(self, path): 1329 '''void Plasma.DeclarativeWidget.setQmlPath(QString path)''' 1330 class RunnerScript(Plasma.ScriptEngine): 1331 """""" 1332 def __init__(self, parent = None): 1333 '''void Plasma.RunnerScript.__init__(QObject parent = None)''' 1334 def dataEngine(self, name): 1335 '''Plasma.DataEngine Plasma.RunnerScript.dataEngine(QString name)''' 1336 return Plasma.DataEngine() 1337 def description(self): 1338 '''KPluginInfo Plasma.RunnerScript.description()''' 1339 return KPluginInfo() 1340 actionsForMatch = pyqtSignal() # void actionsForMatch(const Plasma::QueryMatchamp;,QListlt;QAction *gt; *) - signal 1341 def setSyntaxes(self, syns): 1342 '''void Plasma.RunnerScript.setSyntaxes(list-of-Plasma.RunnerSyntax syns)''' 1343 def addSyntax(self, syntax): 1344 '''void Plasma.RunnerScript.addSyntax(Plasma.RunnerSyntax syntax)''' 1345 def clearActions(self): 1346 '''void Plasma.RunnerScript.clearActions()''' 1347 def actions(self): 1348 '''unknown-type Plasma.RunnerScript.actions()''' 1349 return unknown-type() 1350 def action(self, id): 1351 '''QAction Plasma.RunnerScript.action(QString id)''' 1352 return QAction() 1353 def removeAction(self, id): 1354 '''void Plasma.RunnerScript.removeAction(QString id)''' 1355 def addAction(self, id, icon, text): 1356 '''QAction Plasma.RunnerScript.addAction(QString id, QIcon icon, QString text)''' 1357 return QAction() 1358 def addAction(self, id, action): 1359 '''void Plasma.RunnerScript.addAction(QString id, QAction action)''' 1360 def serviceQuery(self, serviceType, constraint = QString()): 1361 '''unknown-type Plasma.RunnerScript.serviceQuery(QString serviceType, QString constraint = QString())''' 1362 return unknown-type() 1363 def setPriority(self, newPriority): 1364 '''void Plasma.RunnerScript.setPriority(Plasma.AbstractRunner.Priority newPriority)''' 1365 def setSpeed(self, newSpeed): 1366 '''void Plasma.RunnerScript.setSpeed(Plasma.AbstractRunner.Speed newSpeed)''' 1367 def setHasRunOptions(self, hasRunOptions): 1368 '''void Plasma.RunnerScript.setHasRunOptions(bool hasRunOptions)''' 1369 def setIgnoredTypes(self, types): 1370 '''void Plasma.RunnerScript.setIgnoredTypes(Plasma.RunnerContext.Types types)''' 1371 def config(self): 1372 '''KConfigGroup Plasma.RunnerScript.config()''' 1373 return KConfigGroup() 1374 reloadConfiguration = pyqtSignal() # void reloadConfiguration() - signal 1375 createRunOptions = pyqtSignal() # void createRunOptions(QWidget *) - signal 1376 teardown = pyqtSignal() # void teardown() - signal 1377 prepare = pyqtSignal() # void prepare() - signal 1378 def package(self): 1379 '''Plasma.Package Plasma.RunnerScript.package()''' 1380 return Plasma.Package() 1381 def mainScript(self): 1382 '''QString Plasma.RunnerScript.mainScript()''' 1383 return QString() 1384 def run(self, search, action): 1385 '''void Plasma.RunnerScript.run(Plasma.RunnerContext search, Plasma.QueryMatch action)''' 1386 def match(self, search): 1387 '''void Plasma.RunnerScript.match(Plasma.RunnerContext search)''' 1388 def runner(self): 1389 '''Plasma.AbstractRunner Plasma.RunnerScript.runner()''' 1390 return Plasma.AbstractRunner() 1391 def setRunner(self, runner): 1392 '''void Plasma.RunnerScript.setRunner(Plasma.AbstractRunner runner)''' 1393 class LineEdit(QGraphicsProxyWidget): 1394 """""" 1395 def __init__(self, parent = None): 1396 '''void Plasma.LineEdit.__init__(QGraphicsWidget parent = None)''' 1397 focusChanged = pyqtSignal() # void focusChanged(bool) - signal 1398 def focusInEvent(self, event): 1399 '''void Plasma.LineEdit.focusInEvent(QFocusEvent event)''' 1400 def focusOutEvent(self, event): 1401 '''void Plasma.LineEdit.focusOutEvent(QFocusEvent event)''' 1402 def mousePressEvent(self, event): 1403 '''void Plasma.LineEdit.mousePressEvent(QGraphicsSceneMouseEvent event)''' 1404 def clickMessage(self): 1405 '''QString Plasma.LineEdit.clickMessage()''' 1406 return QString() 1407 def setClickMessage(self, message): 1408 '''void Plasma.LineEdit.setClickMessage(QString message)''' 1409 textChanged = pyqtSignal() # void textChanged(const QStringamp;) - signal 1410 def paint(self, painter, option, widget): 1411 '''void Plasma.LineEdit.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget)''' 1412 def changeEvent(self, event): 1413 '''void Plasma.LineEdit.changeEvent(QEvent event)''' 1414 def hoverLeaveEvent(self, event): 1415 '''void Plasma.LineEdit.hoverLeaveEvent(QGraphicsSceneHoverEvent event)''' 1416 def hoverEnterEvent(self, event): 1417 '''void Plasma.LineEdit.hoverEnterEvent(QGraphicsSceneHoverEvent event)''' 1418 def setNativeWidget(self, nativeWidget): 1419 '''void Plasma.LineEdit.setNativeWidget(KLineEdit nativeWidget)''' 1420 def isClearButtonShown(self): 1421 '''bool Plasma.LineEdit.isClearButtonShown()''' 1422 return bool() 1423 def setClearButtonShown(self, show): 1424 '''void Plasma.LineEdit.setClearButtonShown(bool show)''' 1425 textEdited = pyqtSignal() # void textEdited(const QStringamp;) - signal 1426 returnPressed = pyqtSignal() # void returnPressed() - signal 1427 editingFinished = pyqtSignal() # void editingFinished() - signal 1428 def nativeWidget(self): 1429 '''KLineEdit Plasma.LineEdit.nativeWidget()''' 1430 return KLineEdit() 1431 def styleSheet(self): 1432 '''QString Plasma.LineEdit.styleSheet()''' 1433 return QString() 1434 def setStyleSheet(self, stylesheet): 1435 '''void Plasma.LineEdit.setStyleSheet(QString stylesheet)''' 1436 def text(self): 1437 '''QString Plasma.LineEdit.text()''' 1438 return QString() 1439 def setText(self, text): 1440 '''void Plasma.LineEdit.setText(QString text)''' 1441 class WallpaperScript(Plasma.ScriptEngine): 1442 """""" 1443 def __init__(self, parent = None): 1444 '''void Plasma.WallpaperScript.__init__(QObject parent = None)''' 1445 def setUrls(self, urls): 1446 '''void Plasma.WallpaperScript.setUrls(KUrl.List urls)''' 1447 def description(self): 1448 '''KPluginInfo Plasma.WallpaperScript.description()''' 1449 return KPluginInfo() 1450 def urlDropped(self, url): 1451 '''void Plasma.WallpaperScript.urlDropped(KUrl url)''' 1452 def renderCompleted(self, image): 1453 '''void Plasma.WallpaperScript.renderCompleted(QImage image)''' 1454 def configNeedsSaving(self): 1455 '''void Plasma.WallpaperScript.configNeedsSaving()''' 1456 def update(self, exposedArea): 1457 '''void Plasma.WallpaperScript.update(QRectF exposedArea)''' 1458 def setContextualActions(self, actions): 1459 '''void Plasma.WallpaperScript.setContextualActions(list-of-QAction actions)''' 1460 def insertIntoCache(self, key, image): 1461 '''void Plasma.WallpaperScript.insertIntoCache(QString key, QImage image)''' 1462 def findInCache(self, key, image, lastModified = 0): 1463 '''bool Plasma.WallpaperScript.findInCache(QString key, QImage image, int lastModified = 0)''' 1464 return bool() 1465 def setUsingRenderingCache(self, useCache): 1466 '''void Plasma.WallpaperScript.setUsingRenderingCache(bool useCache)''' 1467 def render(self, sourceImagePath, size, resizeMethod = None, color = None): 1468 '''void Plasma.WallpaperScript.render(QString sourceImagePath, QSize size, Plasma.Wallpaper.ResizeMethod resizeMethod = Plasma.Wallpaper.ScaledResize, QColor color = QColor(0,0,0))''' 1469 def setConfigurationRequired(self, needsConfiguring, reason = QString()): 1470 '''void Plasma.WallpaperScript.setConfigurationRequired(bool needsConfiguring, QString reason = QString())''' 1471 def setTargetSizeHint(self, targetSize): 1472 '''void Plasma.WallpaperScript.setTargetSizeHint(QSizeF targetSize)''' 1473 def setResizeMethodHint(self, resizeMethod): 1474 '''void Plasma.WallpaperScript.setResizeMethodHint(Plasma.Wallpaper.ResizeMethod resizeMethod)''' 1475 def dataEngine(self, name): 1476 '''Plasma.DataEngine Plasma.WallpaperScript.dataEngine(QString name)''' 1477 return Plasma.DataEngine() 1478 def boundingRect(self): 1479 '''QRectF Plasma.WallpaperScript.boundingRect()''' 1480 return QRectF() 1481 def isInitialized(self): 1482 '''bool Plasma.WallpaperScript.isInitialized()''' 1483 return bool() 1484 def package(self): 1485 '''Plasma.Package Plasma.WallpaperScript.package()''' 1486 return Plasma.Package() 1487 def mainScript(self): 1488 '''QString Plasma.WallpaperScript.mainScript()''' 1489 return QString() 1490 def wheelEvent(self, event): 1491 '''void Plasma.WallpaperScript.wheelEvent(QGraphicsSceneWheelEvent event)''' 1492 def mouseReleaseEvent(self, event): 1493 '''void Plasma.WallpaperScript.mouseReleaseEvent(QGraphicsSceneMouseEvent event)''' 1494 def mousePressEvent(self, event): 1495 '''void Plasma.WallpaperScript.mousePressEvent(QGraphicsSceneMouseEvent event)''' 1496 def mouseMoveEvent(self, event): 1497 '''void Plasma.WallpaperScript.mouseMoveEvent(QGraphicsSceneMouseEvent event)''' 1498 def createConfigurationInterface(self, parent): 1499 '''QWidget Plasma.WallpaperScript.createConfigurationInterface(QWidget parent)''' 1500 return QWidget() 1501 def save(self, config): 1502 '''void Plasma.WallpaperScript.save(KConfigGroup config)''' 1503 def paint(self, painter, exposedRect): 1504 '''void Plasma.WallpaperScript.paint(QPainter painter, QRectF exposedRect)''' 1505 def initWallpaper(self, config): 1506 '''void Plasma.WallpaperScript.initWallpaper(KConfigGroup config)''' 1507 def wallpaper(self): 1508 '''Plasma.Wallpaper Plasma.WallpaperScript.wallpaper()''' 1509 return Plasma.Wallpaper() 1510 def setWallpaper(self, wallpaper): 1511 '''void Plasma.WallpaperScript.setWallpaper(Plasma.Wallpaper wallpaper)''' 1512 class Frame(QGraphicsWidget): 1513 """""" 1514 # Enum Plasma.Frame.Shadow 1515 Plain = 0 1516 Raised = 0 1517 Sunken = 0 1518 1519 def __init__(self, parent = None): 1520 '''void Plasma.Frame.__init__(QGraphicsWidget parent = None)''' 1521 def changeEvent(self, event): 1522 '''void Plasma.Frame.changeEvent(QEvent event)''' 1523 def enabledBorders(self): 1524 '''Plasma.FrameSvg.EnabledBorders Plasma.Frame.enabledBorders()''' 1525 return Plasma.FrameSvg.EnabledBorders() 1526 def setEnabledBorders(self, borders): 1527 '''void Plasma.Frame.setEnabledBorders(Plasma.FrameSvg.EnabledBorders borders)''' 1528 def sizeHint(self, which, constraint): 1529 '''QSizeF Plasma.Frame.sizeHint(Qt.SizeHint which, QSizeF constraint)''' 1530 return QSizeF() 1531 def resizeEvent(self, event): 1532 '''void Plasma.Frame.resizeEvent(QGraphicsSceneResizeEvent event)''' 1533 def paint(self, painter, option, widget = None): 1534 '''void Plasma.Frame.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 1535 def nativeWidget(self): 1536 '''QWidget Plasma.Frame.nativeWidget()''' 1537 return QWidget() 1538 def styleSheet(self): 1539 '''QString Plasma.Frame.styleSheet()''' 1540 return QString() 1541 def setStyleSheet(self, stylesheet): 1542 '''void Plasma.Frame.setStyleSheet(QString stylesheet)''' 1543 def image(self): 1544 '''QString Plasma.Frame.image()''' 1545 return QString() 1546 def setImage(self, path): 1547 '''void Plasma.Frame.setImage(QString path)''' 1548 def text(self): 1549 '''QString Plasma.Frame.text()''' 1550 return QString() 1551 def setText(self, text): 1552 '''void Plasma.Frame.setText(QString text)''' 1553 def frameShadow(self): 1554 '''Plasma.Frame.Shadow Plasma.Frame.frameShadow()''' 1555 return Plasma.Frame.Shadow() 1556 def setFrameShadow(self, shadow): 1557 '''void Plasma.Frame.setFrameShadow(Plasma.Frame.Shadow shadow)''' 1558 class AccessManager(QObject): 1559 """""" 1560 remoteAppletUnannounced = pyqtSignal() # void remoteAppletUnannounced(Plasma::PackageMetadata) - signal 1561 remoteAppletAnnounced = pyqtSignal() # void remoteAppletAnnounced(Plasma::PackageMetadata) - signal 1562 finished = pyqtSignal() # void finished(Plasma::AccessAppletJob *) - signal 1563 def supportedProtocols(self): 1564 '''static QStringList Plasma.AccessManager.supportedProtocols()''' 1565 return QStringList() 1566 def remoteApplets(self): 1567 '''list-of-Plasma.PackageMetadata Plasma.AccessManager.remoteApplets()''' 1568 return [Plasma.PackageMetadata()] 1569 def accessRemoteApplet(self, location): 1570 '''Plasma.AccessAppletJob Plasma.AccessManager.accessRemoteApplet(KUrl location)''' 1571 return Plasma.AccessAppletJob() 1572 def self(self): 1573 '''static Plasma.AccessManager Plasma.AccessManager.self()''' 1574 return Plasma.AccessManager() 1575 class FrameSvg(Plasma.Svg): 1576 """""" 1577 # Enum Plasma.FrameSvg.EnabledBorder 1578 NoBorder = 0 1579 TopBorder = 0 1580 BottomBorder = 0 1581 LeftBorder = 0 1582 RightBorder = 0 1583 AllBorders = 0 1584 1585 def __init__(self, parent = None): 1586 '''void Plasma.FrameSvg.__init__(QObject parent = None)''' 1587 def paintFrame(self, painter, target, source = QRectF()): 1588 '''void Plasma.FrameSvg.paintFrame(QPainter painter, QRectF target, QRectF source = QRectF())''' 1589 def paintFrame(self, painter, pos = None): 1590 '''void Plasma.FrameSvg.paintFrame(QPainter painter, QPointF pos = QPointF(0,0))''' 1591 def framePixmap(self): 1592 '''QPixmap Plasma.FrameSvg.framePixmap()''' 1593 return QPixmap() 1594 def clearCache(self): 1595 '''void Plasma.FrameSvg.clearCache()''' 1596 def cacheAllRenderedFrames(self): 1597 '''bool Plasma.FrameSvg.cacheAllRenderedFrames()''' 1598 return bool() 1599 def setCacheAllRenderedFrames(self, cache): 1600 '''void Plasma.FrameSvg.setCacheAllRenderedFrames(bool cache)''' 1601 def alphaMask(self): 1602 '''QPixmap Plasma.FrameSvg.alphaMask()''' 1603 return QPixmap() 1604 def mask(self): 1605 '''QRegion Plasma.FrameSvg.mask()''' 1606 return QRegion() 1607 def prefix(self): 1608 '''QString Plasma.FrameSvg.prefix()''' 1609 return QString() 1610 def hasElementPrefix(self, prefix): 1611 '''bool Plasma.FrameSvg.hasElementPrefix(QString prefix)''' 1612 return bool() 1613 def hasElementPrefix(self, location): 1614 '''bool Plasma.FrameSvg.hasElementPrefix(Plasma.Location location)''' 1615 return bool() 1616 def setElementPrefix(self, location): 1617 '''void Plasma.FrameSvg.setElementPrefix(Plasma.Location location)''' 1618 def setElementPrefix(self, prefix): 1619 '''void Plasma.FrameSvg.setElementPrefix(QString prefix)''' 1620 def contentsRect(self): 1621 '''QRectF Plasma.FrameSvg.contentsRect()''' 1622 return QRectF() 1623 def getMargins(self, left, top, right, bottom): 1624 '''void Plasma.FrameSvg.getMargins(float left, float top, float right, float bottom)''' 1625 def marginSize(self, edge): 1626 '''float Plasma.FrameSvg.marginSize(Plasma.MarginEdge edge)''' 1627 return float() 1628 def frameSize(self): 1629 '''QSizeF Plasma.FrameSvg.frameSize()''' 1630 return QSizeF() 1631 def resizeFrame(self, size): 1632 '''void Plasma.FrameSvg.resizeFrame(QSizeF size)''' 1633 def enabledBorders(self): 1634 '''Plasma.FrameSvg.EnabledBorders Plasma.FrameSvg.enabledBorders()''' 1635 return Plasma.FrameSvg.EnabledBorders() 1636 def setEnabledBorders(self, borders): 1637 '''void Plasma.FrameSvg.setEnabledBorders(Plasma.FrameSvg.EnabledBorders borders)''' 1638 def setImagePath(self, path): 1639 '''void Plasma.FrameSvg.setImagePath(QString path)''' 1640 class AppletProtectedThunk(Plasma.Applet): 1641 """""" 1642 def __init__(self): 1643 '''void Plasma.AppletProtectedThunk.__init__()''' 1644 def static_public_setConfigurationRequired(self, applet, needsConfiguring, reason = QString()): 1645 '''static void Plasma.AppletProtectedThunk.static_public_setConfigurationRequired(Plasma.Applet applet, bool needsConfiguring, QString reason = QString())''' 1646 def static_public_setHasConfigurationInterface(self, applet, hasInterface): 1647 '''static void Plasma.AppletProtectedThunk.static_public_setHasConfigurationInterface(Plasma.Applet applet, bool hasInterface)''' 1648 class ClientPinRequest(QObject): 1649 """""" 1650 changed = pyqtSignal() # void changed(Plasma::ClientPinRequest *) - signal 1651 def pin(self): 1652 '''QString Plasma.ClientPinRequest.pin()''' 1653 return QString() 1654 def setPin(self, pin): 1655 '''void Plasma.ClientPinRequest.setPin(QString pin)''' 1656 def description(self): 1657 '''QString Plasma.ClientPinRequest.description()''' 1658 return QString() 1659 class VideoWidget(): 1660 """""" 1661 class Controls(): 1662 """""" 1663 def __init__(self): 1664 '''Plasma.VideoWidget.Controls Plasma.VideoWidget.Controls.__init__()''' 1665 return Plasma.VideoWidget.Controls() 1666 def __init__(self): 1667 '''int Plasma.VideoWidget.Controls.__init__()''' 1668 return int() 1669 def __init__(self): 1670 '''void Plasma.VideoWidget.Controls.__init__()''' 1671 def __bool__(self): 1672 '''int Plasma.VideoWidget.Controls.__bool__()''' 1673 return int() 1674 def __ne__(self, f): 1675 '''bool Plasma.VideoWidget.Controls.__ne__(Plasma.VideoWidget.Controls f)''' 1676 return bool() 1677 def __eq__(self, f): 1678 '''bool Plasma.VideoWidget.Controls.__eq__(Plasma.VideoWidget.Controls f)''' 1679 return bool() 1680 def __invert__(self): 1681 '''Plasma.VideoWidget.Controls Plasma.VideoWidget.Controls.__invert__()''' 1682 return Plasma.VideoWidget.Controls() 1683 def __and__(self, mask): 1684 '''Plasma.VideoWidget.Controls Plasma.VideoWidget.Controls.__and__(int mask)''' 1685 return Plasma.VideoWidget.Controls() 1686 def __xor__(self, f): 1687 '''Plasma.VideoWidget.Controls Plasma.VideoWidget.Controls.__xor__(Plasma.VideoWidget.Controls f)''' 1688 return Plasma.VideoWidget.Controls() 1689 def __xor__(self, f): 1690 '''Plasma.VideoWidget.Controls Plasma.VideoWidget.Controls.__xor__(int f)''' 1691 return Plasma.VideoWidget.Controls() 1692 def __or__(self, f): 1693 '''Plasma.VideoWidget.Controls Plasma.VideoWidget.Controls.__or__(Plasma.VideoWidget.Controls f)''' 1694 return Plasma.VideoWidget.Controls() 1695 def __or__(self, f): 1696 '''Plasma.VideoWidget.Controls Plasma.VideoWidget.Controls.__or__(int f)''' 1697 return Plasma.VideoWidget.Controls() 1698 def __int__(self): 1699 '''int Plasma.VideoWidget.Controls.__int__()''' 1700 return int() 1701 def __ixor__(self, f): 1702 '''Plasma.VideoWidget.Controls Plasma.VideoWidget.Controls.__ixor__(Plasma.VideoWidget.Controls f)''' 1703 return Plasma.VideoWidget.Controls() 1704 def __ior__(self, f): 1705 '''Plasma.VideoWidget.Controls Plasma.VideoWidget.Controls.__ior__(Plasma.VideoWidget.Controls f)''' 1706 return Plasma.VideoWidget.Controls() 1707 def __iand__(self, mask): 1708 '''Plasma.VideoWidget.Controls Plasma.VideoWidget.Controls.__iand__(int mask)''' 1709 return Plasma.VideoWidget.Controls() 1710 class PackageMetadata(): 1711 """""" 1712 def __init__(self, path = QString()): 1713 '''void Plasma.PackageMetadata.__init__(QString path = QString())''' 1714 def setIcon(self, icon): 1715 '''void Plasma.PackageMetadata.setIcon(QString icon)''' 1716 def icon(self): 1717 '''QString Plasma.PackageMetadata.icon()''' 1718 return QString() 1719 def setRemoteLocation(self): 1720 '''KUrl Plasma.PackageMetadata.setRemoteLocation()''' 1721 return KUrl() 1722 def remoteLocation(self): 1723 '''KUrl Plasma.PackageMetadata.remoteLocation()''' 1724 return KUrl() 1725 def setImplementationApi(self, api): 1726 '''void Plasma.PackageMetadata.setImplementationApi(QString api)''' 1727 def setPluginName(self, name): 1728 '''void Plasma.PackageMetadata.setPluginName(QString name)''' 1729 def setType(self, type): 1730 '''void Plasma.PackageMetadata.setType(QString type)''' 1731 def setRequiredVersion(self): 1732 '''QString Plasma.PackageMetadata.setRequiredVersion()''' 1733 return QString() 1734 def setCategory(self): 1735 '''QString Plasma.PackageMetadata.setCategory()''' 1736 return QString() 1737 def setApplication(self): 1738 '''QString Plasma.PackageMetadata.setApplication()''' 1739 return QString() 1740 def setLicense(self): 1741 '''QString Plasma.PackageMetadata.setLicense()''' 1742 return QString() 1743 def setWebsite(self): 1744 '''QString Plasma.PackageMetadata.setWebsite()''' 1745 return QString() 1746 def setVersion(self): 1747 '''QString Plasma.PackageMetadata.setVersion()''' 1748 return QString() 1749 def setEmail(self): 1750 '''QString Plasma.PackageMetadata.setEmail()''' 1751 return QString() 1752 def setAuthor(self): 1753 '''QString Plasma.PackageMetadata.setAuthor()''' 1754 return QString() 1755 def setServiceType(self): 1756 '''QString Plasma.PackageMetadata.setServiceType()''' 1757 return QString() 1758 def setKeywords(self, keywords): 1759 '''void Plasma.PackageMetadata.setKeywords(QStringList keywords)''' 1760 def setDescription(self): 1761 '''QString Plasma.PackageMetadata.setDescription()''' 1762 return QString() 1763 def setName(self): 1764 '''QString Plasma.PackageMetadata.setName()''' 1765 return QString() 1766 def type(self): 1767 '''QString Plasma.PackageMetadata.type()''' 1768 return QString() 1769 def implementationApi(self): 1770 '''QString Plasma.PackageMetadata.implementationApi()''' 1771 return QString() 1772 def pluginName(self): 1773 '''QString Plasma.PackageMetadata.pluginName()''' 1774 return QString() 1775 def requiredVersion(self): 1776 '''QString Plasma.PackageMetadata.requiredVersion()''' 1777 return QString() 1778 def category(self): 1779 '''QString Plasma.PackageMetadata.category()''' 1780 return QString() 1781 def application(self): 1782 '''QString Plasma.PackageMetadata.application()''' 1783 return QString() 1784 def license(self): 1785 '''QString Plasma.PackageMetadata.license()''' 1786 return QString() 1787 def website(self): 1788 '''QString Plasma.PackageMetadata.website()''' 1789 return QString() 1790 def version(self): 1791 '''QString Plasma.PackageMetadata.version()''' 1792 return QString() 1793 def email(self): 1794 '''QString Plasma.PackageMetadata.email()''' 1795 return QString() 1796 def author(self): 1797 '''QString Plasma.PackageMetadata.author()''' 1798 return QString() 1799 def serviceType(self): 1800 '''QString Plasma.PackageMetadata.serviceType()''' 1801 return QString() 1802 def keywords(self): 1803 '''QStringList Plasma.PackageMetadata.keywords()''' 1804 return QStringList() 1805 def description(self): 1806 '''QString Plasma.PackageMetadata.description()''' 1807 return QString() 1808 def name(self): 1809 '''QString Plasma.PackageMetadata.name()''' 1810 return QString() 1811 def read(self, filename): 1812 '''void Plasma.PackageMetadata.read(QString filename)''' 1813 def write(self, filename): 1814 '''void Plasma.PackageMetadata.write(QString filename)''' 1815 def isValid(self): 1816 '''bool Plasma.PackageMetadata.isValid()''' 1817 return bool() 1818 class AnimationDriver(QObject): 1819 """""" 1820 def __init__(self, parent = None): 1821 '''void Plasma.AnimationDriver.__init__(QObject parent = None)''' 1822 def itemSlideOut(self, progress, item, start, destination): 1823 '''void Plasma.AnimationDriver.itemSlideOut(float progress, QGraphicsItem item, QPoint start, QPoint destination)''' 1824 def itemSlideIn(self, progress, item, start, destination): 1825 '''void Plasma.AnimationDriver.itemSlideIn(float progress, QGraphicsItem item, QPoint start, QPoint destination)''' 1826 def itemActivated(self, progress, item): 1827 '''void Plasma.AnimationDriver.itemActivated(float progress, QGraphicsItem item)''' 1828 def itemDisappear(self, progress, item): 1829 '''void Plasma.AnimationDriver.itemDisappear(float progress, QGraphicsItem item)''' 1830 def itemAppear(self, progress, item): 1831 '''void Plasma.AnimationDriver.itemAppear(float progress, QGraphicsItem item)''' 1832 def elementDisappear(self, progress, pixmap): 1833 '''QPixmap Plasma.AnimationDriver.elementDisappear(float progress, QPixmap pixmap)''' 1834 return QPixmap() 1835 def elementAppear(self, progress, pixmap): 1836 '''QPixmap Plasma.AnimationDriver.elementAppear(float progress, QPixmap pixmap)''' 1837 return QPixmap() 1838 def elementAnimationCurve(self): 1839 '''Plasma.Animator.Animation Plasma.AnimationDriver.elementAnimationCurve()''' 1840 return Plasma.Animator.Animation() 1841 def movementAnimationCurve(self): 1842 '''Plasma.Animator.Movement Plasma.AnimationDriver.movementAnimationCurve()''' 1843 return Plasma.Animator.Movement() 1844 def animationCurve(self): 1845 '''Plasma.Animator.Animation Plasma.AnimationDriver.animationCurve()''' 1846 return Plasma.Animator.Animation() 1847 def elementAnimationDuration(self): 1848 '''Plasma.Animator.Animation Plasma.AnimationDriver.elementAnimationDuration()''' 1849 return Plasma.Animator.Animation() 1850 def movementAnimationDuration(self): 1851 '''Plasma.Animator.Movement Plasma.AnimationDriver.movementAnimationDuration()''' 1852 return Plasma.Animator.Movement() 1853 def animationDuration(self): 1854 '''Plasma.Animator.Animation Plasma.AnimationDriver.animationDuration()''' 1855 return Plasma.Animator.Animation() 1856 def elementAnimationFps(self): 1857 '''Plasma.Animator.Animation Plasma.AnimationDriver.elementAnimationFps()''' 1858 return Plasma.Animator.Animation() 1859 def movementAnimationFps(self): 1860 '''Plasma.Animator.Movement Plasma.AnimationDriver.movementAnimationFps()''' 1861 return Plasma.Animator.Movement() 1862 def animationFps(self): 1863 '''Plasma.Animator.Animation Plasma.AnimationDriver.animationFps()''' 1864 return Plasma.Animator.Animation() 1865 class Dialog(): 1866 """""" 1867 class ResizeCorners(): 1868 """""" 1869 def __init__(self): 1870 '''Plasma.Dialog.ResizeCorners Plasma.Dialog.ResizeCorners.__init__()''' 1871 return Plasma.Dialog.ResizeCorners() 1872 def __init__(self): 1873 '''int Plasma.Dialog.ResizeCorners.__init__()''' 1874 return int() 1875 def __init__(self): 1876 '''void Plasma.Dialog.ResizeCorners.__init__()''' 1877 def __bool__(self): 1878 '''int Plasma.Dialog.ResizeCorners.__bool__()''' 1879 return int() 1880 def __ne__(self, f): 1881 '''bool Plasma.Dialog.ResizeCorners.__ne__(Plasma.Dialog.ResizeCorners f)''' 1882 return bool() 1883 def __eq__(self, f): 1884 '''bool Plasma.Dialog.ResizeCorners.__eq__(Plasma.Dialog.ResizeCorners f)''' 1885 return bool() 1886 def __invert__(self): 1887 '''Plasma.Dialog.ResizeCorners Plasma.Dialog.ResizeCorners.__invert__()''' 1888 return Plasma.Dialog.ResizeCorners() 1889 def __and__(self, mask): 1890 '''Plasma.Dialog.ResizeCorners Plasma.Dialog.ResizeCorners.__and__(int mask)''' 1891 return Plasma.Dialog.ResizeCorners() 1892 def __xor__(self, f): 1893 '''Plasma.Dialog.ResizeCorners Plasma.Dialog.ResizeCorners.__xor__(Plasma.Dialog.ResizeCorners f)''' 1894 return Plasma.Dialog.ResizeCorners() 1895 def __xor__(self, f): 1896 '''Plasma.Dialog.ResizeCorners Plasma.Dialog.ResizeCorners.__xor__(int f)''' 1897 return Plasma.Dialog.ResizeCorners() 1898 def __or__(self, f): 1899 '''Plasma.Dialog.ResizeCorners Plasma.Dialog.ResizeCorners.__or__(Plasma.Dialog.ResizeCorners f)''' 1900 return Plasma.Dialog.ResizeCorners() 1901 def __or__(self, f): 1902 '''Plasma.Dialog.ResizeCorners Plasma.Dialog.ResizeCorners.__or__(int f)''' 1903 return Plasma.Dialog.ResizeCorners() 1904 def __int__(self): 1905 '''int Plasma.Dialog.ResizeCorners.__int__()''' 1906 return int() 1907 def __ixor__(self, f): 1908 '''Plasma.Dialog.ResizeCorners Plasma.Dialog.ResizeCorners.__ixor__(Plasma.Dialog.ResizeCorners f)''' 1909 return Plasma.Dialog.ResizeCorners() 1910 def __ior__(self, f): 1911 '''Plasma.Dialog.ResizeCorners Plasma.Dialog.ResizeCorners.__ior__(Plasma.Dialog.ResizeCorners f)''' 1912 return Plasma.Dialog.ResizeCorners() 1913 def __iand__(self, mask): 1914 '''Plasma.Dialog.ResizeCorners Plasma.Dialog.ResizeCorners.__iand__(int mask)''' 1915 return Plasma.Dialog.ResizeCorners() 1916 class ToolTipContent(): 1917 """""" 1918 # Enum Plasma.ToolTipContent.ResourceType 1919 ImageResource = 0 1920 HtmlResource = 0 1921 CssResource = 0 1922 1923 def __init__(self): 1924 '''void Plasma.ToolTipContent.__init__()''' 1925 def __init__(self, other): 1926 '''void Plasma.ToolTipContent.__init__(Plasma.ToolTipContent other)''' 1927 def __init__(self, mainText, subText, image = QPixmap()): 1928 '''void Plasma.ToolTipContent.__init__(QString mainText, QString subText, QPixmap image = QPixmap())''' 1929 def __init__(self, mainText, subText, icon): 1930 '''void Plasma.ToolTipContent.__init__(QString mainText, QString subText, QIcon icon)''' 1931 def isInstantPopup(self): 1932 '''bool Plasma.ToolTipContent.isInstantPopup()''' 1933 return bool() 1934 def setInstantPopup(self, enabled): 1935 '''void Plasma.ToolTipContent.setInstantPopup(bool enabled)''' 1936 def graphicsWidget(self): 1937 '''QGraphicsWidget Plasma.ToolTipContent.graphicsWidget()''' 1938 return QGraphicsWidget() 1939 def setGraphicsWidget(self, widget): 1940 '''void Plasma.ToolTipContent.setGraphicsWidget(QGraphicsWidget widget)''' 1941 def highlightWindows(self): 1942 '''bool Plasma.ToolTipContent.highlightWindows()''' 1943 return bool() 1944 def setHighlightWindows(self, highlight): 1945 '''void Plasma.ToolTipContent.setHighlightWindows(bool highlight)''' 1946 def isClickable(self): 1947 '''bool Plasma.ToolTipContent.isClickable()''' 1948 return bool() 1949 def setClickable(self, clickable): 1950 '''void Plasma.ToolTipContent.setClickable(bool clickable)''' 1951 def registerResources(self, document): 1952 '''void Plasma.ToolTipContent.registerResources(QTextDocument document)''' 1953 def addResource(self, type, path, resource): 1954 '''void Plasma.ToolTipContent.addResource(Plasma.ToolTipContent.ResourceType type, QUrl path, QVariant resource)''' 1955 def autohide(self): 1956 '''bool Plasma.ToolTipContent.autohide()''' 1957 return bool() 1958 def setAutohide(self, autohide): 1959 '''void Plasma.ToolTipContent.setAutohide(bool autohide)''' 1960 def windowsToPreview(self): 1961 '''unknown-type Plasma.ToolTipContent.windowsToPreview()''' 1962 return unknown-type() 1963 def setWindowsToPreview(self, ids): 1964 '''void Plasma.ToolTipContent.setWindowsToPreview(unknown-type ids)''' 1965 def windowToPreview(self): 1966 '''int Plasma.ToolTipContent.windowToPreview()''' 1967 return int() 1968 def setWindowToPreview(self, id): 1969 '''void Plasma.ToolTipContent.setWindowToPreview(int id)''' 1970 def image(self): 1971 '''QPixmap Plasma.ToolTipContent.image()''' 1972 return QPixmap() 1973 def setImage(self, image): 1974 '''void Plasma.ToolTipContent.setImage(QPixmap image)''' 1975 def setImage(self, icon): 1976 '''void Plasma.ToolTipContent.setImage(QIcon icon)''' 1977 def subText(self): 1978 '''QString Plasma.ToolTipContent.subText()''' 1979 return QString() 1980 def setSubText(self, text): 1981 '''void Plasma.ToolTipContent.setSubText(QString text)''' 1982 def mainText(self): 1983 '''QString Plasma.ToolTipContent.mainText()''' 1984 return QString() 1985 def setMainText(self, text): 1986 '''void Plasma.ToolTipContent.setMainText(QString text)''' 1987 def isEmpty(self): 1988 '''bool Plasma.ToolTipContent.isEmpty()''' 1989 return bool() 1990 class TabBar(QGraphicsWidget): 1991 """""" 1992 def __init__(self, parent = None): 1993 '''void Plasma.TabBar.__init__(QGraphicsWidget parent = None)''' 1994 def isTabHighlighted(self, index): 1995 '''bool Plasma.TabBar.isTabHighlighted(int index)''' 1996 return bool() 1997 def setTabHighlighted(self, index, highlight): 1998 '''void Plasma.TabBar.setTabHighlighted(int index, bool highlight)''' 1999 def lastPositionWidget(self): 2000 '''QGraphicsWidget Plasma.TabBar.lastPositionWidget()''' 2001 return QGraphicsWidget() 2002 def setLastPositionWidget(self, widget): 2003 '''void Plasma.TabBar.setLastPositionWidget(QGraphicsWidget widget)''' 2004 def firstPositionWidget(self): 2005 '''QGraphicsWidget Plasma.TabBar.firstPositionWidget()''' 2006 return QGraphicsWidget() 2007 def setFirstPositionWidget(self, widget): 2008 '''void Plasma.TabBar.setFirstPositionWidget(QGraphicsWidget widget)''' 2009 def changeEvent(self, event): 2010 '''void Plasma.TabBar.changeEvent(QEvent event)''' 2011 def tabAt(self, index): 2012 '''QGraphicsLayoutItem Plasma.TabBar.tabAt(int index)''' 2013 return QGraphicsLayoutItem() 2014 def takeTab(self, index): 2015 '''QGraphicsLayoutItem Plasma.TabBar.takeTab(int index)''' 2016 return QGraphicsLayoutItem() 2017 def resizeEvent(self, event): 2018 '''void Plasma.TabBar.resizeEvent(QGraphicsSceneResizeEvent event)''' 2019 def wheelEvent(self, event): 2020 '''void Plasma.TabBar.wheelEvent(QGraphicsSceneWheelEvent event)''' 2021 currentChanged = pyqtSignal() # void currentChanged(int) - signal 2022 def setCurrentIndex(self, index): 2023 '''void Plasma.TabBar.setCurrentIndex(int index)''' 2024 def nativeWidget(self): 2025 '''KTabBar Plasma.TabBar.nativeWidget()''' 2026 return KTabBar() 2027 def styleSheet(self): 2028 '''QString Plasma.TabBar.styleSheet()''' 2029 return QString() 2030 def setStyleSheet(self, stylesheet): 2031 '''void Plasma.TabBar.setStyleSheet(QString stylesheet)''' 2032 def isTabBarShown(self): 2033 '''bool Plasma.TabBar.isTabBarShown()''' 2034 return bool() 2035 def setTabBarShown(self, show): 2036 '''void Plasma.TabBar.setTabBarShown(bool show)''' 2037 def tabIcon(self, index): 2038 '''QIcon Plasma.TabBar.tabIcon(int index)''' 2039 return QIcon() 2040 def setTabIcon(self, index, icon): 2041 '''void Plasma.TabBar.setTabIcon(int index, QIcon icon)''' 2042 def tabText(self, index): 2043 '''QString Plasma.TabBar.tabText(int index)''' 2044 return QString() 2045 def setTabText(self, index, label): 2046 '''void Plasma.TabBar.setTabText(int index, QString label)''' 2047 def count(self): 2048 '''int Plasma.TabBar.count()''' 2049 return int() 2050 def currentIndex(self): 2051 '''int Plasma.TabBar.currentIndex()''' 2052 return int() 2053 def removeTab(self, index): 2054 '''void Plasma.TabBar.removeTab(int index)''' 2055 def addTab(self, icon, label, content = None): 2056 '''int Plasma.TabBar.addTab(QIcon icon, QString label, QGraphicsLayoutItem content = None)''' 2057 return int() 2058 def addTab(self, label, content = None): 2059 '''int Plasma.TabBar.addTab(QString label, QGraphicsLayoutItem content = None)''' 2060 return int() 2061 def insertTab(self, index, icon, label, content = None): 2062 '''int Plasma.TabBar.insertTab(int index, QIcon icon, QString label, QGraphicsLayoutItem content = None)''' 2063 return int() 2064 def insertTab(self, index, label, content = None): 2065 '''int Plasma.TabBar.insertTab(int index, QString label, QGraphicsLayoutItem content = None)''' 2066 return int() 2067 class PackageStructure(QObject): 2068 """""" 2069 def __init__(self, parent = None, type = None): 2070 '''void Plasma.PackageStructure.__init__(QObject parent = None, QString type = i18ncA non-functional packageInvalid)''' 2071 def setContentsPrefixPaths(self, prefixPaths): 2072 '''void Plasma.PackageStructure.setContentsPrefixPaths(QStringList prefixPaths)''' 2073 def contentsPrefixPaths(self): 2074 '''QStringList Plasma.PackageStructure.contentsPrefixPaths()''' 2075 return QStringList() 2076 def searchPath(self, key): 2077 '''QStringList Plasma.PackageStructure.searchPath(str key)''' 2078 return QStringList() 2079 def removeDefinition(self, key): 2080 '''void Plasma.PackageStructure.removeDefinition(str key)''' 2081 def pathChanged(self): 2082 '''void Plasma.PackageStructure.pathChanged()''' 2083 def setDefaultPackageRoot(self, packageRoot): 2084 '''void Plasma.PackageStructure.setDefaultPackageRoot(QString packageRoot)''' 2085 def setContentsPrefix(self, prefix): 2086 '''void Plasma.PackageStructure.setContentsPrefix(QString prefix)''' 2087 def setAllowExternalPaths(self, allow): 2088 '''void Plasma.PackageStructure.setAllowExternalPaths(bool allow)''' 2089 newWidgetBrowserFinished = pyqtSignal() # void newWidgetBrowserFinished() - signal 2090 def allowExternalPaths(self): 2091 '''bool Plasma.PackageStructure.allowExternalPaths()''' 2092 return bool() 2093 def setServicePrefix(self, servicePrefix): 2094 '''void Plasma.PackageStructure.setServicePrefix(QString servicePrefix)''' 2095 def servicePrefix(self): 2096 '''QString Plasma.PackageStructure.servicePrefix()''' 2097 return QString() 2098 def defaultPackageRoot(self): 2099 '''QString Plasma.PackageStructure.defaultPackageRoot()''' 2100 return QString() 2101 def contentsPrefix(self): 2102 '''QString Plasma.PackageStructure.contentsPrefix()''' 2103 return QString() 2104 def createNewWidgetBrowser(self, parent = None): 2105 '''void Plasma.PackageStructure.createNewWidgetBrowser(QWidget parent = None)''' 2106 def uninstallPackage(self, packageName, packageRoot): 2107 '''bool Plasma.PackageStructure.uninstallPackage(QString packageName, QString packageRoot)''' 2108 return bool() 2109 def installPackage(self, archivePath, packageRoot): 2110 '''bool Plasma.PackageStructure.installPackage(QString archivePath, QString packageRoot)''' 2111 return bool() 2112 def write(self, config): 2113 '''void Plasma.PackageStructure.write(KConfigBase config)''' 2114 def read(self, config): 2115 '''void Plasma.PackageStructure.read(KConfigBase config)''' 2116 def setPath(self, path): 2117 '''void Plasma.PackageStructure.setPath(QString path)''' 2118 def mimetypes(self, key): 2119 '''QStringList Plasma.PackageStructure.mimetypes(str key)''' 2120 return QStringList() 2121 def setMimetypes(self, key, mimetypes): 2122 '''void Plasma.PackageStructure.setMimetypes(str key, QStringList mimetypes)''' 2123 def setDefaultMimetypes(self, mimetypes): 2124 '''void Plasma.PackageStructure.setDefaultMimetypes(QStringList mimetypes)''' 2125 def isRequired(self, key): 2126 '''bool Plasma.PackageStructure.isRequired(str key)''' 2127 return bool() 2128 def setRequired(self, key, required): 2129 '''void Plasma.PackageStructure.setRequired(str key, bool required)''' 2130 def name(self, key): 2131 '''QString Plasma.PackageStructure.name(str key)''' 2132 return QString() 2133 def entryList(self, key): 2134 '''QStringList Plasma.PackageStructure.entryList(str key)''' 2135 return QStringList() 2136 def path(self, key): 2137 '''QString Plasma.PackageStructure.path(str key)''' 2138 return QString() 2139 def path(self): 2140 '''QString Plasma.PackageStructure.path()''' 2141 return QString() 2142 def addFileDefinition(self, key, path, name): 2143 '''void Plasma.PackageStructure.addFileDefinition(str key, QString path, QString name)''' 2144 def addDirectoryDefinition(self, key, path, name): 2145 '''void Plasma.PackageStructure.addDirectoryDefinition(str key, QString path, QString name)''' 2146 def requiredFiles(self): 2147 '''unknown-type Plasma.PackageStructure.requiredFiles()''' 2148 return unknown-type() 2149 def files(self): 2150 '''unknown-type Plasma.PackageStructure.files()''' 2151 return unknown-type() 2152 def requiredDirectories(self): 2153 '''unknown-type Plasma.PackageStructure.requiredDirectories()''' 2154 return unknown-type() 2155 def directories(self): 2156 '''unknown-type Plasma.PackageStructure.directories()''' 2157 return unknown-type() 2158 def type(self): 2159 '''QString Plasma.PackageStructure.type()''' 2160 return QString() 2161 def load(self, packageFormat): 2162 '''static unknown-type Plasma.PackageStructure.load(QString packageFormat)''' 2163 return unknown-type() 2164 class Animator(QObject): 2165 """""" 2166 # Enum Plasma.Animator.Movement 2167 SlideInMovement = 0 2168 SlideOutMovement = 0 2169 FastSlideInMovement = 0 2170 FastSlideOutMovement = 0 2171 2172 # Enum Plasma.Animator.CurveShape 2173 EaseInCurve = 0 2174 EaseOutCurve = 0 2175 EaseInOutCurve = 0 2176 LinearCurve = 0 2177 PendularCurve = 0 2178 2179 # Enum Plasma.Animator.Animation 2180 AppearAnimation = 0 2181 DisappearAnimation = 0 2182 ActivateAnimation = 0 2183 FadeAnimation = 0 2184 GrowAnimation = 0 2185 PulseAnimation = 0 2186 RotationAnimation = 0 2187 RotationStackedAnimation = 0 2188 SlideAnimation = 0 2189 GeometryAnimation = 0 2190 ZoomAnimation = 0 2191 PixmapTransitionAnimation = 0 2192 WaterAnimation = 0 2193 LastAnimation = 0 2194 2195 def create(self, animationName, parent = None): 2196 '''static Plasma.Animation Plasma.Animator.create(QString animationName, QObject parent = None)''' 2197 return Plasma.Animation() 2198 def create(self, type): 2199 '''static QEasingCurve Plasma.Animator.create(Plasma.Animator.CurveShape type)''' 2200 return QEasingCurve() 2201 scrollStateChanged = pyqtSignal() # void scrollStateChanged(QGraphicsWidget *,QAbstractAnimation::State,QAbstractAnimation::State) - signal 2202 def unregisterScrollingManager(self, widget): 2203 '''void Plasma.Animator.unregisterScrollingManager(QGraphicsWidget widget)''' 2204 def registerScrollingManager(self, widget): 2205 '''void Plasma.Animator.registerScrollingManager(QGraphicsWidget widget)''' 2206 def timerEvent(self, event): 2207 '''void Plasma.Animator.timerEvent(QTimerEvent event)''' 2208 customAnimationFinished = pyqtSignal() # void customAnimationFinished(int) - signal 2209 elementAnimationFinished = pyqtSignal() # void elementAnimationFinished(int) - signal 2210 movementFinished = pyqtSignal() # void movementFinished(QGraphicsItem *) - signal 2211 animationFinished = pyqtSignal() # void animationFinished(QGraphicsItem *,Plasma::Animator::Animation) - signal 2212 def isAnimating(self): 2213 '''bool Plasma.Animator.isAnimating()''' 2214 return bool() 2215 def currentPixmap(self, id): 2216 '''QPixmap Plasma.Animator.currentPixmap(int id)''' 2217 return QPixmap() 2218 def setInitialPixmap(self, id, pixmap): 2219 '''void Plasma.Animator.setInitialPixmap(int id, QPixmap pixmap)''' 2220 def stopElementAnimation(self, id): 2221 '''void Plasma.Animator.stopElementAnimation(int id)''' 2222 def animateElement(self, obj): 2223 '''Plasma.Animator.Animation Plasma.Animator.animateElement(QGraphicsItem obj)''' 2224 return Plasma.Animator.Animation() 2225 def stopCustomAnimation(self, id): 2226 '''void Plasma.Animator.stopCustomAnimation(int id)''' 2227 def customAnimation(self, frames, duration, curve, receiver, method): 2228 '''int Plasma.Animator.customAnimation(int frames, int duration, Plasma.Animator.CurveShape curve, QObject receiver, str method)''' 2229 return int() 2230 def stopItemMovement(self, id): 2231 '''void Plasma.Animator.stopItemMovement(int id)''' 2232 def moveItem(self, item, movement, destination): 2233 '''int Plasma.Animator.moveItem(QGraphicsItem item, Plasma.Animator.Movement movement, QPoint destination)''' 2234 return int() 2235 def stopItemAnimation(self, id): 2236 '''void Plasma.Animator.stopItemAnimation(int id)''' 2237 def animateItem(self, item, anim): 2238 '''int Plasma.Animator.animateItem(QGraphicsItem item, Plasma.Animator.Animation anim)''' 2239 return int() 2240 def self(self): 2241 '''static Plasma.Animator Plasma.Animator.self()''' 2242 return Plasma.Animator() 2243 class Applet(): 2244 """""" 2245 class BackgroundHints(): 2246 """""" 2247 def __init__(self): 2248 '''Plasma.Applet.BackgroundHints Plasma.Applet.BackgroundHints.__init__()''' 2249 return Plasma.Applet.BackgroundHints() 2250 def __init__(self): 2251 '''int Plasma.Applet.BackgroundHints.__init__()''' 2252 return int() 2253 def __init__(self): 2254 '''void Plasma.Applet.BackgroundHints.__init__()''' 2255 def __bool__(self): 2256 '''int Plasma.Applet.BackgroundHints.__bool__()''' 2257 return int() 2258 def __ne__(self, f): 2259 '''bool Plasma.Applet.BackgroundHints.__ne__(Plasma.Applet.BackgroundHints f)''' 2260 return bool() 2261 def __eq__(self, f): 2262 '''bool Plasma.Applet.BackgroundHints.__eq__(Plasma.Applet.BackgroundHints f)''' 2263 return bool() 2264 def __invert__(self): 2265 '''Plasma.Applet.BackgroundHints Plasma.Applet.BackgroundHints.__invert__()''' 2266 return Plasma.Applet.BackgroundHints() 2267 def __and__(self, mask): 2268 '''Plasma.Applet.BackgroundHints Plasma.Applet.BackgroundHints.__and__(int mask)''' 2269 return Plasma.Applet.BackgroundHints() 2270 def __xor__(self, f): 2271 '''Plasma.Applet.BackgroundHints Plasma.Applet.BackgroundHints.__xor__(Plasma.Applet.BackgroundHints f)''' 2272 return Plasma.Applet.BackgroundHints() 2273 def __xor__(self, f): 2274 '''Plasma.Applet.BackgroundHints Plasma.Applet.BackgroundHints.__xor__(int f)''' 2275 return Plasma.Applet.BackgroundHints() 2276 def __or__(self, f): 2277 '''Plasma.Applet.BackgroundHints Plasma.Applet.BackgroundHints.__or__(Plasma.Applet.BackgroundHints f)''' 2278 return Plasma.Applet.BackgroundHints() 2279 def __or__(self, f): 2280 '''Plasma.Applet.BackgroundHints Plasma.Applet.BackgroundHints.__or__(int f)''' 2281 return Plasma.Applet.BackgroundHints() 2282 def __int__(self): 2283 '''int Plasma.Applet.BackgroundHints.__int__()''' 2284 return int() 2285 def __ixor__(self, f): 2286 '''Plasma.Applet.BackgroundHints Plasma.Applet.BackgroundHints.__ixor__(Plasma.Applet.BackgroundHints f)''' 2287 return Plasma.Applet.BackgroundHints() 2288 def __ior__(self, f): 2289 '''Plasma.Applet.BackgroundHints Plasma.Applet.BackgroundHints.__ior__(Plasma.Applet.BackgroundHints f)''' 2290 return Plasma.Applet.BackgroundHints() 2291 def __iand__(self, mask): 2292 '''Plasma.Applet.BackgroundHints Plasma.Applet.BackgroundHints.__iand__(int mask)''' 2293 return Plasma.Applet.BackgroundHints() 2294 class Slider(QGraphicsProxyWidget): 2295 """""" 2296 def __init__(self, parent = None): 2297 '''void Plasma.Slider.__init__(QGraphicsWidget parent = None)''' 2298 valueChanged = pyqtSignal() # void valueChanged(int) - signal 2299 sliderMoved = pyqtSignal() # void sliderMoved(int) - signal 2300 def setOrientation(self, orientation): 2301 '''void Plasma.Slider.setOrientation(Qt.Orientation orientation)''' 2302 def setValue(self, value): 2303 '''void Plasma.Slider.setValue(int value)''' 2304 def setRange(self, minimum, maximum): 2305 '''void Plasma.Slider.setRange(int minimum, int maximum)''' 2306 def setMinimum(self, minimum): 2307 '''void Plasma.Slider.setMinimum(int minimum)''' 2308 def setMaximum(self, maximum): 2309 '''void Plasma.Slider.setMaximum(int maximum)''' 2310 def wheelEvent(self, event): 2311 '''void Plasma.Slider.wheelEvent(QGraphicsSceneWheelEvent event)''' 2312 def paint(self, painter, option, widget): 2313 '''void Plasma.Slider.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget)''' 2314 def nativeWidget(self): 2315 '''QSlider Plasma.Slider.nativeWidget()''' 2316 return QSlider() 2317 def styleSheet(self): 2318 '''QString Plasma.Slider.styleSheet()''' 2319 return QString() 2320 def setStyleSheet(self, stylesheet): 2321 '''void Plasma.Slider.setStyleSheet(QString stylesheet)''' 2322 def orientation(self): 2323 '''Qt.Orientation Plasma.Slider.orientation()''' 2324 return Qt.Orientation() 2325 def value(self): 2326 '''int Plasma.Slider.value()''' 2327 return int() 2328 def minimum(self): 2329 '''int Plasma.Slider.minimum()''' 2330 return int() 2331 def maximum(self): 2332 '''int Plasma.Slider.maximum()''' 2333 return int() 2334 class DataEngine(QObject): 2335 """""" 2336 def __init__(self, parent = None, service = None): 2337 '''void Plasma.DataEngine.__init__(QObject parent = None, unknown-type service = KService.Ptr(0))''' 2338 def __init__(self, parent, args): 2339 '''void Plasma.DataEngine.__init__(QObject parent, list-of-QVariant args)''' 2340 def setStorageEnabled(self, source, store): 2341 '''void Plasma.DataEngine.setStorageEnabled(QString source, bool store)''' 2342 def setDefaultService(self, serviceName): 2343 '''void Plasma.DataEngine.setDefaultService(QString serviceName)''' 2344 def createDefaultService(self, parent = None): 2345 '''Plasma.Service Plasma.DataEngine.createDefaultService(QObject parent = None)''' 2346 return Plasma.Service() 2347 def forceImmediateUpdateOfAllVisualizations(self): 2348 '''void Plasma.DataEngine.forceImmediateUpdateOfAllVisualizations()''' 2349 def updateAllSources(self): 2350 '''void Plasma.DataEngine.updateAllSources()''' 2351 def removeSource(self, source): 2352 '''void Plasma.DataEngine.removeSource(QString source)''' 2353 def scheduleSourcesUpdated(self): 2354 '''void Plasma.DataEngine.scheduleSourcesUpdated()''' 2355 def setIcon(self, icon): 2356 '''void Plasma.DataEngine.setIcon(QString icon)''' 2357 def setName(self, name): 2358 '''void Plasma.DataEngine.setName(QString name)''' 2359 def timerEvent(self, event): 2360 '''void Plasma.DataEngine.timerEvent(QTimerEvent event)''' 2361 def containerDict(self): 2362 '''unknown-type Plasma.DataEngine.containerDict()''' 2363 return unknown-type() 2364 def setValid(self, valid): 2365 '''void Plasma.DataEngine.setValid(bool valid)''' 2366 def removeAllSources(self): 2367 '''void Plasma.DataEngine.removeAllSources()''' 2368 def setPollingInterval(self, frequency): 2369 '''void Plasma.DataEngine.setPollingInterval(int frequency)''' 2370 def minimumPollingInterval(self): 2371 '''int Plasma.DataEngine.minimumPollingInterval()''' 2372 return int() 2373 def setMinimumPollingInterval(self, minimumMs): 2374 '''void Plasma.DataEngine.setMinimumPollingInterval(int minimumMs)''' 2375 def setMaxSourceCount(self, limit): 2376 '''void Plasma.DataEngine.setMaxSourceCount(int limit)''' 2377 def addSource(self, source): 2378 '''void Plasma.DataEngine.addSource(Plasma.DataContainer source)''' 2379 def removeData(self, source, key): 2380 '''void Plasma.DataEngine.removeData(QString source, QString key)''' 2381 def removeAllData(self, source): 2382 '''void Plasma.DataEngine.removeAllData(QString source)''' 2383 def setData(self, source, value): 2384 '''void Plasma.DataEngine.setData(QString source, QVariant value)''' 2385 def setData(self, source, key, value): 2386 '''void Plasma.DataEngine.setData(QString source, QString key, QVariant value)''' 2387 def setData(self, source, data): 2388 '''void Plasma.DataEngine.setData(QString source, dict-of-QString-QVariant data)''' 2389 def updateSourceEvent(self, source): 2390 '''bool Plasma.DataEngine.updateSourceEvent(QString source)''' 2391 return bool() 2392 def sourceRequestEvent(self, source): 2393 '''bool Plasma.DataEngine.sourceRequestEvent(QString source)''' 2394 return bool() 2395 sourceRemoved = pyqtSignal() # void sourceRemoved(const QStringamp;) - signal 2396 sourceAdded = pyqtSignal() # void sourceAdded(const QStringamp;) - signal 2397 def pluginName(self): 2398 '''QString Plasma.DataEngine.pluginName()''' 2399 return QString() 2400 def package(self): 2401 '''Plasma.Package Plasma.DataEngine.package()''' 2402 return Plasma.Package() 2403 def icon(self): 2404 '''QString Plasma.DataEngine.icon()''' 2405 return QString() 2406 def maxSourceCount(self): 2407 '''int Plasma.DataEngine.maxSourceCount()''' 2408 return int() 2409 def isEmpty(self): 2410 '''bool Plasma.DataEngine.isEmpty()''' 2411 return bool() 2412 def isValid(self): 2413 '''bool Plasma.DataEngine.isValid()''' 2414 return bool() 2415 def query(self, source): 2416 '''dict-of-QString-QVariant Plasma.DataEngine.query(QString source)''' 2417 return dict-of-QString-QVariant() 2418 def containerForSource(self, source): 2419 '''Plasma.DataContainer Plasma.DataEngine.containerForSource(QString source)''' 2420 return Plasma.DataContainer() 2421 def disconnectSource(self, source, visualization): 2422 '''void Plasma.DataEngine.disconnectSource(QString source, QObject visualization)''' 2423 def connectAllSources(self, visualization, pollingInterval = 0, intervalAlignment = None): 2424 '''void Plasma.DataEngine.connectAllSources(QObject visualization, int pollingInterval = 0, Plasma.IntervalAlignment intervalAlignment = Plasma.NoAlignment)''' 2425 def connectSource(self, source, visualization, pollingInterval = 0, intervalAlignment = None): 2426 '''void Plasma.DataEngine.connectSource(QString source, QObject visualization, int pollingInterval = 0, Plasma.IntervalAlignment intervalAlignment = Plasma.NoAlignment)''' 2427 def name(self): 2428 '''QString Plasma.DataEngine.name()''' 2429 return QString() 2430 def serviceForSource(self, source): 2431 '''Plasma.Service Plasma.DataEngine.serviceForSource(QString source)''' 2432 return Plasma.Service() 2433 def sources(self): 2434 '''QStringList Plasma.DataEngine.sources()''' 2435 return QStringList() 2436 def init(self): 2437 '''void Plasma.DataEngine.init()''' 2438 class Constraints(): 2439 """""" 2440 def __init__(self): 2441 '''Plasma.Constraints Plasma.Constraints.__init__()''' 2442 return Plasma.Constraints() 2443 def __init__(self): 2444 '''int Plasma.Constraints.__init__()''' 2445 return int() 2446 def __init__(self): 2447 '''void Plasma.Constraints.__init__()''' 2448 def __bool__(self): 2449 '''int Plasma.Constraints.__bool__()''' 2450 return int() 2451 def __ne__(self, f): 2452 '''bool Plasma.Constraints.__ne__(Plasma.Constraints f)''' 2453 return bool() 2454 def __eq__(self, f): 2455 '''bool Plasma.Constraints.__eq__(Plasma.Constraints f)''' 2456 return bool() 2457 def __invert__(self): 2458 '''Plasma.Constraints Plasma.Constraints.__invert__()''' 2459 return Plasma.Constraints() 2460 def __and__(self, mask): 2461 '''Plasma.Constraints Plasma.Constraints.__and__(int mask)''' 2462 return Plasma.Constraints() 2463 def __xor__(self, f): 2464 '''Plasma.Constraints Plasma.Constraints.__xor__(Plasma.Constraints f)''' 2465 return Plasma.Constraints() 2466 def __xor__(self, f): 2467 '''Plasma.Constraints Plasma.Constraints.__xor__(int f)''' 2468 return Plasma.Constraints() 2469 def __or__(self, f): 2470 '''Plasma.Constraints Plasma.Constraints.__or__(Plasma.Constraints f)''' 2471 return Plasma.Constraints() 2472 def __or__(self, f): 2473 '''Plasma.Constraints Plasma.Constraints.__or__(int f)''' 2474 return Plasma.Constraints() 2475 def __int__(self): 2476 '''int Plasma.Constraints.__int__()''' 2477 return int() 2478 def __ixor__(self, f): 2479 '''Plasma.Constraints Plasma.Constraints.__ixor__(Plasma.Constraints f)''' 2480 return Plasma.Constraints() 2481 def __ior__(self, f): 2482 '''Plasma.Constraints Plasma.Constraints.__ior__(Plasma.Constraints f)''' 2483 return Plasma.Constraints() 2484 def __iand__(self, mask): 2485 '''Plasma.Constraints Plasma.Constraints.__iand__(int mask)''' 2486 return Plasma.Constraints() 2487 class ToolButton(QGraphicsProxyWidget): 2488 """""" 2489 def __init__(self, parent = None): 2490 '''void Plasma.ToolButton.__init__(QGraphicsWidget parent = None)''' 2491 def itemChange(self, change, value): 2492 '''QVariant Plasma.ToolButton.itemChange(QGraphicsItem.GraphicsItemChange change, QVariant value)''' 2493 return QVariant() 2494 def setDown(self, down): 2495 '''void Plasma.ToolButton.setDown(bool down)''' 2496 def sizeHint(self, which, constraint): 2497 '''QSizeF Plasma.ToolButton.sizeHint(Qt.SizeHint which, QSizeF constraint)''' 2498 return QSizeF() 2499 def changeEvent(self, event): 2500 '''void Plasma.ToolButton.changeEvent(QEvent event)''' 2501 released = pyqtSignal() # void released() - signal 2502 pressed = pyqtSignal() # void pressed() - signal 2503 def isDown(self): 2504 '''bool Plasma.ToolButton.isDown()''' 2505 return bool() 2506 def hoverLeaveEvent(self, event): 2507 '''void Plasma.ToolButton.hoverLeaveEvent(QGraphicsSceneHoverEvent event)''' 2508 def hoverEnterEvent(self, event): 2509 '''void Plasma.ToolButton.hoverEnterEvent(QGraphicsSceneHoverEvent event)''' 2510 def resizeEvent(self, event): 2511 '''void Plasma.ToolButton.resizeEvent(QGraphicsSceneResizeEvent event)''' 2512 def paint(self, painter, option, widget = None): 2513 '''void Plasma.ToolButton.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 2514 clicked = pyqtSignal() # void clicked() - signal 2515 def nativeWidget(self): 2516 '''QToolButton Plasma.ToolButton.nativeWidget()''' 2517 return QToolButton() 2518 def icon(self): 2519 '''QIcon Plasma.ToolButton.icon()''' 2520 return QIcon() 2521 def setIcon(self, icon): 2522 '''void Plasma.ToolButton.setIcon(QIcon icon)''' 2523 def action(self): 2524 '''QAction Plasma.ToolButton.action()''' 2525 return QAction() 2526 def setAction(self, action): 2527 '''void Plasma.ToolButton.setAction(QAction action)''' 2528 def styleSheet(self): 2529 '''QString Plasma.ToolButton.styleSheet()''' 2530 return QString() 2531 def setStyleSheet(self, stylesheet): 2532 '''void Plasma.ToolButton.setStyleSheet(QString stylesheet)''' 2533 def image(self): 2534 '''QString Plasma.ToolButton.image()''' 2535 return QString() 2536 def setImage(self, path): 2537 '''void Plasma.ToolButton.setImage(QString path)''' 2538 def setImage(self, path, elementid): 2539 '''void Plasma.ToolButton.setImage(QString path, QString elementid)''' 2540 def text(self): 2541 '''QString Plasma.ToolButton.text()''' 2542 return QString() 2543 def setText(self, text): 2544 '''void Plasma.ToolButton.setText(QString text)''' 2545 def autoRaise(self): 2546 '''bool Plasma.ToolButton.autoRaise()''' 2547 return bool() 2548 def setAutoRaise(self, raise_): 2549 '''void Plasma.ToolButton.setAutoRaise(bool raise)''' 2550 class ContainmentActionsPluginsConfig(): 2551 """""" 2552 def __init__(self): 2553 '''void Plasma.ContainmentActionsPluginsConfig.__init__()''' 2554 def __init__(self, other): 2555 '''void Plasma.ContainmentActionsPluginsConfig.__init__(Plasma.ContainmentActionsPluginsConfig other)''' 2556 def addPlugin(self, trigger, name): 2557 '''void Plasma.ContainmentActionsPluginsConfig.addPlugin(QEvent trigger, QString name)''' 2558 def addPlugin(self, modifiers, button, name): 2559 '''void Plasma.ContainmentActionsPluginsConfig.addPlugin(Qt.KeyboardModifiers modifiers, Qt.MouseButton button, QString name)''' 2560 def addPlugin(self, modifiers, wheelDirection, name): 2561 '''void Plasma.ContainmentActionsPluginsConfig.addPlugin(Qt.KeyboardModifiers modifiers, Qt.Orientation wheelDirection, QString name)''' 2562 def remove(self, trigger): 2563 '''void Plasma.ContainmentActionsPluginsConfig.remove(QEvent trigger)''' 2564 def clear(self): 2565 '''void Plasma.ContainmentActionsPluginsConfig.clear()''' 2566 class ExtenderItem(QGraphicsWidget): 2567 """""" 2568 def __init__(self, hostExtender, extenderItemId = 0): 2569 '''void Plasma.ExtenderItem.__init__(Plasma.Extender hostExtender, int extenderItemId = 0)''' 2570 def isTransient(self): 2571 '''bool Plasma.ExtenderItem.isTransient()''' 2572 return bool() 2573 def setTransient(self, transient): 2574 '''void Plasma.ExtenderItem.setTransient(bool transient)''' 2575 destroyed = pyqtSignal() # void destroyed(Plasma::ExtenderItem *) - signal 2576 def sizeHint(self, which, constraint): 2577 '''QSizeF Plasma.ExtenderItem.sizeHint(Qt.SizeHint which, QSizeF constraint)''' 2578 return QSizeF() 2579 def sceneEventFilter(self, watched, event): 2580 '''bool Plasma.ExtenderItem.sceneEventFilter(QGraphicsItem watched, QEvent event)''' 2581 return bool() 2582 def hoverLeaveEvent(self, event): 2583 '''void Plasma.ExtenderItem.hoverLeaveEvent(QGraphicsSceneHoverEvent event)''' 2584 def hoverMoveEvent(self, event): 2585 '''void Plasma.ExtenderItem.hoverMoveEvent(QGraphicsSceneHoverEvent event)''' 2586 def mouseReleaseEvent(self, event): 2587 '''void Plasma.ExtenderItem.mouseReleaseEvent(QGraphicsSceneMouseEvent event)''' 2588 def mouseMoveEvent(self, event): 2589 '''void Plasma.ExtenderItem.mouseMoveEvent(QGraphicsSceneMouseEvent event)''' 2590 def mouseDoubleClickEvent(self, event): 2591 '''void Plasma.ExtenderItem.mouseDoubleClickEvent(QGraphicsSceneMouseEvent event)''' 2592 def mousePressEvent(self, event): 2593 '''void Plasma.ExtenderItem.mousePressEvent(QGraphicsSceneMouseEvent event)''' 2594 def resizeEvent(self, event): 2595 '''void Plasma.ExtenderItem.resizeEvent(QGraphicsSceneResizeEvent event)''' 2596 def moveEvent(self, event): 2597 '''void Plasma.ExtenderItem.moveEvent(QGraphicsSceneMoveEvent event)''' 2598 def paint(self, painter, option, widget): 2599 '''void Plasma.ExtenderItem.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget)''' 2600 def hideCloseButton(self): 2601 '''void Plasma.ExtenderItem.hideCloseButton()''' 2602 def showCloseButton(self): 2603 '''void Plasma.ExtenderItem.showCloseButton()''' 2604 def returnToSource(self): 2605 '''void Plasma.ExtenderItem.returnToSource()''' 2606 def setCollapsed(self, collapsed): 2607 '''void Plasma.ExtenderItem.setCollapsed(bool collapsed)''' 2608 def destroy(self): 2609 '''void Plasma.ExtenderItem.destroy()''' 2610 def action(self, name): 2611 '''QAction Plasma.ExtenderItem.action(QString name)''' 2612 return QAction() 2613 def addAction(self, name, action): 2614 '''void Plasma.ExtenderItem.addAction(QString name, QAction action)''' 2615 def isCollapsed(self): 2616 '''bool Plasma.ExtenderItem.isCollapsed()''' 2617 return bool() 2618 def isDetached(self): 2619 '''bool Plasma.ExtenderItem.isDetached()''' 2620 return bool() 2621 def autoExpireDelay(self): 2622 '''int Plasma.ExtenderItem.autoExpireDelay()''' 2623 return int() 2624 def setAutoExpireDelay(self, time): 2625 '''void Plasma.ExtenderItem.setAutoExpireDelay(int time)''' 2626 def isGroup(self): 2627 '''bool Plasma.ExtenderItem.isGroup()''' 2628 return bool() 2629 def group(self): 2630 '''Plasma.ExtenderGroup Plasma.ExtenderItem.group()''' 2631 return Plasma.ExtenderGroup() 2632 def setGroup(self, group): 2633 '''void Plasma.ExtenderItem.setGroup(Plasma.ExtenderGroup group)''' 2634 def setGroup(self, group, pos): 2635 '''void Plasma.ExtenderItem.setGroup(Plasma.ExtenderGroup group, QPointF pos)''' 2636 def extender(self): 2637 '''Plasma.Extender Plasma.ExtenderItem.extender()''' 2638 return Plasma.Extender() 2639 def setExtender(self, extender, pos = None): 2640 '''void Plasma.ExtenderItem.setExtender(Plasma.Extender extender, QPointF pos = QPointF(-1,-1))''' 2641 def icon(self): 2642 '''QIcon Plasma.ExtenderItem.icon()''' 2643 return QIcon() 2644 def setIcon(self, icon): 2645 '''void Plasma.ExtenderItem.setIcon(QString icon)''' 2646 def setIcon(self, icon): 2647 '''void Plasma.ExtenderItem.setIcon(QIcon icon)''' 2648 def name(self): 2649 '''QString Plasma.ExtenderItem.name()''' 2650 return QString() 2651 def setName(self, name): 2652 '''void Plasma.ExtenderItem.setName(QString name)''' 2653 def title(self): 2654 '''QString Plasma.ExtenderItem.title()''' 2655 return QString() 2656 def setTitle(self, title): 2657 '''void Plasma.ExtenderItem.setTitle(QString title)''' 2658 def widget(self): 2659 '''QGraphicsItem Plasma.ExtenderItem.widget()''' 2660 return QGraphicsItem() 2661 def setWidget(self, widget): 2662 '''void Plasma.ExtenderItem.setWidget(QGraphicsItem widget)''' 2663 def config(self): 2664 '''KConfigGroup Plasma.ExtenderItem.config()''' 2665 return KConfigGroup() 2666 class ItemBackground(QGraphicsWidget): 2667 """""" 2668 def __init__(self, parent = None): 2669 '''void Plasma.ItemBackground.__init__(QGraphicsWidget parent = None)''' 2670 def resizeEvent(self): 2671 '''QGraphicsSceneResizeEvent Plasma.ItemBackground.resizeEvent()''' 2672 return QGraphicsSceneResizeEvent() 2673 def sceneEventFilter(self, watched, event): 2674 '''bool Plasma.ItemBackground.sceneEventFilter(QGraphicsItem watched, QEvent event)''' 2675 return bool() 2676 def eventFilter(self, watched, event): 2677 '''bool Plasma.ItemBackground.eventFilter(QObject watched, QEvent event)''' 2678 return bool() 2679 def itemChange(self, change, value): 2680 '''QVariant Plasma.ItemBackground.itemChange(QGraphicsItem.GraphicsItemChange change, QVariant value)''' 2681 return QVariant() 2682 targetItemReached = pyqtSignal() # void targetItemReached(QGraphicsItem *) - signal 2683 targetReached = pyqtSignal() # void targetReached(QRectF) - signal 2684 animationStep = pyqtSignal() # void animationStep(qreal) - signal 2685 appearanceChanged = pyqtSignal() # void appearanceChanged() - signal 2686 def paint(self, painter, option, widget): 2687 '''void Plasma.ItemBackground.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget)''' 2688 def targetItem(self): 2689 '''QGraphicsItem Plasma.ItemBackground.targetItem()''' 2690 return QGraphicsItem() 2691 def setTargetItem(self, target): 2692 '''void Plasma.ItemBackground.setTargetItem(QGraphicsItem target)''' 2693 def target(self): 2694 '''QRectF Plasma.ItemBackground.target()''' 2695 return QRectF() 2696 def setTarget(self, newGeometry): 2697 '''void Plasma.ItemBackground.setTarget(QRectF newGeometry)''' 2698 class ServiceAccessJob(KJob): 2699 """""" 2700 def __init__(self, location, parent = None): 2701 '''void Plasma.ServiceAccessJob.__init__(KUrl location, QObject parent = None)''' 2702 def start(self): 2703 '''void Plasma.ServiceAccessJob.start()''' 2704 def service(self): 2705 '''Plasma.Service Plasma.ServiceAccessJob.service()''' 2706 return Plasma.Service() 2707 class QueryMatch(): 2708 """""" 2709 # Enum Plasma.QueryMatch.Type 2710 NoMatch = 0 2711 CompletionMatch = 0 2712 PossibleMatch = 0 2713 InformationalMatch = 0 2714 HelperMatch = 0 2715 ExactMatch = 0 2716 2717 def __init__(self, runner): 2718 '''void Plasma.QueryMatch.__init__(Plasma.AbstractRunner runner)''' 2719 def __init__(self, other): 2720 '''void Plasma.QueryMatch.__init__(Plasma.QueryMatch other)''' 2721 def __ge__(self, other): 2722 '''bool Plasma.QueryMatch.__ge__(Plasma.QueryMatch other)''' 2723 return bool() 2724 def __ne__(self, other): 2725 '''bool Plasma.QueryMatch.__ne__(Plasma.QueryMatch other)''' 2726 return bool() 2727 def __eq__(self, other): 2728 '''bool Plasma.QueryMatch.__eq__(Plasma.QueryMatch other)''' 2729 return bool() 2730 def createConfigurationInterface(self, parent): 2731 '''void Plasma.QueryMatch.createConfigurationInterface(QWidget parent)''' 2732 def hasConfigurationInterface(self): 2733 '''bool Plasma.QueryMatch.hasConfigurationInterface()''' 2734 return bool() 2735 def setSelectedAction(self, action): 2736 '''void Plasma.QueryMatch.setSelectedAction(QAction action)''' 2737 def selectedAction(self): 2738 '''QAction Plasma.QueryMatch.selectedAction()''' 2739 return QAction() 2740 def isEnabled(self): 2741 '''bool Plasma.QueryMatch.isEnabled()''' 2742 return bool() 2743 def setEnabled(self, enable): 2744 '''void Plasma.QueryMatch.setEnabled(bool enable)''' 2745 def icon(self): 2746 '''QIcon Plasma.QueryMatch.icon()''' 2747 return QIcon() 2748 def setIcon(self, icon): 2749 '''void Plasma.QueryMatch.setIcon(QIcon icon)''' 2750 def subtext(self): 2751 '''QString Plasma.QueryMatch.subtext()''' 2752 return QString() 2753 def setSubtext(self, text): 2754 '''void Plasma.QueryMatch.setSubtext(QString text)''' 2755 def text(self): 2756 '''QString Plasma.QueryMatch.text()''' 2757 return QString() 2758 def setText(self, text): 2759 '''void Plasma.QueryMatch.setText(QString text)''' 2760 def id(self): 2761 '''QString Plasma.QueryMatch.id()''' 2762 return QString() 2763 def setId(self, id): 2764 '''void Plasma.QueryMatch.setId(QString id)''' 2765 def data(self): 2766 '''QVariant Plasma.QueryMatch.data()''' 2767 return QVariant() 2768 def setData(self, data): 2769 '''void Plasma.QueryMatch.setData(QVariant data)''' 2770 def run(self, context): 2771 '''void Plasma.QueryMatch.run(Plasma.RunnerContext context)''' 2772 def relevance(self): 2773 '''float Plasma.QueryMatch.relevance()''' 2774 return float() 2775 def setRelevance(self, relevance): 2776 '''void Plasma.QueryMatch.setRelevance(float relevance)''' 2777 def type(self): 2778 '''Plasma.QueryMatch.Type Plasma.QueryMatch.type()''' 2779 return Plasma.QueryMatch.Type() 2780 def setType(self, type): 2781 '''void Plasma.QueryMatch.setType(Plasma.QueryMatch.Type type)''' 2782 def isValid(self): 2783 '''bool Plasma.QueryMatch.isValid()''' 2784 return bool() 2785 def runner(self): 2786 '''Plasma.AbstractRunner Plasma.QueryMatch.runner()''' 2787 return Plasma.AbstractRunner() 2788 def __lt__(self, other): 2789 '''bool Plasma.QueryMatch.__lt__(Plasma.QueryMatch other)''' 2790 return bool() 2791 class FrameSvg(): 2792 """""" 2793 class EnabledBorders(): 2794 """""" 2795 def __init__(self): 2796 '''Plasma.FrameSvg.EnabledBorders Plasma.FrameSvg.EnabledBorders.__init__()''' 2797 return Plasma.FrameSvg.EnabledBorders() 2798 def __init__(self): 2799 '''int Plasma.FrameSvg.EnabledBorders.__init__()''' 2800 return int() 2801 def __init__(self): 2802 '''void Plasma.FrameSvg.EnabledBorders.__init__()''' 2803 def __bool__(self): 2804 '''int Plasma.FrameSvg.EnabledBorders.__bool__()''' 2805 return int() 2806 def __ne__(self, f): 2807 '''bool Plasma.FrameSvg.EnabledBorders.__ne__(Plasma.FrameSvg.EnabledBorders f)''' 2808 return bool() 2809 def __eq__(self, f): 2810 '''bool Plasma.FrameSvg.EnabledBorders.__eq__(Plasma.FrameSvg.EnabledBorders f)''' 2811 return bool() 2812 def __invert__(self): 2813 '''Plasma.FrameSvg.EnabledBorders Plasma.FrameSvg.EnabledBorders.__invert__()''' 2814 return Plasma.FrameSvg.EnabledBorders() 2815 def __and__(self, mask): 2816 '''Plasma.FrameSvg.EnabledBorders Plasma.FrameSvg.EnabledBorders.__and__(int mask)''' 2817 return Plasma.FrameSvg.EnabledBorders() 2818 def __xor__(self, f): 2819 '''Plasma.FrameSvg.EnabledBorders Plasma.FrameSvg.EnabledBorders.__xor__(Plasma.FrameSvg.EnabledBorders f)''' 2820 return Plasma.FrameSvg.EnabledBorders() 2821 def __xor__(self, f): 2822 '''Plasma.FrameSvg.EnabledBorders Plasma.FrameSvg.EnabledBorders.__xor__(int f)''' 2823 return Plasma.FrameSvg.EnabledBorders() 2824 def __or__(self, f): 2825 '''Plasma.FrameSvg.EnabledBorders Plasma.FrameSvg.EnabledBorders.__or__(Plasma.FrameSvg.EnabledBorders f)''' 2826 return Plasma.FrameSvg.EnabledBorders() 2827 def __or__(self, f): 2828 '''Plasma.FrameSvg.EnabledBorders Plasma.FrameSvg.EnabledBorders.__or__(int f)''' 2829 return Plasma.FrameSvg.EnabledBorders() 2830 def __int__(self): 2831 '''int Plasma.FrameSvg.EnabledBorders.__int__()''' 2832 return int() 2833 def __ixor__(self, f): 2834 '''Plasma.FrameSvg.EnabledBorders Plasma.FrameSvg.EnabledBorders.__ixor__(Plasma.FrameSvg.EnabledBorders f)''' 2835 return Plasma.FrameSvg.EnabledBorders() 2836 def __ior__(self, f): 2837 '''Plasma.FrameSvg.EnabledBorders Plasma.FrameSvg.EnabledBorders.__ior__(Plasma.FrameSvg.EnabledBorders f)''' 2838 return Plasma.FrameSvg.EnabledBorders() 2839 def __iand__(self, mask): 2840 '''Plasma.FrameSvg.EnabledBorders Plasma.FrameSvg.EnabledBorders.__iand__(int mask)''' 2841 return Plasma.FrameSvg.EnabledBorders() 2842 class WebView(QGraphicsWidget): 2843 """""" 2844 def __init__(self, parent = None): 2845 '''void Plasma.WebView.__init__(QGraphicsItem parent = None)''' 2846 urlChanged = pyqtSignal() # void urlChanged(const QUrlamp;) - signal 2847 def stop(self): 2848 '''void Plasma.WebView.stop()''' 2849 def reload(self): 2850 '''void Plasma.WebView.reload()''' 2851 def forward(self): 2852 '''void Plasma.WebView.forward()''' 2853 def back(self): 2854 '''void Plasma.WebView.back()''' 2855 def itemChange(self, change, value): 2856 '''QVariant Plasma.WebView.itemChange(QGraphicsItem.GraphicsItemChange change, QVariant value)''' 2857 return QVariant() 2858 def setZoomFactor(self, zoom): 2859 '''void Plasma.WebView.setZoomFactor(float zoom)''' 2860 def zoomFactor(self): 2861 '''float Plasma.WebView.zoomFactor()''' 2862 return float() 2863 def sizeHint(self, which, constraint): 2864 '''QSizeF Plasma.WebView.sizeHint(Qt.SizeHint which, QSizeF constraint)''' 2865 return QSizeF() 2866 def viewportGeometry(self): 2867 '''QRectF Plasma.WebView.viewportGeometry()''' 2868 return QRectF() 2869 def scrollPosition(self): 2870 '''QPointF Plasma.WebView.scrollPosition()''' 2871 return QPointF() 2872 def setScrollPosition(self, position): 2873 '''void Plasma.WebView.setScrollPosition(QPointF position)''' 2874 def contentsSize(self): 2875 '''QSizeF Plasma.WebView.contentsSize()''' 2876 return QSizeF() 2877 def dropEvent(self, event): 2878 '''void Plasma.WebView.dropEvent(QGraphicsSceneDragDropEvent event)''' 2879 def dragMoveEvent(self, event): 2880 '''void Plasma.WebView.dragMoveEvent(QGraphicsSceneDragDropEvent event)''' 2881 def dragLeaveEvent(self, event): 2882 '''void Plasma.WebView.dragLeaveEvent(QGraphicsSceneDragDropEvent event)''' 2883 def dragEnterEvent(self, event): 2884 '''void Plasma.WebView.dragEnterEvent(QGraphicsSceneDragDropEvent event)''' 2885 def focusOutEvent(self, event): 2886 '''void Plasma.WebView.focusOutEvent(QFocusEvent event)''' 2887 def focusInEvent(self, event): 2888 '''void Plasma.WebView.focusInEvent(QFocusEvent event)''' 2889 def keyReleaseEvent(self, event): 2890 '''void Plasma.WebView.keyReleaseEvent(QKeyEvent event)''' 2891 def keyPressEvent(self, event): 2892 '''void Plasma.WebView.keyPressEvent(QKeyEvent event)''' 2893 def wheelEvent(self, event): 2894 '''void Plasma.WebView.wheelEvent(QGraphicsSceneWheelEvent event)''' 2895 def contextMenuEvent(self, event): 2896 '''void Plasma.WebView.contextMenuEvent(QGraphicsSceneContextMenuEvent event)''' 2897 def mouseReleaseEvent(self, event): 2898 '''void Plasma.WebView.mouseReleaseEvent(QGraphicsSceneMouseEvent event)''' 2899 def mouseDoubleClickEvent(self, event): 2900 '''void Plasma.WebView.mouseDoubleClickEvent(QGraphicsSceneMouseEvent event)''' 2901 def mousePressEvent(self, event): 2902 '''void Plasma.WebView.mousePressEvent(QGraphicsSceneMouseEvent event)''' 2903 def hoverMoveEvent(self, event): 2904 '''void Plasma.WebView.hoverMoveEvent(QGraphicsSceneHoverEvent event)''' 2905 def mouseMoveEvent(self, event): 2906 '''void Plasma.WebView.mouseMoveEvent(QGraphicsSceneMouseEvent event)''' 2907 def paint(self, painter, option, widget = None): 2908 '''void Plasma.WebView.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 2909 loadFinished = pyqtSignal() # void loadFinished(bool) - signal 2910 loadProgress = pyqtSignal() # void loadProgress(int) - signal 2911 def setGeometry(self, geometry): 2912 '''void Plasma.WebView.setGeometry(QRectF geometry)''' 2913 def dragToScroll(self): 2914 '''bool Plasma.WebView.dragToScroll()''' 2915 return bool() 2916 def setDragToScroll(self, drag): 2917 '''void Plasma.WebView.setDragToScroll(bool drag)''' 2918 def mainFrame(self): 2919 '''QWebFrame Plasma.WebView.mainFrame()''' 2920 return QWebFrame() 2921 def page(self): 2922 '''QWebPage Plasma.WebView.page()''' 2923 return QWebPage() 2924 def setPage(self, page): 2925 '''void Plasma.WebView.setPage(QWebPage page)''' 2926 def geometry(self): 2927 '''QRectF Plasma.WebView.geometry()''' 2928 return QRectF() 2929 def setHtml(self, html, baseUrl = KUrl()): 2930 '''void Plasma.WebView.setHtml(QString html, KUrl baseUrl = KUrl())''' 2931 def html(self): 2932 '''QString Plasma.WebView.html()''' 2933 return QString() 2934 def url(self): 2935 '''KUrl Plasma.WebView.url()''' 2936 return KUrl() 2937 def setUrl(self, url): 2938 '''void Plasma.WebView.setUrl(KUrl url)''' 2939 class Containment(): 2940 """""" 2941 class StyleOption(QStyleOptionGraphicsItem): 2942 """""" 2943 # Enum Plasma.Containment.StyleOption.StyleOptionVersion 2944 Version = 0 2945 2946 # Enum Plasma.Containment.StyleOption.StyleOptionType 2947 Type = 0 2948 2949 view = None # Plasma.View - member 2950 def __init__(self): 2951 '''void Plasma.Containment.StyleOption.__init__()''' 2952 def __init__(self, other): 2953 '''void Plasma.Containment.StyleOption.__init__(Plasma.Containment.StyleOption other)''' 2954 def __init__(self, other): 2955 '''void Plasma.Containment.StyleOption.__init__(QStyleOptionGraphicsItem other)''' 2956 class AbstractToolBox(QGraphicsWidget): 2957 """""" 2958 # Enum Plasma.AbstractToolBox.ToolType 2959 AddTool = 0 2960 ConfigureTool = 0 2961 ControlTool = 0 2962 MiscTool = 0 2963 DestructiveTool = 0 2964 UserToolType = 0 2965 2966 def __init__(self, parent): 2967 '''void Plasma.AbstractToolBox.__init__(Plasma.Containment parent)''' 2968 def __init__(self, parent = None, args = QVariantList()): 2969 '''void Plasma.AbstractToolBox.__init__(QObject parent = None, list-of-QVariant args = QVariantList())''' 2970 def reposition(self): 2971 '''void Plasma.AbstractToolBox.reposition()''' 2972 def save(self, group): 2973 '''void Plasma.AbstractToolBox.save(KConfigGroup group)''' 2974 def restore(self, group): 2975 '''void Plasma.AbstractToolBox.restore(KConfigGroup group)''' 2976 def listToolBoxInfo(self, parentApp = QString()): 2977 '''static list-of-KPluginInfo Plasma.AbstractToolBox.listToolBoxInfo(QString parentApp = QString())''' 2978 return [KPluginInfo()] 2979 def load(self, name, args = QVariantList(), containment = None): 2980 '''static Plasma.AbstractToolBox Plasma.AbstractToolBox.load(QString name, list-of-QVariant args = QVariantList(), Plasma.Containment containment = None)''' 2981 return Plasma.AbstractToolBox() 2982 def containment(self): 2983 '''Plasma.Containment Plasma.AbstractToolBox.containment()''' 2984 return Plasma.Containment() 2985 visibilityChanged = pyqtSignal() # void visibilityChanged(bool) - signal 2986 toggled = pyqtSignal() # void toggled() - signal 2987 def setShowing(self, show): 2988 '''abstract void Plasma.AbstractToolBox.setShowing(bool show)''' 2989 def isShowing(self): 2990 '''abstract bool Plasma.AbstractToolBox.isShowing()''' 2991 return bool() 2992 def removeTool(self, action): 2993 '''abstract void Plasma.AbstractToolBox.removeTool(QAction action)''' 2994 def addTool(self, action): 2995 '''abstract void Plasma.AbstractToolBox.addTool(QAction action)''' 2996 class PlotColor(): 2997 """""" 2998 color = None # QColor - member 2999 darkColor = None # QColor - member 3000 def __init__(self): 3001 '''void Plasma.PlotColor.__init__()''' 3002 def __init__(self): 3003 '''Plasma.PlotColor Plasma.PlotColor.__init__()''' 3004 return Plasma.PlotColor() 3005 class DataEngineManager(QObject): 3006 """""" 3007 def timerEvent(self, event): 3008 '''void Plasma.DataEngineManager.timerEvent(QTimerEvent event)''' 3009 def listEngineInfoByCategory(self, category, parentApp = QString()): 3010 '''static list-of-KPluginInfo Plasma.DataEngineManager.listEngineInfoByCategory(QString category, QString parentApp = QString())''' 3011 return [KPluginInfo()] 3012 def listEngineInfo(self, parentApp = QString()): 3013 '''static list-of-KPluginInfo Plasma.DataEngineManager.listEngineInfo(QString parentApp = QString())''' 3014 return [KPluginInfo()] 3015 def listAllEngines(self, parentApp = QString()): 3016 '''static QStringList Plasma.DataEngineManager.listAllEngines(QString parentApp = QString())''' 3017 return QStringList() 3018 def unloadEngine(self, name): 3019 '''void Plasma.DataEngineManager.unloadEngine(QString name)''' 3020 def loadEngine(self, name): 3021 '''Plasma.DataEngine Plasma.DataEngineManager.loadEngine(QString name)''' 3022 return Plasma.DataEngine() 3023 def engine(self, name): 3024 '''Plasma.DataEngine Plasma.DataEngineManager.engine(QString name)''' 3025 return Plasma.DataEngine() 3026 def self(self): 3027 '''static Plasma.DataEngineManager Plasma.DataEngineManager.self()''' 3028 return Plasma.DataEngineManager() 3029 class Animation(QAbstractAnimation): 3030 """""" 3031 # Enum Plasma.Animation.MovementDirectionFlag 3032 MoveAny = 0 3033 MoveUp = 0 3034 MoveRight = 0 3035 MoveDown = 0 3036 MoveLeft = 0 3037 3038 # Enum Plasma.Animation.ReferenceFlag 3039 Center = 0 3040 Up = 0 3041 Down = 0 3042 Left = 0 3043 Right = 0 3044 3045 def __init__(self, parent = None): 3046 '''void Plasma.Animation.__init__(QObject parent = None)''' 3047 def easingCurve(self): 3048 '''QEasingCurve Plasma.Animation.easingCurve()''' 3049 return QEasingCurve() 3050 def setEasingCurve(self, curve): 3051 '''void Plasma.Animation.setEasingCurve(QEasingCurve curve)''' 3052 def targetWidget(self): 3053 '''QGraphicsWidget Plasma.Animation.targetWidget()''' 3054 return QGraphicsWidget() 3055 def setTargetWidget(self, widget): 3056 '''void Plasma.Animation.setTargetWidget(QGraphicsWidget widget)''' 3057 def updateCurrentTime(self, currentTime): 3058 '''void Plasma.Animation.updateCurrentTime(int currentTime)''' 3059 def setDuration(self, duration = 250): 3060 '''void Plasma.Animation.setDuration(int duration = 250)''' 3061 def duration(self): 3062 '''int Plasma.Animation.duration()''' 3063 return int() 3064 class Theme(QObject): 3065 """""" 3066 # Enum Plasma.Theme.FontRole 3067 DefaultFont = 0 3068 DesktopFont = 0 3069 SmallestFont = 0 3070 3071 # Enum Plasma.Theme.ColorRole 3072 TextColor = 0 3073 HighlightColor = 0 3074 BackgroundColor = 0 3075 ButtonTextColor = 0 3076 ButtonBackgroundColor = 0 3077 LinkColor = 0 3078 VisitedLinkColor = 0 3079 ButtonHoverColor = 0 3080 ButtonFocusColor = 0 3081 ViewTextColor = 0 3082 ViewBackgroundColor = 0 3083 ViewHoverColor = 0 3084 ViewFocusColor = 0 3085 3086 def __init__(self, parent = None): 3087 '''void Plasma.Theme.__init__(QObject parent = None)''' 3088 def __init__(self, themeName, parent = None): 3089 '''void Plasma.Theme.__init__(QString themeName, QObject parent = None)''' 3090 def toolTipDelay(self): 3091 '''int Plasma.Theme.toolTipDelay()''' 3092 return int() 3093 def homepage(self): 3094 '''KUrl Plasma.Theme.homepage()''' 3095 return KUrl() 3096 def listCachedRectKeys(self, image): 3097 '''QStringList Plasma.Theme.listCachedRectKeys(QString image)''' 3098 return QStringList() 3099 def styleSheet(self, css = QString()): 3100 '''QString Plasma.Theme.styleSheet(QString css = QString())''' 3101 return QString() 3102 def animationPath(self, name): 3103 '''QString Plasma.Theme.animationPath(QString name)''' 3104 return QString() 3105 def settingsChanged(self): 3106 '''void Plasma.Theme.settingsChanged()''' 3107 themeChanged = pyqtSignal() # void themeChanged() - signal 3108 def releaseRectsCache(self, image): 3109 '''void Plasma.Theme.releaseRectsCache(QString image)''' 3110 def invalidateRectsCache(self, image): 3111 '''void Plasma.Theme.invalidateRectsCache(QString image)''' 3112 def insertIntoRectsCache(self, image, element, rect): 3113 '''void Plasma.Theme.insertIntoRectsCache(QString image, QString element, QRectF rect)''' 3114 def findInRectsCache(self, image, element, rect): 3115 '''bool Plasma.Theme.findInRectsCache(QString image, QString element, QRectF rect)''' 3116 return bool() 3117 def setCacheLimit(self, kbytes): 3118 '''void Plasma.Theme.setCacheLimit(int kbytes)''' 3119 def insertIntoCache(self, key, pix): 3120 '''void Plasma.Theme.insertIntoCache(QString key, QPixmap pix)''' 3121 def insertIntoCache(self, key, pix, id): 3122 '''void Plasma.Theme.insertIntoCache(QString key, QPixmap pix, QString id)''' 3123 def findInCache(self, key, pix): 3124 '''bool Plasma.Theme.findInCache(QString key, QPixmap pix)''' 3125 return bool() 3126 def findInCache(self, key, pix, lastModified): 3127 '''bool Plasma.Theme.findInCache(QString key, QPixmap pix, int lastModified)''' 3128 return bool() 3129 def useNativeWidgetStyle(self): 3130 '''bool Plasma.Theme.useNativeWidgetStyle()''' 3131 return bool() 3132 def useGlobalSettings(self): 3133 '''bool Plasma.Theme.useGlobalSettings()''' 3134 return bool() 3135 def setUseGlobalSettings(self, useGlobal): 3136 '''void Plasma.Theme.setUseGlobalSettings(bool useGlobal)''' 3137 def windowTranslucencyEnabled(self): 3138 '''bool Plasma.Theme.windowTranslucencyEnabled()''' 3139 return bool() 3140 def fontMetrics(self): 3141 '''QFontMetrics Plasma.Theme.fontMetrics()''' 3142 return QFontMetrics() 3143 def font(self, role): 3144 '''QFont Plasma.Theme.font(Plasma.Theme.FontRole role)''' 3145 return QFont() 3146 def setFont(self, font, role = None): 3147 '''void Plasma.Theme.setFont(QFont font, Plasma.Theme.FontRole role = Plasma.Theme.DefaultFont)''' 3148 def color(self, role): 3149 '''QColor Plasma.Theme.color(Plasma.Theme.ColorRole role)''' 3150 return QColor() 3151 def colorScheme(self): 3152 '''KSharedConfigPtr Plasma.Theme.colorScheme()''' 3153 return KSharedConfigPtr() 3154 def currentThemeHasImage(self, name): 3155 '''bool Plasma.Theme.currentThemeHasImage(QString name)''' 3156 return bool() 3157 def wallpaperPath(self, size = QSize()): 3158 '''QString Plasma.Theme.wallpaperPath(QSize size = QSize())''' 3159 return QString() 3160 def imagePath(self, name): 3161 '''QString Plasma.Theme.imagePath(QString name)''' 3162 return QString() 3163 def themeName(self): 3164 '''QString Plasma.Theme.themeName()''' 3165 return QString() 3166 def setThemeName(self, themeName): 3167 '''void Plasma.Theme.setThemeName(QString themeName)''' 3168 def listThemeInfo(self): 3169 '''static list-of-KPluginInfo Plasma.Theme.listThemeInfo()''' 3170 return [KPluginInfo()] 3171 def packageStructure(self): 3172 '''static unknown-type Plasma.Theme.packageStructure()''' 3173 return unknown-type() 3174 def defaultTheme(self): 3175 '''static Plasma.Theme Plasma.Theme.defaultTheme()''' 3176 return Plasma.Theme() 3177 class ScrollWidget(QGraphicsWidget): 3178 """""" 3179 def __init__(self, parent = None): 3180 '''void Plasma.ScrollWidget.__init__(QGraphicsWidget parent = None)''' 3181 def setOverflowBordersVisible(self, visible): 3182 '''void Plasma.ScrollWidget.setOverflowBordersVisible(bool visible)''' 3183 def overflowBordersVisible(self): 3184 '''bool Plasma.ScrollWidget.overflowBordersVisible()''' 3185 return bool() 3186 def sceneEventFilter(self, i, e): 3187 '''bool Plasma.ScrollWidget.sceneEventFilter(QGraphicsItem i, QEvent e)''' 3188 return bool() 3189 def keyPressEvent(self, event): 3190 '''void Plasma.ScrollWidget.keyPressEvent(QKeyEvent event)''' 3191 viewportGeometryChanged = pyqtSignal() # void viewportGeometryChanged(const QRectFamp;) - signal 3192 def snapSize(self): 3193 '''QSizeF Plasma.ScrollWidget.snapSize()''' 3194 return QSizeF() 3195 def setSnapSize(self, size): 3196 '''void Plasma.ScrollWidget.setSnapSize(QSizeF size)''' 3197 def hasOverShoot(self): 3198 '''bool Plasma.ScrollWidget.hasOverShoot()''' 3199 return bool() 3200 def setOverShoot(self, enable): 3201 '''void Plasma.ScrollWidget.setOverShoot(bool enable)''' 3202 def alignment(self): 3203 '''Qt.Alignment Plasma.ScrollWidget.alignment()''' 3204 return Qt.Alignment() 3205 def setAlignment(self, align): 3206 '''void Plasma.ScrollWidget.setAlignment(Qt.Alignment align)''' 3207 scrollStateChanged = pyqtSignal() # void scrollStateChanged(QAbstractAnimation::State,QAbstractAnimation::State) - signal 3208 def sizeHint(self, which, constraint): 3209 '''QSizeF Plasma.ScrollWidget.sizeHint(Qt.SizeHint which, QSizeF constraint)''' 3210 return QSizeF() 3211 def focusInEvent(self, event): 3212 '''void Plasma.ScrollWidget.focusInEvent(QFocusEvent event)''' 3213 def mouseReleaseEvent(self, event): 3214 '''void Plasma.ScrollWidget.mouseReleaseEvent(QGraphicsSceneMouseEvent event)''' 3215 def scrollPosition(self): 3216 '''QPointF Plasma.ScrollWidget.scrollPosition()''' 3217 return QPointF() 3218 def setScrollPosition(self, position): 3219 '''void Plasma.ScrollWidget.setScrollPosition(QPointF position)''' 3220 def contentsSize(self): 3221 '''QSizeF Plasma.ScrollWidget.contentsSize()''' 3222 return QSizeF() 3223 def viewportGeometry(self): 3224 '''QRectF Plasma.ScrollWidget.viewportGeometry()''' 3225 return QRectF() 3226 def unregisterAsDragHandle(self, item): 3227 '''void Plasma.ScrollWidget.unregisterAsDragHandle(QGraphicsWidget item)''' 3228 def registerAsDragHandle(self, item): 3229 '''void Plasma.ScrollWidget.registerAsDragHandle(QGraphicsWidget item)''' 3230 def ensureItemVisible(self, item): 3231 '''void Plasma.ScrollWidget.ensureItemVisible(QGraphicsItem item)''' 3232 def ensureRectVisible(self, rect): 3233 '''void Plasma.ScrollWidget.ensureRectVisible(QRectF rect)''' 3234 def eventFilter(self, watched, event): 3235 '''bool Plasma.ScrollWidget.eventFilter(QObject watched, QEvent event)''' 3236 return bool() 3237 def wheelEvent(self, event): 3238 '''void Plasma.ScrollWidget.wheelEvent(QGraphicsSceneWheelEvent event)''' 3239 def mousePressEvent(self, event): 3240 '''void Plasma.ScrollWidget.mousePressEvent(QGraphicsSceneMouseEvent event)''' 3241 def mouseMoveEvent(self, event): 3242 '''void Plasma.ScrollWidget.mouseMoveEvent(QGraphicsSceneMouseEvent event)''' 3243 def resizeEvent(self, event): 3244 '''void Plasma.ScrollWidget.resizeEvent(QGraphicsSceneResizeEvent event)''' 3245 def nativeWidget(self): 3246 '''QWidget Plasma.ScrollWidget.nativeWidget()''' 3247 return QWidget() 3248 def styleSheet(self): 3249 '''QString Plasma.ScrollWidget.styleSheet()''' 3250 return QString() 3251 def setStyleSheet(self, stylesheet): 3252 '''void Plasma.ScrollWidget.setStyleSheet(QString stylesheet)''' 3253 def verticalScrollBarPolicy(self): 3254 '''Qt.ScrollBarPolicy Plasma.ScrollWidget.verticalScrollBarPolicy()''' 3255 return Qt.ScrollBarPolicy() 3256 def setVerticalScrollBarPolicy(self, policy): 3257 '''void Plasma.ScrollWidget.setVerticalScrollBarPolicy(Qt.ScrollBarPolicy policy)''' 3258 def horizontalScrollBarPolicy(self): 3259 '''Qt.ScrollBarPolicy Plasma.ScrollWidget.horizontalScrollBarPolicy()''' 3260 return Qt.ScrollBarPolicy() 3261 def setHorizontalScrollBarPolicy(self, policy): 3262 '''void Plasma.ScrollWidget.setHorizontalScrollBarPolicy(Qt.ScrollBarPolicy policy)''' 3263 def widget(self): 3264 '''QGraphicsWidget Plasma.ScrollWidget.widget()''' 3265 return QGraphicsWidget() 3266 def setWidget(self, widget): 3267 '''void Plasma.ScrollWidget.setWidget(QGraphicsWidget widget)''' 3268 class PluginLoader(): 3269 """""" 3270 def __init__(self): 3271 '''void Plasma.PluginLoader.__init__()''' 3272 def standardInternalServiceInfo(self): 3273 '''list-of-KPluginInfo Plasma.PluginLoader.standardInternalServiceInfo()''' 3274 return [KPluginInfo()] 3275 def standardInternalRunnerInfo(self): 3276 '''list-of-KPluginInfo Plasma.PluginLoader.standardInternalRunnerInfo()''' 3277 return [KPluginInfo()] 3278 def standardInternalDataEngineInfo(self): 3279 '''list-of-KPluginInfo Plasma.PluginLoader.standardInternalDataEngineInfo()''' 3280 return [KPluginInfo()] 3281 def standardInternalAppletInfo(self, category): 3282 '''list-of-KPluginInfo Plasma.PluginLoader.standardInternalAppletInfo(QString category)''' 3283 return [KPluginInfo()] 3284 def internalServiceInfo(self): 3285 '''list-of-KPluginInfo Plasma.PluginLoader.internalServiceInfo()''' 3286 return [KPluginInfo()] 3287 def internalRunnerInfo(self): 3288 '''list-of-KPluginInfo Plasma.PluginLoader.internalRunnerInfo()''' 3289 return [KPluginInfo()] 3290 def internalDataEngineInfo(self): 3291 '''list-of-KPluginInfo Plasma.PluginLoader.internalDataEngineInfo()''' 3292 return [KPluginInfo()] 3293 def internalAppletInfo(self, category): 3294 '''list-of-KPluginInfo Plasma.PluginLoader.internalAppletInfo(QString category)''' 3295 return [KPluginInfo()] 3296 def internalLoadService(self, name, args, parent = None): 3297 '''Plasma.Service Plasma.PluginLoader.internalLoadService(QString name, list-of-QVariant args, QObject parent = None)''' 3298 return Plasma.Service() 3299 def internalLoadDataEngine(self, name): 3300 '''Plasma.DataEngine Plasma.PluginLoader.internalLoadDataEngine(QString name)''' 3301 return Plasma.DataEngine() 3302 def internalLoadRunner(self, name): 3303 '''Plasma.AbstractRunner Plasma.PluginLoader.internalLoadRunner(QString name)''' 3304 return Plasma.AbstractRunner() 3305 def internalLoadApplet(self, name, appletId = 0, args = QVariantList()): 3306 '''Plasma.Applet Plasma.PluginLoader.internalLoadApplet(QString name, int appletId = 0, list-of-QVariant args = QVariantList())''' 3307 return Plasma.Applet() 3308 def pluginLoader(self): 3309 '''static Plasma.PluginLoader Plasma.PluginLoader.pluginLoader()''' 3310 return Plasma.PluginLoader() 3311 def setPluginLoader(self, loader): 3312 '''static void Plasma.PluginLoader.setPluginLoader(Plasma.PluginLoader loader)''' 3313 def listRunnerInfo(self, parentApp = QString()): 3314 '''list-of-KPluginInfo Plasma.PluginLoader.listRunnerInfo(QString parentApp = QString())''' 3315 return [KPluginInfo()] 3316 def listDataEngineInfo(self, parentApp = QString()): 3317 '''list-of-KPluginInfo Plasma.PluginLoader.listDataEngineInfo(QString parentApp = QString())''' 3318 return [KPluginInfo()] 3319 def listAppletInfo(self, category, parentApp = QString()): 3320 '''list-of-KPluginInfo Plasma.PluginLoader.listAppletInfo(QString category, QString parentApp = QString())''' 3321 return [KPluginInfo()] 3322 def loadService(self, name, args, parent = None): 3323 '''Plasma.Service Plasma.PluginLoader.loadService(QString name, list-of-QVariant args, QObject parent = None)''' 3324 return Plasma.Service() 3325 def loadRunner(self, name): 3326 '''Plasma.AbstractRunner Plasma.PluginLoader.loadRunner(QString name)''' 3327 return Plasma.AbstractRunner() 3328 def loadDataEngine(self, name): 3329 '''Plasma.DataEngine Plasma.PluginLoader.loadDataEngine(QString name)''' 3330 return Plasma.DataEngine() 3331 def loadApplet(self, name, appletId = 0, args = QVariantList()): 3332 '''Plasma.Applet Plasma.PluginLoader.loadApplet(QString name, int appletId = 0, list-of-QVariant args = QVariantList())''' 3333 return Plasma.Applet() 3334 class ServiceJob(KJob): 3335 """""" 3336 def __init__(self, destination, operation, parameters, parent = None): 3337 '''void Plasma.ServiceJob.__init__(QString destination, QString operation, dict-of-QString-QVariant parameters, QObject parent = None)''' 3338 def setResult(self, result): 3339 '''void Plasma.ServiceJob.setResult(QVariant result)''' 3340 def start(self): 3341 '''void Plasma.ServiceJob.start()''' 3342 def result(self): 3343 '''QVariant Plasma.ServiceJob.result()''' 3344 return QVariant() 3345 def parameters(self): 3346 '''dict-of-QString-QVariant Plasma.ServiceJob.parameters()''' 3347 return dict-of-QString-QVariant() 3348 def operationName(self): 3349 '''QString Plasma.ServiceJob.operationName()''' 3350 return QString() 3351 def destination(self): 3352 '''QString Plasma.ServiceJob.destination()''' 3353 return QString() 3354 class MessageButtons(): 3355 """""" 3356 def __init__(self): 3357 '''Plasma.MessageButtons Plasma.MessageButtons.__init__()''' 3358 return Plasma.MessageButtons() 3359 def __init__(self): 3360 '''int Plasma.MessageButtons.__init__()''' 3361 return int() 3362 def __init__(self): 3363 '''void Plasma.MessageButtons.__init__()''' 3364 def __bool__(self): 3365 '''int Plasma.MessageButtons.__bool__()''' 3366 return int() 3367 def __ne__(self, f): 3368 '''bool Plasma.MessageButtons.__ne__(Plasma.MessageButtons f)''' 3369 return bool() 3370 def __eq__(self, f): 3371 '''bool Plasma.MessageButtons.__eq__(Plasma.MessageButtons f)''' 3372 return bool() 3373 def __invert__(self): 3374 '''Plasma.MessageButtons Plasma.MessageButtons.__invert__()''' 3375 return Plasma.MessageButtons() 3376 def __and__(self, mask): 3377 '''Plasma.MessageButtons Plasma.MessageButtons.__and__(int mask)''' 3378 return Plasma.MessageButtons() 3379 def __xor__(self, f): 3380 '''Plasma.MessageButtons Plasma.MessageButtons.__xor__(Plasma.MessageButtons f)''' 3381 return Plasma.MessageButtons() 3382 def __xor__(self, f): 3383 '''Plasma.MessageButtons Plasma.MessageButtons.__xor__(int f)''' 3384 return Plasma.MessageButtons() 3385 def __or__(self, f): 3386 '''Plasma.MessageButtons Plasma.MessageButtons.__or__(Plasma.MessageButtons f)''' 3387 return Plasma.MessageButtons() 3388 def __or__(self, f): 3389 '''Plasma.MessageButtons Plasma.MessageButtons.__or__(int f)''' 3390 return Plasma.MessageButtons() 3391 def __int__(self): 3392 '''int Plasma.MessageButtons.__int__()''' 3393 return int() 3394 def __ixor__(self, f): 3395 '''Plasma.MessageButtons Plasma.MessageButtons.__ixor__(Plasma.MessageButtons f)''' 3396 return Plasma.MessageButtons() 3397 def __ior__(self, f): 3398 '''Plasma.MessageButtons Plasma.MessageButtons.__ior__(Plasma.MessageButtons f)''' 3399 return Plasma.MessageButtons() 3400 def __iand__(self, mask): 3401 '''Plasma.MessageButtons Plasma.MessageButtons.__iand__(int mask)''' 3402 return Plasma.MessageButtons() 3403 class RunnerSyntax(): 3404 """""" 3405 def __init__(self, exampleQuery, description): 3406 '''void Plasma.RunnerSyntax.__init__(QString exampleQuery, QString description)''' 3407 def __init__(self, other): 3408 '''void Plasma.RunnerSyntax.__init__(Plasma.RunnerSyntax other)''' 3409 def searchTermDescription(self): 3410 '''QString Plasma.RunnerSyntax.searchTermDescription()''' 3411 return QString() 3412 def setSearchTermDescription(self, description): 3413 '''void Plasma.RunnerSyntax.setSearchTermDescription(QString description)''' 3414 def description(self): 3415 '''QString Plasma.RunnerSyntax.description()''' 3416 return QString() 3417 def setDescription(self, description): 3418 '''void Plasma.RunnerSyntax.setDescription(QString description)''' 3419 def exampleQueriesWithTermDescription(self): 3420 '''QStringList Plasma.RunnerSyntax.exampleQueriesWithTermDescription()''' 3421 return QStringList() 3422 def exampleQueries(self): 3423 '''QStringList Plasma.RunnerSyntax.exampleQueries()''' 3424 return QStringList() 3425 def addExampleQuery(self, exampleQuery): 3426 '''void Plasma.RunnerSyntax.addExampleQuery(QString exampleQuery)''' 3427 class ExtenderGroup(Plasma.ExtenderItem): 3428 """""" 3429 def __init__(self, parent, groupId = 0): 3430 '''void Plasma.ExtenderGroup.__init__(Plasma.Extender parent, int groupId = 0)''' 3431 def dropEvent(self, event): 3432 '''void Plasma.ExtenderGroup.dropEvent(QGraphicsSceneDragDropEvent event)''' 3433 def dragLeaveEvent(self, event): 3434 '''void Plasma.ExtenderGroup.dragLeaveEvent(QGraphicsSceneDragDropEvent event)''' 3435 def dragMoveEvent(self, event): 3436 '''void Plasma.ExtenderGroup.dragMoveEvent(QGraphicsSceneDragDropEvent event)''' 3437 def dragEnterEvent(self, event): 3438 '''void Plasma.ExtenderGroup.dragEnterEvent(QGraphicsSceneDragDropEvent event)''' 3439 def eventFilter(self, watched, event): 3440 '''bool Plasma.ExtenderGroup.eventFilter(QObject watched, QEvent event)''' 3441 return bool() 3442 def resizeEvent(self, event): 3443 '''void Plasma.ExtenderGroup.resizeEvent(QGraphicsSceneResizeEvent event)''' 3444 def setGroupCollapsed(self, collapsed): 3445 '''void Plasma.ExtenderGroup.setGroupCollapsed(bool collapsed)''' 3446 def setAutoCollapse(self, collapse): 3447 '''void Plasma.ExtenderGroup.setAutoCollapse(bool collapse)''' 3448 def isAutoCollapse(self): 3449 '''bool Plasma.ExtenderGroup.isAutoCollapse()''' 3450 return bool() 3451 def isGroupCollapsed(self): 3452 '''bool Plasma.ExtenderGroup.isGroupCollapsed()''' 3453 return bool() 3454 def collapseGroup(self): 3455 '''void Plasma.ExtenderGroup.collapseGroup()''' 3456 def expandGroup(self): 3457 '''void Plasma.ExtenderGroup.expandGroup()''' 3458 def setAutoHide(self, autoHide): 3459 '''void Plasma.ExtenderGroup.setAutoHide(bool autoHide)''' 3460 def autoHide(self): 3461 '''bool Plasma.ExtenderGroup.autoHide()''' 3462 return bool() 3463 def items(self): 3464 '''list-of-Plasma.ExtenderItem Plasma.ExtenderGroup.items()''' 3465 return [Plasma.ExtenderItem()] 3466 class Flip(): 3467 """""" 3468 def __init__(self): 3469 '''Plasma.Flip Plasma.Flip.__init__()''' 3470 return Plasma.Flip() 3471 def __init__(self): 3472 '''int Plasma.Flip.__init__()''' 3473 return int() 3474 def __init__(self): 3475 '''void Plasma.Flip.__init__()''' 3476 def __bool__(self): 3477 '''int Plasma.Flip.__bool__()''' 3478 return int() 3479 def __ne__(self, f): 3480 '''bool Plasma.Flip.__ne__(Plasma.Flip f)''' 3481 return bool() 3482 def __eq__(self, f): 3483 '''bool Plasma.Flip.__eq__(Plasma.Flip f)''' 3484 return bool() 3485 def __invert__(self): 3486 '''Plasma.Flip Plasma.Flip.__invert__()''' 3487 return Plasma.Flip() 3488 def __and__(self, mask): 3489 '''Plasma.Flip Plasma.Flip.__and__(int mask)''' 3490 return Plasma.Flip() 3491 def __xor__(self, f): 3492 '''Plasma.Flip Plasma.Flip.__xor__(Plasma.Flip f)''' 3493 return Plasma.Flip() 3494 def __xor__(self, f): 3495 '''Plasma.Flip Plasma.Flip.__xor__(int f)''' 3496 return Plasma.Flip() 3497 def __or__(self, f): 3498 '''Plasma.Flip Plasma.Flip.__or__(Plasma.Flip f)''' 3499 return Plasma.Flip() 3500 def __or__(self, f): 3501 '''Plasma.Flip Plasma.Flip.__or__(int f)''' 3502 return Plasma.Flip() 3503 def __int__(self): 3504 '''int Plasma.Flip.__int__()''' 3505 return int() 3506 def __ixor__(self, f): 3507 '''Plasma.Flip Plasma.Flip.__ixor__(Plasma.Flip f)''' 3508 return Plasma.Flip() 3509 def __ior__(self, f): 3510 '''Plasma.Flip Plasma.Flip.__ior__(Plasma.Flip f)''' 3511 return Plasma.Flip() 3512 def __iand__(self, mask): 3513 '''Plasma.Flip Plasma.Flip.__iand__(int mask)''' 3514 return Plasma.Flip() 3515 class CheckBox(QGraphicsProxyWidget): 3516 """""" 3517 def __init__(self, parent = None): 3518 '''void Plasma.CheckBox.__init__(QGraphicsWidget parent = None)''' 3519 def changeEvent(self, event): 3520 '''void Plasma.CheckBox.changeEvent(QEvent event)''' 3521 def resizeEvent(self, event): 3522 '''void Plasma.CheckBox.resizeEvent(QGraphicsSceneResizeEvent event)''' 3523 toggled = pyqtSignal() # void toggled(bool) - signal 3524 def isChecked(self): 3525 '''bool Plasma.CheckBox.isChecked()''' 3526 return bool() 3527 def setChecked(self, checked): 3528 '''void Plasma.CheckBox.setChecked(bool checked)''' 3529 def nativeWidget(self): 3530 '''QCheckBox Plasma.CheckBox.nativeWidget()''' 3531 return QCheckBox() 3532 def styleSheet(self): 3533 '''QString Plasma.CheckBox.styleSheet()''' 3534 return QString() 3535 def setStyleSheet(self, stylesheet): 3536 '''void Plasma.CheckBox.setStyleSheet(QString stylesheet)''' 3537 def image(self): 3538 '''QString Plasma.CheckBox.image()''' 3539 return QString() 3540 def setImage(self, path): 3541 '''void Plasma.CheckBox.setImage(QString path)''' 3542 def text(self): 3543 '''QString Plasma.CheckBox.text()''' 3544 return QString() 3545 def setText(self, text): 3546 '''void Plasma.CheckBox.setText(QString text)''' 3547 class Corona(QGraphicsScene): 3548 """""" 3549 def __init__(self, parent = None): 3550 '''void Plasma.Corona.__init__(QObject parent = None)''' 3551 def setDefaultContainmentPlugin(self, name): 3552 '''void Plasma.Corona.setDefaultContainmentPlugin(QString name)''' 3553 def defaultContainmentPlugin(self): 3554 '''QString Plasma.Corona.defaultContainmentPlugin()''' 3555 return QString() 3556 def setPreferredToolBoxPlugin(self, type, plugin): 3557 '''void Plasma.Corona.setPreferredToolBoxPlugin(Plasma.Containment.Type type, QString plugin)''' 3558 def exportLayout(self, config, containments): 3559 '''void Plasma.Corona.exportLayout(KConfigGroup config, list-of-Plasma.Containment containments)''' 3560 def preferredToolBoxPlugin(self, type): 3561 '''QString Plasma.Corona.preferredToolBoxPlugin(Plasma.Containment.Type type)''' 3562 return QString() 3563 def mapAnimation(self, from_, to): 3564 '''void Plasma.Corona.mapAnimation(Plasma.Animator.Animation from, Plasma.Animator.Animation to)''' 3565 def mapAnimation(self, from_, to): 3566 '''void Plasma.Corona.mapAnimation(Plasma.Animator.Animation from, QString to)''' 3567 def layoutContainments(self): 3568 '''void Plasma.Corona.layoutContainments()''' 3569 def importLayout(self, config): 3570 '''list-of-Plasma.Containment Plasma.Corona.importLayout(KConfigBase config)''' 3571 return [Plasma.Containment()] 3572 def importLayout(self, config): 3573 '''list-of-Plasma.Containment Plasma.Corona.importLayout(KConfigGroup config)''' 3574 return [Plasma.Containment()] 3575 def dialogManager(self): 3576 '''Plasma.AbstractDialogManager Plasma.Corona.dialogManager()''' 3577 return Plasma.AbstractDialogManager() 3578 def setDialogManager(self, manager): 3579 '''void Plasma.Corona.setDialogManager(Plasma.AbstractDialogManager manager)''' 3580 def containmentActionsDefaults(self, containmentType): 3581 '''Plasma.ContainmentActionsPluginsConfig Plasma.Corona.containmentActionsDefaults(Plasma.Containment.Type containmentType)''' 3582 return Plasma.ContainmentActionsPluginsConfig() 3583 def setContainmentActionsDefaults(self, containmentType, config): 3584 '''void Plasma.Corona.setContainmentActionsDefaults(Plasma.Containment.Type containmentType, Plasma.ContainmentActionsPluginsConfig config)''' 3585 def dragMoveEvent(self, event): 3586 '''void Plasma.Corona.dragMoveEvent(QGraphicsSceneDragDropEvent event)''' 3587 def dragLeaveEvent(self, event): 3588 '''void Plasma.Corona.dragLeaveEvent(QGraphicsSceneDragDropEvent event)''' 3589 def dragEnterEvent(self, event): 3590 '''void Plasma.Corona.dragEnterEvent(QGraphicsSceneDragDropEvent event)''' 3591 def addContainmentDelayed(self, name, args = QVariantList()): 3592 '''Plasma.Containment Plasma.Corona.addContainmentDelayed(QString name, list-of-QVariant args = QVariantList())''' 3593 return Plasma.Containment() 3594 def loadDefaultLayout(self): 3595 '''void Plasma.Corona.loadDefaultLayout()''' 3596 shortcutsChanged = pyqtSignal() # void shortcutsChanged() - signal 3597 immutabilityChanged = pyqtSignal() # void immutabilityChanged(Plasma::ImmutabilityType) - signal 3598 availableScreenRegionChanged = pyqtSignal() # void availableScreenRegionChanged() - signal 3599 configSynced = pyqtSignal() # void configSynced() - signal 3600 releaseVisualFocus = pyqtSignal() # void releaseVisualFocus() - signal 3601 screenOwnerChanged = pyqtSignal() # void screenOwnerChanged(int,int,Plasma::Containment *) - signal 3602 containmentAdded = pyqtSignal() # void containmentAdded(Plasma::Containment *) - signal 3603 def requireConfigSync(self): 3604 '''void Plasma.Corona.requireConfigSync()''' 3605 def requestConfigSync(self): 3606 '''void Plasma.Corona.requestConfigSync()''' 3607 def setImmutability(self, immutable): 3608 '''void Plasma.Corona.setImmutability(Plasma.ImmutabilityType immutable)''' 3609 def immutability(self): 3610 '''Plasma.ImmutabilityType Plasma.Corona.immutability()''' 3611 return Plasma.ImmutabilityType() 3612 def saveLayout(self, config = QString()): 3613 '''void Plasma.Corona.saveLayout(QString config = QString())''' 3614 def loadLayout(self, config = QString()): 3615 '''void Plasma.Corona.loadLayout(QString config = QString())''' 3616 def initializeLayout(self, config = QString()): 3617 '''void Plasma.Corona.initializeLayout(QString config = QString())''' 3618 def addShortcuts(self, newShortcuts): 3619 '''void Plasma.Corona.addShortcuts(KActionCollection newShortcuts)''' 3620 def updateShortcuts(self): 3621 '''void Plasma.Corona.updateShortcuts()''' 3622 def enableAction(self, name, enable): 3623 '''void Plasma.Corona.enableAction(QString name, bool enable)''' 3624 def actions(self): 3625 '''list-of-QAction Plasma.Corona.actions()''' 3626 return [QAction()] 3627 def addAction(self, name, action): 3628 '''void Plasma.Corona.addAction(QString name, QAction action)''' 3629 def addAction(self, name): 3630 '''KAction Plasma.Corona.addAction(QString name)''' 3631 return KAction() 3632 def action(self, name): 3633 '''QAction Plasma.Corona.action(QString name)''' 3634 return QAction() 3635 def freeEdges(self, screen): 3636 '''list-of-Plasma.Location Plasma.Corona.freeEdges(int screen)''' 3637 return [Plasma.Location()] 3638 def popupPosition(self, item, size): 3639 '''QPoint Plasma.Corona.popupPosition(QGraphicsItem item, QSize size)''' 3640 return QPoint() 3641 def popupPosition(self, item, size, alignment): 3642 '''QPoint Plasma.Corona.popupPosition(QGraphicsItem item, QSize size, Qt.AlignmentFlag alignment)''' 3643 return QPoint() 3644 def availableScreenRegion(self, id): 3645 '''QRegion Plasma.Corona.availableScreenRegion(int id)''' 3646 return QRegion() 3647 def screenGeometry(self, id): 3648 '''QRect Plasma.Corona.screenGeometry(int id)''' 3649 return QRect() 3650 def numScreens(self): 3651 '''int Plasma.Corona.numScreens()''' 3652 return int() 3653 def offscreenWidgets(self): 3654 '''list-of-QGraphicsWidget Plasma.Corona.offscreenWidgets()''' 3655 return [QGraphicsWidget()] 3656 def removeOffscreenWidget(self, widget): 3657 '''void Plasma.Corona.removeOffscreenWidget(QGraphicsWidget widget)''' 3658 def addOffscreenWidget(self, widget): 3659 '''void Plasma.Corona.addOffscreenWidget(QGraphicsWidget widget)''' 3660 def containmentForScreen(self, screen, desktop = None): 3661 '''Plasma.Containment Plasma.Corona.containmentForScreen(int screen, int desktop = -1)''' 3662 return Plasma.Containment() 3663 def containmentForScreen(self, screen, desktop, defaultPluginIfNonExistent, defaultArgs = QVariantList()): 3664 '''Plasma.Containment Plasma.Corona.containmentForScreen(int screen, int desktop, QString defaultPluginIfNonExistent, list-of-QVariant defaultArgs = QVariantList())''' 3665 return Plasma.Containment() 3666 def addContainment(self, name, args = QVariantList()): 3667 '''Plasma.Containment Plasma.Corona.addContainment(QString name, list-of-QVariant args = QVariantList())''' 3668 return Plasma.Containment() 3669 def config(self): 3670 '''unknown-type Plasma.Corona.config()''' 3671 return unknown-type() 3672 def clearContainments(self): 3673 '''void Plasma.Corona.clearContainments()''' 3674 def containments(self): 3675 '''list-of-Plasma.Containment Plasma.Corona.containments()''' 3676 return [Plasma.Containment()] 3677 def appletMimeType(self): 3678 '''QString Plasma.Corona.appletMimeType()''' 3679 return QString() 3680 def setAppletMimeType(self, mimetype): 3681 '''void Plasma.Corona.setAppletMimeType(QString mimetype)''' 3682 class Separator(QGraphicsWidget): 3683 """""" 3684 def __init__(self, parent = None, wFlags = 0): 3685 '''void Plasma.Separator.__init__(QGraphicsItem parent = None, Qt.WindowFlags wFlags = 0)''' 3686 def sizeHint(self, which, constraint): 3687 '''QSizeF Plasma.Separator.sizeHint(Qt.SizeHint which, QSizeF constraint)''' 3688 return QSizeF() 3689 def paint(self, painter, option, widget): 3690 '''void Plasma.Separator.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget)''' 3691 def orientation(self): 3692 '''Qt.Orientation Plasma.Separator.orientation()''' 3693 return Qt.Orientation() 3694 def setOrientation(self, orientation): 3695 '''void Plasma.Separator.setOrientation(Qt.Orientation orientation)''' 3696 class RunnerContext(): 3697 """""" 3698 class Types(): 3699 """""" 3700 def __init__(self): 3701 '''Plasma.RunnerContext.Types Plasma.RunnerContext.Types.__init__()''' 3702 return Plasma.RunnerContext.Types() 3703 def __init__(self): 3704 '''int Plasma.RunnerContext.Types.__init__()''' 3705 return int() 3706 def __init__(self): 3707 '''void Plasma.RunnerContext.Types.__init__()''' 3708 def __bool__(self): 3709 '''int Plasma.RunnerContext.Types.__bool__()''' 3710 return int() 3711 def __ne__(self, f): 3712 '''bool Plasma.RunnerContext.Types.__ne__(Plasma.RunnerContext.Types f)''' 3713 return bool() 3714 def __eq__(self, f): 3715 '''bool Plasma.RunnerContext.Types.__eq__(Plasma.RunnerContext.Types f)''' 3716 return bool() 3717 def __invert__(self): 3718 '''Plasma.RunnerContext.Types Plasma.RunnerContext.Types.__invert__()''' 3719 return Plasma.RunnerContext.Types() 3720 def __and__(self, mask): 3721 '''Plasma.RunnerContext.Types Plasma.RunnerContext.Types.__and__(int mask)''' 3722 return Plasma.RunnerContext.Types() 3723 def __xor__(self, f): 3724 '''Plasma.RunnerContext.Types Plasma.RunnerContext.Types.__xor__(Plasma.RunnerContext.Types f)''' 3725 return Plasma.RunnerContext.Types() 3726 def __xor__(self, f): 3727 '''Plasma.RunnerContext.Types Plasma.RunnerContext.Types.__xor__(int f)''' 3728 return Plasma.RunnerContext.Types() 3729 def __or__(self, f): 3730 '''Plasma.RunnerContext.Types Plasma.RunnerContext.Types.__or__(Plasma.RunnerContext.Types f)''' 3731 return Plasma.RunnerContext.Types() 3732 def __or__(self, f): 3733 '''Plasma.RunnerContext.Types Plasma.RunnerContext.Types.__or__(int f)''' 3734 return Plasma.RunnerContext.Types() 3735 def __int__(self): 3736 '''int Plasma.RunnerContext.Types.__int__()''' 3737 return int() 3738 def __ixor__(self, f): 3739 '''Plasma.RunnerContext.Types Plasma.RunnerContext.Types.__ixor__(Plasma.RunnerContext.Types f)''' 3740 return Plasma.RunnerContext.Types() 3741 def __ior__(self, f): 3742 '''Plasma.RunnerContext.Types Plasma.RunnerContext.Types.__ior__(Plasma.RunnerContext.Types f)''' 3743 return Plasma.RunnerContext.Types() 3744 def __iand__(self, mask): 3745 '''Plasma.RunnerContext.Types Plasma.RunnerContext.Types.__iand__(int mask)''' 3746 return Plasma.RunnerContext.Types() 3747 class Delegate(QAbstractItemDelegate): 3748 """""" 3749 # Enum Plasma.Delegate.ColumnType 3750 MainColumn = 0 3751 SecondaryActionColumn = 0 3752 3753 # Enum Plasma.Delegate.SpecificRoles 3754 SubTitleRole = 0 3755 SubTitleMandatoryRole = 0 3756 ColumnTypeRole = 0 3757 3758 def __init__(self, parent = None): 3759 '''void Plasma.Delegate.__init__(QObject parent = None)''' 3760 def sizeHint(self, option, index): 3761 '''QSize Plasma.Delegate.sizeHint(QStyleOptionViewItem option, QModelIndex index)''' 3762 return QSize() 3763 def emptyRect(self, option, index): 3764 '''QRect Plasma.Delegate.emptyRect(QStyleOptionViewItem option, QModelIndex index)''' 3765 return QRect() 3766 def rectAfterSubTitle(self, option, index): 3767 '''QRect Plasma.Delegate.rectAfterSubTitle(QStyleOptionViewItem option, QModelIndex index)''' 3768 return QRect() 3769 def rectAfterTitle(self, option, index): 3770 '''QRect Plasma.Delegate.rectAfterTitle(QStyleOptionViewItem option, QModelIndex index)''' 3771 return QRect() 3772 def showToolTip(self): 3773 '''bool Plasma.Delegate.showToolTip()''' 3774 return bool() 3775 def paint(self, painter, option, index): 3776 '''void Plasma.Delegate.paint(QPainter painter, QStyleOptionViewItem option, QModelIndex index)''' 3777 def roleMapping(self, role): 3778 '''int Plasma.Delegate.roleMapping(Plasma.Delegate.SpecificRoles role)''' 3779 return int() 3780 def setRoleMapping(self, role, actual): 3781 '''void Plasma.Delegate.setRoleMapping(Plasma.Delegate.SpecificRoles role, int actual)''' 3782 class Animation(): 3783 """""" 3784 class Reference(): 3785 """""" 3786 def __init__(self): 3787 '''Plasma.Animation.Reference Plasma.Animation.Reference.__init__()''' 3788 return Plasma.Animation.Reference() 3789 def __init__(self): 3790 '''int Plasma.Animation.Reference.__init__()''' 3791 return int() 3792 def __init__(self): 3793 '''void Plasma.Animation.Reference.__init__()''' 3794 def __bool__(self): 3795 '''int Plasma.Animation.Reference.__bool__()''' 3796 return int() 3797 def __ne__(self, f): 3798 '''bool Plasma.Animation.Reference.__ne__(Plasma.Animation.Reference f)''' 3799 return bool() 3800 def __eq__(self, f): 3801 '''bool Plasma.Animation.Reference.__eq__(Plasma.Animation.Reference f)''' 3802 return bool() 3803 def __invert__(self): 3804 '''Plasma.Animation.Reference Plasma.Animation.Reference.__invert__()''' 3805 return Plasma.Animation.Reference() 3806 def __and__(self, mask): 3807 '''Plasma.Animation.Reference Plasma.Animation.Reference.__and__(int mask)''' 3808 return Plasma.Animation.Reference() 3809 def __xor__(self, f): 3810 '''Plasma.Animation.Reference Plasma.Animation.Reference.__xor__(Plasma.Animation.Reference f)''' 3811 return Plasma.Animation.Reference() 3812 def __xor__(self, f): 3813 '''Plasma.Animation.Reference Plasma.Animation.Reference.__xor__(int f)''' 3814 return Plasma.Animation.Reference() 3815 def __or__(self, f): 3816 '''Plasma.Animation.Reference Plasma.Animation.Reference.__or__(Plasma.Animation.Reference f)''' 3817 return Plasma.Animation.Reference() 3818 def __or__(self, f): 3819 '''Plasma.Animation.Reference Plasma.Animation.Reference.__or__(int f)''' 3820 return Plasma.Animation.Reference() 3821 def __int__(self): 3822 '''int Plasma.Animation.Reference.__int__()''' 3823 return int() 3824 def __ixor__(self, f): 3825 '''Plasma.Animation.Reference Plasma.Animation.Reference.__ixor__(Plasma.Animation.Reference f)''' 3826 return Plasma.Animation.Reference() 3827 def __ior__(self, f): 3828 '''Plasma.Animation.Reference Plasma.Animation.Reference.__ior__(Plasma.Animation.Reference f)''' 3829 return Plasma.Animation.Reference() 3830 def __iand__(self, mask): 3831 '''Plasma.Animation.Reference Plasma.Animation.Reference.__iand__(int mask)''' 3832 return Plasma.Animation.Reference() 3833 class TextEdit(QGraphicsProxyWidget): 3834 """""" 3835 def __init__(self, parent = None): 3836 '''void Plasma.TextEdit.__init__(QGraphicsWidget parent = None)''' 3837 def focusOutEvent(self, event): 3838 '''void Plasma.TextEdit.focusOutEvent(QFocusEvent event)''' 3839 def mousePressEvent(self, event): 3840 '''void Plasma.TextEdit.mousePressEvent(QGraphicsSceneMouseEvent event)''' 3841 def append(self, text): 3842 '''void Plasma.TextEdit.append(QString text)''' 3843 def contextMenuEvent(self, event): 3844 '''void Plasma.TextEdit.contextMenuEvent(QGraphicsSceneContextMenuEvent event)''' 3845 def isReadOnly(self): 3846 '''bool Plasma.TextEdit.isReadOnly()''' 3847 return bool() 3848 def setReadOnly(self, readOnly): 3849 '''void Plasma.TextEdit.setReadOnly(bool readOnly)''' 3850 def changeEvent(self, event): 3851 '''void Plasma.TextEdit.changeEvent(QEvent event)''' 3852 def setNativeWidget(self, nativeWidget): 3853 '''void Plasma.TextEdit.setNativeWidget(KTextEdit nativeWidget)''' 3854 def resizeEvent(self, event): 3855 '''void Plasma.TextEdit.resizeEvent(QGraphicsSceneResizeEvent event)''' 3856 textChanged = pyqtSignal() # void textChanged() - signal 3857 def dataUpdated(self, sourceName, data): 3858 '''void Plasma.TextEdit.dataUpdated(QString sourceName, dict-of-QString-QVariant data)''' 3859 def nativeWidget(self): 3860 '''KTextEdit Plasma.TextEdit.nativeWidget()''' 3861 return KTextEdit() 3862 def styleSheet(self): 3863 '''QString Plasma.TextEdit.styleSheet()''' 3864 return QString() 3865 def setStyleSheet(self, stylesheet): 3866 '''void Plasma.TextEdit.setStyleSheet(QString stylesheet)''' 3867 def text(self): 3868 '''QString Plasma.TextEdit.text()''' 3869 return QString() 3870 def setText(self, text): 3871 '''void Plasma.TextEdit.setText(QString text)''' 3872 class Context(QObject): 3873 """""" 3874 def __init__(self, parent = None): 3875 '''void Plasma.Context.__init__(QObject parent = None)''' 3876 def currentActivityId(self): 3877 '''QString Plasma.Context.currentActivityId()''' 3878 return QString() 3879 def setCurrentActivityId(self, id): 3880 '''void Plasma.Context.setCurrentActivityId(QString id)''' 3881 locationChanged = pyqtSignal() # void locationChanged(Plasma::Context *) - signal 3882 activityChanged = pyqtSignal() # void activityChanged(Plasma::Context *) - signal 3883 changed = pyqtSignal() # void changed(Plasma::Context *) - signal 3884 def currentActivity(self): 3885 '''QString Plasma.Context.currentActivity()''' 3886 return QString() 3887 def setCurrentActivity(self, name): 3888 '''void Plasma.Context.setCurrentActivity(QString name)''' 3889 def listActivities(self): 3890 '''QStringList Plasma.Context.listActivities()''' 3891 return QStringList() 3892 def createActivity(self, name): 3893 '''void Plasma.Context.createActivity(QString name)''' 3894 class Meter(QGraphicsWidget): 3895 """""" 3896 # Enum Plasma.Meter.MeterType 3897 BarMeterHorizontal = 0 3898 BarMeterVertical = 0 3899 AnalogMeter = 0 3900 3901 def __init__(self, parent = None): 3902 '''void Plasma.Meter.__init__(QGraphicsItem parent = None)''' 3903 valueChanged = pyqtSignal() # void valueChanged(const intamp;) - signal 3904 def sizeHint(self, which, constraint = QSizeF()): 3905 '''QSizeF Plasma.Meter.sizeHint(Qt.SizeHint which, QSizeF constraint = QSizeF())''' 3906 return QSizeF() 3907 def paint(self, p, option, widget = None): 3908 '''void Plasma.Meter.paint(QPainter p, QStyleOptionGraphicsItem option, QWidget widget = None)''' 3909 def dataUpdated(self, sourceName, data): 3910 '''void Plasma.Meter.dataUpdated(QString sourceName, dict-of-QString-QVariant data)''' 3911 def labelRect(self, index): 3912 '''QRectF Plasma.Meter.labelRect(int index)''' 3913 return QRectF() 3914 def labelAlignment(self, index): 3915 '''Qt.Alignment Plasma.Meter.labelAlignment(int index)''' 3916 return Qt.Alignment() 3917 def setLabelAlignment(self, index, alignment): 3918 '''void Plasma.Meter.setLabelAlignment(int index, Qt.Alignment alignment)''' 3919 def labelFont(self, index): 3920 '''QFont Plasma.Meter.labelFont(int index)''' 3921 return QFont() 3922 def setLabelFont(self, index, font): 3923 '''void Plasma.Meter.setLabelFont(int index, QFont font)''' 3924 def labelColor(self, index): 3925 '''QColor Plasma.Meter.labelColor(int index)''' 3926 return QColor() 3927 def setLabelColor(self, index, color): 3928 '''void Plasma.Meter.setLabelColor(int index, QColor color)''' 3929 def label(self, index): 3930 '''QString Plasma.Meter.label(int index)''' 3931 return QString() 3932 def setLabel(self, index, text): 3933 '''void Plasma.Meter.setLabel(int index, QString text)''' 3934 def meterType(self): 3935 '''Plasma.Meter.MeterType Plasma.Meter.meterType()''' 3936 return Plasma.Meter.MeterType() 3937 def setMeterType(self, type): 3938 '''void Plasma.Meter.setMeterType(Plasma.Meter.MeterType type)''' 3939 def svg(self): 3940 '''QString Plasma.Meter.svg()''' 3941 return QString() 3942 def setSvg(self, svg): 3943 '''void Plasma.Meter.setSvg(QString svg)''' 3944 def value(self): 3945 '''int Plasma.Meter.value()''' 3946 return int() 3947 def setValue(self, value): 3948 '''void Plasma.Meter.setValue(int value)''' 3949 def minimum(self): 3950 '''int Plasma.Meter.minimum()''' 3951 return int() 3952 def setMinimum(self, minimum): 3953 '''void Plasma.Meter.setMinimum(int minimum)''' 3954 def maximum(self): 3955 '''int Plasma.Meter.maximum()''' 3956 return int() 3957 def setMaximum(self, maximum): 3958 '''void Plasma.Meter.setMaximum(int maximum)''' 3959 class AuthorizationRule(QObject): 3960 """""" 3961 # Enum Plasma.AuthorizationRule.Target 3962 Default = 0 3963 AllUsers = 0 3964 AllServices = 0 3965 3966 # Enum Plasma.AuthorizationRule.Persistence 3967 Transient = 0 3968 Persistent = 0 3969 3970 # Enum Plasma.AuthorizationRule.Policy 3971 Deny = 0 3972 Allow = 0 3973 PinRequired = 0 3974 3975 changed = pyqtSignal() # void changed(Plasma::AuthorizationRule *) - signal 3976 def serviceName(self): 3977 '''QString Plasma.AuthorizationRule.serviceName()''' 3978 return QString() 3979 def pin(self): 3980 '''QString Plasma.AuthorizationRule.pin()''' 3981 return QString() 3982 def setPin(self, pin): 3983 '''void Plasma.AuthorizationRule.setPin(QString pin)''' 3984 def persistence(self): 3985 '''Plasma.AuthorizationRule.Persistence Plasma.AuthorizationRule.persistence()''' 3986 return Plasma.AuthorizationRule.Persistence() 3987 def setPersistence(self, persistence): 3988 '''void Plasma.AuthorizationRule.setPersistence(Plasma.AuthorizationRule.Persistence persistence)''' 3989 def policy(self): 3990 '''Plasma.AuthorizationRule.Policy Plasma.AuthorizationRule.policy()''' 3991 return Plasma.AuthorizationRule.Policy() 3992 def setPolicy(self, policy): 3993 '''void Plasma.AuthorizationRule.setPolicy(Plasma.AuthorizationRule.Policy policy)''' 3994 def description(self): 3995 '''QString Plasma.AuthorizationRule.description()''' 3996 return QString() 3997 class ComboBox(QGraphicsProxyWidget): 3998 """""" 3999 def __init__(self, parent = None): 4000 '''void Plasma.ComboBox.__init__(QGraphicsWidget parent = None)''' 4001 currentIndexChanged = pyqtSignal() # void currentIndexChanged(int) - signal 4002 def setCurrentIndex(self, index): 4003 '''void Plasma.ComboBox.setCurrentIndex(int index)''' 4004 def currentIndex(self): 4005 '''int Plasma.ComboBox.currentIndex()''' 4006 return int() 4007 def count(self): 4008 '''int Plasma.ComboBox.count()''' 4009 return int() 4010 def mousePressEvent(self, event): 4011 '''void Plasma.ComboBox.mousePressEvent(QGraphicsSceneMouseEvent event)''' 4012 def changeEvent(self, event): 4013 '''void Plasma.ComboBox.changeEvent(QEvent event)''' 4014 def focusOutEvent(self, event): 4015 '''void Plasma.ComboBox.focusOutEvent(QFocusEvent event)''' 4016 def focusInEvent(self, event): 4017 '''void Plasma.ComboBox.focusInEvent(QFocusEvent event)''' 4018 def setNativeWidget(self, nativeWidget): 4019 '''void Plasma.ComboBox.setNativeWidget(KComboBox nativeWidget)''' 4020 textChanged = pyqtSignal() # void textChanged(const QStringamp;) - signal 4021 def hoverLeaveEvent(self, event): 4022 '''void Plasma.ComboBox.hoverLeaveEvent(QGraphicsSceneHoverEvent event)''' 4023 def hoverEnterEvent(self, event): 4024 '''void Plasma.ComboBox.hoverEnterEvent(QGraphicsSceneHoverEvent event)''' 4025 def paint(self, painter, option, widget): 4026 '''void Plasma.ComboBox.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget)''' 4027 def resizeEvent(self, event): 4028 '''void Plasma.ComboBox.resizeEvent(QGraphicsSceneResizeEvent event)''' 4029 activated = pyqtSignal() # void activated(const QStringamp;) - signal 4030 def clear(self): 4031 '''void Plasma.ComboBox.clear()''' 4032 def addItem(self, text): 4033 '''void Plasma.ComboBox.addItem(QString text)''' 4034 def nativeWidget(self): 4035 '''KComboBox Plasma.ComboBox.nativeWidget()''' 4036 return KComboBox() 4037 def styleSheet(self): 4038 '''QString Plasma.ComboBox.styleSheet()''' 4039 return QString() 4040 def setStyleSheet(self, stylesheet): 4041 '''void Plasma.ComboBox.setStyleSheet(QString stylesheet)''' 4042 def text(self): 4043 '''QString Plasma.ComboBox.text()''' 4044 return QString() 4045 class TextBrowser(QGraphicsProxyWidget): 4046 """""" 4047 def __init__(self, parent = None): 4048 '''void Plasma.TextBrowser.__init__(QGraphicsWidget parent = None)''' 4049 def append(self, text): 4050 '''void Plasma.TextBrowser.append(QString text)''' 4051 def contextMenuEvent(self, event): 4052 '''void Plasma.TextBrowser.contextMenuEvent(QGraphicsSceneContextMenuEvent event)''' 4053 def changeEvent(self, event): 4054 '''void Plasma.TextBrowser.changeEvent(QEvent event)''' 4055 def wheelEvent(self, event): 4056 '''void Plasma.TextBrowser.wheelEvent(QGraphicsSceneWheelEvent event)''' 4057 def resizeEvent(self, event): 4058 '''void Plasma.TextBrowser.resizeEvent(QGraphicsSceneResizeEvent event)''' 4059 textChanged = pyqtSignal() # void textChanged() - signal 4060 def dataUpdated(self, sourceName, data): 4061 '''void Plasma.TextBrowser.dataUpdated(QString sourceName, dict-of-QString-QVariant data)''' 4062 def nativeWidget(self): 4063 '''KTextBrowser Plasma.TextBrowser.nativeWidget()''' 4064 return KTextBrowser() 4065 def styleSheet(self): 4066 '''QString Plasma.TextBrowser.styleSheet()''' 4067 return QString() 4068 def setStyleSheet(self, stylesheet): 4069 '''void Plasma.TextBrowser.setStyleSheet(QString stylesheet)''' 4070 def setVerticalScrollBarPolicy(self, policy): 4071 '''void Plasma.TextBrowser.setVerticalScrollBarPolicy(Qt.ScrollBarPolicy policy)''' 4072 def setHorizontalScrollBarPolicy(self, policy): 4073 '''void Plasma.TextBrowser.setHorizontalScrollBarPolicy(Qt.ScrollBarPolicy policy)''' 4074 def text(self): 4075 '''QString Plasma.TextBrowser.text()''' 4076 return QString() 4077 def setText(self, text): 4078 '''void Plasma.TextBrowser.setText(QString text)''' 4079 class Containment(Plasma.Applet): 4080 """""" 4081 # Enum Plasma.Containment.Type 4082 NoContainmentType = 0 4083 DesktopContainment = 0 4084 PanelContainment = 0 4085 CustomContainment = 0 4086 CustomPanelContainment = 0 4087 4088 def __init__(self, parent = None, serviceId = QString(), containmentId = 0): 4089 '''void Plasma.Containment.__init__(QGraphicsItem parent = None, QString serviceId = QString(), int containmentId = 0)''' 4090 def __init__(self, parent, args): 4091 '''void Plasma.Containment.__init__(QObject parent, list-of-QVariant args)''' 4092 def configChanged(self): 4093 '''void Plasma.Containment.configChanged()''' 4094 def containmentActionsConfig(self): 4095 '''KConfigGroup Plasma.Containment.containmentActionsConfig()''' 4096 return KConfigGroup() 4097 def isToolBoxOpen(self): 4098 '''bool Plasma.Containment.isToolBoxOpen()''' 4099 return bool() 4100 def lastDesktop(self): 4101 '''int Plasma.Containment.lastDesktop()''' 4102 return int() 4103 def lastScreen(self): 4104 '''int Plasma.Containment.lastScreen()''' 4105 return int() 4106 def context(self): 4107 '''Plasma.Context Plasma.Containment.context()''' 4108 return Plasma.Context() 4109 def toolBox(self): 4110 '''Plasma.AbstractToolBox Plasma.Containment.toolBox()''' 4111 return Plasma.AbstractToolBox() 4112 def setToolBox(self, toolBox): 4113 '''void Plasma.Containment.setToolBox(Plasma.AbstractToolBox toolBox)''' 4114 def dragLeaveEvent(self, event): 4115 '''void Plasma.Containment.dragLeaveEvent(QGraphicsSceneDragDropEvent event)''' 4116 def containmentActions(self, trigger): 4117 '''QString Plasma.Containment.containmentActions(QString trigger)''' 4118 return QString() 4119 def containmentActionsTriggers(self): 4120 '''QStringList Plasma.Containment.containmentActionsTriggers()''' 4121 return QStringList() 4122 def setContainmentActions(self, trigger, pluginName): 4123 '''void Plasma.Containment.setContainmentActions(QString trigger, QString pluginName)''' 4124 def itemChange(self, change, value): 4125 '''QVariant Plasma.Containment.itemChange(QGraphicsItem.GraphicsItemChange change, QVariant value)''' 4126 return QVariant() 4127 def toolBoxItem(self): 4128 '''QGraphicsItem Plasma.Containment.toolBoxItem()''' 4129 return QGraphicsItem() 4130 def resizeEvent(self, event): 4131 '''void Plasma.Containment.resizeEvent(QGraphicsSceneResizeEvent event)''' 4132 def dropEvent(self, event): 4133 '''void Plasma.Containment.dropEvent(QGraphicsSceneDragDropEvent event)''' 4134 def dragMoveEvent(self, event): 4135 '''void Plasma.Containment.dragMoveEvent(QGraphicsSceneDragDropEvent event)''' 4136 def dragEnterEvent(self, event): 4137 '''void Plasma.Containment.dragEnterEvent(QGraphicsSceneDragDropEvent event)''' 4138 def sceneEventFilter(self, watched, event): 4139 '''bool Plasma.Containment.sceneEventFilter(QGraphicsItem watched, QEvent event)''' 4140 return bool() 4141 def wheelEvent(self, event): 4142 '''void Plasma.Containment.wheelEvent(QGraphicsSceneWheelEvent event)''' 4143 def keyPressEvent(self, event): 4144 '''void Plasma.Containment.keyPressEvent(QKeyEvent event)''' 4145 def contextMenuEvent(self, event): 4146 '''void Plasma.Containment.contextMenuEvent(QGraphicsSceneContextMenuEvent event)''' 4147 def mouseReleaseEvent(self, event): 4148 '''void Plasma.Containment.mouseReleaseEvent(QGraphicsSceneMouseEvent event)''' 4149 def mousePressEvent(self, event): 4150 '''void Plasma.Containment.mousePressEvent(QGraphicsSceneMouseEvent event)''' 4151 def mouseMoveEvent(self, event): 4152 '''void Plasma.Containment.mouseMoveEvent(QGraphicsSceneMouseEvent event)''' 4153 def restoreContents(self, group): 4154 '''void Plasma.Containment.restoreContents(KConfigGroup group)''' 4155 def saveContents(self, group): 4156 '''void Plasma.Containment.saveContents(KConfigGroup group)''' 4157 def setDrawWallpaper(self, drawWallpaper): 4158 '''void Plasma.Containment.setDrawWallpaper(bool drawWallpaper)''' 4159 def setContainmentType(self, type): 4160 '''void Plasma.Containment.setContainmentType(Plasma.Containment.Type type)''' 4161 def showConfigurationInterface(self): 4162 '''void Plasma.Containment.showConfigurationInterface()''' 4163 def destroy(self): 4164 '''void Plasma.Containment.destroy()''' 4165 def destroy(self, confirm): 4166 '''void Plasma.Containment.destroy(bool confirm)''' 4167 def focusPreviousApplet(self): 4168 '''void Plasma.Containment.focusPreviousApplet()''' 4169 def focusNextApplet(self): 4170 '''void Plasma.Containment.focusNextApplet()''' 4171 def setFormFactor(self, formFactor): 4172 '''void Plasma.Containment.setFormFactor(Plasma.FormFactor formFactor)''' 4173 def setLocation(self, location): 4174 '''void Plasma.Containment.setLocation(Plasma.Location location)''' 4175 contextChanged = pyqtSignal() # void contextChanged(Plasma::Context *) - signal 4176 configureRequested = pyqtSignal() # void configureRequested(Plasma::Containment *) - signal 4177 screenChanged = pyqtSignal() # void screenChanged(int,int,Plasma::Containment *) - signal 4178 showAddWidgetsInterface = pyqtSignal() # void showAddWidgetsInterface(const QPointFamp;) - signal 4179 addSiblingContainment = pyqtSignal() # void addSiblingContainment(Plasma::Containment *) - signal 4180 def addSiblingContainment(self): 4181 '''void Plasma.Containment.addSiblingContainment()''' 4182 toolBoxVisibilityChanged = pyqtSignal() # void toolBoxVisibilityChanged(bool) - signal 4183 toolBoxToggled = pyqtSignal() # void toolBoxToggled() - signal 4184 zoomRequested = pyqtSignal() # void zoomRequested(Plasma::Containment *,Plasma::ZoomDirection) - signal 4185 appletRemoved = pyqtSignal() # void appletRemoved(Plasma::Applet *) - signal 4186 appletAdded = pyqtSignal() # void appletAdded(Plasma::Applet *,const QPointFamp;) - signal 4187 def showDropZone(self, pos): 4188 '''void Plasma.Containment.showDropZone(QPoint pos)''' 4189 def showContextMenu(self, containmentPos, screenPos): 4190 '''void Plasma.Containment.showContextMenu(QPointF containmentPos, QPoint screenPos)''' 4191 def activity(self): 4192 '''QString Plasma.Containment.activity()''' 4193 return QString() 4194 def setActivity(self, activity): 4195 '''void Plasma.Containment.setActivity(QString activity)''' 4196 def wallpaper(self): 4197 '''Plasma.Wallpaper Plasma.Containment.wallpaper()''' 4198 return Plasma.Wallpaper() 4199 def setWallpaper(self, pluginName, mode = QString()): 4200 '''void Plasma.Containment.setWallpaper(QString pluginName, QString mode = QString())''' 4201 def drawWallpaper(self): 4202 '''bool Plasma.Containment.drawWallpaper()''' 4203 return bool() 4204 def removeAssociatedWidget(self, widget): 4205 '''void Plasma.Containment.removeAssociatedWidget(QWidget widget)''' 4206 def addAssociatedWidget(self, widget): 4207 '''void Plasma.Containment.addAssociatedWidget(QWidget widget)''' 4208 def closeToolBox(self): 4209 '''void Plasma.Containment.closeToolBox()''' 4210 def openToolBox(self): 4211 '''void Plasma.Containment.openToolBox()''' 4212 def setToolBoxOpen(self, open): 4213 '''void Plasma.Containment.setToolBoxOpen(bool open)''' 4214 def removeToolBoxAction(self, action): 4215 '''void Plasma.Containment.removeToolBoxAction(QAction action)''' 4216 def addToolBoxAction(self, action): 4217 '''void Plasma.Containment.addToolBoxAction(QAction action)''' 4218 def enableAction(self, name, enable): 4219 '''void Plasma.Containment.enableAction(QString name, bool enable)''' 4220 def restore(self, group): 4221 '''void Plasma.Containment.restore(KConfigGroup group)''' 4222 def save(self, group): 4223 '''void Plasma.Containment.save(KConfigGroup group)''' 4224 def desktop(self): 4225 '''int Plasma.Containment.desktop()''' 4226 return int() 4227 def screen(self): 4228 '''int Plasma.Containment.screen()''' 4229 return int() 4230 def setScreen(self, screen, desktop = None): 4231 '''void Plasma.Containment.setScreen(int screen, int desktop = -1)''' 4232 def clearApplets(self): 4233 '''void Plasma.Containment.clearApplets()''' 4234 def applets(self): 4235 '''list-of-Plasma.Applet Plasma.Containment.applets()''' 4236 return [Plasma.Applet()] 4237 def addApplet(self, name, args = QVariantList(), geometry = None): 4238 '''Plasma.Applet Plasma.Containment.addApplet(QString name, list-of-QVariant args = QVariantList(), QRectF geometry = QRectF(-1,-1,-1,-1))''' 4239 return Plasma.Applet() 4240 def addApplet(self, applet, pos = None, dontInit = True): 4241 '''void Plasma.Containment.addApplet(Plasma.Applet applet, QPointF pos = QPointF(-1,-1), bool dontInit = True)''' 4242 def listContainmentsForMimetype(self, mimetype): 4243 '''static list-of-KPluginInfo Plasma.Containment.listContainmentsForMimetype(QString mimetype)''' 4244 return [KPluginInfo()] 4245 def listContainmentTypes(self): 4246 '''static QStringList Plasma.Containment.listContainmentTypes()''' 4247 return QStringList() 4248 def listContainmentsOfType(self, type, category = QString(), parentApp = QString()): 4249 '''static list-of-KPluginInfo Plasma.Containment.listContainmentsOfType(QString type, QString category = QString(), QString parentApp = QString())''' 4250 return [KPluginInfo()] 4251 def listContainments(self, category = QString(), parentApp = QString()): 4252 '''static list-of-KPluginInfo Plasma.Containment.listContainments(QString category = QString(), QString parentApp = QString())''' 4253 return [KPluginInfo()] 4254 def corona(self): 4255 '''Plasma.Corona Plasma.Containment.corona()''' 4256 return Plasma.Corona() 4257 def containmentType(self): 4258 '''Plasma.Containment.Type Plasma.Containment.containmentType()''' 4259 return Plasma.Containment.Type() 4260 def init(self): 4261 '''void Plasma.Containment.init()''' 4262 class AuthorizationInterface(): 4263 """""" 4264 def __init__(self): 4265 '''void Plasma.AuthorizationInterface.__init__()''' 4266 def __init__(self): 4267 '''Plasma.AuthorizationInterface Plasma.AuthorizationInterface.__init__()''' 4268 return Plasma.AuthorizationInterface() 4269 def clientPinRequest(self, request): 4270 '''abstract void Plasma.AuthorizationInterface.clientPinRequest(Plasma.ClientPinRequest request)''' 4271 def authorizationRequest(self, rule): 4272 '''abstract void Plasma.AuthorizationInterface.authorizationRequest(Plasma.AuthorizationRule rule)''' 4273 class Label(QGraphicsProxyWidget): 4274 """""" 4275 def __init__(self, parent = None): 4276 '''void Plasma.Label.__init__(QGraphicsWidget parent = None)''' 4277 def sizeHint(self, which, constraint): 4278 '''QSizeF Plasma.Label.sizeHint(Qt.SizeHint which, QSizeF constraint)''' 4279 return QSizeF() 4280 def itemChange(self, change, value): 4281 '''QVariant Plasma.Label.itemChange(QGraphicsItem.GraphicsItemChange change, QVariant value)''' 4282 return QVariant() 4283 def mouseMoveEvent(self, event): 4284 '''void Plasma.Label.mouseMoveEvent(QGraphicsSceneMouseEvent event)''' 4285 def wordWrap(self): 4286 '''bool Plasma.Label.wordWrap()''' 4287 return bool() 4288 def setWordWrap(self, wrap): 4289 '''void Plasma.Label.setWordWrap(bool wrap)''' 4290 def contextMenuEvent(self, event): 4291 '''void Plasma.Label.contextMenuEvent(QGraphicsSceneContextMenuEvent event)''' 4292 def event(self, event): 4293 '''bool Plasma.Label.event(QEvent event)''' 4294 return bool() 4295 def changeEvent(self, event): 4296 '''void Plasma.Label.changeEvent(QEvent event)''' 4297 def paint(self, painter, option, widget): 4298 '''void Plasma.Label.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget)''' 4299 def mousePressEvent(self, event): 4300 '''void Plasma.Label.mousePressEvent(QGraphicsSceneMouseEvent event)''' 4301 def textSelectable(self): 4302 '''bool Plasma.Label.textSelectable()''' 4303 return bool() 4304 def setTextSelectable(self, enable): 4305 '''void Plasma.Label.setTextSelectable(bool enable)''' 4306 def resizeEvent(self, event): 4307 '''void Plasma.Label.resizeEvent(QGraphicsSceneResizeEvent event)''' 4308 def dataUpdated(self, sourceName, data): 4309 '''void Plasma.Label.dataUpdated(QString sourceName, dict-of-QString-QVariant data)''' 4310 linkHovered = pyqtSignal() # void linkHovered(const QStringamp;) - signal 4311 linkActivated = pyqtSignal() # void linkActivated(const QStringamp;) - signal 4312 def nativeWidget(self): 4313 '''QLabel Plasma.Label.nativeWidget()''' 4314 return QLabel() 4315 def styleSheet(self): 4316 '''QString Plasma.Label.styleSheet()''' 4317 return QString() 4318 def setStyleSheet(self, stylesheet): 4319 '''void Plasma.Label.setStyleSheet(QString stylesheet)''' 4320 def hasScaledContents(self): 4321 '''bool Plasma.Label.hasScaledContents()''' 4322 return bool() 4323 def setScaledContents(self, scaled): 4324 '''void Plasma.Label.setScaledContents(bool scaled)''' 4325 def alignment(self): 4326 '''Qt.Alignment Plasma.Label.alignment()''' 4327 return Qt.Alignment() 4328 def setAlignment(self, alignment): 4329 '''void Plasma.Label.setAlignment(Qt.Alignment alignment)''' 4330 def image(self): 4331 '''QString Plasma.Label.image()''' 4332 return QString() 4333 def setImage(self, path): 4334 '''void Plasma.Label.setImage(QString path)''' 4335 def text(self): 4336 '''QString Plasma.Label.text()''' 4337 return QString() 4338 def setText(self, text): 4339 '''void Plasma.Label.setText(QString text)''' 4340 class Service(QObject): 4341 """""" 4342 def __init__(self, parent = None): 4343 '''void Plasma.Service.__init__(QObject parent = None)''' 4344 def __init__(self, parent, args): 4345 '''void Plasma.Service.__init__(QObject parent, list-of-QVariant args)''' 4346 serviceReady = pyqtSignal() # void serviceReady(Plasma::Service *) - signal 4347 def parametersFromDescription(self, description): 4348 '''dict-of-QString-QVariant Plasma.Service.parametersFromDescription(KConfigGroup description)''' 4349 return dict-of-QString-QVariant() 4350 def access(self, url, parent = None): 4351 '''static Plasma.Service Plasma.Service.access(KUrl url, QObject parent = None)''' 4352 return Plasma.Service() 4353 def setOperationEnabled(self, operation, enable): 4354 '''void Plasma.Service.setOperationEnabled(QString operation, bool enable)''' 4355 def setName(self, name): 4356 '''void Plasma.Service.setName(QString name)''' 4357 def setOperationsScheme(self, xml): 4358 '''void Plasma.Service.setOperationsScheme(QIODevice xml)''' 4359 def registerOperationsScheme(self): 4360 '''void Plasma.Service.registerOperationsScheme()''' 4361 def createJob(self, operation, parameters): 4362 '''abstract Plasma.ServiceJob Plasma.Service.createJob(QString operation, dict-of-QString-QVariant parameters)''' 4363 return Plasma.ServiceJob() 4364 operationsChanged = pyqtSignal() # void operationsChanged() - signal 4365 finished = pyqtSignal() # void finished(Plasma::ServiceJob *) - signal 4366 def disassociateWidget(self, widget): 4367 '''void Plasma.Service.disassociateWidget(QWidget widget)''' 4368 def disassociateWidget(self, widget): 4369 '''void Plasma.Service.disassociateWidget(QGraphicsWidget widget)''' 4370 def associateWidget(self, widget, operation): 4371 '''void Plasma.Service.associateWidget(QWidget widget, QString operation)''' 4372 def associateWidget(self, widget, operation): 4373 '''void Plasma.Service.associateWidget(QGraphicsWidget widget, QString operation)''' 4374 def name(self): 4375 '''QString Plasma.Service.name()''' 4376 return QString() 4377 def isOperationEnabled(self, operation): 4378 '''bool Plasma.Service.isOperationEnabled(QString operation)''' 4379 return bool() 4380 def startOperationCall(self, description, parent = None): 4381 '''Plasma.ServiceJob Plasma.Service.startOperationCall(KConfigGroup description, QObject parent = None)''' 4382 return Plasma.ServiceJob() 4383 def operationDescription(self, operationName): 4384 '''KConfigGroup Plasma.Service.operationDescription(QString operationName)''' 4385 return KConfigGroup() 4386 def operationNames(self): 4387 '''QStringList Plasma.Service.operationNames()''' 4388 return QStringList() 4389 def destination(self): 4390 '''QString Plasma.Service.destination()''' 4391 return QString() 4392 def setDestination(self, destination): 4393 '''void Plasma.Service.setDestination(QString destination)''' 4394 def load(self, name, parent = None): 4395 '''static Plasma.Service Plasma.Service.load(QString name, QObject parent = None)''' 4396 return Plasma.Service() 4397 def load(self, name, args, parent = None): 4398 '''static Plasma.Service Plasma.Service.load(QString name, list-of-QVariant args, QObject parent = None)''' 4399 return Plasma.Service() 4400 class AccessAppletJob(KJob): 4401 """""" 4402 def __init__(self, location, parent = None): 4403 '''void Plasma.AccessAppletJob.__init__(KUrl location, QObject parent = None)''' 4404 def start(self): 4405 '''void Plasma.AccessAppletJob.start()''' 4406 def applet(self): 4407 '''Plasma.Applet Plasma.AccessAppletJob.applet()''' 4408 return Plasma.Applet() 4409 class DataEngineScript(Plasma.ScriptEngine): 4410 """""" 4411 def __init__(self, parent = None): 4412 '''void Plasma.DataEngineScript.__init__(QObject parent = None)''' 4413 def description(self): 4414 '''KPluginInfo Plasma.DataEngineScript.description()''' 4415 return KPluginInfo() 4416 def forceImmediateUpdateOfAllVisualizations(self): 4417 '''void Plasma.DataEngineScript.forceImmediateUpdateOfAllVisualizations()''' 4418 def updateAllSources(self): 4419 '''void Plasma.DataEngineScript.updateAllSources()''' 4420 def removeSource(self, source): 4421 '''void Plasma.DataEngineScript.removeSource(QString source)''' 4422 def scheduleSourcesUpdated(self): 4423 '''void Plasma.DataEngineScript.scheduleSourcesUpdated()''' 4424 def setIcon(self, icon): 4425 '''void Plasma.DataEngineScript.setIcon(QString icon)''' 4426 def setName(self, name): 4427 '''void Plasma.DataEngineScript.setName(QString name)''' 4428 def containerDict(self): 4429 '''unknown-type Plasma.DataEngineScript.containerDict()''' 4430 return unknown-type() 4431 def addSource(self, source): 4432 '''void Plasma.DataEngineScript.addSource(Plasma.DataContainer source)''' 4433 def removeAllSources(self): 4434 '''void Plasma.DataEngineScript.removeAllSources()''' 4435 def setPollingInterval(self, frequency): 4436 '''void Plasma.DataEngineScript.setPollingInterval(int frequency)''' 4437 def minimumPollingInterval(self): 4438 '''int Plasma.DataEngineScript.minimumPollingInterval()''' 4439 return int() 4440 def setMinimumPollingInterval(self, minimumMs): 4441 '''void Plasma.DataEngineScript.setMinimumPollingInterval(int minimumMs)''' 4442 def setMaxSourceCount(self, limit): 4443 '''void Plasma.DataEngineScript.setMaxSourceCount(int limit)''' 4444 def removeData(self, source, key): 4445 '''void Plasma.DataEngineScript.removeData(QString source, QString key)''' 4446 def removeAllData(self, source): 4447 '''void Plasma.DataEngineScript.removeAllData(QString source)''' 4448 def setData(self, source, key, value): 4449 '''void Plasma.DataEngineScript.setData(QString source, QString key, QVariant value)''' 4450 def setData(self, source, value): 4451 '''void Plasma.DataEngineScript.setData(QString source, QVariant value)''' 4452 def setData(self, source, values): 4453 '''void Plasma.DataEngineScript.setData(QString source, dict-of-QString-QVariant values)''' 4454 def package(self): 4455 '''Plasma.Package Plasma.DataEngineScript.package()''' 4456 return Plasma.Package() 4457 def mainScript(self): 4458 '''QString Plasma.DataEngineScript.mainScript()''' 4459 return QString() 4460 def serviceForSource(self, source): 4461 '''Plasma.Service Plasma.DataEngineScript.serviceForSource(QString source)''' 4462 return Plasma.Service() 4463 def updateSourceEvent(self, source): 4464 '''bool Plasma.DataEngineScript.updateSourceEvent(QString source)''' 4465 return bool() 4466 def sourceRequestEvent(self, name): 4467 '''bool Plasma.DataEngineScript.sourceRequestEvent(QString name)''' 4468 return bool() 4469 def sources(self): 4470 '''QStringList Plasma.DataEngineScript.sources()''' 4471 return QStringList() 4472 def dataEngine(self): 4473 '''Plasma.DataEngine Plasma.DataEngineScript.dataEngine()''' 4474 return Plasma.DataEngine() 4475 def setDataEngine(self, dataEngine): 4476 '''void Plasma.DataEngineScript.setDataEngine(Plasma.DataEngine dataEngine)''' 4477 class ScriptEngine(QObject): 4478 """""" 4479 def __init__(self, parent = None): 4480 '''void Plasma.ScriptEngine.__init__(QObject parent = None)''' 4481 def package(self): 4482 '''Plasma.Package Plasma.ScriptEngine.package()''' 4483 return Plasma.Package() 4484 def mainScript(self): 4485 '''QString Plasma.ScriptEngine.mainScript()''' 4486 return QString() 4487 def init(self): 4488 '''bool Plasma.ScriptEngine.init()''' 4489 return bool() 4490 class ConfigLoader(KConfigSkeleton): 4491 """""" 4492 def __init__(self, configFile, xml, parent = None): 4493 '''void Plasma.ConfigLoader.__init__(QString configFile, QIODevice xml, QObject parent = None)''' 4494 def __init__(self, config, xml, parent = None): 4495 '''void Plasma.ConfigLoader.__init__(KSharedConfigPtr config, QIODevice xml, QObject parent = None)''' 4496 def __init__(self, config, xml, parent = None): 4497 '''void Plasma.ConfigLoader.__init__(KConfigGroup config, QIODevice xml, QObject parent = None)''' 4498 def usrWriteConfig(self): 4499 '''void Plasma.ConfigLoader.usrWriteConfig()''' 4500 def groupList(self): 4501 '''QStringList Plasma.ConfigLoader.groupList()''' 4502 return QStringList() 4503 def hasGroup(self, group): 4504 '''bool Plasma.ConfigLoader.hasGroup(QString group)''' 4505 return bool() 4506 def property(self, name): 4507 '''QVariant Plasma.ConfigLoader.property(QString name)''' 4508 return QVariant() 4509 def findItemByName(self, name): 4510 '''KConfigSkeletonItem Plasma.ConfigLoader.findItemByName(QString name)''' 4511 return KConfigSkeletonItem() 4512 def findItem(self, group, key): 4513 '''KConfigSkeletonItem Plasma.ConfigLoader.findItem(QString group, QString key)''' 4514 return KConfigSkeletonItem() 4515 class WindowEffects(): 4516 """""" 4517 # Enum Plasma.WindowEffects.Effect 4518 Slide = 0 4519 WindowPreview = 0 4520 PresentWindows = 0 4521 PresentWindowsGroup = 0 4522 HighlightWindows = 0 4523 OverrideShadow = 0 4524 BlurBehind = 0 4525 Dashboard = 0 4526 4527 def markAsDashboard(self, window): 4528 '''static void Plasma.WindowEffects.markAsDashboard(int window)''' 4529 def enableBlurBehind(self, window, enable = True, region = QRegion()): 4530 '''static void Plasma.WindowEffects.enableBlurBehind(int window, bool enable = True, QRegion region = QRegion())''' 4531 def overrideShadow(self, window, override): 4532 '''static void Plasma.WindowEffects.overrideShadow(int window, bool override)''' 4533 def highlightWindows(self, controller, ids): 4534 '''static void Plasma.WindowEffects.highlightWindows(int controller, unknown-type ids)''' 4535 def presentWindows(self, controller, ids): 4536 '''static void Plasma.WindowEffects.presentWindows(int controller, unknown-type ids)''' 4537 def presentWindows(self, controller, desktop = None): 4538 '''static void Plasma.WindowEffects.presentWindows(int controller, int desktop = -1)''' 4539 def showWindowThumbnails(self, parent, windows = None, rects = None): 4540 '''static void Plasma.WindowEffects.showWindowThumbnails(int parent, unknown-type windows = QListlt;WIdgt;(), list-of-QRect rects = QListlt;QRectgt;())''' 4541 def windowSizes(self, ids): 4542 '''static list-of-QSize Plasma.WindowEffects.windowSizes(unknown-type ids)''' 4543 return [QSize()] 4544 def slideWindow(self, id, location, offset): 4545 '''static void Plasma.WindowEffects.slideWindow(int id, Plasma.Location location, int offset)''' 4546 def slideWindow(self, widget, location): 4547 '''static void Plasma.WindowEffects.slideWindow(QWidget widget, Plasma.Location location)''' 4548 def isEffectAvailable(self, effect): 4549 '''static bool Plasma.WindowEffects.isEffectAvailable(Plasma.WindowEffects.Effect effect)''' 4550 return bool() 4551 class ContainmentActions(QObject): 4552 """""" 4553 def __init__(self, parent = None): 4554 '''void Plasma.ContainmentActions.__init__(QObject parent = None)''' 4555 def __init__(self, parent, args): 4556 '''void Plasma.ContainmentActions.__init__(QObject parent, list-of-QVariant args)''' 4557 def setContainment(self, newContainment): 4558 '''void Plasma.ContainmentActions.setContainment(Plasma.Containment newContainment)''' 4559 def popupPosition(self, s, event): 4560 '''QPoint Plasma.ContainmentActions.popupPosition(QSize s, QEvent event)''' 4561 return QPoint() 4562 def paste(self, scenePos, screenPos): 4563 '''void Plasma.ContainmentActions.paste(QPointF scenePos, QPoint screenPos)''' 4564 def containment(self): 4565 '''Plasma.Containment Plasma.ContainmentActions.containment()''' 4566 return Plasma.Containment() 4567 def setConfigurationRequired(self, needsConfiguring = True): 4568 '''void Plasma.ContainmentActions.setConfigurationRequired(bool needsConfiguring = True)''' 4569 def init(self, config): 4570 '''void Plasma.ContainmentActions.init(KConfigGroup config)''' 4571 def event(self, e): 4572 '''bool Plasma.ContainmentActions.event(QEvent e)''' 4573 return bool() 4574 def eventToString(self, event): 4575 '''static QString Plasma.ContainmentActions.eventToString(QEvent event)''' 4576 return QString() 4577 def configurationRequired(self): 4578 '''bool Plasma.ContainmentActions.configurationRequired()''' 4579 return bool() 4580 def dataEngine(self, name): 4581 '''Plasma.DataEngine Plasma.ContainmentActions.dataEngine(QString name)''' 4582 return Plasma.DataEngine() 4583 def contextualActions(self): 4584 '''list-of-QAction Plasma.ContainmentActions.contextualActions()''' 4585 return [QAction()] 4586 def contextEvent(self, event): 4587 '''void Plasma.ContainmentActions.contextEvent(QEvent event)''' 4588 def configurationAccepted(self): 4589 '''void Plasma.ContainmentActions.configurationAccepted()''' 4590 def createConfigurationInterface(self, parent): 4591 '''QWidget Plasma.ContainmentActions.createConfigurationInterface(QWidget parent)''' 4592 return QWidget() 4593 def save(self, config): 4594 '''void Plasma.ContainmentActions.save(KConfigGroup config)''' 4595 def restore(self, config): 4596 '''void Plasma.ContainmentActions.restore(KConfigGroup config)''' 4597 def isInitialized(self): 4598 '''bool Plasma.ContainmentActions.isInitialized()''' 4599 return bool() 4600 def icon(self): 4601 '''QString Plasma.ContainmentActions.icon()''' 4602 return QString() 4603 def pluginName(self): 4604 '''QString Plasma.ContainmentActions.pluginName()''' 4605 return QString() 4606 def name(self): 4607 '''QString Plasma.ContainmentActions.name()''' 4608 return QString() 4609 def packageStructure(self): 4610 '''static unknown-type Plasma.ContainmentActions.packageStructure()''' 4611 return unknown-type() 4612 def load(self, parent, name, args = QVariantList()): 4613 '''static Plasma.ContainmentActions Plasma.ContainmentActions.load(Plasma.Containment parent, QString name, list-of-QVariant args = QVariantList())''' 4614 return Plasma.ContainmentActions() 4615 def load(self, parent, info, args = QVariantList()): 4616 '''static Plasma.ContainmentActions Plasma.ContainmentActions.load(Plasma.Containment parent, KPluginInfo info, list-of-QVariant args = QVariantList())''' 4617 return Plasma.ContainmentActions() 4618 def listContainmentActionsInfo(self): 4619 '''static list-of-KPluginInfo Plasma.ContainmentActions.listContainmentActionsInfo()''' 4620 return [KPluginInfo()] 4621 class IconWidget(QGraphicsWidget): 4622 """""" 4623 def __init__(self, parent = None): 4624 '''void Plasma.IconWidget.__init__(QGraphicsItem parent = None)''' 4625 def __init__(self, text, parent = None): 4626 '''void Plasma.IconWidget.__init__(QString text, QGraphicsItem parent = None)''' 4627 def __init__(self, icon, text, parent = None): 4628 '''void Plasma.IconWidget.__init__(QIcon icon, QString text, QGraphicsItem parent = None)''' 4629 def maximumIconSize(self): 4630 '''QSizeF Plasma.IconWidget.maximumIconSize()''' 4631 return QSizeF() 4632 def setMaximumIconSize(self, size): 4633 '''void Plasma.IconWidget.setMaximumIconSize(QSizeF size)''' 4634 def minimumIconSize(self): 4635 '''QSizeF Plasma.IconWidget.minimumIconSize()''' 4636 return QSizeF() 4637 def setMinimumIconSize(self, size): 4638 '''void Plasma.IconWidget.setMinimumIconSize(QSizeF size)''' 4639 def preferredIconSize(self): 4640 '''QSizeF Plasma.IconWidget.preferredIconSize()''' 4641 return QSizeF() 4642 def setPreferredIconSize(self, size): 4643 '''void Plasma.IconWidget.setPreferredIconSize(QSizeF size)''' 4644 def changeEvent(self, event): 4645 '''void Plasma.IconWidget.changeEvent(QEvent event)''' 4646 def sizeHint(self, which, constraint = QSizeF()): 4647 '''QSizeF Plasma.IconWidget.sizeHint(Qt.SizeHint which, QSizeF constraint = QSizeF())''' 4648 return QSizeF() 4649 def drawActionButtonBase(self, painter, size, element): 4650 '''void Plasma.IconWidget.drawActionButtonBase(QPainter painter, QSize size, int element)''' 4651 def sceneEventFilter(self, watched, event): 4652 '''bool Plasma.IconWidget.sceneEventFilter(QGraphicsItem watched, QEvent event)''' 4653 return bool() 4654 def hoverLeaveEvent(self, event): 4655 '''void Plasma.IconWidget.hoverLeaveEvent(QGraphicsSceneHoverEvent event)''' 4656 def hoverEnterEvent(self, event): 4657 '''void Plasma.IconWidget.hoverEnterEvent(QGraphicsSceneHoverEvent event)''' 4658 def mouseDoubleClickEvent(self, event): 4659 '''void Plasma.IconWidget.mouseDoubleClickEvent(QGraphicsSceneMouseEvent event)''' 4660 def mouseReleaseEvent(self, event): 4661 '''void Plasma.IconWidget.mouseReleaseEvent(QGraphicsSceneMouseEvent event)''' 4662 def mouseMoveEvent(self, event): 4663 '''void Plasma.IconWidget.mouseMoveEvent(QGraphicsSceneMouseEvent event)''' 4664 def mousePressEvent(self, event): 4665 '''void Plasma.IconWidget.mousePressEvent(QGraphicsSceneMouseEvent event)''' 4666 def isDown(self): 4667 '''bool Plasma.IconWidget.isDown()''' 4668 return bool() 4669 changed = pyqtSignal() # void changed() - signal 4670 activated = pyqtSignal() # void activated() - signal 4671 doubleClicked = pyqtSignal() # void doubleClicked() - signal 4672 clicked = pyqtSignal() # void clicked() - signal 4673 pressed = pyqtSignal() # void pressed(bool) - signal 4674 def paint(self, painter, option, widget = None): 4675 '''void Plasma.IconWidget.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget = None)''' 4676 def setUnpressed(self): 4677 '''void Plasma.IconWidget.setUnpressed()''' 4678 def setPressed(self, pressed = True): 4679 '''void Plasma.IconWidget.setPressed(bool pressed = True)''' 4680 def shape(self): 4681 '''QPainterPath Plasma.IconWidget.shape()''' 4682 return QPainterPath() 4683 def drawBackground(self): 4684 '''bool Plasma.IconWidget.drawBackground()''' 4685 return bool() 4686 def setDrawBackground(self, draw): 4687 '''void Plasma.IconWidget.setDrawBackground(bool draw)''' 4688 def setNumDisplayLines(self, numLines): 4689 '''void Plasma.IconWidget.setNumDisplayLines(int numLines)''' 4690 def numDisplayLines(self): 4691 '''int Plasma.IconWidget.numDisplayLines()''' 4692 return int() 4693 def sizeFromIconSize(self, iconWidth): 4694 '''QSizeF Plasma.IconWidget.sizeFromIconSize(float iconWidth)''' 4695 return QSizeF() 4696 def invertedLayout(self): 4697 '''bool Plasma.IconWidget.invertedLayout()''' 4698 return bool() 4699 def invertLayout(self, invert): 4700 '''void Plasma.IconWidget.invertLayout(bool invert)''' 4701 def orientation(self): 4702 '''Qt.Orientation Plasma.IconWidget.orientation()''' 4703 return Qt.Orientation() 4704 def setOrientation(self, orientation): 4705 '''void Plasma.IconWidget.setOrientation(Qt.Orientation orientation)''' 4706 def action(self): 4707 '''QAction Plasma.IconWidget.action()''' 4708 return QAction() 4709 def setAction(self, action): 4710 '''void Plasma.IconWidget.setAction(QAction action)''' 4711 def removeIconAction(self, action): 4712 '''void Plasma.IconWidget.removeIconAction(QAction action)''' 4713 def addIconAction(self, action): 4714 '''void Plasma.IconWidget.addIconAction(QAction action)''' 4715 def iconSize(self): 4716 '''QSizeF Plasma.IconWidget.iconSize()''' 4717 return QSizeF() 4718 def setTextBackgroundColor(self, color): 4719 '''void Plasma.IconWidget.setTextBackgroundColor(QColor color)''' 4720 def textBackgroundColor(self): 4721 '''QColor Plasma.IconWidget.textBackgroundColor()''' 4722 return QColor() 4723 def setIcon(self, icon): 4724 '''void Plasma.IconWidget.setIcon(QIcon icon)''' 4725 def setIcon(self, icon): 4726 '''void Plasma.IconWidget.setIcon(QString icon)''' 4727 def icon(self): 4728 '''QIcon Plasma.IconWidget.icon()''' 4729 return QIcon() 4730 def setInfoText(self, text): 4731 '''void Plasma.IconWidget.setInfoText(QString text)''' 4732 def infoText(self): 4733 '''QString Plasma.IconWidget.infoText()''' 4734 return QString() 4735 def svg(self): 4736 '''QString Plasma.IconWidget.svg()''' 4737 return QString() 4738 def setSvg(self, svgFilePath, svgIconElement = QString()): 4739 '''void Plasma.IconWidget.setSvg(QString svgFilePath, QString svgIconElement = QString())''' 4740 def setText(self, text): 4741 '''void Plasma.IconWidget.setText(QString text)''' 4742 def text(self): 4743 '''QString Plasma.IconWidget.text()''' 4744 return QString() 4745 class SvgWidget(QGraphicsWidget): 4746 """""" 4747 def __init__(self, parent = None, wFlags = 0): 4748 '''void Plasma.SvgWidget.__init__(QGraphicsItem parent = None, Qt.WindowFlags wFlags = 0)''' 4749 def __init__(self, svg, elementID = QString(), parent = None, wFlags = 0): 4750 '''void Plasma.SvgWidget.__init__(Plasma.Svg svg, QString elementID = QString(), QGraphicsItem parent = None, Qt.WindowFlags wFlags = 0)''' 4751 def mousePressEvent(self, event): 4752 '''void Plasma.SvgWidget.mousePressEvent(QGraphicsSceneMouseEvent event)''' 4753 def sizeHint(self, which, constraint): 4754 '''QSizeF Plasma.SvgWidget.sizeHint(Qt.SizeHint which, QSizeF constraint)''' 4755 return QSizeF() 4756 def paint(self, painter, option, widget): 4757 '''void Plasma.SvgWidget.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget)''' 4758 clicked = pyqtSignal() # void clicked(Qt::MouseButton) - signal 4759 def elementID(self): 4760 '''QString Plasma.SvgWidget.elementID()''' 4761 return QString() 4762 def setElementID(self, elementID): 4763 '''void Plasma.SvgWidget.setElementID(QString elementID)''' 4764 def svg(self): 4765 '''Plasma.Svg Plasma.SvgWidget.svg()''' 4766 return Plasma.Svg() 4767 def setSvg(self, svg): 4768 '''void Plasma.SvgWidget.setSvg(Plasma.Svg svg)''' 4769 def mouseReleaseEvent(self, event): 4770 '''void Plasma.SvgWidget.mouseReleaseEvent(QGraphicsSceneMouseEvent event)''' 4771 class Wallpaper(QObject): 4772 """""" 4773 # Enum Plasma.Wallpaper.ResizeMethod 4774 ScaledResize = 0 4775 CenteredResize = 0 4776 ScaledAndCroppedResize = 0 4777 TiledResize = 0 4778 CenterTiledResize = 0 4779 MaxpectResize = 0 4780 LastResizeMethod = 0 4781 4782 def __init__(self, parent = None): 4783 '''void Plasma.Wallpaper.__init__(QObject parent = None)''' 4784 def __init__(self, parent, args): 4785 '''void Plasma.Wallpaper.__init__(QObject parent, list-of-QVariant args)''' 4786 def targetSizeHint(self): 4787 '''QSizeF Plasma.Wallpaper.targetSizeHint()''' 4788 return QSizeF() 4789 def resizeMethodHint(self): 4790 '''Plasma.Wallpaper.ResizeMethod Plasma.Wallpaper.resizeMethodHint()''' 4791 return Plasma.Wallpaper.ResizeMethod() 4792 def addUrls(self, urls): 4793 '''void Plasma.Wallpaper.addUrls(KUrl.List urls)''' 4794 def supportsMimetype(self, mimetype): 4795 '''bool Plasma.Wallpaper.supportsMimetype(QString mimetype)''' 4796 return bool() 4797 def setUrls(self, urls): 4798 '''void Plasma.Wallpaper.setUrls(KUrl.List urls)''' 4799 def setPreviewDuringConfiguration(self, preview): 4800 '''void Plasma.Wallpaper.setPreviewDuringConfiguration(bool preview)''' 4801 def needsPreviewDuringConfiguration(self): 4802 '''bool Plasma.Wallpaper.needsPreviewDuringConfiguration()''' 4803 return bool() 4804 def setPreviewing(self, previewing): 4805 '''void Plasma.Wallpaper.setPreviewing(bool previewing)''' 4806 def isPreviewing(self): 4807 '''bool Plasma.Wallpaper.isPreviewing()''' 4808 return bool() 4809 def setContextualActions(self, actions): 4810 '''void Plasma.Wallpaper.setContextualActions(list-of-QAction actions)''' 4811 urlDropped = pyqtSignal() # void urlDropped(const KUrlamp;) - signal 4812 def contextualActions(self): 4813 '''list-of-QAction Plasma.Wallpaper.contextualActions()''' 4814 return [QAction()] 4815 def package(self): 4816 '''Plasma.Package Plasma.Wallpaper.package()''' 4817 return Plasma.Package() 4818 def listWallpaperInfoForMimetype(self, mimetype, formFactor = QString()): 4819 '''static list-of-KPluginInfo Plasma.Wallpaper.listWallpaperInfoForMimetype(QString mimetype, QString formFactor = QString())''' 4820 return [KPluginInfo()] 4821 def insertIntoCache(self, key, image): 4822 '''void Plasma.Wallpaper.insertIntoCache(QString key, QImage image)''' 4823 def findInCache(self, key, image, lastModified = 0): 4824 '''bool Plasma.Wallpaper.findInCache(QString key, QImage image, int lastModified = 0)''' 4825 return bool() 4826 def setUsingRenderingCache(self, useCache): 4827 '''void Plasma.Wallpaper.setUsingRenderingCache(bool useCache)''' 4828 def render(self, sourceImagePath, size, resizeMethod = None, color = None): 4829 '''void Plasma.Wallpaper.render(QString sourceImagePath, QSize size, Plasma.Wallpaper.ResizeMethod resizeMethod = Plasma.Wallpaper.ScaledResize, QColor color = QColor(0,0,0))''' 4830 def render(self, image, size, resizeMethod = None, color = None): 4831 '''void Plasma.Wallpaper.render(QImage image, QSize size, Plasma.Wallpaper.ResizeMethod resizeMethod = Plasma.Wallpaper.ScaledResize, QColor color = QColor(0,0,0))''' 4832 def setConfigurationRequired(self, needsConfiguring, reason = QString()): 4833 '''void Plasma.Wallpaper.setConfigurationRequired(bool needsConfiguring, QString reason = QString())''' 4834 def init(self, config): 4835 '''void Plasma.Wallpaper.init(KConfigGroup config)''' 4836 renderHintsChanged = pyqtSignal() # void renderHintsChanged() - signal 4837 renderCompleted = pyqtSignal() # void renderCompleted(const QImageamp;) - signal 4838 configNeedsSaving = pyqtSignal() # void configNeedsSaving() - signal 4839 configureRequested = pyqtSignal() # void configureRequested() - signal 4840 update = pyqtSignal() # void update(const QRectFamp;) - signal 4841 def setTargetSizeHint(self, targetSize): 4842 '''void Plasma.Wallpaper.setTargetSizeHint(QSizeF targetSize)''' 4843 def setResizeMethodHint(self, resizeMethod): 4844 '''void Plasma.Wallpaper.setResizeMethodHint(Plasma.Wallpaper.ResizeMethod resizeMethod)''' 4845 def isUsingRenderingCache(self): 4846 '''bool Plasma.Wallpaper.isUsingRenderingCache()''' 4847 return bool() 4848 def configurationRequired(self): 4849 '''bool Plasma.Wallpaper.configurationRequired()''' 4850 return bool() 4851 configurationRequired = pyqtSignal() # void configurationRequired(bool) - signal 4852 def dataEngine(self, name): 4853 '''Plasma.DataEngine Plasma.Wallpaper.dataEngine(QString name)''' 4854 return Plasma.DataEngine() 4855 def wheelEvent(self, event): 4856 '''void Plasma.Wallpaper.wheelEvent(QGraphicsSceneWheelEvent event)''' 4857 def mouseReleaseEvent(self, event): 4858 '''void Plasma.Wallpaper.mouseReleaseEvent(QGraphicsSceneMouseEvent event)''' 4859 def mousePressEvent(self, event): 4860 '''void Plasma.Wallpaper.mousePressEvent(QGraphicsSceneMouseEvent event)''' 4861 def mouseMoveEvent(self, event): 4862 '''void Plasma.Wallpaper.mouseMoveEvent(QGraphicsSceneMouseEvent event)''' 4863 def createConfigurationInterface(self, parent): 4864 '''QWidget Plasma.Wallpaper.createConfigurationInterface(QWidget parent)''' 4865 return QWidget() 4866 def save(self, config): 4867 '''void Plasma.Wallpaper.save(KConfigGroup config)''' 4868 def restore(self, config): 4869 '''void Plasma.Wallpaper.restore(KConfigGroup config)''' 4870 def paint(self, painter, exposedRect): 4871 '''abstract void Plasma.Wallpaper.paint(QPainter painter, QRectF exposedRect)''' 4872 def setBoundingRect(self, boundingRect): 4873 '''void Plasma.Wallpaper.setBoundingRect(QRectF boundingRect)''' 4874 def boundingRect(self): 4875 '''QRectF Plasma.Wallpaper.boundingRect()''' 4876 return QRectF() 4877 def isInitialized(self): 4878 '''bool Plasma.Wallpaper.isInitialized()''' 4879 return bool() 4880 def listRenderingModes(self): 4881 '''list-of-KServiceAction Plasma.Wallpaper.listRenderingModes()''' 4882 return [KServiceAction()] 4883 def setRenderingMode(self, mode): 4884 '''void Plasma.Wallpaper.setRenderingMode(QString mode)''' 4885 def renderingMode(self): 4886 '''KServiceAction Plasma.Wallpaper.renderingMode()''' 4887 return KServiceAction() 4888 def icon(self): 4889 '''QString Plasma.Wallpaper.icon()''' 4890 return QString() 4891 def pluginName(self): 4892 '''QString Plasma.Wallpaper.pluginName()''' 4893 return QString() 4894 def name(self): 4895 '''QString Plasma.Wallpaper.name()''' 4896 return QString() 4897 def packageStructure(self, paper = None): 4898 '''static unknown-type Plasma.Wallpaper.packageStructure(Plasma.Wallpaper paper = None)''' 4899 return unknown-type() 4900 def load(self, name, args = QVariantList()): 4901 '''static Plasma.Wallpaper Plasma.Wallpaper.load(QString name, list-of-QVariant args = QVariantList())''' 4902 return Plasma.Wallpaper() 4903 def load(self, info, args = QVariantList()): 4904 '''static Plasma.Wallpaper Plasma.Wallpaper.load(KPluginInfo info, list-of-QVariant args = QVariantList())''' 4905 return Plasma.Wallpaper() 4906 def listWallpaperInfo(self, formFactor = QString()): 4907 '''static list-of-KPluginInfo Plasma.Wallpaper.listWallpaperInfo(QString formFactor = QString())''' 4908 return [KPluginInfo()] 4909 class Package(): 4910 """""" 4911 def __init__(self, packageRoot, package, structure): 4912 '''void Plasma.Package.__init__(QString packageRoot, QString package, unknown-type structure)''' 4913 def __init__(self, packagePath, structure): 4914 '''void Plasma.Package.__init__(QString packagePath, unknown-type structure)''' 4915 def __init__(self): 4916 '''void Plasma.Package.__init__()''' 4917 def contentsHash(self): 4918 '''QString Plasma.Package.contentsHash()''' 4919 return QString() 4920 def createPackage(self, metadata, source, destination, icon = QString()): 4921 '''static bool Plasma.Package.createPackage(Plasma.PackageMetadata metadata, QString source, QString destination, QString icon = QString())''' 4922 return bool() 4923 def registerPackage(self, data, iconPath): 4924 '''static bool Plasma.Package.registerPackage(Plasma.PackageMetadata data, QString iconPath)''' 4925 return bool() 4926 def uninstallPackage(self, package, packageRoot, servicePrefix): 4927 '''static bool Plasma.Package.uninstallPackage(QString package, QString packageRoot, QString servicePrefix)''' 4928 return bool() 4929 def installPackage(self, package, packageRoot, servicePrefix): 4930 '''static bool Plasma.Package.installPackage(QString package, QString packageRoot, QString servicePrefix)''' 4931 return bool() 4932 def listInstalledPaths(self, packageRoot): 4933 '''static QStringList Plasma.Package.listInstalledPaths(QString packageRoot)''' 4934 return QStringList() 4935 def listInstalled(self, packageRoot): 4936 '''static QStringList Plasma.Package.listInstalled(QString packageRoot)''' 4937 return QStringList() 4938 def structure(self): 4939 '''unknown-type Plasma.Package.structure()''' 4940 return unknown-type() 4941 def path(self): 4942 '''QString Plasma.Package.path()''' 4943 return QString() 4944 def setPath(self, path): 4945 '''void Plasma.Package.setPath(QString path)''' 4946 def metadata(self): 4947 '''Plasma.PackageMetadata Plasma.Package.metadata()''' 4948 return Plasma.PackageMetadata() 4949 def entryList(self, fileType): 4950 '''QStringList Plasma.Package.entryList(str fileType)''' 4951 return QStringList() 4952 def filePath(self, fileType, filename): 4953 '''QString Plasma.Package.filePath(str fileType, QString filename)''' 4954 return QString() 4955 def filePath(self, fileType): 4956 '''QString Plasma.Package.filePath(str fileType)''' 4957 return QString() 4958 def isValid(self): 4959 '''bool Plasma.Package.isValid()''' 4960 return bool() 4961 class RunnerManager(QObject): 4962 """""" 4963 def __init__(self, parent = None): 4964 '''void Plasma.RunnerManager.__init__(QObject parent = None)''' 4965 def __init__(self, config, parent = None): 4966 '''void Plasma.RunnerManager.__init__(KConfigGroup config, QObject parent = None)''' 4967 def listRunnerInfo(self, parentApp = QString()): 4968 '''static list-of-KPluginInfo Plasma.RunnerManager.listRunnerInfo(QString parentApp = QString())''' 4969 return [KPluginInfo()] 4970 queryFinished = pyqtSignal() # void queryFinished() - signal 4971 def mimeDataForMatch(self, match): 4972 '''QMimeData Plasma.RunnerManager.mimeDataForMatch(Plasma.QueryMatch match)''' 4973 return QMimeData() 4974 def mimeDataForMatch(self, id): 4975 '''QMimeData Plasma.RunnerManager.mimeDataForMatch(QString id)''' 4976 return QMimeData() 4977 def loadRunner(self, service): 4978 '''void Plasma.RunnerManager.loadRunner(unknown-type service)''' 4979 def loadRunner(self, path): 4980 '''void Plasma.RunnerManager.loadRunner(QString path)''' 4981 def singleModeAdvertisedRunnerIds(self): 4982 '''QStringList Plasma.RunnerManager.singleModeAdvertisedRunnerIds()''' 4983 return QStringList() 4984 def runnerName(self, id): 4985 '''QString Plasma.RunnerManager.runnerName(QString id)''' 4986 return QString() 4987 def setSingleMode(self, singleMode): 4988 '''void Plasma.RunnerManager.setSingleMode(bool singleMode)''' 4989 def singleMode(self): 4990 '''bool Plasma.RunnerManager.singleMode()''' 4991 return bool() 4992 def singleModeRunnerId(self): 4993 '''QString Plasma.RunnerManager.singleModeRunnerId()''' 4994 return QString() 4995 def setSingleModeRunnerId(self, id): 4996 '''void Plasma.RunnerManager.setSingleModeRunnerId(QString id)''' 4997 def singleModeRunner(self): 4998 '''Plasma.AbstractRunner Plasma.RunnerManager.singleModeRunner()''' 4999 return Plasma.AbstractRunner() 5000 def matchSessionComplete(self): 5001 '''void Plasma.RunnerManager.matchSessionComplete()''' 5002 def setupMatchSession(self): 5003 '''void Plasma.RunnerManager.setupMatchSession()''' 5004 def allowedRunners(self): 5005 '''QStringList Plasma.RunnerManager.allowedRunners()''' 5006 return QStringList() 5007 def setAllowedRunners(self, runners): 5008 '''void Plasma.RunnerManager.setAllowedRunners(QStringList runners)''' 5009 matchesChanged = pyqtSignal() # void matchesChanged(const QListlt;Plasma::QueryMatchgt;amp;) - signal 5010 def reset(self): 5011 '''void Plasma.RunnerManager.reset()''' 5012 def execQuery(self, term, runnerName): 5013 '''bool Plasma.RunnerManager.execQuery(QString term, QString runnerName)''' 5014 return bool() 5015 def execQuery(self, term): 5016 '''bool Plasma.RunnerManager.execQuery(QString term)''' 5017 return bool() 5018 def launchQuery(self, term, runnerId): 5019 '''void Plasma.RunnerManager.launchQuery(QString term, QString runnerId)''' 5020 def launchQuery(self, term): 5021 '''void Plasma.RunnerManager.launchQuery(QString term)''' 5022 def reloadConfiguration(self): 5023 '''void Plasma.RunnerManager.reloadConfiguration()''' 5024 def query(self): 5025 '''QString Plasma.RunnerManager.query()''' 5026 return QString() 5027 def actionsForMatch(self, match): 5028 '''list-of-QAction Plasma.RunnerManager.actionsForMatch(Plasma.QueryMatch match)''' 5029 return [QAction()] 5030 def run(self, match): 5031 '''void Plasma.RunnerManager.run(Plasma.QueryMatch match)''' 5032 def run(self, id): 5033 '''void Plasma.RunnerManager.run(QString id)''' 5034 def matches(self): 5035 '''list-of-Plasma.QueryMatch Plasma.RunnerManager.matches()''' 5036 return [Plasma.QueryMatch()] 5037 def searchContext(self): 5038 '''Plasma.RunnerContext Plasma.RunnerManager.searchContext()''' 5039 return Plasma.RunnerContext() 5040 def runners(self): 5041 '''list-of-Plasma.AbstractRunner Plasma.RunnerManager.runners()''' 5042 return [Plasma.AbstractRunner()] 5043 def runner(self, name): 5044 '''Plasma.AbstractRunner Plasma.RunnerManager.runner(QString name)''' 5045 return Plasma.AbstractRunner() 5046 class GLApplet(Plasma.Applet): 5047 """""" 5048 def __init__(self, parent, serviceId, appletId): 5049 '''void Plasma.GLApplet.__init__(QGraphicsItem parent, QString serviceId, int appletId)''' 5050 def __init__(self, parent, args): 5051 '''void Plasma.GLApplet.__init__(QObject parent, list-of-QVariant args)''' 5052 def deleteTexture(self, texture_id): 5053 '''void Plasma.GLApplet.deleteTexture(int texture_id)''' 5054 def bindTexture(self, image, target = None): 5055 '''int Plasma.GLApplet.bindTexture(QImage image, int target = GL_TEXTURE_2D)''' 5056 return int() 5057 def makeCurrent(self): 5058 '''void Plasma.GLApplet.makeCurrent()''' 5059 def paintGLInterface(self, painter, option): 5060 '''void Plasma.GLApplet.paintGLInterface(QPainter painter, QStyleOptionGraphicsItem option)''' 5061 class Applet(QGraphicsWidget): 5062 """""" 5063 Type = None # int - member 5064 # Enum Plasma.Applet.BackgroundHint 5065 NoBackground = 0 5066 StandardBackground = 0 5067 TranslucentBackground = 0 5068 DefaultBackground = 0 5069 5070 def __init__(self, parent = None, serviceId = QString(), appletId = 0): 5071 '''void Plasma.Applet.__init__(QGraphicsItem parent = None, QString serviceId = QString(), int appletId = 0)''' 5072 def __init__(self, parent, serviceId, appletId, args): 5073 '''void Plasma.Applet.__init__(QGraphicsItem parent, QString serviceId, int appletId, list-of-QVariant args)''' 5074 def __init__(self, parent, args): 5075 '''void Plasma.Applet.__init__(QObject parent, list-of-QVariant args)''' 5076 def __init__(self, info, parent = None, appletId = 0): 5077 '''void Plasma.Applet.__init__(KPluginInfo info, QGraphicsItem parent = None, int appletId = 0)''' 5078 def isUserConfiguring(self): 5079 '''bool Plasma.Applet.isUserConfiguring()''' 5080 return bool() 5081 def runAssociatedApplication(self): 5082 '''void Plasma.Applet.runAssociatedApplication()''' 5083 def isPublished(self): 5084 '''bool Plasma.Applet.isPublished()''' 5085 return bool() 5086 def unpublish(self): 5087 '''void Plasma.Applet.unpublish()''' 5088 def setStatus(self, stat): 5089 '''void Plasma.Applet.setStatus(Plasma.ItemStatus stat)''' 5090 def status(self): 5091 '''Plasma.ItemStatus Plasma.Applet.status()''' 5092 return Plasma.ItemStatus() 5093 immutabilityChanged = pyqtSignal() # void immutabilityChanged(Plasma::ImmutabilityType) - signal 5094 newStatus = pyqtSignal() # void newStatus(Plasma::ItemStatus) - signal 5095 def hasValidAssociatedApplication(self): 5096 '''bool Plasma.Applet.hasValidAssociatedApplication()''' 5097 return bool() 5098 def associatedApplicationUrls(self): 5099 '''KUrl.List Plasma.Applet.associatedApplicationUrls()''' 5100 return KUrl.List() 5101 def associatedApplication(self): 5102 '''QString Plasma.Applet.associatedApplication()''' 5103 return QString() 5104 def setAssociatedApplicationUrls(self, urls): 5105 '''void Plasma.Applet.setAssociatedApplicationUrls(KUrl.List urls)''' 5106 def setAssociatedApplication(self, string): 5107 '''void Plasma.Applet.setAssociatedApplication(QString string)''' 5108 def listAppletInfoForUrl(self, url): 5109 '''static list-of-KPluginInfo Plasma.Applet.listAppletInfoForUrl(QUrl url)''' 5110 return [KPluginInfo()] 5111 def itemChange(self, change, value): 5112 '''QVariant Plasma.Applet.itemChange(QGraphicsItem.GraphicsItemChange change, QVariant value)''' 5113 return QVariant() 5114 extenderItemRestored = pyqtSignal() # void extenderItemRestored(Plasma::ExtenderItem *) - signal 5115 def hasAuthorization(self, constraint): 5116 '''bool Plasma.Applet.hasAuthorization(QString constraint)''' 5117 return bool() 5118 def timerEvent(self, event): 5119 '''void Plasma.Applet.timerEvent(QTimerEvent event)''' 5120 def hoverLeaveEvent(self, event): 5121 '''void Plasma.Applet.hoverLeaveEvent(QGraphicsSceneHoverEvent event)''' 5122 def hoverEnterEvent(self, event): 5123 '''void Plasma.Applet.hoverEnterEvent(QGraphicsSceneHoverEvent event)''' 5124 def sizeHint(self, which, constraint = QSizeF()): 5125 '''QSizeF Plasma.Applet.sizeHint(Qt.SizeHint which, QSizeF constraint = QSizeF())''' 5126 return QSizeF() 5127 def shape(self): 5128 '''QPainterPath Plasma.Applet.shape()''' 5129 return QPainterPath() 5130 def resizeEvent(self, event): 5131 '''void Plasma.Applet.resizeEvent(QGraphicsSceneResizeEvent event)''' 5132 def focusInEvent(self, event): 5133 '''void Plasma.Applet.focusInEvent(QFocusEvent event)''' 5134 def mouseMoveEvent(self, event): 5135 '''void Plasma.Applet.mouseMoveEvent(QGraphicsSceneMouseEvent event)''' 5136 def sceneEventFilter(self, watched, event): 5137 '''bool Plasma.Applet.sceneEventFilter(QGraphicsItem watched, QEvent event)''' 5138 return bool() 5139 def eventFilter(self, o, e): 5140 '''bool Plasma.Applet.eventFilter(QObject o, QEvent e)''' 5141 return bool() 5142 def extender(self): 5143 '''Plasma.Extender Plasma.Applet.extender()''' 5144 return Plasma.Extender() 5145 def isRegisteredAsDragHandle(self, item): 5146 '''bool Plasma.Applet.isRegisteredAsDragHandle(QGraphicsItem item)''' 5147 return bool() 5148 def unregisterAsDragHandle(self, item): 5149 '''void Plasma.Applet.unregisterAsDragHandle(QGraphicsItem item)''' 5150 def registerAsDragHandle(self, item): 5151 '''void Plasma.Applet.registerAsDragHandle(QGraphicsItem item)''' 5152 def constraintsEvent(self, constraints): 5153 '''void Plasma.Applet.constraintsEvent(Plasma.Constraints constraints)''' 5154 def showMessage(self, icon, message, buttons): 5155 '''void Plasma.Applet.showMessage(QIcon icon, QString message, Plasma.MessageButtons buttons)''' 5156 def setConfigurationRequired(self, needsConfiguring, reason = QString()): 5157 '''void Plasma.Applet.setConfigurationRequired(bool needsConfiguring, QString reason = QString())''' 5158 def setHasConfigurationInterface(self, hasInterface): 5159 '''void Plasma.Applet.setHasConfigurationInterface(bool hasInterface)''' 5160 def saveState(self, config): 5161 '''void Plasma.Applet.saveState(KConfigGroup config)''' 5162 def setFailedToLaunch(self, failed, reason = QString()): 5163 '''void Plasma.Applet.setFailedToLaunch(bool failed, QString reason = QString())''' 5164 def startupArguments(self): 5165 '''list-of-QVariant Plasma.Applet.startupArguments()''' 5166 return [QVariant()] 5167 def setBusy(self, busy): 5168 '''void Plasma.Applet.setBusy(bool busy)''' 5169 def configChanged(self): 5170 '''void Plasma.Applet.configChanged()''' 5171 def init(self): 5172 '''void Plasma.Applet.init()''' 5173 def flushPendingConstraintsEvents(self): 5174 '''void Plasma.Applet.flushPendingConstraintsEvents()''' 5175 def lower(self): 5176 '''void Plasma.Applet.lower()''' 5177 def raise_(self): 5178 '''void Plasma.Applet.raise_()''' 5179 def showConfigurationInterface(self): 5180 '''void Plasma.Applet.showConfigurationInterface()''' 5181 def showConfigurationInterface(self, widget): 5182 '''void Plasma.Applet.showConfigurationInterface(QWidget widget)''' 5183 def destroy(self): 5184 '''void Plasma.Applet.destroy()''' 5185 def setImmutability(self, immutable): 5186 '''void Plasma.Applet.setImmutability(Plasma.ImmutabilityType immutable)''' 5187 appletDestroyed = pyqtSignal() # void appletDestroyed(Plasma::Applet *) - signal 5188 messageButtonPressed = pyqtSignal() # void messageButtonPressed(const Plasma::MessageButton) - signal 5189 activate = pyqtSignal() # void activate() - signal 5190 configNeedsSaving = pyqtSignal() # void configNeedsSaving() - signal 5191 sizeHintChanged = pyqtSignal() # void sizeHintChanged(Qt::SizeHint) - signal 5192 appletTransformedItself = pyqtSignal() # void appletTransformedItself() - signal 5193 appletTransformedByUser = pyqtSignal() # void appletTransformedByUser() - signal 5194 geometryChanged = pyqtSignal() # void geometryChanged() - signal 5195 releaseVisualFocus = pyqtSignal() # void releaseVisualFocus() - signal 5196 def createConfigurationInterface(self, parent): 5197 '''void Plasma.Applet.createConfigurationInterface(KConfigDialog parent)''' 5198 def destroyed(self): 5199 '''bool Plasma.Applet.destroyed()''' 5200 return bool() 5201 def initExtenderItem(self, item): 5202 '''void Plasma.Applet.initExtenderItem(Plasma.ExtenderItem item)''' 5203 def removeAssociatedWidget(self, widget): 5204 '''void Plasma.Applet.removeAssociatedWidget(QWidget widget)''' 5205 def addAssociatedWidget(self, widget): 5206 '''void Plasma.Applet.addAssociatedWidget(QWidget widget)''' 5207 def isPopupShowing(self): 5208 '''bool Plasma.Applet.isPopupShowing()''' 5209 return bool() 5210 def globalShortcut(self): 5211 '''KShortcut Plasma.Applet.globalShortcut()''' 5212 return KShortcut() 5213 def setGlobalShortcut(self, shortcut): 5214 '''void Plasma.Applet.setGlobalShortcut(KShortcut shortcut)''' 5215 def containment(self): 5216 '''Plasma.Containment Plasma.Applet.containment()''' 5217 return Plasma.Containment() 5218 def type(self): 5219 '''int Plasma.Applet.type()''' 5220 return int() 5221 def screenRect(self): 5222 '''QRect Plasma.Applet.screenRect()''' 5223 return QRect() 5224 def isContainment(self): 5225 '''bool Plasma.Applet.isContainment()''' 5226 return bool() 5227 def backgroundHints(self): 5228 '''Plasma.Applet.BackgroundHints Plasma.Applet.backgroundHints()''' 5229 return Plasma.Applet.BackgroundHints() 5230 def setBackgroundHints(self, hints): 5231 '''void Plasma.Applet.setBackgroundHints(Plasma.Applet.BackgroundHints hints)''' 5232 def addAction(self, name, action): 5233 '''void Plasma.Applet.addAction(QString name, QAction action)''' 5234 def action(self, name): 5235 '''QAction Plasma.Applet.action(QString name)''' 5236 return QAction() 5237 def contextualActions(self): 5238 '''list-of-QAction Plasma.Applet.contextualActions()''' 5239 return [QAction()] 5240 def hasConfigurationInterface(self): 5241 '''bool Plasma.Applet.hasConfigurationInterface()''' 5242 return bool() 5243 def configurationRequired(self): 5244 '''bool Plasma.Applet.configurationRequired()''' 5245 return bool() 5246 def isBusy(self): 5247 '''bool Plasma.Applet.isBusy()''' 5248 return bool() 5249 def hasFailedToLaunch(self): 5250 '''bool Plasma.Applet.hasFailedToLaunch()''' 5251 return bool() 5252 def paintWindowFrame(self, painter, option, widget): 5253 '''void Plasma.Applet.paintWindowFrame(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget)''' 5254 def immutability(self): 5255 '''Plasma.ImmutabilityType Plasma.Applet.immutability()''' 5256 return Plasma.ImmutabilityType() 5257 def icon(self): 5258 '''QString Plasma.Applet.icon()''' 5259 return QString() 5260 def shouldConserveResources(self): 5261 '''bool Plasma.Applet.shouldConserveResources()''' 5262 return bool() 5263 def pluginName(self): 5264 '''QString Plasma.Applet.pluginName()''' 5265 return QString() 5266 def font(self): 5267 '''QFont Plasma.Applet.font()''' 5268 return QFont() 5269 def name(self): 5270 '''QString Plasma.Applet.name()''' 5271 return QString() 5272 def paintInterface(self, painter, option, contentsRect): 5273 '''void Plasma.Applet.paintInterface(QPainter painter, QStyleOptionGraphicsItem option, QRect contentsRect)''' 5274 def category(self, applet): 5275 '''static QString Plasma.Applet.category(KPluginInfo applet)''' 5276 return QString() 5277 def category(self, appletName): 5278 '''static QString Plasma.Applet.category(QString appletName)''' 5279 return QString() 5280 def category(self): 5281 '''QString Plasma.Applet.category()''' 5282 return QString() 5283 def load(self, name, appletId = 0, args = QVariantList()): 5284 '''static Plasma.Applet Plasma.Applet.load(QString name, int appletId = 0, list-of-QVariant args = QVariantList())''' 5285 return Plasma.Applet() 5286 def load(self, info, appletId = 0, args = QVariantList()): 5287 '''static Plasma.Applet Plasma.Applet.load(KPluginInfo info, int appletId = 0, list-of-QVariant args = QVariantList())''' 5288 return Plasma.Applet() 5289 def loadPlasmoid(self, path, appletId = 0, args = QVariantList()): 5290 '''static Plasma.Applet Plasma.Applet.loadPlasmoid(QString path, int appletId = 0, list-of-QVariant args = QVariantList())''' 5291 return Plasma.Applet() 5292 def customCategories(self): 5293 '''QStringList Plasma.Applet.customCategories()''' 5294 return QStringList() 5295 def setCustomCategories(self, categories): 5296 '''void Plasma.Applet.setCustomCategories(QStringList categories)''' 5297 def listCategories(self, parentApp = QString(), visibleOnly = True): 5298 '''static QStringList Plasma.Applet.listCategories(QString parentApp = QString(), bool visibleOnly = True)''' 5299 return QStringList() 5300 def listAppletInfoForMimetype(self, mimetype): 5301 '''static list-of-KPluginInfo Plasma.Applet.listAppletInfoForMimetype(QString mimetype)''' 5302 return [KPluginInfo()] 5303 def listAppletInfo(self, category = QString(), parentApp = QString()): 5304 '''static list-of-KPluginInfo Plasma.Applet.listAppletInfo(QString category = QString(), QString parentApp = QString())''' 5305 return [KPluginInfo()] 5306 def setAspectRatioMode(self): 5307 '''Plasma.AspectRatioMode Plasma.Applet.setAspectRatioMode()''' 5308 return Plasma.AspectRatioMode() 5309 def aspectRatioMode(self): 5310 '''Plasma.AspectRatioMode Plasma.Applet.aspectRatioMode()''' 5311 return Plasma.AspectRatioMode() 5312 def context(self): 5313 '''Plasma.Context Plasma.Applet.context()''' 5314 return Plasma.Context() 5315 def location(self): 5316 '''Plasma.Location Plasma.Applet.location()''' 5317 return Plasma.Location() 5318 def formFactor(self): 5319 '''Plasma.FormFactor Plasma.Applet.formFactor()''' 5320 return Plasma.FormFactor() 5321 def updateConstraints(self, constraints = None): 5322 '''void Plasma.Applet.updateConstraints(Plasma.Constraints constraints = Plasma.AllConstraints)''' 5323 def popupPosition(self, s): 5324 '''QPoint Plasma.Applet.popupPosition(QSize s)''' 5325 return QPoint() 5326 def popupPosition(self, s, alignment): 5327 '''QPoint Plasma.Applet.popupPosition(QSize s, Qt.AlignmentFlag alignment)''' 5328 return QPoint() 5329 def mapToView(self, view, rect): 5330 '''QRect Plasma.Applet.mapToView(QGraphicsView view, QRectF rect)''' 5331 return QRect() 5332 def mapFromView(self, view, rect): 5333 '''QRectF Plasma.Applet.mapFromView(QGraphicsView view, QRect rect)''' 5334 return QRectF() 5335 def view(self): 5336 '''QGraphicsView Plasma.Applet.view()''' 5337 return QGraphicsView() 5338 def package(self): 5339 '''Plasma.Package Plasma.Applet.package()''' 5340 return Plasma.Package() 5341 def dataEngine(self, name): 5342 '''Plasma.DataEngine Plasma.Applet.dataEngine(QString name)''' 5343 return Plasma.DataEngine() 5344 def configScheme(self): 5345 '''Plasma.ConfigLoader Plasma.Applet.configScheme()''' 5346 return Plasma.ConfigLoader() 5347 def globalConfig(self): 5348 '''KConfigGroup Plasma.Applet.globalConfig()''' 5349 return KConfigGroup() 5350 def restore(self, group): 5351 '''void Plasma.Applet.restore(KConfigGroup group)''' 5352 def save(self, group): 5353 '''void Plasma.Applet.save(KConfigGroup group)''' 5354 def config(self): 5355 '''KConfigGroup Plasma.Applet.config()''' 5356 return KConfigGroup() 5357 def config(self, group): 5358 '''KConfigGroup Plasma.Applet.config(QString group)''' 5359 return KConfigGroup() 5360 def id(self): 5361 '''int Plasma.Applet.id()''' 5362 return int() 5363 def packageStructure(self): 5364 '''static unknown-type Plasma.Applet.packageStructure()''' 5365 return unknown-type() 5366 class Dialog(QWidget): 5367 """""" 5368 # Enum Plasma.Dialog.ResizeCorner 5369 NoCorner = 0 5370 NorthEast = 0 5371 SouthEast = 0 5372 NorthWest = 0 5373 SouthWest = 0 5374 All = 0 5375 5376 def __init__(self, parent = None, f = None): 5377 '''void Plasma.Dialog.__init__(QWidget parent = None, Qt.WindowFlags f = Qt.Window)''' 5378 def getMinimumResizeLimits(self, left, top, right, bottom): 5379 '''void Plasma.Dialog.getMinimumResizeLimits(int left, int top, int right, int bottom)''' 5380 def setMinimumResizeLimits(self, left, top, right, bottom): 5381 '''void Plasma.Dialog.setMinimumResizeLimits(int left, int top, int right, int bottom)''' 5382 def isUserResizing(self): 5383 '''bool Plasma.Dialog.isUserResizing()''' 5384 return bool() 5385 def syncToGraphicsWidget(self): 5386 '''void Plasma.Dialog.syncToGraphicsWidget()''' 5387 def setAspectRatioMode(self, mode): 5388 '''void Plasma.Dialog.setAspectRatioMode(Plasma.AspectRatioMode mode)''' 5389 def aspectRatioMode(self): 5390 '''Plasma.AspectRatioMode Plasma.Dialog.aspectRatioMode()''' 5391 return Plasma.AspectRatioMode() 5392 def focusInEvent(self, event): 5393 '''void Plasma.Dialog.focusInEvent(QFocusEvent event)''' 5394 def inControlArea(self, point): 5395 '''bool Plasma.Dialog.inControlArea(QPoint point)''' 5396 return bool() 5397 def moveEvent(self, event): 5398 '''void Plasma.Dialog.moveEvent(QMoveEvent event)''' 5399 def keyPressEvent(self, event): 5400 '''void Plasma.Dialog.keyPressEvent(QKeyEvent event)''' 5401 def mouseReleaseEvent(self, event): 5402 '''void Plasma.Dialog.mouseReleaseEvent(QMouseEvent event)''' 5403 def mousePressEvent(self, event): 5404 '''void Plasma.Dialog.mousePressEvent(QMouseEvent event)''' 5405 def mouseMoveEvent(self, event): 5406 '''void Plasma.Dialog.mouseMoveEvent(QMouseEvent event)''' 5407 def showEvent(self, event): 5408 '''void Plasma.Dialog.showEvent(QShowEvent event)''' 5409 def hideEvent(self, event): 5410 '''void Plasma.Dialog.hideEvent(QHideEvent event)''' 5411 def eventFilter(self, watched, event): 5412 '''bool Plasma.Dialog.eventFilter(QObject watched, QEvent event)''' 5413 return bool() 5414 def resizeEvent(self, e): 5415 '''void Plasma.Dialog.resizeEvent(QResizeEvent e)''' 5416 def event(self, event): 5417 '''bool Plasma.Dialog.event(QEvent event)''' 5418 return bool() 5419 def paintEvent(self, e): 5420 '''void Plasma.Dialog.paintEvent(QPaintEvent e)''' 5421 dialogVisible = pyqtSignal() # void dialogVisible(bool) - signal 5422 dialogResized = pyqtSignal() # void dialogResized() - signal 5423 def animatedShow(self, direction): 5424 '''void Plasma.Dialog.animatedShow(Plasma.Direction direction)''' 5425 def animatedHide(self, direction): 5426 '''void Plasma.Dialog.animatedHide(Plasma.Direction direction)''' 5427 def resizeCorners(self): 5428 '''Plasma.Dialog.ResizeCorners Plasma.Dialog.resizeCorners()''' 5429 return Plasma.Dialog.ResizeCorners() 5430 def setResizeHandleCorners(self, corners): 5431 '''void Plasma.Dialog.setResizeHandleCorners(Plasma.Dialog.ResizeCorners corners)''' 5432 def graphicsWidget(self): 5433 '''QGraphicsWidget Plasma.Dialog.graphicsWidget()''' 5434 return QGraphicsWidget() 5435 def setGraphicsWidget(self, widget): 5436 '''void Plasma.Dialog.setGraphicsWidget(QGraphicsWidget widget)''' 5437 class SignalPlotter(QGraphicsWidget): 5438 """""" 5439 def __init__(self, parent = None): 5440 '''void Plasma.SignalPlotter.__init__(QGraphicsItem parent = None)''' 5441 def thinFrame(self): 5442 '''bool Plasma.SignalPlotter.thinFrame()''' 5443 return bool() 5444 def drawHorizontalLines(self, p, top, w, h): 5445 '''void Plasma.SignalPlotter.drawHorizontalLines(QPainter p, int top, int w, int h)''' 5446 def drawAxisText(self, p, top, h): 5447 '''void Plasma.SignalPlotter.drawAxisText(QPainter p, int top, int h)''' 5448 def drawPlots(self, p, top, w, h, horizontalScale): 5449 '''void Plasma.SignalPlotter.drawPlots(QPainter p, int top, int w, int h, int horizontalScale)''' 5450 def drawVerticalLines(self, p, top, w, h): 5451 '''void Plasma.SignalPlotter.drawVerticalLines(QPainter p, int top, int w, int h)''' 5452 def drawTopBarContents(self, p, x, width, height): 5453 '''void Plasma.SignalPlotter.drawTopBarContents(QPainter p, int x, int width, int height)''' 5454 def drawTopBarFrame(self, p, separatorX, height): 5455 '''void Plasma.SignalPlotter.drawTopBarFrame(QPainter p, int separatorX, int height)''' 5456 def drawThinFrame(self, p, w, h): 5457 '''void Plasma.SignalPlotter.drawThinFrame(QPainter p, int w, int h)''' 5458 def drawBackground(self, p, w, h): 5459 '''void Plasma.SignalPlotter.drawBackground(QPainter p, int w, int h)''' 5460 def drawWidget(self, p, w, height, horizontalScale): 5461 '''void Plasma.SignalPlotter.drawWidget(QPainter p, int w, int height, int horizontalScale)''' 5462 def paint(self, painter, option, widget): 5463 '''void Plasma.SignalPlotter.paint(QPainter painter, QStyleOptionGraphicsItem option, QWidget widget)''' 5464 def calculateNiceRange(self): 5465 '''void Plasma.SignalPlotter.calculateNiceRange()''' 5466 def updateDataBuffers(self): 5467 '''void Plasma.SignalPlotter.updateDataBuffers()''' 5468 def setGeometry(self, geometry): 5469 '''void Plasma.SignalPlotter.setGeometry(QRectF geometry)''' 5470 def getSnapshotImage(self, width, height): 5471 '''QPixmap Plasma.SignalPlotter.getSnapshotImage(int width, int height)''' 5472 return QPixmap() 5473 def stackPlots(self): 5474 '''bool Plasma.SignalPlotter.stackPlots()''' 5475 return bool() 5476 def setStackPlots(self, stack): 5477 '''void Plasma.SignalPlotter.setStackPlots(bool stack)''' 5478 def setThinFrame(self, set): 5479 '''void Plasma.SignalPlotter.setThinFrame(bool set)''' 5480 def lastValueAsString(self, i): 5481 '''QString Plasma.SignalPlotter.lastValueAsString(int i)''' 5482 return QString() 5483 def lastValue(self, i): 5484 '''float Plasma.SignalPlotter.lastValue(int i)''' 5485 return float() 5486 def svgBackground(self): 5487 '''QString Plasma.SignalPlotter.svgBackground()''' 5488 return QString() 5489 def setSvgBackground(self, filename): 5490 '''void Plasma.SignalPlotter.setSvgBackground(QString filename)''' 5491 def backgroundColor(self): 5492 '''QColor Plasma.SignalPlotter.backgroundColor()''' 5493 return QColor() 5494 def setBackgroundColor(self, color): 5495 '''void Plasma.SignalPlotter.setBackgroundColor(QColor color)''' 5496 def showTopBar(self): 5497 '''bool Plasma.SignalPlotter.showTopBar()''' 5498 return bool() 5499 def setShowTopBar(self, value): 5500 '''void Plasma.SignalPlotter.setShowTopBar(bool value)''' 5501 def showLabels(self): 5502 '''bool Plasma.SignalPlotter.showLabels()''' 5503 return bool() 5504 def setShowLabels(self, value): 5505 '''void Plasma.SignalPlotter.setShowLabels(bool value)''' 5506 def horizontalLinesCount(self): 5507 '''int Plasma.SignalPlotter.horizontalLinesCount()''' 5508 return int() 5509 def setHorizontalLinesCount(self, count): 5510 '''void Plasma.SignalPlotter.setHorizontalLinesCount(int count)''' 5511 def font(self): 5512 '''QFont Plasma.SignalPlotter.font()''' 5513 return QFont() 5514 def setFont(self, font): 5515 '''void Plasma.SignalPlotter.setFont(QFont font)''' 5516 def fontColor(self): 5517 '''QColor Plasma.SignalPlotter.fontColor()''' 5518 return QColor() 5519 def setFontColor(self, color): 5520 '''void Plasma.SignalPlotter.setFontColor(QColor color)''' 5521 def horizontalLinesColor(self): 5522 '''QColor Plasma.SignalPlotter.horizontalLinesColor()''' 5523 return QColor() 5524 def setHorizontalLinesColor(self, color): 5525 '''void Plasma.SignalPlotter.setHorizontalLinesColor(QColor color)''' 5526 def showHorizontalLines(self): 5527 '''bool Plasma.SignalPlotter.showHorizontalLines()''' 5528 return bool() 5529 def setShowHorizontalLines(self, value): 5530 '''void Plasma.SignalPlotter.setShowHorizontalLines(bool value)''' 5531 def verticalLinesScroll(self): 5532 '''bool Plasma.SignalPlotter.verticalLinesScroll()''' 5533 return bool() 5534 def setVerticalLinesScroll(self, value): 5535 '''void Plasma.SignalPlotter.setVerticalLinesScroll(bool value)''' 5536 def verticalLinesDistance(self): 5537 '''int Plasma.SignalPlotter.verticalLinesDistance()''' 5538 return int() 5539 def setVerticalLinesDistance(self, distance): 5540 '''void Plasma.SignalPlotter.setVerticalLinesDistance(int distance)''' 5541 def verticalLinesColor(self): 5542 '''QColor Plasma.SignalPlotter.verticalLinesColor()''' 5543 return QColor() 5544 def setVerticalLinesColor(self, color): 5545 '''void Plasma.SignalPlotter.setVerticalLinesColor(QColor color)''' 5546 def showVerticalLines(self): 5547 '''bool Plasma.SignalPlotter.showVerticalLines()''' 5548 return bool() 5549 def setShowVerticalLines(self, value): 5550 '''void Plasma.SignalPlotter.setShowVerticalLines(bool value)''' 5551 def horizontalScale(self): 5552 '''int Plasma.SignalPlotter.horizontalScale()''' 5553 return int() 5554 def setHorizontalScale(self, scale): 5555 '''void Plasma.SignalPlotter.setHorizontalScale(int scale)''' 5556 def verticalMaxValue(self): 5557 '''float Plasma.SignalPlotter.verticalMaxValue()''' 5558 return float() 5559 def verticalMinValue(self): 5560 '''float Plasma.SignalPlotter.verticalMinValue()''' 5561 return float() 5562 def setVerticalRange(self, min, max): 5563 '''void Plasma.SignalPlotter.setVerticalRange(float min, float max)''' 5564 def useAutoRange(self): 5565 '''bool Plasma.SignalPlotter.useAutoRange()''' 5566 return bool() 5567 def setUseAutoRange(self, value): 5568 '''void Plasma.SignalPlotter.setUseAutoRange(bool value)''' 5569 def scaledBy(self): 5570 '''float Plasma.SignalPlotter.scaledBy()''' 5571 return float() 5572 def scale(self, delta): 5573 '''void Plasma.SignalPlotter.scale(float delta)''' 5574 def unit(self): 5575 '''QString Plasma.SignalPlotter.unit()''' 5576 return QString() 5577 def setUnit(self, unit): 5578 '''void Plasma.SignalPlotter.setUnit(QString unit)''' 5579 def title(self): 5580 '''QString Plasma.SignalPlotter.title()''' 5581 return QString() 5582 def setTitle(self, title): 5583 '''void Plasma.SignalPlotter.setTitle(QString title)''' 5584 def plotColors(self): 5585 '''list-of-Plasma.PlotColor Plasma.SignalPlotter.plotColors()''' 5586 return [Plasma.PlotColor()] 5587 def removePlot(self, pos): 5588 '''void Plasma.SignalPlotter.removePlot(int pos)''' 5589 def reorderPlots(self, newOrder): 5590 '''void Plasma.SignalPlotter.reorderPlots(list-of-int newOrder)''' 5591 def addSample(self, samples): 5592 '''void Plasma.SignalPlotter.addSample(list-of-float samples)''' 5593 def addPlot(self, color): 5594 '''void Plasma.SignalPlotter.addPlot(QColor color)''' 5595 5596