make qweboobcfg an application
This commit is contained in:
parent
3ccd0dc8ab
commit
e34b8a6541
13 changed files with 109 additions and 18 deletions
|
|
@ -17,21 +17,9 @@
|
|||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
from weboob.tools.application.qt.backendcfg import BackendCfg
|
||||
from weboob.tools.application import QtApplication
|
||||
|
||||
class QWeboobCfg(QtApplication):
|
||||
APPNAME = 'qweboobcfg'
|
||||
VERSION = '0.1'
|
||||
COPYRIGHT = 'Copyright(C) 2010 Romain Bignon'
|
||||
from weboob.applications.qweboobcfg import QWeboobCfg
|
||||
|
||||
def main(self, argv):
|
||||
self.load_backends()
|
||||
|
||||
self.dlg = BackendCfg(self.weboob)
|
||||
self.dlg.show()
|
||||
|
||||
return self.weboob.loop()
|
||||
|
||||
if __name__ == '__main__':
|
||||
QWeboobCfg.run()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue