Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add Spanish translation

  • Loading branch information...
commit e868bf06b27c65d7485e671824ea03117ad8f0ab 1 parent d78bc86
@antico authored
View
1  README
@@ -90,5 +90,6 @@ THANKS
- Disels for Russian translation;
- Jiri Popek for Czech translation;
- Thomas Rauch for German translation;
+- Elega for Spanish translation;
- Me for Italian translation :-)
View
BIN  language/es_ES.qm
Binary file not shown
View
1,232 language/es_ES.ts
@@ -0,0 +1,1232 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="es_ES">
+<context>
+ <name>Antico</name>
+ <message>
+ <location filename="../src/antico.cpp" line="819"/>
+ <source>QUIT THE WM</source>
+ <translation>SALIR DE WM</translation>
+ </message>
+ <message>
+ <location filename="../src/antico.cpp" line="820"/>
+ <source>Are you sure to quit the WM ?</source>
+ <translation>¿Está seguro que desea salir de WM?</translation>
+ </message>
+ <message>
+ <location filename="../src/antico.cpp" line="845"/>
+ <source>SHUTDOWN THE PC</source>
+ <translation>APAGAR PC</translation>
+ </message>
+ <message>
+ <location filename="../src/antico.cpp" line="846"/>
+ <source>Are you sure to shutdown the PC ?</source>
+ <translation>¿Está seguro que desea apagar su pc?</translation>
+ </message>
+ <message>
+ <location filename="../src/antico.cpp" line="877"/>
+ <source>RESTART THE PC</source>
+ <translation>REINICIAR PC</translation>
+ </message>
+ <message>
+ <location filename="../src/antico.cpp" line="878"/>
+ <source>Are you sure to restart the PC ?</source>
+ <translation>¿Está seguro que desea reiniciar su pc?</translation>
+ </message>
+</context>
+<context>
+ <name>Categorymenu</name>
+ <message>
+ <location filename="../src/utils.cpp" line="101"/>
+ <source>AudioVideo</source>
+ <translation>Multimedia</translation>
+ </message>
+ <message>
+ <location filename="../src/utils.cpp" line="103"/>
+ <source>System</source>
+ <translation>Sistema</translation>
+ </message>
+ <message>
+ <location filename="../src/utils.cpp" line="105"/>
+ <source>Development</source>
+ <translation>Desarrollo</translation>
+ </message>
+ <message>
+ <location filename="../src/utils.cpp" line="107"/>
+ <source>Graphics</source>
+ <translation>Gráficos</translation>
+ </message>
+ <message>
+ <location filename="../src/utils.cpp" line="109"/>
+ <source>Network</source>
+ <translation>Red</translation>
+ </message>
+ <message>
+ <location filename="../src/utils.cpp" line="111"/>
+ <source>Office</source>
+ <translation>Oficina</translation>
+ </message>
+ <message>
+ <location filename="../src/utils.cpp" line="113"/>
+ <source>Utility</source>
+ <translation>Utilidad</translation>
+ </message>
+</context>
+<context>
+ <name>Colordialog</name>
+ <message>
+ <location filename="../src/colordialog.cpp" line="32"/>
+ <source>Ok</source>
+ <translation>Ok</translation>
+ </message>
+ <message>
+ <location filename="../src/colordialog.cpp" line="33"/>
+ <source>Cancel</source>
+ <translation>Cancelar</translation>
+ </message>
+</context>
+<context>
+ <name>Desk</name>
+ <message>
+ <location filename="../src/desk.cpp" line="142"/>
+ <location filename="../src/desk.cpp" line="325"/>
+ <source>New link to folder</source>
+ <translation>Nuevo enlace de carpeta</translation>
+ </message>
+ <message>
+ <location filename="../src/desk.cpp" line="143"/>
+ <location filename="../src/desk.cpp" line="343"/>
+ <source>New link to file</source>
+ <translation>Nuevo enlace de archivo</translation>
+ </message>
+ <message>
+ <location filename="../src/desk.cpp" line="144"/>
+ <location filename="../src/desk.cpp" line="361"/>
+ <source>New link to application</source>
+ <translation>Nuevo enlace de aplicación</translation>
+ </message>
+ <message>
+ <location filename="../src/desk.cpp" line="233"/>
+ <source>DELETE SELECTED ICONS</source>
+ <translation>ELIMINAR ICONOS SELECCIONADOS</translation>
+ </message>
+ <message>
+ <location filename="../src/desk.cpp" line="234"/>
+ <source>Are you sure to delete the selected icons ?</source>
+ <translation>¿Está seguro que desea eliminar los íconos seleccionados?</translation>
+ </message>
+ <message>
+ <location filename="../src/desk.cpp" line="327"/>
+ <source>New link to folder:</source>
+ <translation>Nuevo enlace a la carpeta:</translation>
+ </message>
+ <message>
+ <location filename="../src/desk.cpp" line="345"/>
+ <source>New link to file:</source>
+ <translation>Nuevo enlace al archivo:</translation>
+ </message>
+ <message>
+ <location filename="../src/desk.cpp" line="363"/>
+ <source>New link to application:</source>
+ <translation>Nuevo enlace a la aplicación:</translation>
+ </message>
+ <message>
+ <location filename="../src/desk.cpp" line="622"/>
+ <location filename="../src/desk.cpp" line="664"/>
+ <source>WARNING</source>
+ <translation>ADVERTENCIA</translation>
+ </message>
+ <message>
+ <location filename="../src/desk.cpp" line="623"/>
+ <source>&lt;b&gt;Problem to mount the device&lt;/b&gt;</source>
+ <translation>&lt;b&gt;Problema al montar el dispositivo&lt;/b&gt;</translation>
+ </message>
+ <message>
+ <location filename="../src/desk.cpp" line="631"/>
+ <source>Device mounted in:</source>
+ <translation>Dispositivo montado en:</translation>
+ </message>
+ <message>
+ <location filename="../src/desk.cpp" line="665"/>
+ <source>&lt;b&gt;Problem to unmount the device&lt;/b&gt;</source>
+ <translation>&lt;b&gt;Problema al desmontar el dispositivo&lt;/b&gt;</translation>
+ </message>
+ <message>
+ <location filename="../src/desk.cpp" line="672"/>
+ <source>INFORMATION</source>
+ <translation>INFORMACIÓN</translation>
+ </message>
+ <message>
+ <location filename="../src/desk.cpp" line="673"/>
+ <source>&lt;b&gt;Device correctly unmounted&lt;/b&gt;</source>
+ <translation>&lt;b&gt;Dispositivo desmontado correctamente&lt;/b&gt;</translation>
+ </message>
+</context>
+<context>
+ <name>Deskapp</name>
+ <message>
+ <location filename="../src/deskapp.cpp" line="92"/>
+ <source>Delete link</source>
+ <translation>Eliminar enlace</translation>
+ </message>
+</context>
+<context>
+ <name>Deskdev</name>
+ <message>
+ <location filename="../src/deskdev.cpp" line="20"/>
+ <source>Mount path: </source>
+ <translation>Montar ruta:</translation>
+ </message>
+ <message>
+ <location filename="../src/deskdev.cpp" line="63"/>
+ <source>Open with</source>
+ <translation>Abrir con</translation>
+ </message>
+ <message>
+ <location filename="../src/deskdev.cpp" line="125"/>
+ <source>Device contents:</source>
+ <translation>Contenido del dispositivo:</translation>
+ </message>
+</context>
+<context>
+ <name>Deskfile</name>
+ <message>
+ <location filename="../src/deskfile.cpp" line="38"/>
+ <source>Open with</source>
+ <translation>Abrir con</translation>
+ </message>
+ <message>
+ <location filename="../src/deskfile.cpp" line="46"/>
+ <source>Delete link</source>
+ <translation>Eliminar enlace</translation>
+ </message>
+</context>
+<context>
+ <name>Deskfolder</name>
+ <message>
+ <location filename="../src/deskfolder.cpp" line="39"/>
+ <source>Open with</source>
+ <translation>Abrir con</translation>
+ </message>
+ <message>
+ <location filename="../src/deskfolder.cpp" line="47"/>
+ <source>Delete link</source>
+ <translation>Eliminar enlace</translation>
+ </message>
+ <message>
+ <location filename="../src/deskfolder.cpp" line="162"/>
+ <source>Folder contents:</source>
+ <translation>Contenido de la carpeta:</translation>
+ </message>
+</context>
+<context>
+ <name>Deskicon</name>
+ <message>
+ <location filename="../src/deskicon.cpp" line="61"/>
+ <location filename="../src/deskicon.cpp" line="95"/>
+ <source>Close</source>
+ <translation>Cerrar</translation>
+ </message>
+</context>
+<context>
+ <name>Dockapp</name>
+ <message>
+ <location filename="../src/dockapp.cpp" line="55"/>
+ <source>Delete link</source>
+ <translation>Eliminar enlace</translation>
+ </message>
+</context>
+<context>
+ <name>Dockbar</name>
+ <message>
+ <location filename="../src/dockbar.cpp" line="109"/>
+ <location filename="../src/dockbar.cpp" line="209"/>
+ <source>New link to application</source>
+ <translation>Nuevo enlace a la aplicación</translation>
+ </message>
+ <message>
+ <location filename="../src/dockbar.cpp" line="211"/>
+ <source>New link to application:</source>
+ <translation>Nuevo enlace a la aplicación:</translation>
+ </message>
+</context>
+<context>
+ <name>Dockicon</name>
+ <message>
+ <location filename="../src/dockicon.cpp" line="73"/>
+ <location filename="../src/dockicon.cpp" line="118"/>
+ <source>Close</source>
+ <translation>Cerrar</translation>
+ </message>
+ <message>
+ <location filename="../src/dockicon.cpp" line="74"/>
+ <location filename="../src/dockicon.cpp" line="124"/>
+ <source>Add to System Tray</source>
+ <translation>Añadir a la bandeja de sistema</translation>
+ </message>
+</context>
+<context>
+ <name>Filedialog</name>
+ <message>
+ <location filename="../src/filedialog.cpp" line="108"/>
+ <source>Upper directory</source>
+ <translation>Directorio superior</translation>
+ </message>
+ <message>
+ <location filename="../src/filedialog.cpp" line="113"/>
+ <source>Show hidden files</source>
+ <translation>Mostrar archivos ocultos</translation>
+ </message>
+ <message>
+ <location filename="../src/filedialog.cpp" line="114"/>
+ <source>Icons</source>
+ <translation>Iconos</translation>
+ </message>
+ <message>
+ <location filename="../src/filedialog.cpp" line="115"/>
+ <source>List</source>
+ <translation>Lista</translation>
+ </message>
+ <message>
+ <location filename="../src/filedialog.cpp" line="172"/>
+ <source>Ok</source>
+ <translation>Ok</translation>
+ </message>
+ <message>
+ <location filename="../src/filedialog.cpp" line="173"/>
+ <source>Close</source>
+ <translation>Cerrar</translation>
+ </message>
+ <message>
+ <location filename="../src/filedialog.cpp" line="183"/>
+ <source>/</source>
+ <translation>/</translation>
+ </message>
+ <message>
+ <location filename="../src/filedialog.cpp" line="184"/>
+ <source>/usr/bin/</source>
+ <translation>/usr/bin/</translation>
+ </message>
+ <message>
+ <location filename="../src/filedialog.cpp" line="185"/>
+ <source>/home/</source>
+ <translation>/home/</translation>
+ </message>
+ <message>
+ <location filename="../src/filedialog.cpp" line="187"/>
+ <source>Info</source>
+ <translation>Info</translation>
+ </message>
+ <message>
+ <location filename="../src/filedialog.cpp" line="199"/>
+ <source>&lt;b&gt;Owner:&lt;/b&gt;</source>
+ <translation>&lt;b&gt;Propietario:&lt;/b&gt;</translation>
+ </message>
+ <message>
+ <location filename="../src/filedialog.cpp" line="200"/>
+ <source>&lt;b&gt;Permissions:&lt;/b&gt;</source>
+ <translation>&lt;b&gt;Permisos:&lt;/b&gt;</translation>
+ </message>
+ <message>
+ <location filename="../src/filedialog.cpp" line="248"/>
+ <source>Open with</source>
+ <translation>Abrir con</translation>
+ </message>
+ <message>
+ <location filename="../src/filedialog.cpp" line="258"/>
+ <source>Delete</source>
+ <translation>Eliminar</translation>
+ </message>
+ <message>
+ <location filename="../src/filedialog.cpp" line="259"/>
+ <source>Cut...</source>
+ <translation>Cortar...</translation>
+ </message>
+ <message>
+ <location filename="../src/filedialog.cpp" line="260"/>
+ <source>Copy...</source>
+ <translation>Copiar...</translation>
+ </message>
+ <message>
+ <location filename="../src/filedialog.cpp" line="261"/>
+ <source>Paste</source>
+ <translation>Pegar</translation>
+ </message>
+ <message>
+ <location filename="../src/filedialog.cpp" line="262"/>
+ <source>Rename</source>
+ <translation>Renombrar</translation>
+ </message>
+ <message>
+ <location filename="../src/filedialog.cpp" line="264"/>
+ <location filename="../src/filedialog.cpp" line="442"/>
+ <source>New folder</source>
+ <translation>Nueva carpeta</translation>
+ </message>
+ <message>
+ <location filename="../src/filedialog.cpp" line="265"/>
+ <source>New file</source>
+ <translation>Nuevo archivo</translation>
+ </message>
+</context>
+<context>
+ <name>Frame</name>
+ <message>
+ <location filename="../src/frame.cpp" line="562"/>
+ <source>Minimize(L)/Maximize(R)</source>
+ <translation>Minimizar(L)/Maximizar(R)</translation>
+ </message>
+ <message>
+ <location filename="../src/frame.cpp" line="570"/>
+ <source>Close</source>
+ <translation>Cerrar</translation>
+ </message>
+</context>
+<context>
+ <name>Launcher</name>
+ <message>
+ <location filename="../src/launcher.cpp" line="58"/>
+ <source>Quit WM</source>
+ <translation>Salir de WM</translation>
+ </message>
+ <message>
+ <location filename="../src/launcher.cpp" line="59"/>
+ <source>Shutdown PC</source>
+ <translation>Apagar PC</translation>
+ </message>
+ <message>
+ <location filename="../src/launcher.cpp" line="60"/>
+ <source>Restart PC</source>
+ <translation>Reiniciar PC</translation>
+ </message>
+ <message>
+ <location filename="../src/launcher.cpp" line="61"/>
+ <source>Refresh WM</source>
+ <translation>Actualizar WM</translation>
+ </message>
+ <message>
+ <location filename="../src/launcher.cpp" line="62"/>
+ <source>Run...</source>
+ <translation>Ejecutar...</translation>
+ </message>
+ <message>
+ <location filename="../src/launcher.cpp" line="63"/>
+ <source>Manager</source>
+ <translation>Administrador</translation>
+ </message>
+ <message>
+ <location filename="../src/launcher.cpp" line="64"/>
+ <source>Show Desktop</source>
+ <translation>Mostrar escritorio</translation>
+ </message>
+ <message>
+ <location filename="../src/launcher.cpp" line="65"/>
+ <source>Settings</source>
+ <translation>Configuración</translation>
+ </message>
+</context>
+<context>
+ <name>Manager</name>
+ <message>
+ <location filename="../src/manager.cpp" line="35"/>
+ <source>MANAGER</source>
+ <translation>ADMINISTRADOR</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="303"/>
+ <source>Add application</source>
+ <translation>Añadir aplicación</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="326"/>
+ <source>/</source>
+ <translation>/</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="328"/>
+ <source>/usr/bin/</source>
+ <translation>/usr/bin/</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="330"/>
+ <source>/home/</source>
+ <translation>/home/</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="337"/>
+ <source>Select the category:</source>
+ <translation>Seleccione la categoría:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="341"/>
+ <location filename="../src/manager.cpp" line="350"/>
+ <source>Utility</source>
+ <translation>Utilidad</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="342"/>
+ <location filename="../src/manager.cpp" line="351"/>
+ <source>Office</source>
+ <translation>Oficina</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="343"/>
+ <location filename="../src/manager.cpp" line="352"/>
+ <source>Network</source>
+ <translation>Red</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="344"/>
+ <location filename="../src/manager.cpp" line="353"/>
+ <source>Graphics</source>
+ <translation>Gráficos</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="345"/>
+ <location filename="../src/manager.cpp" line="354"/>
+ <source>Development</source>
+ <translation>Desarrollo</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="346"/>
+ <location filename="../src/manager.cpp" line="355"/>
+ <source>System</source>
+ <translation>Sistema</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="347"/>
+ <location filename="../src/manager.cpp" line="356"/>
+ <source>AudioVideo</source>
+ <translation>Multimedia</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="358"/>
+ <location filename="../src/manager.cpp" line="427"/>
+ <source>Add</source>
+ <translation>Añadir</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="359"/>
+ <location filename="../src/manager.cpp" line="395"/>
+ <location filename="../src/manager.cpp" line="429"/>
+ <location filename="../src/manager.cpp" line="1178"/>
+ <source>Close</source>
+ <translation>Cerrar</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="381"/>
+ <source>Remove application</source>
+ <translation>Eliminar aplicación</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="387"/>
+ <source>Category/Applications</source>
+ <translation>Categoría/Aplicaciones</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="394"/>
+ <location filename="../src/manager.cpp" line="428"/>
+ <source>Remove</source>
+ <translation>Remover</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="414"/>
+ <source>Run at startup</source>
+ <translation>Ejecutar al inicio</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="420"/>
+ <source>Application</source>
+ <translation>Aplicaciones</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="420"/>
+ <source>Path</source>
+ <translation>Ruta</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="420"/>
+ <source>Arguments</source>
+ <translation>Argumentos</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="452"/>
+ <source>Style</source>
+ <translation>Estilo</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="459"/>
+ <source>Actual style:</source>
+ <translation>Estilo actual:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="473"/>
+ <location filename="../src/manager.cpp" line="494"/>
+ <source>Frame</source>
+ <translation>Marco</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="475"/>
+ <location filename="../src/manager.cpp" line="565"/>
+ <source>Dockbar</source>
+ <translation>Panel</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="477"/>
+ <source>Desktop</source>
+ <translation>Escritorio</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="479"/>
+ <source>Wallpaper</source>
+ <translation>Fondo de pantalla</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="481"/>
+ <location filename="../src/manager.cpp" line="791"/>
+ <source>Launcher</source>
+ <translation>Lanzador</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="483"/>
+ <location filename="../src/manager.cpp" line="877"/>
+ <source>Categories</source>
+ <translation>Categorías</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="485"/>
+ <location filename="../src/manager.cpp" line="946"/>
+ <source>Message</source>
+ <translation>Mensaje</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="487"/>
+ <location filename="../src/manager.cpp" line="1032"/>
+ <source>Other</source>
+ <translation>Otros</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="498"/>
+ <source>Top border height:</source>
+ <translation>Alto del borde superior:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="499"/>
+ <source>Lateral border width:</source>
+ <translation>Ancho del borde lateral:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="500"/>
+ <source>Bottom border height:</source>
+ <translation>Alto del borde inferior:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="501"/>
+ <source>Header active:</source>
+ <translation>Cabecera activa:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="502"/>
+ <source>Header inactive:</source>
+ <translation>Cabecera inactiva:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="503"/>
+ <location filename="../src/manager.cpp" line="607"/>
+ <source>Title color:</source>
+ <translation>Color del título:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="504"/>
+ <source>Minimize/Maximize:</source>
+ <translation>Minimizar/Maximizar:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="505"/>
+ <location filename="../src/manager.cpp" line="951"/>
+ <source>Close:</source>
+ <translation>Cerrar:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="569"/>
+ <source>Height:</source>
+ <translation>Alto:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="573"/>
+ <source>Width:</source>
+ <translation>Ancho:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="579"/>
+ <source>Position:</source>
+ <translation>Posición:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="581"/>
+ <source>Bottom</source>
+ <translation>Inferior</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="582"/>
+ <source>Top</source>
+ <translation>Superior</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="583"/>
+ <location filename="../src/manager.cpp" line="603"/>
+ <location filename="../src/manager.cpp" line="626"/>
+ <location filename="../src/manager.cpp" line="672"/>
+ <location filename="../src/manager.cpp" line="755"/>
+ <source>Pixmap:</source>
+ <translation>Imágen:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="599"/>
+ <source>Dockbar icon</source>
+ <translation>Icono del panel</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="622"/>
+ <source>System Tray icon</source>
+ <translation>Icono de la bandeja de sistema</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="636"/>
+ <source>Clock/Date</source>
+ <translation>Hora/Fecha</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="640"/>
+ <source>Date color:</source>
+ <translation>Color de la fecha:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="641"/>
+ <source>Clock color:</source>
+ <translation>Color de la hora:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="668"/>
+ <source>Desktop folder</source>
+ <translation>Carpeta de escritorio</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="676"/>
+ <location filename="../src/manager.cpp" line="695"/>
+ <location filename="../src/manager.cpp" line="709"/>
+ <location filename="../src/manager.cpp" line="731"/>
+ <location filename="../src/manager.cpp" line="759"/>
+ <source>Name color:</source>
+ <translation>Color del nombre:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="691"/>
+ <source>Desktop file</source>
+ <translation>Archivo de escritorio</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="705"/>
+ <source>Desktop application</source>
+ <translation>Aplicación de escritorio</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="719"/>
+ <source>Desktop device</source>
+ <translation>Dispositivo de escritorio</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="723"/>
+ <source>Disk:</source>
+ <translation>Disco:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="727"/>
+ <source>CDRom:</source>
+ <translation>CDRom:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="751"/>
+ <source>Trash</source>
+ <translation>Papelera</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="780"/>
+ <source>Desktop wallpaper</source>
+ <translation>Fondo de escritorio</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="795"/>
+ <source>Launcher:</source>
+ <translation>Lanzador:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="796"/>
+ <source>Quit:</source>
+ <translation>Salir:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="797"/>
+ <source>Shutdown:</source>
+ <translation>Apagar:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="798"/>
+ <source>Restart:</source>
+ <translation>Reiniciar:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="799"/>
+ <source>Refresh:</source>
+ <translation>Actualizar:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="800"/>
+ <source>Run:</source>
+ <translation>Ejecutar:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="801"/>
+ <source>Show Desktop:</source>
+ <translation>Mostrar escritorio:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="802"/>
+ <source>Manager:</source>
+ <translation>Administrador:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="803"/>
+ <source>Settings:</source>
+ <translation>Configuración:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="881"/>
+ <source>Utility:</source>
+ <translation>Utilidad:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="882"/>
+ <source>Office:</source>
+ <translation>Oficina:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="883"/>
+ <source>Network:</source>
+ <translation>Red:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="884"/>
+ <source>Graphics:</source>
+ <translation>Gráficos:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="885"/>
+ <source>Development:</source>
+ <translation>Desarrollo:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="886"/>
+ <source>System:</source>
+ <translation>Sistema:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="887"/>
+ <source>AudioVideo:</source>
+ <translation>Multimedia:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="950"/>
+ <source>Ok:</source>
+ <translation>Ok:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="952"/>
+ <source>Add:</source>
+ <translation>Añadir:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="953"/>
+ <source>Remove:</source>
+ <translation>Remover:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="954"/>
+ <source>Restore:</source>
+ <translation>Restaurar:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="955"/>
+ <source>Question:</source>
+ <translation>Pregunta:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="956"/>
+ <source>Information:</source>
+ <translation>Información:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="957"/>
+ <source>Warning:</source>
+ <translation>Advertencia:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="958"/>
+ <source>Critical:</source>
+ <translation>Crítico:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="1036"/>
+ <source>Application:</source>
+ <translation>Aplicaciones:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="1037"/>
+ <source>Folder link:</source>
+ <translation>Carpeta:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="1038"/>
+ <source>File link:</source>
+ <translation>Archivo:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="1039"/>
+ <source>Application link:</source>
+ <translation>Aplicación:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="1040"/>
+ <source>Delete link:</source>
+ <translation>Eliminar enlace:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="1041"/>
+ <source>Delete file:</source>
+ <translation>Eliminar archivo:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="1042"/>
+ <source>Cut file:</source>
+ <translation>Cortar archivo:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="1043"/>
+ <source>Copy file:</source>
+ <translation>Copiar archivo:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="1044"/>
+ <source>Paste file:</source>
+ <translation>Pegar archivo:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="1045"/>
+ <source>Close Dock:</source>
+ <translation>Cerrar panel:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="1046"/>
+ <source>Add to SysTray:</source>
+ <translation>Añadir a la bandeja de sistema:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="1047"/>
+ <source>Open with:</source>
+ <translation>Abrir con:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="1048"/>
+ <source>List view:</source>
+ <translation>Vista de lista:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="1049"/>
+ <source>Icon view:</source>
+ <translation>Vista de ícono:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="1050"/>
+ <source>Upper dir:</source>
+ <translation>Directorio superior:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="1177"/>
+ <source>Ok</source>
+ <translation>Ok</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="1376"/>
+ <source>Select the style</source>
+ <translation>Seleccione el estilo</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="1402"/>
+ <source>Select the pixmap</source>
+ <translation>Seleccione la imágen</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="1553"/>
+ <source>ANTICO STYLE SETTINGS UPDATED</source>
+ <translation>AJUSTE DE ESTILO ANTICO ACTUALIZADO</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="1554"/>
+ <location filename="../src/manager.cpp" line="1587"/>
+ <location filename="../src/manager.cpp" line="1663"/>
+ <source>To apply the modify, select &lt;b&gt;Refresh WM&lt;/b&gt; on Launcher menu</source>
+ <translation>Para aplicar la modificación, seleccione &lt;b&gt;Actualizar WM&lt;/b&gt; en el menú de inicio</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="1586"/>
+ <source>APPLICATION ADDED</source>
+ <translation>APLICACIÓN AÑADIDA</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="1596"/>
+ <source>Add application to run at startup:</source>
+ <translation>Añadir aplicación al inicio:</translation>
+ </message>
+ <message>
+ <location filename="../src/manager.cpp" line="1662"/>
+ <source>APPLICATION REMOVED</source>
+ <translation>APLICACIÓN REMOVIDA</translation>
+ </message>
+</context>
+<context>
+ <name>Msgbox</name>
+ <message>
+ <location filename="../src/msgbox.cpp" line="31"/>
+ <source>Ok</source>
+ <translation>Ok</translation>
+ </message>
+ <message>
+ <location filename="../src/msgbox.cpp" line="32"/>
+ <source>Close</source>
+ <translation>Close</translation>
+ </message>
+</context>
+<context>
+ <name>Runner</name>
+ <message>
+ <location filename="../src/runner.cpp" line="43"/>
+ <source>RUNNER</source>
+ <translation>LANZADOR</translation>
+ </message>
+ <message>
+ <location filename="../src/runner.cpp" line="46"/>
+ <source>Type command line:</source>
+ <translation>Escriba línea de comando:</translation>
+ </message>
+ <message>
+ <location filename="../src/runner.cpp" line="52"/>
+ <source>Run</source>
+ <translation>Ejecutar</translation>
+ </message>
+ <message>
+ <location filename="../src/runner.cpp" line="53"/>
+ <source>Close</source>
+ <translation>Cerrar</translation>
+ </message>
+ <message>
+ <location filename="../src/runner.cpp" line="110"/>
+ <source>COMMAND INCORRECT</source>
+ <translation>COMANDO INCORRECTO</translation>
+ </message>
+ <message>
+ <location filename="../src/runner.cpp" line="111"/>
+ <source>Check the command syntax.
+If the app is not in your $PATH, type the absolute app path.</source>
+ <translation>Compruebe la sintaxis del comando.
+Si la aplicación no está en su $PATH, escriba la ruta de acceso absoluta.</translation>
+ </message>
+</context>
+<context>
+ <name>Settings</name>
+ <message>
+ <location filename="../src/settings.cpp" line="65"/>
+ <source>SETTINGS</source>
+ <translation>CONFIGURACIÓN</translation>
+ </message>
+ <message>
+ <location filename="../src/settings.cpp" line="71"/>
+ <source>Ok</source>
+ <translation>Ok</translation>
+ </message>
+ <message>
+ <location filename="../src/settings.cpp" line="72"/>
+ <source>Close</source>
+ <translation>Cerrar</translation>
+ </message>
+ <message>
+ <location filename="../src/settings.cpp" line="92"/>
+ <source>GUI</source>
+ <translation>GUI</translation>
+ </message>
+ <message>
+ <location filename="../src/settings.cpp" line="104"/>
+ <source>GUI Style:</source>
+ <translation>Estilo del GUI:</translation>
+ </message>
+ <message>
+ <location filename="../src/settings.cpp" line="122"/>
+ <source>Font family:</source>
+ <translation>Familia de fuentes:</translation>
+ </message>
+ <message>
+ <location filename="../src/settings.cpp" line="123"/>
+ <source>Font style:</source>
+ <translation>Estilo de fuente:</translation>
+ </message>
+ <message>
+ <location filename="../src/settings.cpp" line="124"/>
+ <source>Font size:</source>
+ <translation>Tamaño de fuente:</translation>
+ </message>
+ <message>
+ <location filename="../src/settings.cpp" line="160"/>
+ <source>Display</source>
+ <translation>Pantalla</translation>
+ </message>
+ <message>
+ <location filename="../src/settings.cpp" line="192"/>
+ <source>Composite:</source>
+ <translation>Composite:</translation>
+ </message>
+ <message>
+ <location filename="../src/settings.cpp" line="193"/>
+ <source>Virtual Desktop:</source>
+ <translation>Escritorio virtual:</translation>
+ </message>
+ <message>
+ <location filename="../src/settings.cpp" line="194"/>
+ <source>Display:</source>
+ <translation>Pantalla:</translation>
+ </message>
+ <message>
+ <location filename="../src/settings.cpp" line="195"/>
+ <source>Screen num:</source>
+ <translation>Pantalla num:</translation>
+ </message>
+ <message>
+ <location filename="../src/settings.cpp" line="196"/>
+ <source>Screen width:</source>
+ <translation>Ancho de la pantalla:</translation>
+ </message>
+ <message>
+ <location filename="../src/settings.cpp" line="197"/>
+ <source>Screen height:</source>
+ <translation>Alto de la pantalla:</translation>
+ </message>
+ <message>
+ <location filename="../src/settings.cpp" line="198"/>
+ <source>Color depth:</source>
+ <translation>Profundidad de color:</translation>
+ </message>
+ <message>
+ <location filename="../src/settings.cpp" line="199"/>
+ <source>Horizontal resol:</source>
+ <translation>Resolución horizontal:</translation>
+ </message>
+ <message>
+ <location filename="../src/settings.cpp" line="200"/>
+ <source>Vertical resol:</source>
+ <translation>Resolución vertical:</translation>
+ </message>
+ <message>
+ <location filename="../src/settings.cpp" line="214"/>
+ <location filename="../src/settings.cpp" line="218"/>
+ <source>True</source>
+ <translation>Verdadero</translation>
+ </message>
+ <message>
+ <location filename="../src/settings.cpp" line="216"/>
+ <location filename="../src/settings.cpp" line="220"/>
+ <source>False</source>
+ <translation>Falso</translation>
+ </message>
+ <message>
+ <location filename="../src/settings.cpp" line="245"/>
+ <source>System</source>
+ <translation>Sistema</translation>
+ </message>
+ <message>
+ <location filename="../src/settings.cpp" line="263"/>
+ <source>Cursor flash time:</source>
+ <translation>Tiempo del cursor flash:</translation>
+ </message>
+ <message>
+ <location filename="../src/settings.cpp" line="264"/>
+ <source>Double click interval:</source>
+ <translation>Intervalo del doble clic:</translation>
+ </message>
+ <message>
+ <location filename="../src/settings.cpp" line="265"/>
+ <source>Keyboard input interval:</source>
+ <translation>Intervalo de entrada del teclado:</translation>
+ </message>
+ <message>
+ <location filename="../src/settings.cpp" line="266"/>
+ <source>Wheel scroll lines:</source>
+ <translation>Líneas de desplazamiento de la rueda:</translation>
+ </message>
+</context>
+<context>
+ <name>Trash</name>
+ <message>
+ <location filename="../src/trash.cpp" line="54"/>
+ <location filename="../src/trash.cpp" line="57"/>
+ <source>Trash</source>
+ <translation>Papelera</translation>
+ </message>
+ <message>
+ <location filename="../src/trash.cpp" line="114"/>
+ <source>The trash contains </source>
+ <translation>La papelera contiene</translation>
+ </message>
+ <message>
+ <location filename="../src/trash.cpp" line="114"/>
+ <source> entries</source>
+ <translation> entradas</translation>
+ </message>
+ <message>
+ <location filename="../src/trash.cpp" line="116"/>
+ <source>The trash is empty</source>
+ <translation>La papelera está vacía</translation>
+ </message>
+</context>
+<context>
+ <name>Trashdialog</name>
+ <message>
+ <location filename="../src/trashdialog.cpp" line="62"/>
+ <source>TRASH</source>
+ <translation>PAPELERA</translation>
+ </message>
+ <message>
+ <location filename="../src/trashdialog.cpp" line="84"/>
+ <source>Delete</source>
+ <translation>Eliminar</translation>
+ </message>
+ <message>
+ <location filename="../src/trashdialog.cpp" line="85"/>
+ <source>Restore</source>
+ <translation>Restaurar</translation>
+ </message>
+ <message>
+ <location filename="../src/trashdialog.cpp" line="86"/>
+ <source>Close</source>
+ <translation>Cerrar</translation>
+ </message>
+ <message>
+ <location filename="../src/trashdialog.cpp" line="150"/>
+ <location filename="../src/trashdialog.cpp" line="186"/>
+ <source>INFORMATION</source>
+ <translation>INFORMACIÓN</translation>
+ </message>
+ <message>
+ <location filename="../src/trashdialog.cpp" line="187"/>
+ <source>will be restored in</source>
+ <translation>será restaurado en</translation>
+ </message>
+</context>
+</TS>
View
26 src/antico.cpp
@@ -92,6 +92,11 @@ void Antico::get_atoms()
wm_normal_hints = XInternAtom(QX11Info::display(), "WM_NORMAL_HINTS", False);
wm_name = XInternAtom(QX11Info::display(), "WM_NAME", False);
wm_transient_for = XInternAtom(QX11Info::display(), "WM_TRANSIENT_FOR", False);
+ xdnd_aware = XInternAtom(QX11Info::display(), "XdndAware", False);
+ xdnd_position = XInternAtom(QX11Info::display(), "XdndPosition", False);
+ xdnd_enter = XInternAtom(QX11Info::display(), "XdndEnter", False);
+ xdnd_finished = XInternAtom(QX11Info::display(), "XdndFinished", False);
+ xdnd_status = XInternAtom(QX11Info::display(), "XdndStatus", False);
// extensions required by EWMH
_net_wm_name = XInternAtom(QX11Info::display(), "_NET_WM_NAME", False);
@@ -118,6 +123,7 @@ void Antico::send_supported_hints()
XClientMessageEvent xev3;
XClientMessageEvent xev4;
XClientMessageEvent xev5;
+ XClientMessageEvent xev6;
xev1.type = ClientMessage;
xev1.window = QApplication::desktop()->winId();
@@ -174,8 +180,20 @@ void Antico::send_supported_hints()
xev5.data.l[0] = _kde_net_wm_system_tray_window_for;
xev5.data.l[1] = _net_wm_state;
xev5.data.l[2] = _net_wm_window_type_dnd;
+ xev5.data.l[3] = xdnd_aware;
+ xev5.data.l[4] = xdnd_position;
XSendEvent(QX11Info::display(), QApplication::desktop()->winId(), False,
(SubstructureNotifyMask | SubstructureRedirectMask), (XEvent *)&xev5);
+
+ xev6.type = ClientMessage;
+ xev6.window = QApplication::desktop()->winId();
+ xev6.message_type = _net_supported;
+ xev6.format = 32;
+ xev6.data.l[0] = xdnd_enter;
+ xev6.data.l[1] = xdnd_finished;
+ xev6.data.l[2] = xdnd_status;
+ XSendEvent(QX11Info::display(), QApplication::desktop()->winId(), False,
+ (SubstructureNotifyMask | SubstructureRedirectMask), (XEvent *)&xev6);
}
bool Antico::x11EventFilter(XEvent *event)
@@ -509,7 +527,6 @@ bool Antico::x11EventFilter(XEvent *event)
qDebug() << "Button press:" << event->xbutton.button << "for client:" << event->xbutton.window;
XSetInputFocus(QX11Info::display(), event->xbutton.window, RevertToNone, CurrentTime);
}
-
return false;
break;
@@ -523,7 +540,14 @@ bool Antico::x11EventFilter(XEvent *event)
if ((frm = mapping_clients.value(event->xclient.window)) != NULL)
frm->iconify_it();
+ return true;
}
+ /* if (mev->message_type == xdnd_aware || mev->message_type == xdnd_position
+ || mev->message_type == xdnd_enter || mev->message_type == xdnd_finished
+ || mev->message_type == xdnd_status)
+ {
+ return true;
+ }*/
return false;
break;
View
6 src/antico.h
@@ -82,6 +82,12 @@ class Antico : public QApplication
Atom wm_normal_hints;
Atom wm_name;
Atom wm_transient_for;
+ // XDND Protocol
+ Atom xdnd_aware;
+ Atom xdnd_position;
+ Atom xdnd_enter;
+ Atom xdnd_finished;
+ Atom xdnd_status;
// Extensions
Atom _net_wm_name;
Atom _net_wm_icon;
View
14 src/colordialog.cpp
@@ -39,18 +39,10 @@ void Colordialog::init()
void Colordialog::paintEvent(QPaintEvent *)
{
- QPixmap pixmap(size());
- QPainter painter(&pixmap);
+ QPainter painter(this);
painter.setRenderHint(QPainter::Antialiasing);
- painter.fillRect(pixmap.rect(), Qt::white);
- painter.setBrush(Qt::black);
- painter.drawRoundRect(pixmap.rect(), 5, 5);
- setMask(pixmap.createMaskFromColor(Qt::white));
-
- QPainter painter1(this);
- painter1.setRenderHint(QPainter::Antialiasing);
- painter1.setPen(QPen(Qt::darkGray, 3, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
- painter1.drawRoundedRect(0, 0, width(), height(), 5, 5, Qt::RelativeSize);
+ painter.setPen(QPen(Qt::darkGray, 3, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
+ painter.drawRect(0, 0, width(), height());
}
QColor Colordialog::get_color() const
View
15 src/filedialog.cpp
@@ -83,18 +83,10 @@ void Filedialog::read_settings()
void Filedialog::paintEvent(QPaintEvent *)
{
- QPixmap pixmap(size());
- QPainter painter(&pixmap);
+ QPainter painter(this);
painter.setRenderHint(QPainter::Antialiasing);
- painter.fillRect(pixmap.rect(), Qt::white);
- painter.setBrush(Qt::black);
- painter.drawRoundRect(pixmap.rect(), 5, 5);
- setMask(pixmap.createMaskFromColor(Qt::white));
-
- QPainter painter1(this);
- painter1.setRenderHint(QPainter::Antialiasing);
- painter1.setPen(QPen(Qt::darkGray, 3, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
- painter1.drawRoundedRect(0, 0, width(), height(), 5, 5, Qt::RelativeSize);
+ painter.setPen(QPen(Qt::darkGray, 3, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
+ painter.drawRect(0, 0, width(), height());
}
void Filedialog::init()
@@ -125,7 +117,6 @@ void Filedialog::init()
fs_model = new QFileSystemModel(this);
fs_model->setSupportedDragActions(Qt::LinkAction);
fs_model->setFilter(fs_model->filter() | QDir::Hidden); // add hidden files to filter
- fs_model->setReadOnly(false);
fs_model->setRootPath("/"); // must set on init
QCompleter *completer = new QCompleter(this); // to complete the path
View
11 src/frame.cpp
@@ -107,7 +107,17 @@ void Frame::init()
qDebug() << "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++";
qDebug() << "Reparent Client:" << c_win << "with Frame:" << winId() << "- Name:" << cl_name();
qDebug() << "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++";
+/*
+ XSetWindowAttributes c_attr;
+ c_attr.do_not_propagate_mask = ButtonPressMask|ButtonReleaseMask|ButtonMotionMask;
+ c_attr.override_redirect = False;
+ c_attr.event_mask = ButtonMotionMask|SubstructureRedirectMask|SubstructureNotifyMask|ButtonPressMask|
+ ButtonReleaseMask|ExposureMask|EnterWindowMask|LeaveWindowMask;
+
+ XChangeWindowAttributes(QX11Info::display(), c_win, CWDontPropagate, &c_attr);
+ XSelectInput(QX11Info::display(), c_win, FocusChangeMask|PropertyChangeMask);
+*/
XAddToSaveSet(QX11Info::display(), c_win);
// move and resize client
XMoveResizeWindow(QX11Info::display(), c_win, lateral_bdr_width, top_bdr_height+3, client_w, client_h);
@@ -832,3 +842,4 @@ void Frame::dropEvent(QDropEvent *event)
event->acceptProposedAction();
qDebug() << "Drop event contents:" << event->mimeData()->text().toLatin1().data();
}
+
View
9 src/main.cpp
@@ -16,6 +16,15 @@ int main(int argc, char **argv)
XSelectInput(QX11Info::display(), QX11Info::appRootWindow(QX11Info::appScreen()), KeyPressMask | KeyReleaseMask | ButtonPressMask | ButtonReleaseMask |
KeymapStateMask | ButtonMotionMask | PointerMotionMask | EnterWindowMask | LeaveWindowMask | FocusChangeMask | VisibilityChangeMask |
ExposureMask | StructureNotifyMask | SubstructureRedirectMask | SubstructureNotifyMask);
+
+ XSelectInput(QX11Info::display(), QX11Info::appRootWindow(),
+ SubstructureNotifyMask|SubstructureRedirectMask|
+ StructureNotifyMask|
+ ButtonPressMask|
+ PropertyChangeMask|
+ KeyPressMask|
+ ColormapChangeMask|
+ EnterWindowMask);
XClearWindow(QX11Info::display(), QX11Info::appRootWindow(QX11Info::appScreen()));
XSync(QX11Info::display(), False);
View
14 src/manager.cpp
@@ -277,18 +277,10 @@ void Manager::read_settings()
void Manager::paintEvent(QPaintEvent *)
{
- QPixmap pixmap(size());
- QPainter painter(&pixmap);
+ QPainter painter(this);
painter.setRenderHint(QPainter::Antialiasing);
- painter.fillRect(pixmap.rect(), Qt::white);
- painter.setBrush(Qt::black);
- painter.drawRoundRect(pixmap.rect(), 5, 5);
- setMask(pixmap.createMaskFromColor(Qt::white));
-
- QPainter painter1(this);
- painter1.setRenderHint(QPainter::Antialiasing);
- painter1.setPen(QPen(Qt::darkGray, 3, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
- painter1.drawRoundedRect(0, 0, width(), height(), 5, 5, Qt::RelativeSize);
+ painter.setPen(QPen(Qt::darkGray, 3, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
+ painter.drawRect(0, 0, width(), height());
}
void Manager::add_app_tab()
View
14 src/msgbox.cpp
@@ -41,18 +41,10 @@ void Msgbox::init()
void Msgbox::paintEvent(QPaintEvent *)
{
- QPixmap pixmap(size());
- QPainter painter(&pixmap);
+ QPainter painter(this);
painter.setRenderHint(QPainter::Antialiasing);
- painter.fillRect(pixmap.rect(), Qt::white);
- painter.setBrush(Qt::black);
- painter.drawRoundRect(pixmap.rect(), 10, 10);
- setMask(pixmap.createMaskFromColor(Qt::white));
-
- QPainter painter1(this);
- painter1.setRenderHint(QPainter::Antialiasing);
- painter1.setPen(QPen(Qt::darkGray, 3, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
- painter1.drawRoundedRect(0, 0, width(), height(), 7, 7);
+ painter.setPen(QPen(Qt::darkGray, 3, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
+ painter.drawRect(0, 0, width(), height());
}
void Msgbox::read_settings()
View
14 src/runner.cpp
@@ -92,18 +92,10 @@ void Runner::load_cmd_history()
void Runner::paintEvent(QPaintEvent *)
{
- QPixmap pixmap(size());
- QPainter painter(&pixmap);
+ QPainter painter(this);
painter.setRenderHint(QPainter::Antialiasing);
- painter.fillRect(pixmap.rect(), Qt::white);
- painter.setBrush(Qt::black);
- painter.drawRoundRect(pixmap.rect(), 10, 10);
- setMask(pixmap.createMaskFromColor(Qt::white));
-
- QPainter painter1(this);
- painter1.setRenderHint(QPainter::Antialiasing);
- painter1.setPen(QPen(Qt::darkGray, 3, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
- painter1.drawRoundedRect(0, 0, width(), height(), 7, 7);
+ painter.setPen(QPen(Qt::darkGray, 3, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
+ painter.drawRect(0, 0, width(), height());
}
void Runner::mousePressEvent(QMouseEvent *event)
View
14 src/settings.cpp
@@ -43,18 +43,10 @@ void Settings::read_settings()
void Settings::paintEvent(QPaintEvent *)
{
- QPixmap pixmap(size());
- QPainter painter(&pixmap);
+ QPainter painter(this);
painter.setRenderHint(QPainter::Antialiasing);
- painter.fillRect(pixmap.rect(), Qt::white);
- painter.setBrush(Qt::black);
- painter.drawRoundRect(pixmap.rect(), 5, 5);
- setMask(pixmap.createMaskFromColor(Qt::white));
-
- QPainter painter1(this);
- painter1.setRenderHint(QPainter::Antialiasing);
- painter1.setPen(QPen(Qt::darkGray, 3, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
- painter1.drawRoundedRect(0, 0, width(), height(), 5, 5, Qt::RelativeSize);
+ painter.setPen(QPen(Qt::darkGray, 3, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
+ painter.drawRect(0, 0, width(), height());
}
void Settings::init()
View
14 src/trashdialog.cpp
@@ -41,18 +41,10 @@ void Trashdialog::read_settings()
void Trashdialog::paintEvent(QPaintEvent *)
{
- QPixmap pixmap(size());
- QPainter painter(&pixmap);
+ QPainter painter(this);
painter.setRenderHint(QPainter::Antialiasing);
- painter.fillRect(pixmap.rect(), Qt::white);
- painter.setBrush(Qt::black);
- painter.drawRoundRect(pixmap.rect(), 5, 5);
- setMask(pixmap.createMaskFromColor(Qt::white));
-
- QPainter painter1(this);
- painter1.setRenderHint(QPainter::Antialiasing);
- painter1.setPen(QPen(Qt::darkGray, 3, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
- painter1.drawRoundedRect(0, 0, width(), height(), 5, 5, Qt::RelativeSize);
+ painter.setPen(QPen(Qt::darkGray, 3, Qt::SolidLine, Qt::RoundCap, Qt::RoundJoin));
+ painter.drawRect(0, 0, width(), height());
}
void Trashdialog::init()
Please sign in to comment.
Something went wrong with that request. Please try again.