Commit 38374f23 by Juan

guardo copia de uso personal

1 parent f1be0640
......@@ -36,6 +36,7 @@ def iniciar(self, parent, MainWindow):
self.menu = QMenu()
self.menu.aboutToShow.connect(action)
self.icon.setContextMenu(self.menu)
self.icon.activated.connect(action)
def CambioIcono(self, icono, parent):
self.icon.setIcon(QIcon(icono))
......
HGT = {"nombre": "HGT", "CARPETA": "/home/juan/.hgt", "SSHprox":"3456",
"HOME": "https://play.google.com/apps/publish/", "SSHport":"4200", "SSHdom":"s2.hgtec.com.ar",
"HOME": "https://play.google.com/apps/publish/", "SSHport":"22", "SSHdom":"s2.hgtec.com.ar",
"SSHuser":"juan", "SSHpass":"xvc7733455"}
Remoto = {"nombre": "Remoto", "CARPETA": "/home/juan/.cromes/remoto", "SSHprox":"3457",
"HOME": "https://nextcloud.anacsoft.com", "SSHport":"4200", "SSHdom":"s2.hgtec.com.ar",
Remoto = {"nombre": "Remoto", "CARPETA": "/home/juan/.cromes/remoto", "SSHprox":"3455",
"HOME": "https://nextcloud.anacsoft.com", "SSHport":"22", "SSHdom":"s2.hgtec.com.ar",
"SSHuser":"juan", "SSHpass":"xvc7733455"}
cciv = {"nombre": "cciv", "CARPETA": "/home/juan/.cromes/cciv", "SSHprox":"3457",
"HOME": "http://192.168.0.111", "SSHport":"4200", "SSHdom":"s2.hgtec.com.ar",
"SSHuser":"juan", "SSHpass":"xvc7733455"}
cciv = {"nombre": "cciv", "CARPETA": "/home/juan/.cromes/cciv", "SSHprox":"3454",
"HOME": "http://192.168.0.111", "SSHport":"", "SSHdom":"s2.hgtec.com.ar",
"SSHuser":"administrador", "SSHpass":"xvc7733455"}
isva = {"nombre": "isva", "CARPETA": "/home/juan/.cromes/isva", "SSHprox":"3457",
"HOME": "http://10.0.0.104", "SSHport":"4200", "SSHdom":"s2.hgtec.com.ar",
"SSHuser":"juan", "SSHpass":"xvc7733455"}
isva = {"nombre": "isva", "CARPETA": "/home/juan/.cromes/isva", "SSHprox":"3453",
"HOME": "http://10.0.0.104", "SSHport":"22", "SSHdom":"190.220.138.11",
"SSHuser":"administrador", "SSHpass":"vivaperon"}
atlas = {"nombre": "atlas", "CARPETA": "/home/juan/.cromes/atlas", "SSHprox":"3457",
"HOME": "https://10.0.0.1", "SSHport":"4200", "SSHdom":"s2.hgtec.com.ar",
"SSHuser":"juan", "SSHpass":"xvc7733455"}
atlas = {"nombre": "atlas", "CARPETA": "/home/juan/.cromes/atlas", "SSHprox":"3452",
"HOME": "https://10.0.0.1", "SSHport":"2222", "SSHdom":"restobaratlas.com.ar",
"SSHuser":"isva", "SSHpass":"kernel2016"}
Personal = {"nombre": "Personal", "CARPETA": "/home/juan/.cromes/personal"}
inv = {"nombre": "Investig..", "CARPETA": "/home/juan/.cromes/inv"}
Temp = {"nombre": "Temporal", "CARPETA": "/dev/shm/personal"}
nabegadores = [HGT, Temp, Remoto, Personal, cciv, isva, atlas]
\ No newline at end of file
nabegadores = [HGT, inv, Temp, Remoto, Personal, cciv, isva, atlas]
\ No newline at end of file
......@@ -15,7 +15,7 @@ class App(QWidget):
self.top = 10
self.width = 120
self.height = 200
self.ordenV = 0
self.ordenV = 5
self.initUI()
def initUI(self):
......@@ -24,7 +24,8 @@ class App(QWidget):
self.show()
self.GenerarBotones()
self.setWindowIcon(QtGui.QIcon('IMG/Browser.png'))
self.hide()
#self.hide()
tray.action()
def GenerarBotones(self):
......@@ -47,14 +48,16 @@ class App(QWidget):
pass
print(comando)
archivos.ejecutar(self, comando)
self.hide()
#self.hide()
tray.action()
def constructor(self, name, id):
self.ordenV += 25
button1 = QPushButton(str(name), self)
button1.move(10, self.ordenV)
button1.clicked.connect(lambda x:self.button_pushed(id))
button1.show()
self.ordenV += 25
if __name__ == '__main__':
app = QApplication(sys.argv)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!