awesome-widgets/old_versions/0.9/contents/code/configwindow.py
arcan1s a195e0524b Pre-release 1.1
+ now you may set network device
  + now you may set to show network device
  + now you may set to show memory in Mb
  * widget consists of several labels
  * configuration interface
  - change order labels (I don't know how to do it)
  - some bugs

Version 1.0 is now available in directory 'old_version'
2013-02-24 06:04:34 +04:00

15 lines
380 B
Python

# -*- coding: utf-8 -*-
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from PyKDE4.plasma import *
from PyQt4 import uic
from PyKDE4 import plasmascript
class ConfigWindow(QWidget):
def __init__(self, parent, settings):
QWidget.__init__(self)
self.ui = uic.loadUi(parent.package().filePath('ui', 'configwindow.ui'), self)
self.parent = parent