Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Juan
/
web_manager
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 38374f23
authored
2020-03-26 10:09:34 -0300
by
Juan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
guardo copia de uso personal
1 parent
f1be0640
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
18 deletions
LIBs/__pycache__/archivos.cpython-36.pyc
LIBs/__pycache__/tray.cpython-36.pyc
LIBs/tray.py
__pycache__/configuracion.cpython-36.pyc
configuracion.py
interface.py
LIBs/__pycache__/archivos.cpython-36.pyc
View file @
38374f2
No preview for this file type
LIBs/__pycache__/tray.cpython-36.pyc
View file @
38374f2
No preview for this file type
LIBs/tray.py
View file @
38374f2
...
@@ -36,6 +36,7 @@ def iniciar(self, parent, MainWindow):
...
@@ -36,6 +36,7 @@ def iniciar(self, parent, MainWindow):
self
.
menu
=
QMenu
()
self
.
menu
=
QMenu
()
self
.
menu
.
aboutToShow
.
connect
(
action
)
self
.
menu
.
aboutToShow
.
connect
(
action
)
self
.
icon
.
setContextMenu
(
self
.
menu
)
self
.
icon
.
setContextMenu
(
self
.
menu
)
self
.
icon
.
activated
.
connect
(
action
)
def
CambioIcono
(
self
,
icono
,
parent
):
def
CambioIcono
(
self
,
icono
,
parent
):
self
.
icon
.
setIcon
(
QIcon
(
icono
))
self
.
icon
.
setIcon
(
QIcon
(
icono
))
...
...
__pycache__/configuracion.cpython-36.pyc
View file @
38374f2
No preview for this file type
configuracion.py
View file @
38374f2
HGT
=
{
"nombre"
:
"HGT"
,
"CARPETA"
:
"/home/juan/.hgt"
,
"SSHprox"
:
"3456"
,
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"
}
"SSHuser"
:
"juan"
,
"SSHpass"
:
"xvc7733455"
}
Remoto
=
{
"nombre"
:
"Remoto"
,
"CARPETA"
:
"/home/juan/.cromes/remoto"
,
"SSHprox"
:
"345
7
"
,
Remoto
=
{
"nombre"
:
"Remoto"
,
"CARPETA"
:
"/home/juan/.cromes/remoto"
,
"SSHprox"
:
"345
5
"
,
"HOME"
:
"https://nextcloud.anacsoft.com"
,
"SSHport"
:
"
4200
"
,
"SSHdom"
:
"s2.hgtec.com.ar"
,
"HOME"
:
"https://nextcloud.anacsoft.com"
,
"SSHport"
:
"
22
"
,
"SSHdom"
:
"s2.hgtec.com.ar"
,
"SSHuser"
:
"juan"
,
"SSHpass"
:
"xvc7733455"
}
"SSHuser"
:
"juan"
,
"SSHpass"
:
"xvc7733455"
}
cciv
=
{
"nombre"
:
"cciv"
,
"CARPETA"
:
"/home/juan/.cromes/cciv"
,
"SSHprox"
:
"345
7
"
,
cciv
=
{
"nombre"
:
"cciv"
,
"CARPETA"
:
"/home/juan/.cromes/cciv"
,
"SSHprox"
:
"345
4
"
,
"HOME"
:
"http://192.168.0.111"
,
"SSHport"
:
"
4200
"
,
"SSHdom"
:
"s2.hgtec.com.ar"
,
"HOME"
:
"http://192.168.0.111"
,
"SSHport"
:
""
,
"SSHdom"
:
"s2.hgtec.com.ar"
,
"SSHuser"
:
"
juan
"
,
"SSHpass"
:
"xvc7733455"
}
"SSHuser"
:
"
administrador
"
,
"SSHpass"
:
"xvc7733455"
}
isva
=
{
"nombre"
:
"isva"
,
"CARPETA"
:
"/home/juan/.cromes/isva"
,
"SSHprox"
:
"345
7
"
,
isva
=
{
"nombre"
:
"isva"
,
"CARPETA"
:
"/home/juan/.cromes/isva"
,
"SSHprox"
:
"345
3
"
,
"HOME"
:
"http://10.0.0.104"
,
"SSHport"
:
"
4200"
,
"SSHdom"
:
"s2.hgtec.com.ar
"
,
"HOME"
:
"http://10.0.0.104"
,
"SSHport"
:
"
22"
,
"SSHdom"
:
"190.220.138.11
"
,
"SSHuser"
:
"
juan"
,
"SSHpass"
:
"xvc7733455
"
}
"SSHuser"
:
"
administrador"
,
"SSHpass"
:
"vivaperon
"
}
atlas
=
{
"nombre"
:
"atlas"
,
"CARPETA"
:
"/home/juan/.cromes/atlas"
,
"SSHprox"
:
"345
7
"
,
atlas
=
{
"nombre"
:
"atlas"
,
"CARPETA"
:
"/home/juan/.cromes/atlas"
,
"SSHprox"
:
"345
2
"
,
"HOME"
:
"https://10.0.0.1"
,
"SSHport"
:
"
4200"
,
"SSHdom"
:
"s2.hgtec
.com.ar"
,
"HOME"
:
"https://10.0.0.1"
,
"SSHport"
:
"
2222"
,
"SSHdom"
:
"restobaratlas
.com.ar"
,
"SSHuser"
:
"
juan"
,
"SSHpass"
:
"xvc7733455
"
}
"SSHuser"
:
"
isva"
,
"SSHpass"
:
"kernel2016
"
}
Personal
=
{
"nombre"
:
"Personal"
,
"CARPETA"
:
"/home/juan/.cromes/personal"
}
Personal
=
{
"nombre"
:
"Personal"
,
"CARPETA"
:
"/home/juan/.cromes/personal"
}
inv
=
{
"nombre"
:
"Investig.."
,
"CARPETA"
:
"/home/juan/.cromes/inv"
}
Temp
=
{
"nombre"
:
"Temporal"
,
"CARPETA"
:
"/dev/shm/personal"
}
Temp
=
{
"nombre"
:
"Temporal"
,
"CARPETA"
:
"/dev/shm/personal"
}
nabegadores
=
[
HGT
,
Temp
,
Remoto
,
Personal
,
cciv
,
isva
,
atlas
]
\ No newline at end of file
\ No newline at end of file
nabegadores
=
[
HGT
,
inv
,
Temp
,
Remoto
,
Personal
,
cciv
,
isva
,
atlas
]
\ No newline at end of file
\ No newline at end of file
interface.py
View file @
38374f2
...
@@ -15,7 +15,7 @@ class App(QWidget):
...
@@ -15,7 +15,7 @@ class App(QWidget):
self
.
top
=
10
self
.
top
=
10
self
.
width
=
120
self
.
width
=
120
self
.
height
=
200
self
.
height
=
200
self
.
ordenV
=
0
self
.
ordenV
=
5
self
.
initUI
()
self
.
initUI
()
def
initUI
(
self
):
def
initUI
(
self
):
...
@@ -24,7 +24,8 @@ class App(QWidget):
...
@@ -24,7 +24,8 @@ class App(QWidget):
self
.
show
()
self
.
show
()
self
.
GenerarBotones
()
self
.
GenerarBotones
()
self
.
setWindowIcon
(
QtGui
.
QIcon
(
'IMG/Browser.png'
))
self
.
setWindowIcon
(
QtGui
.
QIcon
(
'IMG/Browser.png'
))
self
.
hide
()
#self.hide()
tray
.
action
()
def
GenerarBotones
(
self
):
def
GenerarBotones
(
self
):
...
@@ -47,14 +48,16 @@ class App(QWidget):
...
@@ -47,14 +48,16 @@ class App(QWidget):
pass
pass
print
(
comando
)
print
(
comando
)
archivos
.
ejecutar
(
self
,
comando
)
archivos
.
ejecutar
(
self
,
comando
)
self
.
hide
()
#self.hide()
tray
.
action
()
def
constructor
(
self
,
name
,
id
):
def
constructor
(
self
,
name
,
id
):
self
.
ordenV
+=
25
button1
=
QPushButton
(
str
(
name
),
self
)
button1
=
QPushButton
(
str
(
name
),
self
)
button1
.
move
(
10
,
self
.
ordenV
)
button1
.
move
(
10
,
self
.
ordenV
)
button1
.
clicked
.
connect
(
lambda
x
:
self
.
button_pushed
(
id
))
button1
.
clicked
.
connect
(
lambda
x
:
self
.
button_pushed
(
id
))
button1
.
show
()
button1
.
show
()
self
.
ordenV
+=
25
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
app
=
QApplication
(
sys
.
argv
)
app
=
QApplication
(
sys
.
argv
)
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment