From 1cbd4effe10fbaa18a938975d54048f8e1c1f700 Mon Sep 17 00:00:00 2001
From: mkaay <mkaay@mkaay.de>
Date: Sat, 1 May 2010 22:13:59 +0200
Subject: moved gui to http://bitbucket.org/mkaay/pyload-gui

---
 module/gui/PWInputWindow.py | 47 ---------------------------------------------
 1 file changed, 47 deletions(-)
 delete mode 100644 module/gui/PWInputWindow.py

(limited to 'module/gui/PWInputWindow.py')

diff --git a/module/gui/PWInputWindow.py b/module/gui/PWInputWindow.py
deleted file mode 100644
index e2b82e384..000000000
--- a/module/gui/PWInputWindow.py
+++ /dev/null
@@ -1,47 +0,0 @@
-# -*- coding: utf-8 -*-
-"""
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 3 of the License,
-    or (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-    See the GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, see <http://www.gnu.org/licenses/>.
-    
-    @author: mkaay
-"""
-
-from PyQt4.QtCore import *
-from PyQt4.QtGui import *
-
-class PWInputWindow(QWidget):
-    def __init__(self):
-        QWidget.__init__(self)
-        self.input = QLineEdit()
-        self.input.setEchoMode(QLineEdit.Password)
-        label = QLabel(_("Password:"))
-        ok = QPushButton(_("OK"))
-        cancel = QPushButton(_("Cancel"))
-        grid = QGridLayout()
-        grid.addWidget(label, 0, 0, 1, 2)
-        grid.addWidget(self.input, 1, 0, 1, 2)
-        grid.addWidget(cancel, 2, 0)
-        grid.addWidget(ok, 2, 1)
-        self.setLayout(grid)
-        
-        self.connect(ok, SIGNAL("clicked()"), self.slotOK)
-        self.connect(cancel, SIGNAL("clicked()"), self.slotCancel)
-        self.connect(self.input, SIGNAL("returnPressed()"), self.slotOK)
-    
-    def slotOK(self):
-        self.hide()
-        self.emit(SIGNAL("ok"), self.input.text())
-    
-    def slotCancel(self):
-        self.hide()
-        self.emit(SIGNAL("cancel"))
-- 
cgit v1.2.3