Cherry-picking upstream version 0.6.0+20150802.

Added .gitignore
ubuntu/cosmic
Alf Gaida 9 years ago
parent 06b35453ee
commit d14ce19098

@ -20,3 +20,4 @@ Vladimir Kuznetsov <vovanec@gmail.com>
Matteo Pasotti <matteo@mageia.it>
@kulti <kultihell@gmail.com>
@pisculichi <pisculichi@openmailbox.org>
Sérgio Marques <smarquespt@gmail.com>

@ -2,41 +2,29 @@ cmake_minimum_required(VERSION 2.8)
project(qterminal)
option(USE_SYSTEM_QXT "Use system Qxt Library for global shortcuts" ON)
option(USE_QT5 "Build using Qt5. Default OFF." OFF)
include(GNUInstallDirs)
set(STR_VERSION "0.6.0")
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules")
if(USE_QT5 AND USE_SYSTEM_QXT)
message(FATAL_ERROR "Unable to use system qxt with qt5 now")
endif()
if(USE_QT5)
find_package(Qt5Widgets REQUIRED)
find_package(Qt5LinguistTools REQUIRED)
find_package(QTermWidget5 REQUIRED)
message(STATUS "Qt5 version: ${Qt5Core_VERSION_STRING}")
else()
find_package(QTermWidget4 REQUIRED)
# we need qpa/qplatformnativeinterface.h for global shortcut
find_package(Qt5Gui REQUIRED)
find_package(Qt5Widgets REQUIRED)
find_package(Qt5LinguistTools REQUIRED)
if(APPLE)
elseif(UNIX)
find_package(Qt5X11Extras REQUIRED)
endif()
find_package(QTermWidget5 REQUIRED)
message(STATUS "Qt version: ${Qt5Core_VERSION_STRING}")
include(${QTERMWIDGET_USE_FILE})
if(USE_SYSTEM_QXT)
message(STATUS "Using system Qxt...")
find_package(Qxt REQUIRED COMPONENTS QxtCore QxtGui)
if(NOT QXT_FOUND)
message(FATAL_ERROR "System Qxt not found. Install Qxt devel package or use -DUSE_SYSTEM_QXT=0 to build with internal copy of this library")
endif()
set(QXT_INCLUDE_DIRS "${QXT_INCLUDE_PATH}/QxtCore" "${QXT_INCLUDE_PATH}/QxtGui")
else()
message(STATUS "Using bundled Qxt...")
set(QXT_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src/third-party")
endif()
# TODO remove Qxt
message(STATUS "Using bundled Qxt...")
set(QXT_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/src/third-party")
if(APPLE)
@ -45,9 +33,10 @@ if(APPLE)
elseif(UNIX)
find_package(X11 REQUIRED)
message(STATUS "X11_X11_LIB: ${X11_X11_LIB}")
endif ()
endif()
add_definitions(-DSTR_VERSION=\"${STR_VERSION}\")
add_definitions(${Qt5X11Extras_DEFINITIONS})
set(EXE_NAME qterminal)
@ -104,24 +93,19 @@ set(QTERM_TS
src/translations/qterminal_es.ts
src/translations/qterminal_et.ts
src/translations/qterminal_it.ts
src/translations/qterminal_pt.ts
src/translations/qterminal_hu.ts
src/translations/qterminal_ru.ts
src/translations/qterminal_ja.ts
src/translations/qterminal_zh_CN.ts
)
if(USE_QT5)
qt5_wrap_ui( QTERM_UI ${QTERM_UI_SRC} )
qt5_wrap_cpp( QTERM_MOC ${QTERM_MOC_SRC} )
qt5_add_resources( QTERM_RCC ${QTERM_RCC_SRC} )
qt5_add_translation( QTERM_QM ${QTERM_TS} )
# bundled qt5 version of libqxt requires private headers (as for 2014-05-27)
include_directories(${Qt5Gui_PRIVATE_INCLUDE_DIRS})
else()
qt4_wrap_ui(QTERM_UI ${QTERM_UI_SRC})
qt4_wrap_cpp(QTERM_MOC ${QTERM_MOC_SRC})
qt4_add_resources(QTERM_RCC ${QTERM_RCC_SRC})
qt4_add_translation(QTERM_QM ${QTERM_TS})
endif()
qt5_wrap_ui( QTERM_UI ${QTERM_UI_SRC} )
qt5_wrap_cpp( QTERM_MOC ${QTERM_MOC_SRC} )
qt5_add_resources( QTERM_RCC ${QTERM_RCC_SRC} )
qt5_add_translation( QTERM_QM ${QTERM_TS} )
include_directories (
include_directories(
"${CMAKE_SOURCE_DIR}"
"${CMAKE_SOURCE_DIR}/src"
"${CMAKE_BINARY_DIR}"
@ -156,7 +140,7 @@ if(APPLEBUNDLE)
# use icon for app bundle to be visible in finder
set(APPLE_BUNDLE_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/macosx/qterminal.icns")
else()
set(TRANSLATIONS_DIR "${CMAKE_INSTALL_PREFIX}/share/qterminal/translations")
set(TRANSLATIONS_DIR "${CMAKE_INSTALL_FULL_DATADIR}/qterminal/translations")
add_definitions(-DTRANSLATIONS_DIR=\"${TRANSLATIONS_DIR}\")
endif()
@ -179,6 +163,8 @@ endif()
if(APPLE)
target_link_libraries(${EXE_NAME} ${CARBON_LIBRARY})
elseif(UNIX)
target_link_libraries(${EXE_NAME} Qt5::X11Extras)
endif()
if(X11_FOUND)
@ -186,14 +172,21 @@ if(X11_FOUND)
endif()
install(FILES qterminal.desktop DESTINATION share/applications)
install(FILES qterminal_drop.desktop DESTINATION share/applications)
install(FILES
qterminal.desktop
qterminal_drop.desktop
DESTINATION "${CMAKE_INSTALL_DATADIR}/applications"
)
install(FILES
qterminal.appdata.xml
DESTINATION "${CMAKE_INSTALL_DATADIR}/appdata"
)
if(NOT APPLEBUNDLE)
install(TARGETS ${EXE_NAME} RUNTIME DESTINATION bin)
install(TARGETS ${EXE_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
install(FILES ${QTERM_QM} DESTINATION ${TRANSLATIONS_DIR})
install(FILES src/icons/qterminal.png DESTINATION share/pixmaps)
install(FILES src/icons/qterminal.png DESTINATION "${CMAKE_INSTALL_DATADIR}/icons/hicolor/64x64/apps")
else()
message(STATUS "APPLEBUNDLE")

@ -1,5 +1,5 @@
Requirements:
Qt4 or Qt5
Qt >= 5.2
cmake
qtermwidget (https://github.com/qterminal/qtermwidget)
@ -8,8 +8,7 @@ Build:
http://www.cmake.org/Wiki/CMake_FAQ#Out-of-source_build_trees
1) mkdir -p build && cd build
2a) cmake path/to/source -DUSE_QT5=true # Qt 5
2b) cmake path/to/source # Qt 4 only
2) cmake path/to/source
3) make
4) optional: make install

@ -1,62 +0,0 @@
# QXT_FOUND
# QXT_INCLUDE_PATH
# QXT_CORE_LIB
# QXT_GUI_LIB
IF (WIN32)
FIND_PATH( QXT_INCLUDE_PATH QxtCore
$ENV{PROGRAMFILES}/QxtCore
PATHS/include/
DOC "The directory where QxtCore resides")
FIND_LIBRARY( QXT_CORE_LIB
NAMES QxtCore
PATHS/lib
$ENV{PROGRAMFILES}/lib
DOC "The Qxt core library")
FIND_LIBRARY( QXT_GUI_LIB
NAMES QxtGui
PATHS/lib
$ENV{PROGRAMFILES}/lib
DOC "The Qxt gui library")
ELSE (WIN32)
FIND_PATH( QXT_INCLUDE_PATH QxtCore
/usr/include
/usr/include/qxt
/usr/local/include
/sw/include
/opt/local/include
DOC "The directory where QxtCore resides")
FIND_LIBRARY( QXT_CORE_LIB
NAMES QxtCore
PATHS
/usr/lib64
/usr/lib
/usr/local/lib64
/usr/local/lib
/sw/lib
/opt/local/lib
DOC "The Qxt core library")
FIND_LIBRARY( QXT_GUI_LIB
NAMES QxtGui
PATHS
/usr/lib64
/usr/lib
/usr/local/lib64
/usr/local/lib
/sw/lib
/opt/local/lib
DOC "The Qxt gui library")
ENDIF (WIN32)
message(STATUS "Qxt includes: ${QXT_INCLUDE_PATH}")
message(STATUS "Qxt libs: ${QXT_CORE_LIB} ${QXT_GUI_LIB}")
IF (QXT_INCLUDE_PATH)
SET( QXT_FOUND 1 CACHE STRING "Set to 1 if QXT is found, 0 otherwise")
ELSE (QXT_INCLUDE_PATH)
SET( QXT_FOUND 0 CACHE STRING "Set to 1 if QXT is found, 0 otherwise")
ENDIF (QXT_INCLUDE_PATH)
SET( QXT_LIBS ${QXT_CORE_LIB} ${QXT_GUI_LIB} )
MARK_AS_ADVANCED( QXT_FOUND )

6
debian/.gitignore vendored

@ -0,0 +1,6 @@
/files
/*.log
/*.substvars
/qterminal/
/qterminal-dbg/

2
debian/changelog vendored

@ -1,4 +1,4 @@
qterminal (0.6.0-1) unstable; urgency=medium
qterminal (0.6.0+20150802-1) unstable; urgency=medium
* Initial release (Closes: #741173)

1
debian/docs vendored

@ -1,2 +1,3 @@
AUTHORS
CONTRIBUTING.md
README

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<application>
<id type="desktop">qterminal.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2</project_license>
<name>QTerminal</name>
<summary>A lightweight multiplatform terminal emulator.</summary>
<description>
</p>
QTerminal is a lightweight multiplatform terminal emulator.
<p>
Its main features are:
</p>
<ul>
<li>Multiple tabs</li>
<li>Layout terminals side-by-side</li>
<li>Dropdown mode</li>
<li>Text search</li>
<li>Configurable uster interface</li>
<li>Integration of system clipboard</li>
</ul>
</description>
<screenshots>
<screenshot type="default">
<image>http://worblehat.github.io/storage/qterminal_1.png</image>
<caption>The default QTerminal window.</caption>
</screenshot>
</screenshots>
<screenshots>
<screenshot type="default">
<image>http://worblehat.github.io/storage/qterminal_2.png</image>
<caption>QTerminal with multiple tabs, splitted terminals and highlighted text.</caption>
</screenshot>
</screenshots>
<screenshots>
<screenshot type="default">
<image>http://worblehat.github.io/storage/qterminal_3.png</image>
<caption>Find bar and highlighted match.</caption>
</screenshot>
</screenshots>
<url type="homepage">https://github.com/qterminal/qterminal</url>
</application>

@ -4,8 +4,10 @@ Type=Application
GenericName=Terminal emulator
Comment=Terminal emulator
Comment[ru_RU]=Эмулятор терминала
Comment[de]=Befehlszeile verwenden
Comment[fr]=Terminal
Comment[pt]=Emulador de terminal
Comment[ru_RU]=Эмулятор терминала
Icon=utilities-terminal
Exec=qterminal
@ -38,7 +40,7 @@ Name[nb]=Nedtrekksterminal
Name[nds]=Utklapp-Konsool
Name[nl]=Uitvouwbare terminalemulator
Name[pa]=ਲਟਕਦਾ ਟਰਮੀਨਲ
Name[pt]=Terminal Deslizante
Name[pt]=Terminal suspenso
Name[pt_BR]=Terminal suspenso
Name[ro]=Terminal derulant
Name[ru]=Выпадающий терминал

@ -6,8 +6,10 @@ Categories=Qt;System;TerminalEmulator;
Icon=qterminal
Name=QTerminal drop down
GenericName=Drop-down Terminal
Name[de]=QTerminal herabhängend
Name[pt]=QTerminal suspenso
GenericName=Drop-down Terminal
GenericName[bg]=Падащ терминал
GenericName[ca]=Terminal desplegable
GenericName[ca@valencia]=Terminal desplegable
@ -28,13 +30,10 @@ GenericName[nb]=Nedtrekksterminal
GenericName[nds]=Utklapp-Konsool
GenericName[nl]=Uitvouwbare terminalemulator
GenericName[pa]=ਲਟਕਦਾ ਟਰਮੀਨਲ
GenericName[pt]=Terminal Deslizante
GenericName[pt]=Terminal suspenso
GenericName[pt_BR]=Terminal suspenso
GenericName[ro]=Terminal derulant
GenericName[ru]=Выпадающий терминал
Comment[ru]=Вападающий эмулятор терминала.
GenericName[sk]=Rozbaľovací terminál
GenericName[sv]=Rullgardinsterminal
GenericName[th]=เทอร์มินัลแบบหย่อนลง
@ -45,5 +44,6 @@ GenericName[zh_CN]=拉幕式终端
GenericName[zh_TW]=下拉式終端機
Comment=A drop-down terminal emulator.
Comment[de]=Ein Ausklapp-Terminalemulator.
Comment[pt]=Um emulador de terminal suspenso.
Comment[ru]=Вападающий эмулятор терминала.

@ -1,10 +1,23 @@
#if QT_VERSION < 0x050000
#include <QDesktopServices>
#else
#include <QStandardPaths>
#endif
/***************************************************************************
* Copyright (C) 2014 by Petr Vanek *
* petr@scribus.info *
* *
* 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 2 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/>. *
***************************************************************************/
#include <QDebug>
#include <QStandardPaths>
#include "bookmarkswidget.h"
#include "properties.h"
@ -96,39 +109,6 @@ public:
BookmarkLocalGroupItem(AbstractBookmarkItem *parent)
: BookmarkGroupItem(QObject::tr("Local Bookmarks"), parent)
{
#if QT_VERSION < 0x050000
QList<QDesktopServices::StandardLocation> locations;
locations << QDesktopServices::DesktopLocation
<< QDesktopServices::DocumentsLocation
<< QDesktopServices::TempLocation
<< QDesktopServices::HomeLocation
<< QDesktopServices::MusicLocation
<< QDesktopServices::PicturesLocation;
QString path;
QString name;
QString cmd;
QDir d;
// standard $HOME subdirs
foreach (QDesktopServices::StandardLocation i, locations)
{
path = QDesktopServices::storageLocation(i);
if (!d.exists(path))
{
//qDebug() << "Dir:" << path << "does not exist. Skipping.";
continue;
}
// it works in Qt5, not in Qt4
// name = QDesktopServices::displayName(i);
name = path;
path.replace(" ", "\\ ");
cmd = "cd " + path;
addChild(new BookmarkCommandItem(name, cmd, this));
}
#else
QList<QStandardPaths::StandardLocation> locations;
locations << QStandardPaths::DesktopLocation
<< QStandardPaths::DocumentsLocation
@ -148,7 +128,6 @@ public:
path = QStandardPaths::writableLocation(i);
if (!d.exists(path))
{
//qDebug() << "Dir:" << path << "does not exist. Skipping.";
continue;
}
name = QStandardPaths::displayName(i);
@ -158,7 +137,6 @@ public:
addChild(new BookmarkCommandItem(name, cmd, this));
}
#endif
// system env - include dirs in the tree
QProcessEnvironment env = QProcessEnvironment::systemEnvironment();
@ -167,7 +145,6 @@ public:
path = env.value(i);
if (!d.exists(path) || !QFileInfo(path).isDir())
{
//qDebug() << "Env Dir:" << path << "does not exist. Skipping.";
continue;
}
path.replace(" ", "\\ ");

@ -1,3 +1,21 @@
/***************************************************************************
* Copyright (C) 2014 by Petr Vanek *
* petr@scribus.info *
* *
* 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 2 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/>. *
***************************************************************************/
#ifndef BOOKMARKSWIDGET_H
#define BOOKMARKSWIDGET_H

@ -13,9 +13,7 @@
* 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, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
***************************************************************************/
@ -58,6 +56,10 @@
#define TOGGLE_MENU "Toggle Menu"
#define TOGGLE_BOOKMARKS "Toggle Bookmarks"
#define HIDE_WINDOW_BORDERS "Hide Window Borders"
#define SHOW_TAB_BAR "Show Tab Bar"
#define FULLSCREEN "Fullscreen"
/* Some defaults for QTerminal application */
#define DEFAULT_WIDTH 800
@ -102,6 +104,8 @@
#define RENAME_SESSION_SHORTCUT "Shift+Alt+S"
#define FULLSCREEN_SHORTCUT "F11"
// XON/XOFF features:
#define FLOW_CONTROL_ENABLED false

@ -1,3 +1,20 @@
/***************************************************************************
* Copyright (C) 2014 by Petr Vanek *
* petr@scribus.info *
* *
* 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 2 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/>. *
***************************************************************************/
#include "fontdialog.h"

@ -1,3 +1,21 @@
/***************************************************************************
* Copyright (C) 2014 by Petr Vanek *
* petr@scribus.info *
* *
* 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 2 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/>. *
***************************************************************************/
#ifndef FONT_DIALOG
#define FONT_DIALOG

@ -6,15 +6,15 @@
<rect>
<x>0</x>
<y>0</y>
<width>463</width>
<height>386</height>
<width>715</width>
<height>487</height>
</rect>
</property>
<property name="windowTitle">
<string>QTerminal Properties</string>
<string>Terminal settings</string>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<item row="1" column="0" colspan="2">
<item row="2" column="0" colspan="3">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
@ -40,28 +40,21 @@
</property>
<property name="maximumSize">
<size>
<width>100</width>
<width>180</width>
<height>16777215</height>
</size>
</property>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<item>
<property name="text">
<string>Terminal Font</string>
</property>
</item>
<item>
<property name="text">
<string>Look and Feel</string>
</property>
</item>
<item>
<property name="text">
<string>History</string>
<string>Appearance</string>
</property>
</item>
<item>
<property name="text">
<string>Emulation</string>
<string>Behavior</string>
</property>
</item>
<item>
@ -71,7 +64,7 @@
</item>
<item>
<property name="text">
<string>DropDown</string>
<string>Dropdown</string>
</property>
</item>
<item>
@ -81,247 +74,284 @@
</item>
</widget>
</item>
<item row="0" column="1">
<item row="0" column="2">
<widget class="QStackedWidget" name="stackedWidget">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="currentIndex">
<number>1</number>
<number>0</number>
</property>
<widget class="QWidget" name="fontPage">
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Font</string>
<widget class="QWidget" name="lookAndFeelPage">
<layout class="QGridLayout" name="gridLayout_3">
<item row="2" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Color scheme</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0" colspan="2">
<widget class="QLabel" name="fontSampleLabel">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="text">
<string/>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>117</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="changeFontButton">
<property name="text">
<string>&amp;Set Font...</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="2" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>3</height>
</size>
</property>
</spacer>
<item row="2" column="1">
<widget class="QComboBox" name="colorSchemaCombo"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_9">
<item row="3" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Note: only fixed width font are allowed to be used in terminal</string>
</property>
<property name="wordWrap">
<bool>true</bool>
<string>Widget style</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="lokkAndFeelPage">
<layout class="QGridLayout" name="gridLayout_3">
<item row="3" column="2">
<widget class="QComboBox" name="tabsPos_comboBox"/>
<item row="3" column="1">
<widget class="QComboBox" name="styleComboBox"/>
</item>
<item row="5" column="0" colspan="2">
<widget class="QLabel" name="label_3">
<item row="4" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Action after paste clipboard</string>
<string>Scrollbar position</string>
</property>
</widget>
</item>
<item row="0" column="0" colspan="2">
<widget class="QLabel" name="label_5">
<item row="5" column="1">
<widget class="QComboBox" name="tabsPos_comboBox"/>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Color Scheme:</string>
<string>Tabs position</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QComboBox" name="styleComboBox"/>
<item row="4" column="1">
<widget class="QComboBox" name="scrollBarPos_comboBox"/>
</item>
<item row="5" column="2">
<widget class="QComboBox" name="motionAfterPasting_comboBox"/>
<item row="6" column="0">
<widget class="QCheckBox" name="showMenuCheckBox">
<property name="text">
<string>Show the menu bar</string>
</property>
</widget>
</item>
<item row="13" column="0">
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
<item row="7" column="0">
<widget class="QCheckBox" name="hideTabBarCheckBox">
<property name="text">
<string>Hide tab bar with only one tab</string>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>0</height>
</size>
</widget>
</item>
<item row="8" column="0">
<widget class="QCheckBox" name="highlightCurrentCheckBox">
<property name="text">
<string>Show a border around the current terminal</string>
</property>
</spacer>
</widget>
</item>
<item row="3" column="0" colspan="2">
<widget class="QLabel" name="label_8">
<item row="9" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Tabs Position:</string>
<string>Application transparency</string>
</property>
<property name="buddy">
<cstring>appTransparencyBox</cstring>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_6">
<item row="10" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>GUI Style:</string>
<string>Terminal transparency</string>
</property>
</widget>
</item>
<item row="11" column="2">
<widget class="QSpinBox" name="termOpacityBox">
<item row="9" column="1">
<widget class="QSpinBox" name="appTransparencyBox">
<property name="suffix">
<string> %</string>
</property>
<property name="minimum">
<number>1</number>
<number>0</number>
</property>
<property name="value">
<property name="maximum">
<number>99</number>
</property>
<property name="value">
<number>0</number>
</property>
</widget>
</item>
<item row="11" column="0">
<widget class="QLabel" name="label">
<widget class="QLabel" name="label_9">
<property name="text">
<string>Terminal Transparency:</string>
<string>Start with preset:</string>
</property>
</widget>
</item>
<item row="10" column="2">
<widget class="QSpinBox" name="appOpacityBox">
<item row="10" column="1">
<widget class="QSpinBox" name="termTransparencyBox">
<property name="suffix">
<string> %</string>
</property>
<property name="minimum">
<number>1</number>
<number>0</number>
</property>
<property name="maximum">
<number>100</number>
</property>
<property name="value">
<number>100</number>
<number>0</number>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Scrollbar Position:</string>
</property>
<item row="11" column="1">
<widget class="QComboBox" name="terminalPresetComboBox">
<item>
<property name="text">
<string>None (single terminal)</string>
</property>
</item>
<item>
<property name="text">
<string>2 terminals horizontally</string>
</property>
</item>
<item>
<property name="text">
<string>2 terminals vertically</string>
</property>
</item>
<item>
<property name="text">
<string>4 terminals</string>
</property>
</item>
</widget>
</item>
<item row="10" column="0" colspan="2">
<widget class="QLabel" name="label_4">
<property name="text">
<string>&amp;Application Transparency:</string>
</property>
<property name="buddy">
<cstring>appOpacityBox</cstring>
<item row="12" column="0" colspan="2">
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QComboBox" name="colorSchemaCombo"/>
</item>
<item row="7" column="0" colspan="3">
<widget class="QCheckBox" name="highlightCurrentCheckBox">
<property name="text">
<string>&amp;Highlight Current Terminal With Border</string>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>0</height>
</size>
</property>
</widget>
</spacer>
</item>
<item row="8" column="0" colspan="3">
<widget class="QCheckBox" name="askOnExitCheckBox">
<property name="text">
<string>Ask for Window Closing Confirmation</string>
</property>
<item row="0" column="0" rowspan="2" colspan="2">
<widget class="QWidget" name="fontWidget" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="fontLabel">
<property name="text">
<string>Font</string>
</property>
</widget>
</item>
<item>
<spacer name="fontSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="fontSampleLabel">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="text">
<string/>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="changeFontButton">
<property name="text">
<string>&amp;Change...</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="2" column="2">
<widget class="QComboBox" name="scrollBarPos_comboBox"/>
</item>
<item row="9" column="0" colspan="3">
<widget class="QCheckBox" name="useCwdCheckBox">
<property name="text">
<string>Open New Sub-Terminals in Current Working Dir</string>
</layout>
</widget>
<widget class="QWidget" name="historyPage">
<layout class="QGridLayout" name="gridLayout_5">
<item row="2" column="0">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item row="6" column="0" colspan="3">
<widget class="QCheckBox" name="showMenuCheckBox">
<property name="text">
<string>Show Main Menu</string>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>57</height>
</size>
</property>
</widget>
</spacer>
</item>
<item row="4" column="0" colspan="3">
<widget class="QCheckBox" name="alwaysShowTabsCheckBox">
<property name="text">
<string>Always Show Tabs</string>
<item row="1" column="0">
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>Emulation</string>
</property>
<layout class="QGridLayout" name="gridLayout_6">
<item row="0" column="0">
<widget class="QComboBox" name="emulationComboBox"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Which behavior to emulate. Note that this does not have to match your operating system.&lt;/p&gt;&lt;p&gt;The &lt;span style=&quot; font-weight:600;&quot;&gt;default&lt;/span&gt; emulation is a fallback with a minimal featureset.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="textFormat">
<enum>Qt::RichText</enum>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="historyPage">
<layout class="QGridLayout" name="gridLayout_5">
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>History</string>
<string>Behavior</string>
</property>
<layout class="QGridLayout" name="gridLayout_8">
<item row="0" column="0">
<widget class="QRadioButton" name="historyLimited">
<layout class="QGridLayout" name="gridLayout_2">
<item row="2" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Limited to: </string>
<string>Action after paste</string>
</property>
</widget>
</item>
<item row="0" column="1">
<item row="0" column="2">
<widget class="QSpinBox" name="historyLimitedTo">
<property name="minimum">
<number>100</number>
@ -334,14 +364,7 @@
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QRadioButton" name="historyUnlimited">
<property name="text">
<string>Unlimited</string>
</property>
</widget>
</item>
<item row="2" column="0">
<item row="7" column="1">
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
@ -354,51 +377,54 @@
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="emulationPage">
<layout class="QGridLayout" name="gridLayout_7">
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>Emulation Type</string>
</property>
<layout class="QGridLayout" name="gridLayout_6">
<item row="0" column="0">
<widget class="QComboBox" name="emulationComboBox"/>
<item row="6" column="0" colspan="3">
<widget class="QCheckBox" name="useCwdCheckBox">
<property name="text">
<string>Open new terminals in current working directory</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_2">
<item row="5" column="0" colspan="3">
<widget class="QCheckBox" name="saveSizeOnExitCheckBox">
<property name="text">
<string>Select emulation behaviour. It does not mean that for example &quot;linux&quot; has to be used only on Linux OS. Feel free to use it on Mac too etc.&lt;p&gt;Default is the failback type with minimal feature set.</string>
<string>Save Size when closing</string>
</property>
<property name="textFormat">
<enum>Qt::RichText</enum>
</widget>
</item>
<item row="4" column="0" colspan="3">
<widget class="QCheckBox" name="savePosOnExitCheckBox">
<property name="text">
<string>Save Position when closing</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</widget>
</item>
<item row="3" column="0" colspan="3">
<widget class="QCheckBox" name="askOnExitCheckBox">
<property name="text">
<string>Ask for confirmation when closing</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QComboBox" name="motionAfterPasting_comboBox"/>
</item>
<item row="1" column="0" colspan="3">
<widget class="QRadioButton" name="historyUnlimited">
<property name="text">
<string>Unlimited history</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QRadioButton" name="historyLimited">
<property name="text">
<string>History size (in lines)</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>57</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<widget class="QWidget" name="shortcutsPage">
@ -454,25 +480,36 @@
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QFormLayout" name="formLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::ExpandingFieldsGrow</enum>
</property>
<item row="0" column="0">
<widget class="QLabel" name="dropHeightLabel">
<property name="text">
<string>Height %:</string>
<string>Height</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="dropHeightSpinBox"/>
<widget class="QSpinBox" name="dropHeightSpinBox">
<property name="suffix">
<string>%</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="dropWidthLabel">
<property name="text">
<string>Width %:</string>
<string>Width</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="dropWidthSpinBox"/>
<widget class="QSpinBox" name="dropWidthSpinBox">
<property name="suffix">
<string>%</string>
</property>
</widget>
</item>
</layout>
</item>
@ -513,7 +550,7 @@
<item row="3" column="0">
<widget class="QGroupBox" name="groupBox_5">
<property name="title">
<string>Edit File Content</string>
<string>Edit bookmark file contents</string>
</property>
<layout class="QGridLayout" name="gridLayout_10">
<item row="0" column="0">
@ -535,7 +572,7 @@
<item row="0" column="0">
<widget class="QCheckBox" name="useBookmarksCheckBox">
<property name="text">
<string>Use Bookmarks</string>
<string>Enable bookmarks</string>
</property>
</widget>
</item>
@ -544,7 +581,7 @@
<item>
<widget class="QLabel" name="label_10">
<property name="text">
<string>Bookmark FIle:</string>
<string>Bookmark file</string>
</property>
</widget>
</item>

@ -60,12 +60,12 @@
<x>0</x>
<y>0</y>
<width>600</width>
<height>19</height>
<height>26</height>
</rect>
</property>
<widget class="QMenu" name="menu_File">
<property name="title">
<string>File</string>
<string>&amp;File</string>
</property>
<property name="Title" stdset="0">
<string/>
@ -73,24 +73,24 @@
</widget>
<widget class="QMenu" name="menu_Actions">
<property name="title">
<string>Actions</string>
<string>&amp;Actions</string>
</property>
</widget>
<widget class="QMenu" name="menu_Help">
<property name="title">
<string>Help</string>
<string>&amp;Help</string>
</property>
<addaction name="actAbout"/>
<addaction name="actAboutQt"/>
</widget>
<widget class="QMenu" name="menu_Window">
<property name="title">
<string>View</string>
<string>&amp;View</string>
</property>
</widget>
<widget class="QMenu" name="menu_Edit">
<property name="title">
<string>Edit</string>
<string>&amp;Edit</string>
</property>
</widget>
<addaction name="menu_File"/>
@ -101,15 +101,17 @@
</widget>
<action name="actAbout">
<property name="icon">
<iconset theme="help-about"/>
<iconset theme="help-about">
<normaloff/>
</iconset>
</property>
<property name="text">
<string>About...</string>
<string>&amp;About...</string>
</property>
</action>
<action name="actAboutQt">
<property name="text">
<string>About Qt...</string>
<string>About &amp;Qt...</string>
</property>
</action>
<action name="actProperties">
@ -119,7 +121,9 @@
</action>
<action name="actQuit">
<property name="icon">
<iconset theme="application-exit"/>
<iconset theme="application-exit">
<normaloff/>
</iconset>
</property>
<property name="text">
<string>&amp;Quit</string>
@ -134,8 +138,6 @@
<container>1</container>
</customwidget>
</customwidgets>
<resources>
<include location="../icons.qrc"/>
</resources>
<resources/>
<connections/>
</ui>

@ -13,9 +13,7 @@
* 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, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
***************************************************************************/
#include <QApplication>

@ -13,9 +13,7 @@
* 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, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
***************************************************************************/
#include <QDockWidget>
@ -46,11 +44,14 @@ MainWindow::MainWindow(const QString& work_dir,
m_dropLockButton(0),
m_dropMode(dropMode)
{
setAttribute(Qt::WA_TranslucentBackground);
setupUi(this);
Properties::Instance()->migrate_settings();
Properties::Instance()->loadSettings();
migrate_settings();
m_bookmarksDock = new QDockWidget(tr("Bookmarks"), this);
m_bookmarksDock->setObjectName("BookmarksDockWidget");
BookmarksWidget *bookmarksWidget = new BookmarksWidget(m_bookmarksDock);
m_bookmarksDock->setWidget(bookmarksWidget);
addDockWidget(Qt::LeftDockWidgetArea, m_bookmarksDock);
@ -70,10 +71,16 @@ MainWindow::MainWindow(const QString& work_dir,
setStyleSheet(QSS_DROP);
}
else {
restoreGeometry(Properties::Instance()->mainWindowGeometry);
if (Properties::Instance()->saveSizeOnExit) {
resize(Properties::Instance()->mainWindowSize);
}
if (Properties::Instance()->savePosOnExit) {
move(Properties::Instance()->mainWindowPosition);
}
restoreState(Properties::Instance()->mainWindowState);
}
consoleTabulator->setAutoFillBackground(true);
connect(consoleTabulator, SIGNAL(closeTabNotification()), SLOT(close()));
consoleTabulator->setWorkDirectory(work_dir);
consoleTabulator->setTabPosition((QTabWidget::TabPosition)Properties::Instance()->tabsPos);
@ -97,28 +104,6 @@ MainWindow::~MainWindow()
{
}
void MainWindow::migrate_settings()
{
// Deal with rearrangements of settings.
// If this method becomes unbearably huge we should look at the config-update
// system used by kde and razor.
QSettings settings;
QString last_version = settings.value("version", "0.0.0").toString();
// Handle configchanges in 0.4.0 (renaming 'Paste Selection' -> 'Paste Clipboard')
if (last_version < "0.4.0")
{
qDebug() << "Migrating settings from" << last_version << "to 0.4.0";
settings.beginGroup("Shortcuts");
QString tmp = settings.value("Paste Selection", PASTE_CLIPBOARD_SHORTCUT).toString();
settings.setValue(PASTE_CLIPBOARD, tmp);
settings.remove("Paste Selection");
settings.endGroup();
settings.setValue("version", "0.4.0");
}
}
void MainWindow::enableDropMode()
{
setWindowFlags(Qt::Dialog | Qt::WindowStaysOnTopHint | Qt::CustomizeWindowHint);
@ -154,139 +139,157 @@ void MainWindow::setup_ActionsMenu_Actions()
QKeySequence seq;
Properties::Instance()->actions[CLEAR_TERMINAL] = new QAction(QIcon::fromTheme("edit-clear"), tr("Clear Current Tab"), this);
Properties::Instance()->actions[CLEAR_TERMINAL] = new QAction(QIcon::fromTheme("edit-clear"), tr("&Clear Current Tab"), this);
seq = QKeySequence::fromString(settings.value(CLEAR_TERMINAL, CLEAR_TERMINAL_SHORTCUT).toString());
Properties::Instance()->actions[CLEAR_TERMINAL]->setShortcut(seq);
connect(Properties::Instance()->actions[CLEAR_TERMINAL], SIGNAL(triggered()), consoleTabulator, SLOT(clearActiveTerminal()));
menu_Actions->addAction(Properties::Instance()->actions[CLEAR_TERMINAL]);
addAction(Properties::Instance()->actions[CLEAR_TERMINAL]);
menu_Actions->addSeparator();
Properties::Instance()->actions[TAB_NEXT] = new QAction(QIcon::fromTheme("go-next"), tr("Next Tab"), this);
Properties::Instance()->actions[TAB_NEXT] = new QAction(QIcon::fromTheme("go-next"), tr("&Next Tab"), this);
seq = QKeySequence::fromString( settings.value(TAB_NEXT, TAB_NEXT_SHORTCUT).toString() );
Properties::Instance()->actions[TAB_NEXT]->setShortcut(seq);
connect(Properties::Instance()->actions[TAB_NEXT], SIGNAL(triggered()), consoleTabulator, SLOT(switchToRight()));
menu_Actions->addAction(Properties::Instance()->actions[TAB_NEXT]);
addAction(Properties::Instance()->actions[TAB_NEXT]);
Properties::Instance()->actions[TAB_PREV] = new QAction(QIcon::fromTheme("go-previous"), tr("Previous Tab"), this);
Properties::Instance()->actions[TAB_PREV] = new QAction(QIcon::fromTheme("go-previous"), tr("&Previous Tab"), this);
seq = QKeySequence::fromString( settings.value(TAB_PREV, TAB_PREV_SHORTCUT).toString() );
Properties::Instance()->actions[TAB_PREV]->setShortcut(seq);
connect(Properties::Instance()->actions[TAB_PREV], SIGNAL(triggered()), consoleTabulator, SLOT(switchToLeft()));
menu_Actions->addAction(Properties::Instance()->actions[TAB_PREV]);
addAction(Properties::Instance()->actions[TAB_PREV]);
Properties::Instance()->actions[MOVE_LEFT] = new QAction(tr("Move Tab Left"), this);
Properties::Instance()->actions[MOVE_LEFT] = new QAction(tr("Move Tab &Left"), this);
seq = QKeySequence::fromString( settings.value(MOVE_LEFT, MOVE_LEFT_SHORTCUT).toString() );
Properties::Instance()->actions[MOVE_LEFT]->setShortcut(seq);
connect(Properties::Instance()->actions[MOVE_LEFT], SIGNAL(triggered()), consoleTabulator, SLOT(moveLeft()));
menu_Actions->addAction(Properties::Instance()->actions[MOVE_LEFT]);
addAction(Properties::Instance()->actions[MOVE_LEFT]);
Properties::Instance()->actions[MOVE_RIGHT] = new QAction(tr("Move Tab Right"), this);
Properties::Instance()->actions[MOVE_RIGHT] = new QAction(tr("Move Tab &Right"), this);
seq = QKeySequence::fromString( settings.value(MOVE_RIGHT, MOVE_RIGHT_SHORTCUT).toString() );
Properties::Instance()->actions[MOVE_RIGHT]->setShortcut(seq);
connect(Properties::Instance()->actions[MOVE_RIGHT], SIGNAL(triggered()), consoleTabulator, SLOT(moveRight()));
menu_Actions->addAction(Properties::Instance()->actions[MOVE_RIGHT]);
addAction(Properties::Instance()->actions[MOVE_RIGHT]);
menu_Actions->addSeparator();
Properties::Instance()->actions[SPLIT_HORIZONTAL] = new QAction(tr("Split Terminal Horizontally"), this);
Properties::Instance()->actions[SPLIT_HORIZONTAL] = new QAction(tr("Split Terminal &Horizontally"), this);
seq = QKeySequence::fromString( settings.value(SPLIT_HORIZONTAL).toString() );
Properties::Instance()->actions[SPLIT_HORIZONTAL]->setShortcut(seq);
connect(Properties::Instance()->actions[SPLIT_HORIZONTAL], SIGNAL(triggered()), consoleTabulator, SLOT(splitHorizontally()));
menu_Actions->addAction(Properties::Instance()->actions[SPLIT_HORIZONTAL]);
addAction(Properties::Instance()->actions[SPLIT_HORIZONTAL]);
Properties::Instance()->actions[SPLIT_VERTICAL] = new QAction(tr("Split Terminal Vertically"), this);
Properties::Instance()->actions[SPLIT_VERTICAL] = new QAction(tr("Split Terminal &Vertically"), this);
seq = QKeySequence::fromString( settings.value(SPLIT_VERTICAL).toString() );
Properties::Instance()->actions[SPLIT_VERTICAL]->setShortcut(seq);
connect(Properties::Instance()->actions[SPLIT_VERTICAL], SIGNAL(triggered()), consoleTabulator, SLOT(splitVertically()));
menu_Actions->addAction(Properties::Instance()->actions[SPLIT_VERTICAL]);
addAction(Properties::Instance()->actions[SPLIT_VERTICAL]);
Properties::Instance()->actions[SUB_COLLAPSE] = new QAction(tr("Collapse Subterminal"), this);
Properties::Instance()->actions[SUB_COLLAPSE] = new QAction(tr("&Collapse Subterminal"), this);
seq = QKeySequence::fromString( settings.value(SUB_COLLAPSE).toString() );
Properties::Instance()->actions[SUB_COLLAPSE]->setShortcut(seq);
connect(Properties::Instance()->actions[SUB_COLLAPSE], SIGNAL(triggered()), consoleTabulator, SLOT(splitCollapse()));
menu_Actions->addAction(Properties::Instance()->actions[SUB_COLLAPSE]);
addAction(Properties::Instance()->actions[SUB_COLLAPSE]);
Properties::Instance()->actions[SUB_NEXT] = new QAction(QIcon::fromTheme("go-up"), tr("Next Subterminal"), this);
Properties::Instance()->actions[SUB_NEXT] = new QAction(QIcon::fromTheme("go-up"), tr("N&ext Subterminal"), this);
seq = QKeySequence::fromString( settings.value(SUB_NEXT, SUB_NEXT_SHORTCUT).toString() );
Properties::Instance()->actions[SUB_NEXT]->setShortcut(seq);
connect(Properties::Instance()->actions[SUB_NEXT], SIGNAL(triggered()), consoleTabulator, SLOT(switchNextSubterminal()));
menu_Actions->addAction(Properties::Instance()->actions[SUB_NEXT]);
addAction(Properties::Instance()->actions[SUB_NEXT]);
Properties::Instance()->actions[SUB_PREV] = new QAction(QIcon::fromTheme("go-down"), tr("Previous Subterminal"), this);
Properties::Instance()->actions[SUB_PREV] = new QAction(QIcon::fromTheme("go-down"), tr("P&revious Subterminal"), this);
seq = QKeySequence::fromString( settings.value(SUB_PREV, SUB_PREV_SHORTCUT).toString() );
Properties::Instance()->actions[SUB_PREV]->setShortcut(seq);
connect(Properties::Instance()->actions[SUB_PREV], SIGNAL(triggered()), consoleTabulator, SLOT(switchPrevSubterminal()));
menu_Actions->addAction(Properties::Instance()->actions[SUB_PREV]);
addAction(Properties::Instance()->actions[SUB_PREV]);
menu_Actions->addSeparator();
// Copy and Paste are only added to the table for the sake of bindings at the moment; there is no Edit menu, only a context menu.
Properties::Instance()->actions[COPY_SELECTION] = new QAction(QIcon::fromTheme("edit-copy"), tr("Copy Selection"), this);
Properties::Instance()->actions[COPY_SELECTION] = new QAction(QIcon::fromTheme("edit-copy"), tr("Copy &Selection"), this);
seq = QKeySequence::fromString( settings.value(COPY_SELECTION, COPY_SELECTION_SHORTCUT).toString() );
Properties::Instance()->actions[COPY_SELECTION]->setShortcut(seq);
connect(Properties::Instance()->actions[COPY_SELECTION], SIGNAL(triggered()), consoleTabulator, SLOT(copySelection()));
menu_Edit->addAction(Properties::Instance()->actions[COPY_SELECTION]);
addAction(Properties::Instance()->actions[COPY_SELECTION]);
Properties::Instance()->actions[PASTE_CLIPBOARD] = new QAction(QIcon::fromTheme("edit-paste"), tr("Paste Clipboard"), this);
Properties::Instance()->actions[PASTE_CLIPBOARD] = new QAction(QIcon::fromTheme("edit-paste"), tr("Paste Clip&board"), this);
seq = QKeySequence::fromString( settings.value(PASTE_CLIPBOARD, PASTE_CLIPBOARD_SHORTCUT).toString() );
Properties::Instance()->actions[PASTE_CLIPBOARD]->setShortcut(seq);
connect(Properties::Instance()->actions[PASTE_CLIPBOARD], SIGNAL(triggered()), consoleTabulator, SLOT(pasteClipboard()));
menu_Edit->addAction(Properties::Instance()->actions[PASTE_CLIPBOARD]);
addAction(Properties::Instance()->actions[PASTE_CLIPBOARD]);
Properties::Instance()->actions[PASTE_SELECTION] = new QAction(QIcon::fromTheme("edit-paste"), tr("Paste Selection"), this);
Properties::Instance()->actions[PASTE_SELECTION] = new QAction(QIcon::fromTheme("edit-paste"), tr("Paste S&election"), this);
seq = QKeySequence::fromString( settings.value(PASTE_SELECTION, PASTE_SELECTION_SHORTCUT).toString() );
Properties::Instance()->actions[PASTE_SELECTION]->setShortcut(seq);
connect(Properties::Instance()->actions[PASTE_SELECTION], SIGNAL(triggered()), consoleTabulator, SLOT(pasteSelection()));
menu_Edit->addAction(Properties::Instance()->actions[PASTE_SELECTION]);
addAction(Properties::Instance()->actions[PASTE_SELECTION]);
Properties::Instance()->actions[ZOOM_IN] = new QAction(QIcon::fromTheme("zoom-in"), tr("Zoom in"), this);
Properties::Instance()->actions[ZOOM_IN] = new QAction(QIcon::fromTheme("zoom-in"), tr("Zoom &in"), this);
seq = QKeySequence::fromString( settings.value(ZOOM_IN, ZOOM_IN_SHORTCUT).toString() );
Properties::Instance()->actions[ZOOM_IN]->setShortcut(seq);
connect(Properties::Instance()->actions[ZOOM_IN], SIGNAL(triggered()), consoleTabulator, SLOT(zoomIn()));
menu_Edit->addAction(Properties::Instance()->actions[ZOOM_IN]);
addAction(Properties::Instance()->actions[ZOOM_IN]);
Properties::Instance()->actions[ZOOM_OUT] = new QAction(QIcon::fromTheme("zoom-out"), tr("Zoom out"), this);
Properties::Instance()->actions[ZOOM_OUT] = new QAction(QIcon::fromTheme("zoom-out"), tr("Zoom &out"), this);
seq = QKeySequence::fromString( settings.value(ZOOM_OUT, ZOOM_OUT_SHORTCUT).toString() );
Properties::Instance()->actions[ZOOM_OUT]->setShortcut(seq);
connect(Properties::Instance()->actions[ZOOM_OUT], SIGNAL(triggered()), consoleTabulator, SLOT(zoomOut()));
menu_Edit->addAction(Properties::Instance()->actions[ZOOM_OUT]);
addAction(Properties::Instance()->actions[ZOOM_OUT]);
Properties::Instance()->actions[ZOOM_RESET] = new QAction(QIcon::fromTheme("zoom-original"), tr("Zoom reset"), this);
Properties::Instance()->actions[ZOOM_RESET] = new QAction(QIcon::fromTheme("zoom-original"), tr("Zoom rese&t"), this);
seq = QKeySequence::fromString( settings.value(ZOOM_RESET, ZOOM_RESET_SHORTCUT).toString() );
Properties::Instance()->actions[ZOOM_RESET]->setShortcut(seq);
connect(Properties::Instance()->actions[ZOOM_RESET], SIGNAL(triggered()), consoleTabulator, SLOT(zoomReset()));
menu_Edit->addAction(Properties::Instance()->actions[ZOOM_RESET]);
addAction(Properties::Instance()->actions[ZOOM_RESET]);
menu_Actions->addSeparator();
Properties::Instance()->actions[FIND] = new QAction(QIcon::fromTheme("edit-find"), tr("Find..."), this);
Properties::Instance()->actions[FIND] = new QAction(QIcon::fromTheme("edit-find"), tr("&Find..."), this);
seq = QKeySequence::fromString( settings.value(FIND, FIND_SHORTCUT).toString() );
Properties::Instance()->actions[FIND]->setShortcut(seq);
connect(Properties::Instance()->actions[FIND], SIGNAL(triggered()), this, SLOT(find()));
menu_Actions->addAction(Properties::Instance()->actions[FIND]);
addAction(Properties::Instance()->actions[FIND]);
#if 0
act = new QAction(this);
act->setSeparator(true);
// TODO/FIXME: unimplemented for now
act = new QAction(tr("Save Session"), this);
act = new QAction(tr("&Save Session"), this);
// do not use sequences for this task - it collides with eg. mc shorcuts
// and mainly - it's not used too often
//act->setShortcut(QKeySequence::Save);
connect(act, SIGNAL(triggered()), consoleTabulator, SLOT(saveSession()));
act = new QAction(tr("Load Session"), this);
act = new QAction(tr("&Load Session"), this);
// do not use sequences for this task - it collides with eg. mc shorcuts
// and mainly - it's not used too often
//act->setShortcut(QKeySequence::Open);
connect(act, SIGNAL(triggered()), consoleTabulator, SLOT(loadSession()));
#endif
Properties::Instance()->actions[TOGGLE_MENU] = new QAction(tr("Toggle Menu"), this);
Properties::Instance()->actions[TOGGLE_MENU] = new QAction(tr("&Toggle Menu"), this);
seq = QKeySequence::fromString( settings.value(TOGGLE_MENU, TOGGLE_MENU_SHORTCUT).toString() );
Properties::Instance()->actions[TOGGLE_MENU]->setShortcut(seq);
connect(Properties::Instance()->actions[TOGGLE_MENU], SIGNAL(triggered()), this, SLOT(toggleMenu()));
addAction(Properties::Instance()->actions[TOGGLE_MENU]);
// tis is correct - add action to main window - not to menu to keep toggle working
settings.endGroup();
@ -301,64 +304,104 @@ void MainWindow::setup_FileMenu_Actions()
QKeySequence seq;
Properties::Instance()->actions[ADD_TAB] = new QAction(QIcon::fromTheme("list-add"), tr("New Tab"), this);
Properties::Instance()->actions[ADD_TAB] = new QAction(QIcon::fromTheme("list-add"), tr("&New Tab"), this);
seq = QKeySequence::fromString( settings.value(ADD_TAB, ADD_TAB_SHORTCUT).toString() );
Properties::Instance()->actions[ADD_TAB]->setShortcut(seq);
connect(Properties::Instance()->actions[ADD_TAB], SIGNAL(triggered()), consoleTabulator, SLOT(addNewTab()));
connect(Properties::Instance()->actions[ADD_TAB], SIGNAL(triggered()), this, SLOT(addNewTab()));
menu_File->addAction(Properties::Instance()->actions[ADD_TAB]);
Properties::Instance()->actions[CLOSE_TAB] = new QAction(QIcon::fromTheme("list-remove"), tr("Close Tab"), this);
addAction(Properties::Instance()->actions[ADD_TAB]);
QMenu *presetsMenu = new QMenu(tr("New Tab From &Preset"), this);
presetsMenu->addAction(QIcon(), tr("1 &Terminal"),
consoleTabulator, SLOT(addNewTab()));
presetsMenu->addAction(QIcon(), tr("2 &Horizontal Terminals"),
consoleTabulator, SLOT(preset2Horizontal()));
presetsMenu->addAction(QIcon(), tr("2 &Vertical Terminals"),
consoleTabulator, SLOT(preset2Vertical()));
presetsMenu->addAction(QIcon(), tr("4 Terminal&s"),
consoleTabulator, SLOT(preset4Terminals()));
menu_File->addMenu(presetsMenu);
Properties::Instance()->actions[CLOSE_TAB] = new QAction(QIcon::fromTheme("list-remove"), tr("&Close Tab"), this);
seq = QKeySequence::fromString( settings.value(CLOSE_TAB, CLOSE_TAB_SHORTCUT).toString() );
Properties::Instance()->actions[CLOSE_TAB]->setShortcut(seq);
connect(Properties::Instance()->actions[CLOSE_TAB], SIGNAL(triggered()), consoleTabulator, SLOT(removeCurrentTab()));
menu_File->addAction(Properties::Instance()->actions[CLOSE_TAB]);
addAction(Properties::Instance()->actions[CLOSE_TAB]);
Properties::Instance()->actions[NEW_WINDOW] = new QAction(QIcon::fromTheme("window-new"), tr("New Window"), this);
Properties::Instance()->actions[NEW_WINDOW] = new QAction(QIcon::fromTheme("window-new"), tr("&New Window"), this);
seq = QKeySequence::fromString( settings.value(NEW_WINDOW, NEW_WINDOW_SHORTCUT).toString() );
Properties::Instance()->actions[NEW_WINDOW]->setShortcut(seq);
connect(Properties::Instance()->actions[NEW_WINDOW], SIGNAL(triggered()), this, SLOT(newTerminalWindow()));
menu_File->addAction(Properties::Instance()->actions[NEW_WINDOW]);
addAction(Properties::Instance()->actions[NEW_WINDOW]);
menu_File->addSeparator();
Properties::Instance()->actions[PREFERENCES] = actProperties;
seq = QKeySequence::fromString( settings.value(PREFERENCES).toString() );
Properties::Instance()->actions[PREFERENCES]->setShortcut(seq);
connect(actProperties, SIGNAL(triggered()), SLOT(actProperties_triggered()));
menu_File->addAction(Properties::Instance()->actions[PREFERENCES]);
addAction(Properties::Instance()->actions[PREFERENCES]);
menu_File->addSeparator();
Properties::Instance()->actions[QUIT] = actQuit;
seq = QKeySequence::fromString( settings.value(QUIT).toString() );
Properties::Instance()->actions[QUIT]->setShortcut(seq);
connect(actQuit, SIGNAL(triggered()), SLOT(close()));
menu_File->addAction(Properties::Instance()->actions[QUIT]);
addAction(Properties::Instance()->actions[QUIT]);
settings.endGroup();
}
void MainWindow::setup_ViewMenu_Actions()
{
toggleBorder = new QAction(tr("Hide Window Borders"), this);
//toggleBorder->setObjectName("toggle_Borderless");
toggleBorder->setCheckable(true);
QKeySequence seq;
QSettings settings;
settings.beginGroup("Shortcuts");
QAction *hideBordersAction = new QAction(tr("&Hide Window Borders"), this);
hideBordersAction->setCheckable(true);
hideBordersAction->setVisible(!m_dropMode);
seq = QKeySequence::fromString( settings.value(HIDE_WINDOW_BORDERS).toString() );
hideBordersAction->setShortcut(seq);
connect(hideBordersAction, SIGNAL(triggered()), this, SLOT(toggleBorderless()));
menu_Window->addAction(hideBordersAction);
addAction(hideBordersAction);
Properties::Instance()->actions[HIDE_WINDOW_BORDERS] = hideBordersAction;
//Properties::Instance()->actions[HIDE_WINDOW_BORDERS]->setObjectName("toggle_Borderless");
// TODO/FIXME: it's broken somehow. When I call toggleBorderless() here the non-responsive window appear
// toggleBorder->setChecked(Properties::Instance()->borderless);
// Properties::Instance()->actions[HIDE_WINDOW_BORDERS]->setChecked(Properties::Instance()->borderless);
// if (Properties::Instance()->borderless)
// toggleBorderless();
connect(toggleBorder, SIGNAL(triggered()), this, SLOT(toggleBorderless()));
menu_Window->addAction(toggleBorder);
toggleBorder->setVisible(!m_dropMode);
toggleTabbar = new QAction(tr("Show Tab Bar"), this);
QAction *showTabBarAction = new QAction(tr("&Show Tab Bar"), this);
//toggleTabbar->setObjectName("toggle_TabBar");
toggleTabbar->setCheckable(true);
toggleTabbar->setChecked(!Properties::Instance()->tabBarless);
showTabBarAction->setCheckable(true);
showTabBarAction->setChecked(!Properties::Instance()->tabBarless);
seq = QKeySequence::fromString( settings.value(SHOW_TAB_BAR).toString() );
showTabBarAction->setShortcut(seq);
menu_Window->addAction(showTabBarAction);
addAction(showTabBarAction);
Properties::Instance()->actions[SHOW_TAB_BAR] = showTabBarAction;
toggleTabBar();
connect(toggleTabbar, SIGNAL(triggered()), this, SLOT(toggleTabBar()));
menu_Window->addAction(toggleTabbar);
connect(showTabBarAction, SIGNAL(triggered()), this, SLOT(toggleTabBar()));
QAction *toggleFullscreen = new QAction(tr("Fullscreen"), this);
toggleFullscreen->setCheckable(true);
toggleFullscreen->setChecked(false);
seq = QKeySequence::fromString(settings.value(FULLSCREEN, FULLSCREEN_SHORTCUT).toString());
toggleFullscreen->setShortcut(seq);
menu_Window->addAction(toggleFullscreen);
addAction(toggleFullscreen);
connect(toggleFullscreen, SIGNAL(triggered(bool)), this, SLOT(showFullscreen(bool)));
Properties::Instance()->actions[FULLSCREEN] = toggleFullscreen;
QSettings settings;
settings.beginGroup("Shortcuts");
Properties::Instance()->actions[TOGGLE_BOOKMARKS] = m_bookmarksDock->toggleViewAction();
QKeySequence seq = QKeySequence::fromString( settings.value(TOGGLE_BOOKMARKS, TOGGLE_BOOKMARKS_SHORTCUT).toString() );
seq = QKeySequence::fromString( settings.value(TOGGLE_BOOKMARKS, TOGGLE_BOOKMARKS_SHORTCUT).toString() );
Properties::Instance()->actions[TOGGLE_BOOKMARKS]->setShortcut(seq);
menu_Window->addAction(Properties::Instance()->actions[TOGGLE_BOOKMARKS]);
settings.endGroup();
@ -367,10 +410,10 @@ void MainWindow::setup_ViewMenu_Actions()
/* tabs position */
tabPosition = new QActionGroup(this);
QAction *tabBottom = new QAction(tr("Bottom"), this);
QAction *tabTop = new QAction(tr("Top"), this);
QAction *tabRight = new QAction(tr("Right"), this);
QAction *tabLeft = new QAction(tr("Left"), this);
QAction *tabBottom = new QAction(tr("&Bottom"), this);
QAction *tabTop = new QAction(tr("&Top"), this);
QAction *tabRight = new QAction(tr("&Right"), this);
QAction *tabLeft = new QAction(tr("&Left"), this);
tabPosition->addAction(tabTop);
tabPosition->addAction(tabBottom);
tabPosition->addAction(tabLeft);
@ -385,7 +428,7 @@ void MainWindow::setup_ViewMenu_Actions()
connect(tabPosition, SIGNAL(triggered(QAction *)),
consoleTabulator, SLOT(changeTabPosition(QAction *)) );
tabPosMenu = new QMenu(tr("Tabs Layout"), menu_Window);
tabPosMenu = new QMenu(tr("&Tabs Layout"), menu_Window);
tabPosMenu->setObjectName("tabPosMenu");
for(int i=0; i < tabPosition->actions().size(); ++i) {
@ -399,9 +442,9 @@ void MainWindow::setup_ViewMenu_Actions()
/* Scrollbar */
scrollBarPosition = new QActionGroup(this);
QAction *scrollNone = new QAction(tr("None"), this);
QAction *scrollRight = new QAction(tr("Right"), this);
QAction *scrollLeft = new QAction(tr("Left"), this);
QAction *scrollNone = new QAction(tr("&None"), this);
QAction *scrollRight = new QAction(tr("&Right"), this);
QAction *scrollLeft = new QAction(tr("&Left"), this);
/* order of insertion is dep. on QTermWidget::ScrollBarPosition enum */
scrollBarPosition->addAction(scrollNone);
@ -417,7 +460,7 @@ void MainWindow::setup_ViewMenu_Actions()
connect(scrollBarPosition, SIGNAL(triggered(QAction *)),
consoleTabulator, SLOT(changeScrollPosition(QAction *)) );
scrollPosMenu = new QMenu(tr("Scrollbar Layout"), menu_Window);
scrollPosMenu = new QMenu(tr("S&crollbar Layout"), menu_Window);
scrollPosMenu->setObjectName("scrollPosMenu");
for(int i=0; i < scrollBarPosition->actions().size(); ++i) {
@ -433,7 +476,8 @@ void MainWindow::on_consoleTabulator_currentChanged(int)
void MainWindow::toggleTabBar()
{
Properties::Instance()->tabBarless = !toggleTabbar->isChecked();
Properties::Instance()->tabBarless
= !Properties::Instance()->actions[SHOW_TAB_BAR]->isChecked();
consoleTabulator->showHideTabBar();
}
@ -442,8 +486,8 @@ void MainWindow::toggleBorderless()
setWindowFlags(windowFlags() ^ Qt::FramelessWindowHint);
show();
setWindowState(Qt::WindowActive); /* don't loose focus on the window */
Properties::Instance()->borderless = toggleBorder->isChecked();
realign();
Properties::Instance()->borderless
= Properties::Instance()->actions[HIDE_WINDOW_BORDERS]->isChecked(); realign();
}
void MainWindow::toggleMenu()
@ -452,15 +496,27 @@ void MainWindow::toggleMenu()
Properties::Instance()->menuVisible = m_menuBar->isVisible();
}
void MainWindow::showFullscreen(bool fullscreen)
{
if(fullscreen)
setWindowState(windowState() | Qt::WindowFullScreen);
else
setWindowState(windowState() & ~Qt::WindowFullScreen);
}
void MainWindow::closeEvent(QCloseEvent *ev)
{
if (!Properties::Instance()->askOnExit
|| !consoleTabulator->count())
{
// #80 - do not save state and geometry in drop mode
if (!m_dropMode)
{
Properties::Instance()->mainWindowGeometry = saveGeometry();
if (!m_dropMode) {
if (Properties::Instance()->savePosOnExit) {
Properties::Instance()->mainWindowPosition = pos();
}
if (Properties::Instance()->saveSizeOnExit) {
Properties::Instance()->mainWindowSize = size();
}
Properties::Instance()->mainWindowState = saveState();
}
Properties::Instance()->saveSettings();
@ -486,7 +542,8 @@ void MainWindow::closeEvent(QCloseEvent *ev)
dia->setLayout(lay);
if (dia->exec() == QDialog::Accepted) {
Properties::Instance()->mainWindowGeometry = saveGeometry();
Properties::Instance()->mainWindowPosition = pos();
Properties::Instance()->mainWindowSize = size();
Properties::Instance()->mainWindowState = saveState();
Properties::Instance()->askOnExit = !dontAskCheck->isChecked();
Properties::Instance()->saveSettings();
@ -513,7 +570,7 @@ void MainWindow::actProperties_triggered()
void MainWindow::propertiesChanged()
{
QApplication::setStyle(Properties::Instance()->guiStyle);
setWindowOpacity(Properties::Instance()->appOpacity/100.0);
setWindowOpacity(1.0 - Properties::Instance()->appTransparency/100.0);
consoleTabulator->setTabPosition((QTabWidget::TabPosition)Properties::Instance()->tabsPos);
consoleTabulator->propertiesChanged();
setDropShortcut(Properties::Instance()->dropShortCut);
@ -619,3 +676,15 @@ void MainWindow::bookmarksDock_visibilityChanged(bool visible)
{
Properties::Instance()->bookmarksVisible = visible;
}
void MainWindow::addNewTab()
{
if (Properties::Instance()->terminalsPreset == 3)
consoleTabulator->preset4Terminals();
else if (Properties::Instance()->terminalsPreset == 2)
consoleTabulator->preset2Vertical();
else if (Properties::Instance()->terminalsPreset == 1)
consoleTabulator->preset2Horizontal();
else
consoleTabulator->addNewTab();
}

@ -13,9 +13,7 @@
* 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, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
***************************************************************************/
#ifndef MAINWINDOW_H
@ -40,25 +38,6 @@ public:
bool dropMode() { return m_dropMode; }
protected slots:
void on_consoleTabulator_currentChanged(int);
void propertiesChanged();
void actAbout_triggered();
void actProperties_triggered();
void updateActionGroup(QAction *);
void toggleBorderless();
void toggleTabBar();
void toggleMenu();
void showHide();
void setKeepOpen(bool value);
void find();
void newTerminalWindow();
void bookmarksWidget_callCommand(const QString&);
void bookmarksDock_visibilityChanged(bool visible);
protected:
bool event(QEvent* event);
@ -66,15 +45,13 @@ private:
QActionGroup *tabPosition, *scrollBarPosition;
QMenu *tabPosMenu, *scrollPosMenu;
QAction *toggleBorder, *toggleTabbar, *renameSession;
QAction *renameSession;
QString m_initWorkDir;
QString m_initShell;
QDockWidget *m_bookmarksDock;
void migrate_settings();
void setup_FileMenu_Actions();
void setup_ActionsMenu_Actions();
void setup_ViewMenu_Actions();
@ -87,5 +64,27 @@ private:
QxtGlobalShortcut m_dropShortcut;
void realign();
void setDropShortcut(QKeySequence dropShortCut);
private slots:
void on_consoleTabulator_currentChanged(int);
void propertiesChanged();
void actAbout_triggered();
void actProperties_triggered();
void updateActionGroup(QAction *);
void toggleBorderless();
void toggleTabBar();
void toggleMenu();
void showFullscreen(bool fullscreen);
void showHide();
void setKeepOpen(bool value);
void find();
void newTerminalWindow();
void bookmarksWidget_callCommand(const QString&);
void bookmarksDock_visibilityChanged(bool visible);
void addNewTab();
};
#endif //MAINWINDOW_H

@ -1,3 +1,21 @@
/***************************************************************************
* Copyright (C) 2010 by Petr Vanek *
* petr@scribus.info *
* *
* 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 2 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/>. *
***************************************************************************/
#include <qtermwidget.h>
#include "properties.h"
@ -14,12 +32,13 @@ Properties * Properties::Instance(const QString& filename)
return m_instance;
}
Properties::Properties(const QString& filename) : filename(filename)
Properties::Properties(const QString& filename)
: filename(filename)
{
if (filename.isEmpty()) {
QSettings settings;
this->filename = settings.fileName();
}
if (filename.isEmpty())
m_settings = new QSettings();
else
m_settings = new QSettings(filename);
qDebug("Properties constructor called");
}
@ -27,6 +46,7 @@ Properties::~Properties()
{
qDebug("Properties destructor called");
saveSettings();
m_settings->deleteLater();
delete m_instance;
m_instance = 0;
}
@ -42,145 +62,225 @@ QFont Properties::defaultFont()
void Properties::loadSettings()
{
QSettings settings(filename, QSettings::IniFormat);
guiStyle = settings.value("guiStyle", QString()).toString();
guiStyle = m_settings->value("guiStyle", QString()).toString();
if (!guiStyle.isNull())
QApplication::setStyle(guiStyle);
colorScheme = settings.value("colorScheme", "Linux").toString();
colorScheme = m_settings->value("colorScheme", "Linux").toString();
highlightCurrentTerminal = settings.value("highlightCurrentTerminal", true).toBool();
highlightCurrentTerminal = m_settings->value("highlightCurrentTerminal", true).toBool();
font = qvariant_cast<QFont>(settings.value("font", defaultFont()));
font = qvariant_cast<QFont>(m_settings->value("font", defaultFont()));
settings.beginGroup("Shortcuts");
QStringList keys = settings.childKeys();
m_settings->beginGroup("Shortcuts");
QStringList keys = m_settings->childKeys();
foreach( QString key, keys )
{
QKeySequence sequence = QKeySequence( settings.value( key ).toString() );
QKeySequence sequence = QKeySequence( m_settings->value( key ).toString() );
if( Properties::Instance()->actions.contains( key ) )
Properties::Instance()->actions[ key ]->setShortcut( sequence );
}
settings.endGroup();
m_settings->endGroup();
mainWindowGeometry = settings.value("MainWindow/geometry").toByteArray();
mainWindowState = settings.value("MainWindow/state").toByteArray();
mainWindowSize = m_settings->value("MainWindow/size").toSize();
mainWindowPosition = m_settings->value("MainWindow/pos").toPoint();
mainWindowState = m_settings->value("MainWindow/state").toByteArray();
historyLimited = m_settings->value("HistoryLimited", true).toBool();
historyLimitedTo = m_settings->value("HistoryLimitedTo", 1000).toUInt();
historyLimited = settings.value("HistoryLimited", true).toBool();
historyLimitedTo = settings.value("HistoryLimitedTo", 1000).toUInt();
emulation = settings.value("emulation", "default").toString();
emulation = m_settings->value("emulation", "default").toString();
// sessions
int size = settings.beginReadArray("Sessions");
int size = m_settings->beginReadArray("Sessions");
for (int i = 0; i < size; ++i)
{
settings.setArrayIndex(i);
QString name(settings.value("name").toString());
m_settings->setArrayIndex(i);
QString name(m_settings->value("name").toString());
if (name.isEmpty())
continue;
sessions[name] = settings.value("state").toByteArray();
sessions[name] = m_settings->value("state").toByteArray();
}
settings.endArray();
m_settings->endArray();
appOpacity = settings.value("MainWindow/appOpacity", 100).toInt();
termOpacity = settings.value("termOpacity", 100).toInt();
appTransparency = m_settings->value("MainWindow/ApplicationTransparency", 0).toInt();
termTransparency = m_settings->value("TerminalTransparency", 0).toInt();
/* default to Right. see qtermwidget.h */
scrollBarPos = settings.value("ScrollbarPosition", 2).toInt();
scrollBarPos = m_settings->value("ScrollbarPosition", 2).toInt();
/* default to North. I'd prefer South but North is standard (they say) */
tabsPos = settings.value("TabsPosition", 0).toInt();
alwaysShowTabs = settings.value("AlwaysShowTabs", true).toBool();
m_motionAfterPaste = settings.value("MotionAfterPaste", 0).toInt();
tabsPos = m_settings->value("TabsPosition", 0).toInt();
hideTabBarWithOneTab = m_settings->value("HideTabBarWithOneTab", false).toBool();
m_motionAfterPaste = m_settings->value("MotionAfterPaste", 0).toInt();
/* toggles */
borderless = settings.value("Borderless", false).toBool();
tabBarless = settings.value("TabBarless", false).toBool();
menuVisible = settings.value("MenuVisible", true).toBool();
askOnExit = settings.value("AskOnExit", true).toBool();
useCWD = settings.value("UseCWD", false).toBool();
borderless = m_settings->value("Borderless", false).toBool();
tabBarless = m_settings->value("TabBarless", false).toBool();
menuVisible = m_settings->value("MenuVisible", true).toBool();
askOnExit = m_settings->value("AskOnExit", true).toBool();
saveSizeOnExit = m_settings->value("SaveSizeOnExit", true).toBool();
savePosOnExit = m_settings->value("SavePosOnExit", true).toBool();
useCWD = m_settings->value("UseCWD", false).toBool();
// bookmarks
useBookmarks = settings.value("UseBookmarks", false).toBool();
bookmarksVisible = settings.value("BookmarksVisible", true).toBool();
bookmarksFile = settings.value("BookmarksFile", QFileInfo(settings.fileName()).canonicalPath()+"/qterminal_bookmarks.xml").toString();
settings.beginGroup("DropMode");
dropShortCut = QKeySequence(settings.value("ShortCut", "F12").toString());
dropKeepOpen = settings.value("KeepOpen", false).toBool();
dropShowOnStart = settings.value("ShowOnStart", true).toBool();
dropWidht = settings.value("Width", 70).toInt();
dropHeight = settings.value("Height", 45).toInt();
settings.endGroup();
useBookmarks = m_settings->value("UseBookmarks", false).toBool();
bookmarksVisible = m_settings->value("BookmarksVisible", true).toBool();
bookmarksFile = m_settings->value("BookmarksFile", QFileInfo(m_settings->fileName()).canonicalPath()+"/qterminal_bookmarks.xml").toString();
terminalsPreset = m_settings->value("TerminalsPreset", 0).toInt();
m_settings->beginGroup("DropMode");
dropShortCut = QKeySequence(m_settings->value("ShortCut", "F12").toString());
dropKeepOpen = m_settings->value("KeepOpen", false).toBool();
dropShowOnStart = m_settings->value("ShowOnStart", true).toBool();
dropWidht = m_settings->value("Width", 70).toInt();
dropHeight = m_settings->value("Height", 45).toInt();
m_settings->endGroup();
}
void Properties::saveSettings()
{
QSettings settings(filename, QSettings::IniFormat);
settings.setValue("guiStyle", guiStyle);
settings.setValue("colorScheme", colorScheme);
settings.setValue("highlightCurrentTerminal", highlightCurrentTerminal);
settings.setValue("font", font);
m_settings->setValue("guiStyle", guiStyle);
m_settings->setValue("colorScheme", colorScheme);
m_settings->setValue("highlightCurrentTerminal", highlightCurrentTerminal);
m_settings->setValue("font", font);
settings.beginGroup("Shortcuts");
m_settings->beginGroup("Shortcuts");
QMapIterator< QString, QAction * > it(actions);
while( it.hasNext() )
{
it.next();
QKeySequence shortcut = it.value()->shortcut();
settings.setValue( it.key(), shortcut.toString() );
m_settings->setValue( it.key(), shortcut.toString() );
}
settings.endGroup();
m_settings->endGroup();
settings.setValue("MainWindow/geometry", mainWindowGeometry);
settings.setValue("MainWindow/state", mainWindowState);
m_settings->setValue("MainWindow/size", mainWindowSize);
m_settings->setValue("MainWindow/pos", mainWindowPosition);
m_settings->setValue("MainWindow/state", mainWindowState);
settings.setValue("HistoryLimited", historyLimited);
settings.setValue("HistoryLimitedTo", historyLimitedTo);
m_settings->setValue("HistoryLimited", historyLimited);
m_settings->setValue("HistoryLimitedTo", historyLimitedTo);
settings.setValue("emulation", emulation);
m_settings->setValue("emulation", emulation);
// sessions
settings.beginWriteArray("Sessions");
m_settings->beginWriteArray("Sessions");
int i = 0;
Sessions::iterator sit = sessions.begin();
while (sit != sessions.end())
{
settings.setArrayIndex(i);
settings.setValue("name", sit.key());
settings.setValue("state", sit.value());
m_settings->setArrayIndex(i);
m_settings->setValue("name", sit.key());
m_settings->setValue("state", sit.value());
++sit;
++i;
}
settings.endArray();
settings.setValue("MainWindow/appOpacity", appOpacity);
settings.setValue("termOpacity", termOpacity);
settings.setValue("ScrollbarPosition", scrollBarPos);
settings.setValue("TabsPosition", tabsPos);
settings.setValue("AlwaysShowTabs", alwaysShowTabs);
settings.setValue("MotionAfterPaste", m_motionAfterPaste);
settings.setValue("Borderless", borderless);
settings.setValue("TabBarless", tabBarless);
settings.setValue("MenuVisible", menuVisible);
settings.setValue("AskOnExit", askOnExit);
settings.setValue("UseCWD", useCWD);
m_settings->endArray();
m_settings->setValue("MainWindow/ApplicationTransparency", appTransparency);
m_settings->setValue("TerminalTransparency", termTransparency);
m_settings->setValue("ScrollbarPosition", scrollBarPos);
m_settings->setValue("TabsPosition", tabsPos);
m_settings->setValue("HideTabBarWithOneTab", hideTabBarWithOneTab);
m_settings->setValue("MotionAfterPaste", m_motionAfterPaste);
m_settings->setValue("Borderless", borderless);
m_settings->setValue("TabBarless", tabBarless);
m_settings->setValue("MenuVisible", menuVisible);
m_settings->setValue("AskOnExit", askOnExit);
m_settings->setValue("SavePosOnExit", savePosOnExit);
m_settings->setValue("SaveSizeOnExit", saveSizeOnExit);
m_settings->setValue("UseCWD", useCWD);
// bookmarks
settings.setValue("UseBookmarks", useBookmarks);
settings.setValue("BookmarksVisible", bookmarksVisible);
settings.setValue("BookmarksFile", bookmarksFile);
settings.beginGroup("DropMode");
settings.setValue("ShortCut", dropShortCut.toString());
settings.setValue("KeepOpen", dropKeepOpen);
settings.setValue("ShowOnStart", dropShowOnStart);
settings.setValue("Width", dropWidht);
settings.setValue("Height", dropHeight);
settings.endGroup();
m_settings->setValue("UseBookmarks", useBookmarks);
m_settings->setValue("BookmarksVisible", bookmarksVisible);
m_settings->setValue("BookmarksFile", bookmarksFile);
m_settings->setValue("TerminalsPreset", terminalsPreset);
m_settings->beginGroup("DropMode");
m_settings->setValue("ShortCut", dropShortCut.toString());
m_settings->setValue("KeepOpen", dropKeepOpen);
m_settings->setValue("ShowOnStart", dropShowOnStart);
m_settings->setValue("Width", dropWidht);
m_settings->setValue("Height", dropHeight);
m_settings->endGroup();
}
void Properties::migrate_settings()
{
// Deal with rearrangements of settings.
// If this method becomes unbearably huge we should look at the config-update
// system used by kde and razor.
QSettings settings;
QString lastVersion = settings.value("version", "0.0.0").toString();
QString currentVersion = STR_VERSION;
if (currentVersion < lastVersion)
{
qDebug() << "Warning: Configuration file was written by a newer version "
<< "of QTerminal. Some settings might be incompatible";
}
if (lastVersion < "0.4.0")
{
// ===== Paste Selection -> Paste Clipboard =====
settings.beginGroup("Shortcuts");
if(!settings.contains(PASTE_CLIPBOARD))
{
QString value = settings.value("Paste Selection", PASTE_CLIPBOARD_SHORTCUT).toString();
settings.setValue(PASTE_CLIPBOARD, value);
}
settings.remove("Paste Selection");
settings.endGroup();
}
if (lastVersion <= "0.6.0")
{
// ===== AlwaysShowTabs -> HideTabBarWithOneTab =====
if(!settings.contains("HideTabBarWithOneTab"))
{
QString hideValue = settings.value("AlwaysShowTabs", false).toString();
settings.setValue("HideTabBarWithOneTab", hideValue);
}
settings.remove("AlwaysShowTabs");
// ===== appOpacity -> ApplicationTransparency =====
//
// Note: In 0.6.0 the opacity values had been erroneously
// restricted to [0,99] instead of [1,100]. We fix this here by
// setting the opacity to 100 if it was 99 and to 1 if it was 0.
//
if(!settings.contains("MainWindow/ApplicationTransparency"))
{
int appOpacityValue = settings.value("MainWindow/appOpacity", 100).toInt();
appOpacityValue = appOpacityValue == 99 ? 100 : appOpacityValue;
appOpacityValue = appOpacityValue == 0 ? 1 : appOpacityValue;
settings.setValue("MainWindow/ApplicationTransparency", 100 - appOpacityValue);
}
settings.remove("MainWindow/appOpacity");
// ===== termOpacity -> TerminalTransparency =====
if(!settings.contains("TerminalTransparency"))
{
int termOpacityValue = settings.value("termOpacity", 100).toInt();
termOpacityValue = termOpacityValue == 99 ? 100 : termOpacityValue;
settings.setValue("TerminalTransparency", 100 - termOpacityValue);
}
settings.remove("termOpacity");
// geometry -> size, pos
if (!settings.contains("MainWindow/size"))
{
QWidget geom;
geom.restoreGeometry(settings.value("MainWindow/geometry").toByteArray());
settings.setValue("MainWindow/size", geom.size());
settings.setValue("MainWindow/pos", geom.pos());
settings.remove("MainWindow/geometry");
}
}
if (currentVersion > lastVersion)
settings.setValue("version", currentVersion);
}

@ -1,3 +1,21 @@
/***************************************************************************
* Copyright (C) 2010 by Petr Vanek *
* petr@scribus.info *
* *
* 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 2 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/>. *
***************************************************************************/
#ifndef PROPERTIES_H
#define PROPERTIES_H
@ -16,12 +34,15 @@ typedef QMap<QString,QString> ShortcutMap;
class Properties
{
public:
static Properties *Instance(const QString& filename = QString(""));
static Properties *Instance(const QString& filename = QString());
QFont defaultFont();
void saveSettings();
void loadSettings();
void migrate_settings();
QByteArray mainWindowGeometry;
QSize mainWindowSize;
QPoint mainWindowPosition;
QByteArray mainWindowState;
//ShortcutMap shortcuts;
QString shell;
@ -37,12 +58,12 @@ class Properties
Sessions sessions;
int appOpacity;
int termOpacity;
int appTransparency;
int termTransparency;
int scrollBarPos;
int tabsPos;
bool alwaysShowTabs;
bool hideTabBarWithOneTab;
int m_motionAfterPaste;
bool borderless;
@ -51,12 +72,17 @@ class Properties
bool askOnExit;
bool saveSizeOnExit;
bool savePosOnExit;
bool useCWD;
bool useBookmarks;
bool bookmarksVisible;
QString bookmarksFile;
int terminalsPreset;
QKeySequence dropShortCut;
bool dropKeepOpen;
bool dropShowOnStart;
@ -65,7 +91,6 @@ class Properties
QMap< QString, QAction * > actions;
void loadSettings();
private:
@ -78,6 +103,8 @@ class Properties
Properties(const Properties &) {};
~Properties();
QSettings *m_settings;
};
#endif

@ -1,3 +1,21 @@
/***************************************************************************
* Copyright (C) 2010 by Petr Vanek *
* petr@scribus.info *
* *
* 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 2 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/>. *
***************************************************************************/
#include <qtermwidget.h>
#include <QDebug>
@ -24,6 +42,7 @@ PropertiesDialog::PropertiesDialog(QWidget *parent)
QStringList colorSchemes = QTermWidget::availableColorSchemes();
listWidget->setCurrentRow(0);
listWidget->setSizeAdjustPolicy(QAbstractScrollArea::AdjustToContentsOnFirstShow);
colorSchemaCombo->addItems(colorSchemes);
int csix = colorSchemaCombo->findText(Properties::Instance()->colorScheme);
@ -33,34 +52,34 @@ PropertiesDialog::PropertiesDialog(QWidget *parent)
emulationComboBox->addItems(emulations);
int eix = emulationComboBox->findText(Properties::Instance()->emulation);
emulationComboBox->setCurrentIndex(eix != -1 ? eix : 0 );
/* shortcuts */
setupShortcuts();
/* scrollbar position */
QStringList scrollBarPosList;
scrollBarPosList << "No scrollbar" << "Left" << "Right";
scrollBarPosList << tr("No scrollbar") << tr("Left") << tr("Right");
scrollBarPos_comboBox->addItems(scrollBarPosList);
scrollBarPos_comboBox->setCurrentIndex(Properties::Instance()->scrollBarPos);
/* tabs position */
QStringList tabsPosList;
tabsPosList << "Top" << "Bottom" << "Left" << "Right";
tabsPosList << tr("Top") << tr("Bottom") << tr("Left") << tr("Right");
tabsPos_comboBox->addItems(tabsPosList);
tabsPos_comboBox->setCurrentIndex(Properties::Instance()->tabsPos);
alwaysShowTabsCheckBox->setChecked(Properties::Instance()->alwaysShowTabs);
hideTabBarCheckBox->setChecked(Properties::Instance()->hideTabBarWithOneTab);
// show main menu bar
showMenuCheckBox->setChecked(Properties::Instance()->menuVisible);
/* actions by motion after paste */
QStringList motionAfter;
motionAfter << "No move" << "Move start" << "Move end";
motionAfter << tr("No move") << tr("Move start") << tr("Move end");
motionAfterPasting_comboBox->addItems(motionAfter);
motionAfterPasting_comboBox->setCurrentIndex(Properties::Instance()->m_motionAfterPaste);
// Setting windows style actions
styleComboBox->addItem(tr("System Default"));
styleComboBox->addItems(QStyleFactory::keys());
@ -68,19 +87,20 @@ PropertiesDialog::PropertiesDialog(QWidget *parent)
int ix = styleComboBox->findText(Properties::Instance()->guiStyle);
if (ix != -1)
styleComboBox->setCurrentIndex(ix);
setFontSample(Properties::Instance()->font);
appOpacityBox->setValue(Properties::Instance()->appOpacity);
//connect(appOpacityBox, SIGNAL(valueChanged(int)), this, SLOT(apply()));
appTransparencyBox->setValue(Properties::Instance()->appTransparency);
termOpacityBox->setValue(Properties::Instance()->termOpacity);
//connect(termOpacityBox, SIGNAL(valueChanged(int)), this, SLOT(apply()));
termTransparencyBox->setValue(Properties::Instance()->termTransparency);
highlightCurrentCheckBox->setChecked(Properties::Instance()->highlightCurrentTerminal);
askOnExitCheckBox->setChecked(Properties::Instance()->askOnExit);
savePosOnExitCheckBox->setChecked(Properties::Instance()->savePosOnExit);
saveSizeOnExitCheckBox->setChecked(Properties::Instance()->saveSizeOnExit);
useCwdCheckBox->setChecked(Properties::Instance()->useCWD);
historyLimited->setChecked(Properties::Instance()->historyLimited);
@ -97,6 +117,8 @@ PropertiesDialog::PropertiesDialog(QWidget *parent)
openBookmarksFile(Properties::Instance()->bookmarksFile);
connect(bookmarksButton, SIGNAL(clicked()),
this, SLOT(bookmarksButton_clicked()));
terminalPresetComboBox->setCurrentIndex(Properties::Instance()->terminalsPreset);
}
@ -120,21 +142,24 @@ void PropertiesDialog::apply()
Properties::Instance()->emulation = emulationComboBox->currentText();
/* do not allow to go above 99 or we lose transparency option */
(appOpacityBox->value() >= 100) ?
Properties::Instance()->appOpacity = 99
(appTransparencyBox->value() >= 100) ?
Properties::Instance()->appTransparency = 99
:
Properties::Instance()->appOpacity = appOpacityBox->value();
Properties::Instance()->appTransparency = appTransparencyBox->value();
Properties::Instance()->termOpacity = termOpacityBox->value();
Properties::Instance()->termTransparency = termTransparencyBox->value();
Properties::Instance()->highlightCurrentTerminal = highlightCurrentCheckBox->isChecked();
Properties::Instance()->askOnExit = askOnExitCheckBox->isChecked();
Properties::Instance()->savePosOnExit = savePosOnExitCheckBox->isChecked();
Properties::Instance()->saveSizeOnExit = saveSizeOnExitCheckBox->isChecked();
Properties::Instance()->useCWD = useCwdCheckBox->isChecked();
Properties::Instance()->scrollBarPos = scrollBarPos_comboBox->currentIndex();
Properties::Instance()->tabsPos = tabsPos_comboBox->currentIndex();
Properties::Instance()->alwaysShowTabs = alwaysShowTabsCheckBox->isChecked();
Properties::Instance()->hideTabBarWithOneTab = hideTabBarCheckBox->isChecked();
Properties::Instance()->menuVisible = showMenuCheckBox->isChecked();
Properties::Instance()->m_motionAfterPaste = motionAfterPasting_comboBox->currentIndex();
@ -154,6 +179,8 @@ void PropertiesDialog::apply()
Properties::Instance()->bookmarksFile = bookmarksLineEdit->text();
saveBookmarksFile(Properties::Instance()->bookmarksFile);
Properties::Instance()->terminalsPreset = terminalPresetComboBox->currentIndex();
emit propertiesChanged();
}

@ -1,3 +1,21 @@
/***************************************************************************
* Copyright (C) 2010 by Petr Vanek *
* petr@scribus.info *
* *
* 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 2 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/>. *
***************************************************************************/
#ifndef PROPERTIESDIALOG_H
#define PROPERTIESDIALOG_H

@ -13,9 +13,7 @@
* 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, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
***************************************************************************/
#include <QTabBar>
@ -51,6 +49,7 @@ TabWidget::TabWidget(QWidget* parent) : QTabWidget(parent), tabNumerator(0)
tabBar()->installEventFilter(this);
connect(this, SIGNAL(tabCloseRequested(int)), this, SLOT(removeTab(int)));
connect(tabBar(), SIGNAL(tabMoved(int,int)), this, SLOT(updateTabIndices()));
}
TermWidgetHolder * TabWidget::terminalHolder()
@ -84,7 +83,7 @@ int TabWidget::addNewTab(const QString & shell_program)
connect(console, SIGNAL(renameSession()), this, SLOT(renameSession()));
int index = addTab(console, label);
recountIndexes();
updateTabIndices();
setCurrentIndex(index);
console->setInitialFocus();
@ -148,7 +147,7 @@ void TabWidget::zoomReset()
terminalHolder()->currentTerminal()->impl()->zoomReset();
}
void TabWidget::recountIndexes()
void TabWidget::updateTabIndices()
{
for(int i = 0; i < count(); i++)
widget(i)->setProperty(TAB_INDEX_PROPERTY, i);
@ -210,7 +209,7 @@ void TabWidget::removeFinished()
if(prop.isValid() && prop.canConvert(QVariant::Int))
{
int index = prop.toInt();
removeTab(index);
removeTab(index);
// if (count() == 0)
// emit closeTabNotification();
}
@ -224,7 +223,7 @@ void TabWidget::removeTab(int index)
QTabWidget::removeTab(index);
w->deleteLater();
recountIndexes();
updateTabIndices();
int current = currentIndex();
if (current >= 0 )
{
@ -307,7 +306,7 @@ void TabWidget::move(Direction dir)
setUpdatesEnabled(true);
setCurrentIndex(newIndex);
child->setFocus();
recountIndexes();
updateTabIndices();
}
}
@ -377,10 +376,41 @@ void TabWidget::loadSession()
reinterpret_cast<TermWidgetHolder*>(widget(currentIndex()))->loadSession();
}
void TabWidget::preset2Horizontal()
{
int ix = TabWidget::addNewTab();
TermWidgetHolder* term = reinterpret_cast<TermWidgetHolder*>(widget(ix));
term->splitHorizontal(term->currentTerminal());
// switch to the 1st terminal
term->switchNextSubterminal();
}
void TabWidget::preset2Vertical()
{
int ix = TabWidget::addNewTab();
TermWidgetHolder* term = reinterpret_cast<TermWidgetHolder*>(widget(ix));
term->splitVertical(term->currentTerminal());
// switch to the 1st terminal
term->switchNextSubterminal();
}
void TabWidget::preset4Terminals()
{
int ix = TabWidget::addNewTab();
TermWidgetHolder* term = reinterpret_cast<TermWidgetHolder*>(widget(ix));
term->splitVertical(term->currentTerminal());
term->splitHorizontal(term->currentTerminal());
term->switchNextSubterminal();
term->switchNextSubterminal();
term->splitHorizontal(term->currentTerminal());
// switch to the 1st terminal
term->switchNextSubterminal();
}
void TabWidget::showHideTabBar()
{
if (Properties::Instance()->tabBarless)
tabBar()->setVisible(false);
else
tabBar()->setVisible(Properties::Instance()->alwaysShowTabs || count() > 1);
tabBar()->setVisible(!Properties::Instance()->hideTabBarWithOneTab || count() > 1);
}

@ -13,9 +13,7 @@
* 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, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
***************************************************************************/
#ifndef TAB_WIDGET
@ -75,13 +73,16 @@ public slots:
void saveSession();
void loadSession();
void preset2Horizontal();
void preset2Vertical();
void preset4Terminals();
signals:
void closeTabNotification();
protected:
enum Direction{Left = 1, Right};
void contextMenuEvent(QContextMenuEvent * event);
void recountIndexes();
void move(Direction);
/*! Event filter for TabWidget's QTabBar. It's installed on tabBar()
in the constructor.
@ -89,6 +90,8 @@ protected:
renaming or new tab opening
*/
bool eventFilter(QObject *obj, QEvent *event);
protected slots:
void updateTabIndices();
private:
int tabNumerator;

@ -1,3 +1,21 @@
/***************************************************************************
* Copyright (C) 2010 by Petr Vanek *
* petr@scribus.info *
* *
* 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 2 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/>. *
***************************************************************************/
#include <QMenu>
#include <QVBoxLayout>
#include <QPainter>
@ -72,7 +90,7 @@ void TermWidgetImpl::propertiesChanged()
qDebug() << "TermWidgetImpl::propertiesChanged" << this << "emulation:" << Properties::Instance()->emulation;
setKeyBindings(Properties::Instance()->emulation);
setTerminalOpacity(Properties::Instance()->termOpacity/100.0);
setTerminalOpacity(1.0 - Properties::Instance()->termTransparency/100.0);
/* be consequent with qtermwidget.h here */
switch(Properties::Instance()->scrollBarPos) {
@ -106,6 +124,9 @@ void TermWidgetImpl::customContextMenuCall(const QPoint & pos)
menu.addAction(Properties::Instance()->actions[SPLIT_VERTICAL]);
#warning TODO/FIXME: disable the action when there is only one terminal
menu.addAction(Properties::Instance()->actions[SUB_COLLAPSE]);
menu.addSeparator();
menu.addAction(Properties::Instance()->actions[TOGGLE_MENU]);
menu.addAction(Properties::Instance()->actions[PREFERENCES]);
menu.exec(mapToGlobal(pos));
}

@ -1,3 +1,21 @@
/***************************************************************************
* Copyright (C) 2010 by Petr Vanek *
* petr@scribus.info *
* *
* 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 2 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/>. *
***************************************************************************/
#ifndef TERMWIDGET_H
#define TERMWIDGET_H

@ -1,3 +1,21 @@
/***************************************************************************
* Copyright (C) 2010 by Petr Vanek *
* petr@scribus.info *
* *
* 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 2 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/>. *
***************************************************************************/
#include <QGridLayout>
#include <QSplitter>
#include <QInputDialog>
@ -98,7 +116,6 @@ void TermWidgetHolder::saveSession(const QString & name)
TermWidget* TermWidgetHolder::currentTerminal()
{
qDebug() << m_currentTerm << "current terminal";
return m_currentTerm;
}
@ -115,8 +132,6 @@ void TermWidgetHolder::switchNextSubterminal()
foreach (TermWidget * w, l)
{
++ix;
// qDebug() << ix << w << w->impl() << w->impl()->hasFocus() << QApplication::focusWidget();
// qDebug() << "parent: " << w->parent();
if (w->impl()->hasFocus())
{
break;
@ -141,14 +156,11 @@ void TermWidgetHolder::switchPrevSubterminal()
foreach (TermWidget * w, l)
{
++ix;
// qDebug() << ix << w << w->impl() << w->impl()->hasFocus() << QApplication::focusWidget();
// qDebug() << "parent: " << w->parent();
if (w->impl()->hasFocus())
{
break;
}
}
//qDebug() << ix << l.at(ix)->impl() << QApplication::focusWidget() << l;
if (ix > 0)
{
@ -274,7 +286,6 @@ TermWidget *TermWidgetHolder::newTerm(const QString & wdir, const QString & shel
void TermWidgetHolder::setCurrentTerminal(TermWidget* term)
{
qDebug() << "set current term:" << term;
m_currentTerm = term;
}

@ -1,3 +1,21 @@
/***************************************************************************
* Copyright (C) 2010 by Petr Vanek *
* petr@scribus.info *
* *
* 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 2 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/>. *
***************************************************************************/
#ifndef TERMWIDGETHOLDER_H
#define TERMWIDGETHOLDER_H

@ -35,24 +35,17 @@
#ifndef Q_OS_MAC
int QxtGlobalShortcutPrivate::ref = 0;
# if QT_VERSION < QT_VERSION_CHECK(5,0,0)
QAbstractEventDispatcher::EventFilter QxtGlobalShortcutPrivate::prevEventFilter = 0;
# endif
#endif // Q_OS_MAC
#endif
QHash<QPair<quint32, quint32>, QxtGlobalShortcut*> QxtGlobalShortcutPrivate::shortcuts;
QxtGlobalShortcutPrivate::QxtGlobalShortcutPrivate() : enabled(true), key(Qt::Key(0)), mods(Qt::NoModifier)
{
#ifndef Q_OS_MAC
if (ref == 0) {
# if QT_VERSION < QT_VERSION_CHECK(5,0,0)
prevEventFilter = QAbstractEventDispatcher::instance()->setEventFilter(eventFilter);
# else
QAbstractEventDispatcher::instance()->installNativeEventFilter(this);
#endif
}
++ref;
#endif // Q_OS_MAC
#endif
}
QxtGlobalShortcutPrivate::~QxtGlobalShortcutPrivate()
@ -62,14 +55,10 @@ QxtGlobalShortcutPrivate::~QxtGlobalShortcutPrivate()
if (ref == 0) {
QAbstractEventDispatcher *ed = QAbstractEventDispatcher::instance();
if (ed != 0) {
# if QT_VERSION < QT_VERSION_CHECK(5,0,0)
ed->setEventFilter(prevEventFilter);
# else
ed->removeNativeEventFilter(this);
# endif
}
}
#endif // Q_OS_MAC
#endif
}
bool QxtGlobalShortcutPrivate::setShortcut(const QKeySequence& shortcut)

@ -33,16 +33,13 @@
#include "qxtglobalshortcut.h"
#include <QAbstractEventDispatcher>
#include <QAbstractNativeEventFilter>
#include <QKeySequence>
#include <QHash>
#if QT_VERSION >= QT_VERSION_CHECK(5,0,0)
#include <QAbstractNativeEventFilter>
#endif
class QxtGlobalShortcutPrivate : public QxtPrivate<QxtGlobalShortcut>
#if QT_VERSION >= QT_VERSION_CHECK(5,0,0) && !defined(Q_OS_MAC)
#if !defined(Q_OS_MAC)
,public QAbstractNativeEventFilter
#endif
{
@ -61,13 +58,8 @@ public:
static bool error;
#ifndef Q_OS_MAC
static int ref;
#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
static QAbstractEventDispatcher::EventFilter prevEventFilter;
static bool eventFilter(void* message);
#else
virtual bool nativeEventFilter(const QByteArray & eventType, void * message, long * result);
#endif // QT_VERSION < QT_VERSION_CHECK(5,0,0)
#endif // Q_OS_MAC
#endif
static void activateShortcut(quint32 nativeKey, quint32 nativeMods);

@ -32,16 +32,11 @@
#include <qt_windows.h>
#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
bool QxtGlobalShortcutPrivate::eventFilter(void* message)
{
#else
bool QxtGlobalShortcutPrivate::nativeEventFilter(const QByteArray & eventType,
void * message, long * result)
{
Q_UNUSED(eventType);
Q_UNUSED(result);
#endif
MSG* msg = static_cast<MSG*>(message);
if (msg->message == WM_HOTKEY)
{
@ -50,11 +45,7 @@ bool QxtGlobalShortcutPrivate::nativeEventFilter(const QByteArray & eventType,
activateShortcut(keycode, modifiers);
}
#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
return prevEventFilter ? prevEventFilter(message) : false;
#else
return false;
#endif
return false;
}

@ -29,16 +29,18 @@
** <http://libqxt.org> <foundation@libqxt.org>
*****************************************************************************/
/****************************************************************************
*
* Note: This file is a modified version for QTerminal!
*
****************************************************************************/
#include <QVector>
#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
# include <QX11Info>
#else
# include <QApplication>
# include <qpa/qplatformnativeinterface.h>
# include <xcb/xcb.h>
#endif
#include <X11/Xlib.h>
#include <QtX11Extras/QX11Info>
#include <xcb/xcb.h>
#include <X11/Xlib.h>
namespace {
@ -92,14 +94,7 @@ class QxtX11Data {
public:
QxtX11Data()
{
#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
m_display = QX11Info::display();
#else
QPlatformNativeInterface *native = qApp->platformNativeInterface();
void *display = native->nativeResourceForScreen(QByteArray("display"),
QGuiApplication::primaryScreen());
m_display = reinterpret_cast<Display *>(display);
#endif
}
bool isValid()
@ -152,16 +147,6 @@ private:
} // namespace
#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
bool QxtGlobalShortcutPrivate::eventFilter(void *message)
{
XEvent *event = static_cast<XEvent *>(message);
if (event->type == KeyPress)
{
XKeyEvent *key = reinterpret_cast<XKeyEvent *>(event);
unsigned int keycode = key->keycode;
unsigned int keystate = key->state;
#else
bool QxtGlobalShortcutPrivate::nativeEventFilter(const QByteArray & eventType,
void *message, long *result)
{
@ -185,16 +170,12 @@ bool QxtGlobalShortcutPrivate::nativeEventFilter(const QByteArray & eventType,
keystate |= Mod4Mask;
if(kev->state & XCB_MOD_MASK_SHIFT)
keystate |= ShiftMask;
#endif
activateShortcut(keycode,
// Mod1Mask == Alt, Mod4Mask == Meta
keystate & (ShiftMask | ControlMask | Mod1Mask | Mod4Mask));
}
#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
return prevEventFilter ? prevEventFilter(message) : false;
#else
return false;
#endif
return false;
}
quint32 QxtGlobalShortcutPrivate::nativeModifiers(Qt::KeyboardModifiers modifiers)

@ -437,6 +437,48 @@
<source>Key</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="42"/>
<source>No scrollbar</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="42"/>
<location filename="../propertiesdialog.cpp" line="48"/>
<source>Left</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="42"/>
<location filename="../propertiesdialog.cpp" line="48"/>
<source>Right</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="48"/>
<source>Top</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="48"/>
<source>Bottom</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="60"/>
<source>No move</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="60"/>
<source>Move start</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="60"/>
<source>Move end</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="65"/>
<location filename="../propertiesdialog.cpp" line="117"/>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="de_DE">
<TS version="2.1" language="de">
<context>
<name>BookmarksWidget</name>
<message>
@ -36,129 +36,154 @@
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="310"/>
<location filename="../mainwindow.cpp" line="319"/>
<source>Close Tab</source>
<translation>Tab schließen</translation>
<translation>Reiter schließen</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="191"/>
<location filename="../mainwindow.cpp" line="175"/>
<source>Split Terminal Horizontally</source>
<translation>Terminal horizontal teilen</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="197"/>
<location filename="../mainwindow.cpp" line="182"/>
<source>Split Terminal Vertically</source>
<translation>Terminal vertikal teilen</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="203"/>
<location filename="../mainwindow.cpp" line="189"/>
<source>Collapse Subterminal</source>
<translation>Unterterminal schließen</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="209"/>
<location filename="../mainwindow.cpp" line="196"/>
<source>Next Subterminal</source>
<translation>Nächster Unterterminal</translation>
<translation>Nächstes Unterterminal</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="215"/>
<location filename="../mainwindow.cpp" line="203"/>
<source>Previous Subterminal</source>
<translation>Voriger Unterterminal</translation>
<translation>Voriges Unterterminal</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="165"/>
<location filename="../mainwindow.cpp" line="145"/>
<source>Next Tab</source>
<translation>Nächster Tab</translation>
<translation>Nächster Reiter</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="171"/>
<location filename="../mainwindow.cpp" line="152"/>
<source>Previous Tab</source>
<translation>Voriger Tab</translation>
<translation>Voriger Reiter</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="177"/>
<location filename="../mainwindow.cpp" line="159"/>
<source>Move Tab Left</source>
<translation>Tab nach links verschieben</translation>
<translation>Reiter nach links verschieben</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="183"/>
<location filename="../mainwindow.cpp" line="166"/>
<source>Move Tab Right</source>
<translation>Tab nach rechts verschieben</translation>
<translation>Reiter nach rechts verschieben</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="224"/>
<location filename="../mainwindow.cpp" line="213"/>
<source>Copy Selection</source>
<translation>Textauswahl kopieren</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="236"/>
<location filename="../mainwindow.cpp" line="227"/>
<source>Paste Selection</source>
<translation>Textauswahl einfügen</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="273"/>
<location filename="../mainwindow.cpp" line="269"/>
<source>Save Session</source>
<translation>Sitzung speichern</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="279"/>
<location filename="../mainwindow.cpp" line="275"/>
<source>Load Session</source>
<translation>Sitzung laden</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="370"/>
<location filename="../mainwindow.cpp" line="308"/>
<source>New Tab From Preset</source>
<translation>Neuer Reiter von Vorlage</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="309"/>
<source>1 Terminal</source>
<translation>1 Terminal</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="311"/>
<source>2 Horizontal Terminals</source>
<translation>2 horizontale Terminals</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="313"/>
<source>2 Vertical Terminals</source>
<translation>2 vertikale Terminals</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="315"/>
<source>4 Terminals</source>
<translation>4 Terminals</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="395"/>
<source>Bottom</source>
<translation>Unten</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="371"/>
<location filename="../mainwindow.cpp" line="396"/>
<source>Top</source>
<translation>Oben</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="372"/>
<location filename="../mainwindow.cpp" line="403"/>
<location filename="../mainwindow.cpp" line="397"/>
<location filename="../mainwindow.cpp" line="428"/>
<source>Right</source>
<translation>Rechts</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="373"/>
<location filename="../mainwindow.cpp" line="404"/>
<location filename="../mainwindow.cpp" line="398"/>
<location filename="../mainwindow.cpp" line="429"/>
<source>Left</source>
<translation>Links</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="388"/>
<location filename="../mainwindow.cpp" line="413"/>
<source>Tabs Layout</source>
<translation>Anzeige Tableiste</translation>
<translation>Anzeige Reiterleiste</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="402"/>
<location filename="../mainwindow.cpp" line="427"/>
<source>None</source>
<translation>Keine</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="420"/>
<location filename="../mainwindow.cpp" line="445"/>
<source>Scrollbar Layout</source>
<translation>Anzeige Bildlaufleiste</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="474"/>
<location filename="../mainwindow.cpp" line="500"/>
<source>Exit QTerminal</source>
<translation>QTerminal beenden</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="476"/>
<location filename="../mainwindow.cpp" line="502"/>
<source>Do not ask again</source>
<translation>Nicht erneut nachfragen</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="483"/>
<location filename="../mainwindow.cpp" line="509"/>
<source>Are you sure you want to exit?</source>
<translation>Sind Sie sicher, dass Sie QTerminal beenden wollen?</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="503"/>
<location filename="../mainwindow.cpp" line="529"/>
<source>A lightweight multiplatform terminal emulator</source>
<translation>Ein schlanker plattformunabhängiger Terminalemulator</translation>
</message>
@ -168,285 +193,343 @@
<translation>Lesezeichen</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="91"/>
<location filename="../mainwindow.cpp" line="92"/>
<source>Rename Session</source>
<translation>Sitzung umbenennen</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="146"/>
<location filename="../mainwindow.cpp" line="125"/>
<source>Press &quot;%1&quot; to see the terminal.</source>
<translation>Tippen Sie &quot;%1&quot;, um den Terminal zu sehen.</translation>
<translation>Tippen Sie &quot;%1&quot;, um das Terminal zu sehen.</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="157"/>
<location filename="../mainwindow.cpp" line="136"/>
<source>Clear Current Tab</source>
<translation>Aktuellen Tab leeren</translation>
<translation>Aktuellen Reiter leeren</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="230"/>
<location filename="../mainwindow.cpp" line="220"/>
<source>Paste Clipboard</source>
<translation>Zwischenablage einfügen</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="242"/>
<location filename="../mainwindow.cpp" line="234"/>
<source>Zoom in</source>
<translation>Vergrößern</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="248"/>
<location filename="../mainwindow.cpp" line="241"/>
<source>Zoom out</source>
<translation>Verkleinern</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="254"/>
<location filename="../mainwindow.cpp" line="248"/>
<source>Zoom reset</source>
<translation>Zurücksetzen</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="262"/>
<location filename="../mainwindow.cpp" line="257"/>
<source>Find...</source>
<translation>Suchen...</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="286"/>
<location filename="../mainwindow.cpp" line="282"/>
<source>Toggle Menu</source>
<translation>Menü ein-/ausblenden</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="304"/>
<location filename="../mainwindow.cpp" line="301"/>
<source>New Tab</source>
<translation>Neuer Tab</translation>
<translation>Neuer Reiter</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="316"/>
<location filename="../mainwindow.cpp" line="326"/>
<source>New Window</source>
<translation>Neues Fenster</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="339"/>
<location filename="../mainwindow.cpp" line="360"/>
<source>Hide Window Borders</source>
<translation>Fensterrahmen ausblenden</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="350"/>
<location filename="../mainwindow.cpp" line="374"/>
<source>Show Tab Bar</source>
<translation>Tabzeile anzeigen</translation>
<translation>Reiterleiste anzeigen</translation>
</message>
</context>
<context>
<name>PropertiesDialog</name>
<message>
<location filename="../forms/propertiesdialog.ui" line="316"/>
<source>Emulation</source>
<translation>Emulation</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="62"/>
<source>Shortcuts</source>
<translation>Tastenkürzel</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="14"/>
<source>QTerminal Properties</source>
<translation>QTerminal-Einstellungen</translation>
<source>Terminal settings</source>
<translation>Terminaleinstellungen</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="49"/>
<source>Terminal Font</source>
<translation>Terminalschrift</translation>
<location filename="../forms/propertiesdialog.ui" line="52"/>
<source>Appearance</source>
<translation>Erscheinungsbild</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="54"/>
<source>Look and Feel</source>
<translation>Aussehen</translation>
<location filename="../forms/propertiesdialog.ui" line="57"/>
<location filename="../forms/propertiesdialog.ui" line="341"/>
<source>Behavior</source>
<translation>Verhalten</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="59"/>
<location filename="../forms/propertiesdialog.ui" line="314"/>
<source>History</source>
<translation>Historie</translation>
<location filename="../forms/propertiesdialog.ui" line="67"/>
<source>Dropdown</source>
<translation>Aufklappen</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="64"/>
<source>Emulation</source>
<translation>Emulation</translation>
<location filename="../forms/propertiesdialog.ui" line="90"/>
<source>Color scheme</source>
<translation>Farbschema</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="69"/>
<source>Shortcuts</source>
<translation>Tastenkürzel</translation>
<location filename="../forms/propertiesdialog.ui" line="100"/>
<source>Widget style</source>
<translation>Stil der Bedienelemente</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="97"/>
<source>Font</source>
<translation>Schriftart</translation>
<location filename="../forms/propertiesdialog.ui" line="110"/>
<source>Scrollbar position</source>
<translation>Position der Bildlaufleiste</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="129"/>
<source>&amp;Set Font...</source>
<translation>&amp;Schriftart wählen...</translation>
<location filename="../forms/propertiesdialog.ui" line="120"/>
<source>Tabs position</source>
<translation>Position der Reiter</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="176"/>
<source>Color Scheme:</source>
<translation>Farbschema:</translation>
<location filename="../forms/propertiesdialog.ui" line="130"/>
<source>Show the menu bar</source>
<translation>Menüleiste anzeigen</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="209"/>
<source>GUI Style:</source>
<translation>GUI-Stil:</translation>
<location filename="../forms/propertiesdialog.ui" line="144"/>
<source>Show a border around the current terminal</source>
<translation>Aktuelles Terminal einrahmen</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="252"/>
<source>Scrollbar Position:</source>
<translation>Position der Bildlaufleiste:</translation>
<location filename="../forms/propertiesdialog.ui" line="151"/>
<source>Application transparency</source>
<translation>Transparenz der Anwendung</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="202"/>
<source>Tabs Position:</source>
<translation>Position der Tabs:</translation>
<location filename="../forms/propertiesdialog.ui" line="161"/>
<source>Terminal transparency</source>
<translation>Transparenz des Terminals</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="259"/>
<source>&amp;Application Transparency:</source>
<translation>&amp;Transparenz der Anwendung:</translation>
<location filename="../forms/propertiesdialog.ui" line="184"/>
<source>Start with preset:</source>
<translation>Start mit Vorlage:</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="216"/>
<location filename="../forms/propertiesdialog.ui" line="236"/>
<source> %</source>
<translation>%</translation>
<location filename="../forms/propertiesdialog.ui" line="205"/>
<source>None (single terminal)</source>
<translation>Keine (ein Terminal)</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="229"/>
<source>Terminal Transparency:</source>
<translation>Transparenz des Terminals:</translation>
<location filename="../forms/propertiesdialog.ui" line="210"/>
<source>2 terminals horizontally</source>
<translation>2 horizontale Terminals</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="320"/>
<source>Limited to: </source>
<translation>Eingeschränkt auf:</translation>
<location filename="../forms/propertiesdialog.ui" line="215"/>
<source>2 terminals vertically</source>
<translation>2 vertikale Terminals</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="340"/>
<source>Unlimited</source>
<translation>keine Einschränkung</translation>
<location filename="../forms/propertiesdialog.ui" line="220"/>
<source>4 terminals</source>
<translation>4 Terminals</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="367"/>
<source>Emulation Type</source>
<translation>Emulationsart</translation>
<location filename="../forms/propertiesdialog.ui" line="256"/>
<source>Font</source>
<translation>Schriftart</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="376"/>
<source>Select emulation behaviour. It does not mean that for example &quot;linux&quot; has to be used only on Linux OS. Feel free to use it on Mac too etc.&lt;p&gt;Default is the failback type with minimal feature set.</source>
<translation>Verhalten des Emulators wählen. Hinweis: Emulationsarten können auch unter anderen Systemen genutzt werden (z.B. &quot;linux&quot; unter OS X).&lt;p&gt;Die Standardemulation ist &quot;default&quot; mit minimalem Funktionsumfang.</translation>
<location filename="../forms/propertiesdialog.ui" line="325"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Which behavior to emulate. Note that this does not have to match your operating system.&lt;/p&gt;&lt;p&gt;The &lt;span style=&quot; font-weight:600;&quot;&gt;default&lt;/span&gt; emulation is a fallback with a minimal featureset.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Verhalten des Emulators wählen. Hinweis: Emulationsarten können auch unter anderen Systemen genutzt werden (z.B. &quot;linux&quot; unter OS X).&lt;/p&gt;&lt;p&gt;Die Standardemulation ist &lt;span style=&quot; font-weight:600;&quot;&gt;default&lt;/span&gt; mit minimalem Funktionsumfang.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="428"/>
<source>Shortcut</source>
<translation>Tastenkürzel</translation>
<location filename="../forms/propertiesdialog.ui" line="347"/>
<source>Action after paste</source>
<translation>Aktion nach Einfügen aus der Zwischenablage</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="433"/>
<source>Key</source>
<translation>Taste</translation>
<location filename="../forms/propertiesdialog.ui" line="380"/>
<source>Open new terminals in current working directory</source>
<translation>Neues Terminal im aktuellen Verzeichnis öffnen</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="74"/>
<source>DropDown</source>
<translation>Aufklappen</translation>
<location filename="../forms/propertiesdialog.ui" line="387"/>
<source>Ask for confirmation when closing</source>
<translation>Beim Schließen eines Fensters nachfragen</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="79"/>
<source>Bookmarks</source>
<translation>Lesezeichen</translation>
<location filename="../forms/propertiesdialog.ui" line="397"/>
<source>Unlimited history</source>
<translation>Uneingeschränkte Historie</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="152"/>
<source>Note: only fixed width font are allowed to be used in terminal</source>
<translation>Anmerkung: nur Festbreit-Schriften können im Terminal verwendet werden.</translation>
<location filename="../forms/propertiesdialog.ui" line="404"/>
<source>History size (in lines)</source>
<translation>Historie (Zeilen)</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="169"/>
<source>Action after paste clipboard</source>
<translation>Aktion nach Einfügen aus der Zwischenablage</translation>
<location filename="../forms/propertiesdialog.ui" line="472"/>
<source>Height</source>
<translation>Höhe</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="272"/>
<source>&amp;Highlight Current Terminal With Border</source>
<translation>Aktuellen Terminal einrahmen</translation>
<location filename="../forms/propertiesdialog.ui" line="479"/>
<location filename="../forms/propertiesdialog.ui" line="493"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="279"/>
<source>Ask for Window Closing Confirmation</source>
<translation>Beim Schließen eines Fensters nachfragen</translation>
<location filename="../forms/propertiesdialog.ui" line="486"/>
<source>Width</source>
<translation>Breite</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="289"/>
<source>Open New Sub-Terminals in Current Working Dir</source>
<translation>Neuen Unterterminal im aktuellen Verzeichnis öffnen</translation>
<location filename="../forms/propertiesdialog.ui" line="536"/>
<source>Edit bookmark file contents</source>
<translation>Lesezeichendatei bearbeiten</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="296"/>
<source>Show Main Menu</source>
<translation>Hauptmenü anzeigen</translation>
<location filename="../forms/propertiesdialog.ui" line="558"/>
<source>Enable bookmarks</source>
<translation>Lesezeichen verwenden</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="303"/>
<source>Always Show Tabs</source>
<translation>Tabs immer anzeigen</translation>
<location filename="../forms/propertiesdialog.ui" line="567"/>
<source>Bookmark file</source>
<translation>Lesezeichendatei</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="445"/>
<source>Show on start</source>
<translation>Beim Start anzeigen</translation>
<location filename="../forms/propertiesdialog.ui" line="168"/>
<location filename="../forms/propertiesdialog.ui" line="191"/>
<source> %</source>
<translation>%</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="452"/>
<source>Size</source>
<translation>Größe</translation>
<location filename="../forms/propertiesdialog.ui" line="437"/>
<source>Shortcut</source>
<translation>Tastenkürzel</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="460"/>
<source>Height %:</source>
<translation>Höhe in %:</translation>
<location filename="../forms/propertiesdialog.ui" line="442"/>
<source>Key</source>
<translation>Taste</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="470"/>
<source>Width %:</source>
<translation>Breite in %:</translation>
<location filename="../forms/propertiesdialog.ui" line="72"/>
<source>Bookmarks</source>
<translation>Lesezeichen</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="487"/>
<source>Shortcut:</source>
<translation>Tastenkürzel:</translation>
<location filename="../forms/propertiesdialog.ui" line="137"/>
<source>Hide tab bar with only one tab</source>
<translation type="unfinished">Reiterleiste bei nur einem Reiter vergergen</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="516"/>
<source>Edit File Content</source>
<translation>Datei bearbeiten</translation>
<location filename="../forms/propertiesdialog.ui" line="289"/>
<source>&amp;Change...</source>
<translation type="unfinished">&amp;Ändern...</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="538"/>
<source>Use Bookmarks</source>
<translation>Lesezeichen verwenden</translation>
<location filename="../forms/propertiesdialog.ui" line="454"/>
<source>Show on start</source>
<translation>Beim Start anzeigen</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="461"/>
<source>Size</source>
<translation>Größe</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="547"/>
<source>Bookmark FIle:</source>
<translation>Lesezeichendatei:</translation>
<location filename="../forms/propertiesdialog.ui" line="507"/>
<source>Shortcut:</source>
<translation>Tastenkürzel:</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="557"/>
<location filename="../forms/propertiesdialog.ui" line="577"/>
<source>Find...</source>
<translation>Suchen...</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="566"/>
<location filename="../forms/propertiesdialog.ui" line="586"/>
<source>You can specify your own bookmarks file location. It allows easy bookmark sharing with tools like OwnCloud or Dropbox.</source>
<translation>Sie können eine Datei für eigene Lesezeichen angeben. Das erlaubt einfachen Austausch mit Werkzeugen wie OwnCloud oder DropBox.</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="65"/>
<location filename="../propertiesdialog.cpp" line="117"/>
<location filename="../propertiesdialog.cpp" line="45"/>
<source>No scrollbar</source>
<translation>Keine Bildlaufleiste</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="45"/>
<location filename="../propertiesdialog.cpp" line="51"/>
<source>Left</source>
<translation>Links</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="45"/>
<location filename="../propertiesdialog.cpp" line="51"/>
<source>Right</source>
<translation>Rechts</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="51"/>
<source>Top</source>
<translation>Oben</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="51"/>
<source>Bottom</source>
<translation>Unten</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="63"/>
<source>No move</source>
<translation>Nicht bewegen</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="63"/>
<source>Move start</source>
<translation>An den Anfang bewegen</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="63"/>
<source>Move end</source>
<translation>An das Ende bewegen</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="68"/>
<location filename="../propertiesdialog.cpp" line="122"/>
<source>System Default</source>
<translation>Systemstandard</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="245"/>
<location filename="../propertiesdialog.cpp" line="252"/>
<source>Open or create bookmarks file</source>
<translation>Lesezeichendatei öffnen</translation>
<translation>Lesezeichendatei öffnen oder erstellen</translation>
</message>
</context>
<context>
@ -457,7 +540,7 @@
<translation>Lokale Lesezeichen</translation>
</message>
<message>
<location filename="../bookmarkswidget.cpp" line="190"/>
<location filename="../bookmarkswidget.cpp" line="187"/>
<source>Synchronized Bookmarks</source>
<translation>Synchronisierte Lesezeichen</translation>
</message>
@ -473,12 +556,12 @@
<message>
<location filename="../tabwidget.cpp" line="160"/>
<source>Tab name</source>
<translation>Tabbezeichnung</translation>
<translation>Reiterbezeichnung</translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="161"/>
<source>New tab name:</source>
<translation>Neue Tabbezeichnung:</translation>
<translation>Neue Reiterbezeichnung:</translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="183"/>
@ -504,49 +587,6 @@
<translation>Liste der gespeicherten Sitzungen:</translation>
</message>
</context>
<context>
<name>TermWidgetImpl</name>
<message>
<source>Copy Selection</source>
<translation type="obsolete">Textauswahl kopieren</translation>
</message>
<message>
<source>Paste Clipboard</source>
<translation type="obsolete">Zwischenablage einfügen</translation>
</message>
<message>
<source>Paste Selection</source>
<translation type="obsolete">Textauswahl einfügen</translation>
</message>
<message>
<source>Zoom in</source>
<translation type="obsolete">Vergrößern</translation>
</message>
<message>
<source>Zoom out</source>
<translation type="obsolete">Verkleinern</translation>
</message>
<message>
<source>Zoom reset</source>
<translation type="obsolete">Zurücksetzen</translation>
</message>
<message>
<source>Clear Active Terminal</source>
<translation type="obsolete">Aktiven Terminal leeren</translation>
</message>
<message>
<source>Split Terminal Horizontally</source>
<translation type="obsolete">Terminal horizontal teilen</translation>
</message>
<message>
<source>Split Terminal Vertically</source>
<translation type="obsolete">Terminal vertikal teilen</translation>
</message>
<message>
<source>Collapse Subterminal</source>
<translation type="obsolete">Unterterminal schließen</translation>
</message>
</context>
<context>
<name>mainWindow</name>
<message>
@ -562,7 +602,7 @@
<message>
<location filename="../forms/qterminal.ui" line="93"/>
<source>Edit</source>
<translation type="unfinished"></translation>
<translation>Bearbeiten</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="107"/>
@ -597,7 +637,7 @@
<message>
<location filename="../forms/qterminal.ui" line="125"/>
<source>&amp;Quit</source>
<translation>Beenden</translation>
<translation>&amp;Beenden</translation>
</message>
</context>
</TS>

@ -442,16 +442,46 @@
<translation>Acceso rápido</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="42"/>
<source>No scrollbar</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="42"/>
<location filename="../propertiesdialog.cpp" line="48"/>
<source>Left</source>
<translation type="unfinished">Izquierda</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="42"/>
<location filename="../propertiesdialog.cpp" line="48"/>
<source>Right</source>
<translation type="unfinished">Derecha</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="48"/>
<source>Top</source>
<translation type="unfinished">Arriba</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="48"/>
<source>Bottom</source>
<translation type="unfinished">Abajo</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="60"/>
<source>No move</source>
<translation type="obsolete">No mover</translation>
<translation type="unfinished">No mover</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="60"/>
<source>Move start</source>
<translation type="obsolete">Mover al inicio</translation>
<translation type="unfinished">Mover al inicio</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="60"/>
<source>Move end</source>
<translation type="obsolete">Mover al final</translation>
<translation type="unfinished">Mover al final</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="65"/>

@ -449,6 +449,48 @@
<source>Key</source>
<translation>Klahv</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="42"/>
<source>No scrollbar</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="42"/>
<location filename="../propertiesdialog.cpp" line="48"/>
<source>Left</source>
<translation type="unfinished">Vasakul</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="42"/>
<location filename="../propertiesdialog.cpp" line="48"/>
<source>Right</source>
<translation type="unfinished">Paremal</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="48"/>
<source>Top</source>
<translation type="unfinished">Ülal</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="48"/>
<source>Bottom</source>
<translation type="unfinished">All</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="60"/>
<source>No move</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="60"/>
<source>Move start</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="60"/>
<source>Move end</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="65"/>
<location filename="../propertiesdialog.cpp" line="117"/>

@ -0,0 +1,643 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="hu_HU">
<context>
<name>BookmarksWidget</name>
<message>
<location filename="../forms/bookmarkswidget.ui" line="32"/>
<source>Filter:</source>
<translation>Szűrő:</translation>
</message>
</context>
<context>
<name>FontDialog</name>
<message>
<location filename="../forms/fontdialog.ui" line="14"/>
<location filename="../forms/fontdialog.ui" line="73"/>
<source>Select Terminal Font</source>
<translation>Terminál-betűválasztás</translation>
</message>
<message>
<location filename="../forms/fontdialog.ui" line="32"/>
<source>Font:</source>
<translation>Betű:</translation>
</message>
<message>
<location filename="../forms/fontdialog.ui" line="42"/>
<source>Size:</source>
<translation>Méret:</translation>
</message>
<message>
<location filename="../forms/fontdialog.ui" line="59"/>
<source>Preview</source>
<translation>Előkép</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="319"/>
<source>Close Tab</source>
<translation>Lap bezárás</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="175"/>
<source>Split Terminal Horizontally</source>
<translation>Terminál vízszintes felosztás</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="182"/>
<source>Split Terminal Vertically</source>
<translation>Terminál függélyes felosztás</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="189"/>
<source>Collapse Subterminal</source>
<translation>Alterminál bezárás</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="196"/>
<source>Next Subterminal</source>
<translation>Következő alterminál</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="203"/>
<source>Previous Subterminal</source>
<translation>Előző alterminál</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="145"/>
<source>Next Tab</source>
<translation>Következő lap</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="152"/>
<source>Previous Tab</source>
<translation>Előző lap</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="159"/>
<source>Move Tab Left</source>
<translation>Lap balra</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="166"/>
<source>Move Tab Right</source>
<translation>Lap jobbra</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="213"/>
<source>Copy Selection</source>
<translation>Másolás</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="227"/>
<source>Paste Selection</source>
<translation>Beillesztés</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="269"/>
<source>Save Session</source>
<translation>Helyzet mentés</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="275"/>
<source>Load Session</source>
<translation>Helyzet betöltés</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="308"/>
<source>New Tab From Preset</source>
<translation>Új lap beállítása</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="309"/>
<source>1 Terminal</source>
<translation>1 terminál</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="311"/>
<source>2 Horizontal Terminals</source>
<translation>2 vízszintes terminál</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="313"/>
<source>2 Vertical Terminals</source>
<translation>2 függőleges terminál</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="315"/>
<source>4 Terminals</source>
<translation>4 terminál</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="395"/>
<source>Bottom</source>
<translation>Alul</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="396"/>
<source>Top</source>
<translation>Felül</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="397"/>
<location filename="../mainwindow.cpp" line="428"/>
<source>Right</source>
<translation>Jobbra</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="398"/>
<location filename="../mainwindow.cpp" line="429"/>
<source>Left</source>
<translation>Balra</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="413"/>
<source>Tabs Layout</source>
<translation>Lapfül</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="427"/>
<source>None</source>
<translation>Nincs</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="445"/>
<source>Scrollbar Layout</source>
<translation>Gördítősáv</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="500"/>
<source>Exit QTerminal</source>
<translation>QTerminal befejezése</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="502"/>
<source>Do not ask again</source>
<translation>Többé nem kérdez</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="509"/>
<source>Are you sure you want to exit?</source>
<translation>Biztosan kilép?</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="529"/>
<source>A lightweight multiplatform terminal emulator</source>
<translation>Könnyed általános terminál emulátor</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="53"/>
<source>Bookmarks</source>
<translation>Könyvjelzők</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="92"/>
<source>Rename Session</source>
<translation>Helyzet átnevezés</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="125"/>
<source>Press &quot;%1&quot; to see the terminal.</source>
<translation>Billentyűzzön &quot;%1&quot;-t, hogy lássa a terminált.</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="136"/>
<source>Clear Current Tab</source>
<translation>Aktuális lap törlése</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="220"/>
<source>Paste Clipboard</source>
<translation>Vágólapról beillesztés</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="234"/>
<source>Zoom in</source>
<translation>Nagyít</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="241"/>
<source>Zoom out</source>
<translation>Kicsinyít</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="248"/>
<source>Zoom reset</source>
<translation>Visszaállít</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="257"/>
<source>Find...</source>
<translation>Keres...</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="282"/>
<source>Toggle Menu</source>
<translation>Menü ki/be</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="301"/>
<source>New Tab</source>
<translation>Új lap</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="326"/>
<source>New Window</source>
<translation>Új ablak</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="360"/>
<source>Hide Window Borders</source>
<translation>Ablakkeret ki</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="374"/>
<source>Show Tab Bar</source>
<translation>Fülsáv látszik</translation>
</message>
</context>
<context>
<name>PropertiesDialog</name>
<message>
<location filename="../forms/propertiesdialog.ui" line="316"/>
<source>Emulation</source>
<translation>Emuláció</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="62"/>
<source>Shortcuts</source>
<translation>Gyorsbillentyűk</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="14"/>
<source>Terminal settings</source>
<translation>Terminál beállítások</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="52"/>
<source>Appearance</source>
<translation>Megjelenés</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="57"/>
<location filename="../forms/propertiesdialog.ui" line="341"/>
<source>Behavior</source>
<translation>Viselkedés</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="67"/>
<source>Dropdown</source>
<translation>Felgördítés</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="90"/>
<source>Color scheme</source>
<translation>Színséma</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="100"/>
<source>Widget style</source>
<translation>Elemstílus</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="110"/>
<source>Scrollbar position</source>
<translation>Gördítősáv helyzete</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="120"/>
<source>Tabs position</source>
<translation>Lapfülek helyzete</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="130"/>
<source>Show the menu bar</source>
<translation>Menüsáv</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="144"/>
<source>Show a border around the current terminal</source>
<translation>Aktuális terminál bekeretezése</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="151"/>
<source>Application transparency</source>
<translation>Alkalmazás áttetszősége</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="161"/>
<source>Terminal transparency</source>
<translation>Terminál áttetszősége</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="184"/>
<source>Start with preset:</source>
<translation>Új terminál indulási beállítás:</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="205"/>
<source>None (single terminal)</source>
<translation>Nincs (1 terminál)</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="210"/>
<source>2 terminals horizontally</source>
<translation>2 vízszintes terminál</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="215"/>
<source>2 terminals vertically</source>
<translation>2 függőleges terminál</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="220"/>
<source>4 terminals</source>
<translation>4 terminál</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="256"/>
<source>Font</source>
<translation>Betűtípus</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="325"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Which behavior to emulate. Note that this does not have to match your operating system.&lt;/p&gt;&lt;p&gt;The &lt;span style=&quot; font-weight:600;&quot;&gt;default&lt;/span&gt; emulation is a fallback with a minimal featureset.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Az emulátor viselkedésének kiválasztása, mivel egyes emulátorok más rendszerek alatt is használatosak.&lt;/p&gt;&lt;p&gt;Az alapemuláció az &lt;span style=&quot; font-weight:600;&quot;&gt;alapértelmezett&lt;/span&gt; a legkevesebb lehetőséggel.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="347"/>
<source>Action after paste</source>
<translation>Beillesztés utáni teendő</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="380"/>
<source>Open new terminals in current working directory</source>
<translation>Új terminál a munkakönyvtárban nyílik</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="387"/>
<source>Ask for confirmation when closing</source>
<translation>Ablakbecsukáskor megerősítés kérés</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="397"/>
<source>Unlimited history</source>
<translation>Korlátlan naplózás</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="404"/>
<source>History size (in lines)</source>
<translation>Naplóméret (sorok)</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="472"/>
<source>Height</source>
<translation>Magasság</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="479"/>
<location filename="../forms/propertiesdialog.ui" line="493"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="486"/>
<source>Width</source>
<translation>Szélesség</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="536"/>
<source>Edit bookmark file contents</source>
<translation>Könyvjelzőfájl szerkesztés</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="558"/>
<source>Enable bookmarks</source>
<translation>Könyvjelzőhasználat</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="567"/>
<source>Bookmark file</source>
<translation>Könyvjelzőfájl</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="168"/>
<location filename="../forms/propertiesdialog.ui" line="191"/>
<source> %</source>
<translation>%</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="437"/>
<source>Shortcut</source>
<translation>Gyorsbillentyű</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="442"/>
<source>Key</source>
<translation>Billentyű</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="72"/>
<source>Bookmarks</source>
<translation>Könyvjelzők</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="137"/>
<source>Hide tab bar with only one tab</source>
<translation>Egy lapnál nincs lapfülsáv</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="289"/>
<source>&amp;Change...</source>
<translation>&amp;Változtat...</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="454"/>
<source>Show on start</source>
<translation>Induláskor látszik</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="461"/>
<source>Size</source>
<translation>Méret</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="507"/>
<source>Shortcut:</source>
<translation>Gyorsbillentyű:</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="577"/>
<source>Find...</source>
<translation>Keres...</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="586"/>
<source>You can specify your own bookmarks file location. It allows easy bookmark sharing with tools like OwnCloud or Dropbox.</source>
<translation>Saját könyvjelzőfájl adható meg, ezáltal más eszözök is könnyedén használhatók, mint például az OwnCloud vagy a DropBox.</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="45"/>
<source>No scrollbar</source>
<translation>Nincs gördítősáv</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="45"/>
<location filename="../propertiesdialog.cpp" line="51"/>
<source>Left</source>
<translation>Balra</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="45"/>
<location filename="../propertiesdialog.cpp" line="51"/>
<source>Right</source>
<translation>Jobbra</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="51"/>
<source>Top</source>
<translation>Felül</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="51"/>
<source>Bottom</source>
<translation>Alul</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="63"/>
<source>No move</source>
<translation>Áll</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="63"/>
<source>Move start</source>
<translation>Kezdetre</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="63"/>
<source>Move end</source>
<translation>Végére</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="68"/>
<location filename="../propertiesdialog.cpp" line="122"/>
<source>System Default</source>
<translation>Rendszer alapértelmezett.</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="252"/>
<source>Open or create bookmarks file</source>
<translation>Könyvjelzőfájl nyitás</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../bookmarkswidget.cpp" line="97"/>
<source>Local Bookmarks</source>
<translation>Helyi könyvjelzők</translation>
</message>
<message>
<location filename="../bookmarkswidget.cpp" line="187"/>
<source>Synchronized Bookmarks</source>
<translation>Szinkronizált könyvjelzők</translation>
</message>
</context>
<context>
<name>TabWidget</name>
<message>
<location filename="../tabwidget.cpp" line="69"/>
<location filename="../tabwidget.cpp" line="174"/>
<source>Shell No. %1</source>
<translation>Héj Nr. %1</translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="160"/>
<source>Tab name</source>
<translation>Lapnév</translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="161"/>
<source>New tab name:</source>
<translation>Új lapnév:</translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="183"/>
<source>Close session</source>
<translation>Menet bezárása</translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="185"/>
<source>Rename session</source>
<translation>Menet átnevezése</translation>
</message>
</context>
<context>
<name>TermWidgetHolder</name>
<message>
<location filename="../termwidgetholder.cpp" line="46"/>
<source>Load Session</source>
<translation>Munkamenet betöltés</translation>
</message>
<message>
<location filename="../termwidgetholder.cpp" line="47"/>
<source>List of saved sessions:</source>
<translation>Tárolt munkamenet lista:</translation>
</message>
</context>
<context>
<name>mainWindow</name>
<message>
<location filename="../forms/qterminal.ui" line="76"/>
<source>Actions</source>
<translation>Művelet</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="81"/>
<source>Help</source>
<translation>Segítség</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="93"/>
<source>Edit</source>
<translation>Szerkeszt</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="107"/>
<source>About...</source>
<translation>Névjegy...</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="112"/>
<source>About Qt...</source>
<translation>A Qt-ról...</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="117"/>
<source>&amp;Preferences...</source>
<translation>&amp;Beállítások...</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="14"/>
<source>MainWindow</source>
<translation>Főablak</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="68"/>
<source>File</source>
<translation>Fájl</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="88"/>
<source>View</source>
<translation>Nézet</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="125"/>
<source>&amp;Quit</source>
<translation>&amp;Kilép</translation>
</message>
</context>
</TS>

@ -445,6 +445,48 @@
<source>Key</source>
<translation>Chiave</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="42"/>
<source>No scrollbar</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="42"/>
<location filename="../propertiesdialog.cpp" line="48"/>
<source>Left</source>
<translation type="unfinished">Sinistra</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="42"/>
<location filename="../propertiesdialog.cpp" line="48"/>
<source>Right</source>
<translation type="unfinished">Destra</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="48"/>
<source>Top</source>
<translation type="unfinished">Alto</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="48"/>
<source>Bottom</source>
<translation type="unfinished">Basso</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="60"/>
<source>No move</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="60"/>
<source>Move start</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="60"/>
<source>Move end</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="65"/>
<location filename="../propertiesdialog.cpp" line="117"/>

@ -0,0 +1,658 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ja">
<context>
<name>BookmarksWidget</name>
<message>
<location filename="../forms/bookmarkswidget.ui" line="32"/>
<source>Filter:</source>
<translation>:</translation>
</message>
</context>
<context>
<name>FontDialog</name>
<message>
<location filename="../forms/fontdialog.ui" line="14"/>
<location filename="../forms/fontdialog.ui" line="73"/>
<source>Select Terminal Font</source>
<translation></translation>
</message>
<message>
<location filename="../forms/fontdialog.ui" line="32"/>
<source>Font:</source>
<translation>:</translation>
</message>
<message>
<location filename="../forms/fontdialog.ui" line="42"/>
<source>Size:</source>
<translation>:</translation>
</message>
<message>
<location filename="../forms/fontdialog.ui" line="59"/>
<source>Preview</source>
<translation></translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="324"/>
<source>&amp;Close Tab</source>
<translation>(&amp;C)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="180"/>
<source>Split Terminal &amp;Horizontally</source>
<translation>(&amp;H)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="187"/>
<source>Split Terminal &amp;Vertically</source>
<translation>(&amp;V)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="194"/>
<source>&amp;Collapse Subterminal</source>
<translation>(&amp;C)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="201"/>
<source>N&amp;ext Subterminal</source>
<translation>(&amp;E)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="208"/>
<source>P&amp;revious Subterminal</source>
<translation>(&amp;R)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="150"/>
<source>&amp;Next Tab</source>
<translation>(&amp;N)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="157"/>
<source>&amp;Previous Tab</source>
<translation>(&amp;P)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="164"/>
<source>Move Tab &amp;Left</source>
<translation>(&amp;L)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="171"/>
<source>Move Tab &amp;Right</source>
<translation>(&amp;R)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="218"/>
<source>Copy &amp;Selection</source>
<translation>(&amp;S)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="232"/>
<source>Paste S&amp;election</source>
<translation>(&amp;E)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="274"/>
<source>&amp;Save Session</source>
<translation>(&amp;S)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="280"/>
<source>&amp;Load Session</source>
<translation>(&amp;L)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="313"/>
<source>New Tab From &amp;Preset</source>
<translation>(&amp;P)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="314"/>
<source>1 &amp;Terminal</source>
<translation>(&amp;T)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="316"/>
<source>2 &amp;Horizontal Terminals</source>
<translation>(&amp;H)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="318"/>
<source>2 &amp;Vertical Terminals</source>
<translation>(&amp;V)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="320"/>
<source>4 Terminal&amp;s</source>
<translation>(&amp;S)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="412"/>
<source>&amp;Bottom</source>
<translation>(&amp;B)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="413"/>
<source>&amp;Top</source>
<translation>(&amp;T)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="414"/>
<location filename="../mainwindow.cpp" line="445"/>
<source>&amp;Right</source>
<translation>(&amp;R)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="415"/>
<location filename="../mainwindow.cpp" line="446"/>
<source>&amp;Left</source>
<translation>(&amp;L)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Tabs Layout</source>
<translation>(&amp;T)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="444"/>
<source>&amp;None</source>
<translation>(&amp;N)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="462"/>
<source>S&amp;crollbar Layout</source>
<translation>(&amp;C)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="529"/>
<source>Exit QTerminal</source>
<translation>QTerminal</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="531"/>
<source>Do not ask again</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="538"/>
<source>Are you sure you want to exit?</source>
<translation>?</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="559"/>
<source>A lightweight multiplatform terminal emulator</source>
<translation> </translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="53"/>
<source>Bookmarks</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="97"/>
<source>Rename Session</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="130"/>
<source>Press &quot;%1&quot; to see the terminal.</source>
<translation>&quot;%1&quot;</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="141"/>
<source>&amp;Clear Current Tab</source>
<translation>(&amp;C)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="225"/>
<source>Paste Clip&amp;board</source>
<translation>(&amp;B)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="239"/>
<source>Zoom &amp;in</source>
<translation>(&amp;I)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="246"/>
<source>Zoom &amp;out</source>
<translation>(&amp;O)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="253"/>
<source>Zoom rese&amp;t</source>
<translation>(&amp;T)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="262"/>
<source>&amp;Find...</source>
<translation>(&amp;F)...</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="287"/>
<source>&amp;Toggle Menu</source>
<translation>(&amp;T)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="306"/>
<source>&amp;New Tab</source>
<translation>(&amp;N)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="331"/>
<source>&amp;New Window</source>
<translation>(&amp;N)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="365"/>
<source>&amp;Hide Window Borders</source>
<translation>(&amp;H)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="380"/>
<source>&amp;Show Tab Bar</source>
<translation>(&amp;S)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="392"/>
<source>Fullscreen</source>
<translation></translation>
</message>
</context>
<context>
<name>PropertiesDialog</name>
<message>
<location filename="../forms/propertiesdialog.ui" line="319"/>
<source>Emulation</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="62"/>
<source>Shortcuts</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="14"/>
<source>Terminal settings</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="52"/>
<source>Appearance</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="57"/>
<location filename="../forms/propertiesdialog.ui" line="344"/>
<source>Behavior</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="67"/>
<source>Dropdown</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="90"/>
<source>Color scheme</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="100"/>
<source>Widget style</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="110"/>
<source>Scrollbar position</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="120"/>
<source>Tabs position</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="130"/>
<source>Show the menu bar</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="144"/>
<source>Show a border around the current terminal</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="151"/>
<source>Application transparency</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="161"/>
<source>Terminal transparency</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="184"/>
<source>Start with preset:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="208"/>
<source>None (single terminal)</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="212"/>
<source>2 terminals horizontally</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="217"/>
<source>2 terminals vertically</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="223"/>
<source>4 terminals</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="259"/>
<source>Font</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="328"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Which behavior to emulate. Note that this does not have to match your operating system.&lt;/p&gt;&lt;p&gt;The &lt;span style=&quot; font-weight:600;&quot;&gt;default&lt;/span&gt; emulation is a fallback with a minimal featureset.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt; &lt;span style=&quot; font-weight:600;&quot;&gt;default&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="350"/>
<source>Action after paste</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="383"/>
<source>Open new terminals in current working directory</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="390"/>
<source>Save Size when closing</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="397"/>
<source>Save Position when closing</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="404"/>
<source>Ask for confirmation when closing</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="414"/>
<source>Unlimited history</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="421"/>
<source>History size (in lines)</source>
<translation> ()</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="472"/>
<source>Height</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="479"/>
<location filename="../forms/propertiesdialog.ui" line="493"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="486"/>
<source>Width</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="536"/>
<source>Edit bookmark file contents</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="558"/>
<source>Enable bookmarks</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="567"/>
<source>Bookmark file</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="168"/>
<location filename="../forms/propertiesdialog.ui" line="191"/>
<source> %</source>
<translation>%</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="437"/>
<source>Shortcut</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="442"/>
<source>Key</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="72"/>
<source>Bookmarks</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="137"/>
<source>Hide tab bar with only one tab</source>
<translation type="unfinished">1使</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="289"/>
<source>&amp;Change...</source>
<translation type="unfinished">&amp;C)...</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="454"/>
<source>Show on start</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="461"/>
<source>Size</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="507"/>
<source>Shortcut:</source>
<translation>:</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="577"/>
<source>Find...</source>
<translation>...</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="586"/>
<source>You can specify your own bookmarks file location. It allows easy bookmark sharing with tools like OwnCloud or Dropbox.</source>
<translation type="unfinished">OwnCloudDropbox</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="45"/>
<source>No scrollbar</source>
<translation></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="45"/>
<location filename="../propertiesdialog.cpp" line="51"/>
<source>Left</source>
<translation></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="45"/>
<location filename="../propertiesdialog.cpp" line="51"/>
<source>Right</source>
<translation></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="51"/>
<source>Top</source>
<translation></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="51"/>
<source>Bottom</source>
<translation></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="63"/>
<source>No move</source>
<translation></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="63"/>
<source>Move start</source>
<translation></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="63"/>
<source>Move end</source>
<translation></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="68"/>
<location filename="../propertiesdialog.cpp" line="122"/>
<source>System Default</source>
<translation></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="252"/>
<source>Open or create bookmarks file</source>
<translation></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../bookmarkswidget.cpp" line="97"/>
<source>Local Bookmarks</source>
<translation></translation>
</message>
<message>
<location filename="../bookmarkswidget.cpp" line="187"/>
<source>Synchronized Bookmarks</source>
<translation></translation>
</message>
</context>
<context>
<name>TabWidget</name>
<message>
<location filename="../tabwidget.cpp" line="70"/>
<location filename="../tabwidget.cpp" line="175"/>
<source>Shell No. %1</source>
<translation>Shell No. %1</translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="160"/>
<source>Tab name</source>
<translation></translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="161"/>
<source>New tab name:</source>
<translation>:</translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="183"/>
<source>Close session</source>
<translation></translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="185"/>
<source>Rename session</source>
<translation></translation>
</message>
</context>
<context>
<name>TermWidgetHolder</name>
<message>
<location filename="../termwidgetholder.cpp" line="46"/>
<source>Load Session</source>
<translation></translation>
</message>
<message>
<location filename="../termwidgetholder.cpp" line="47"/>
<source>List of saved sessions:</source>
<translation>:</translation>
</message>
</context>
<context>
<name>mainWindow</name>
<message>
<location filename="../forms/qterminal.ui" line="76"/>
<source>&amp;Actions</source>
<translation>(&amp;A)</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="81"/>
<source>&amp;Help</source>
<translation>(&amp;H)</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="93"/>
<source>&amp;Edit</source>
<translation>(&amp;E)</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="109"/>
<source>&amp;About...</source>
<translation>QTerminal(&amp;A)...</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="114"/>
<source>About &amp;Qt...</source>
<translation>Qt(&amp;Q)...</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="119"/>
<source>&amp;Preferences...</source>
<translation type="unfinished">(&amp;P)...</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="14"/>
<source>MainWindow</source>
<translation></translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="68"/>
<source>&amp;File</source>
<translation>(&amp;F)</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="88"/>
<source>&amp;View</source>
<translation>(&amp;V)</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="129"/>
<source>&amp;Quit</source>
<translation>(&amp;Q)</translation>
</message>
</context>
</TS>

@ -0,0 +1,643 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.0" language="pt">
<context>
<name>BookmarksWidget</name>
<message>
<location filename="../forms/bookmarkswidget.ui" line="32"/>
<source>Filter:</source>
<translation>Filtrar:</translation>
</message>
</context>
<context>
<name>FontDialog</name>
<message>
<location filename="../forms/fontdialog.ui" line="14"/>
<location filename="../forms/fontdialog.ui" line="73"/>
<source>Select Terminal Font</source>
<translation>Escolha o tipo de letra</translation>
</message>
<message>
<location filename="../forms/fontdialog.ui" line="32"/>
<source>Font:</source>
<translation>Tipo de letra:</translation>
</message>
<message>
<location filename="../forms/fontdialog.ui" line="42"/>
<source>Size:</source>
<translation>Tamanho:</translation>
</message>
<message>
<location filename="../forms/fontdialog.ui" line="59"/>
<source>Preview</source>
<translation>Pré-visualização</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="322"/>
<source>Close Tab</source>
<translation>Fechar separador</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="192"/>
<source>Split Terminal Horizontally</source>
<translation>Separar na horizontal</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="198"/>
<source>Split Terminal Vertically</source>
<translation>Separar na vertical</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="204"/>
<source>Collapse Subterminal</source>
<translation>Recolher subterminal</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="210"/>
<source>Next Subterminal</source>
<translation>Próximo subterminal</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="216"/>
<source>Previous Subterminal</source>
<translation>Subterminal anterior</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="166"/>
<source>Next Tab</source>
<translation>Novo separador</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="53"/>
<source>Bookmarks</source>
<translation>Marcadores</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="92"/>
<source>Rename Session</source>
<translation>Renomear sessão</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="147"/>
<source>Press &quot;%1&quot; to see the terminal.</source>
<translation>Prima %1 para ver o terminal.</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="158"/>
<source>Clear Current Tab</source>
<translation>Fechar separador atual</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="172"/>
<source>Previous Tab</source>
<translation>Separador anterior</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="178"/>
<source>Move Tab Left</source>
<translation>Mover separador para a esquerda</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="184"/>
<source>Move Tab Right</source>
<translation>Mover separador para a direita</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="225"/>
<source>Copy Selection</source>
<translation>Copiar seleção</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="231"/>
<source>Paste Clipboard</source>
<translation>Colar da área de transferência</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="237"/>
<source>Paste Selection</source>
<translation>Colar da seleção</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="243"/>
<source>Zoom in</source>
<translation>Ampliar</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="249"/>
<source>Zoom out</source>
<translation>Reduzir</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="255"/>
<source>Zoom reset</source>
<translation>Repor ampliação</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="263"/>
<source>Find...</source>
<translation>Localizar...</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="274"/>
<source>Save Session</source>
<translation>Guardar sessão</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="280"/>
<source>Load Session</source>
<translation>Carregar sessão</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="287"/>
<source>Toggle Menu</source>
<translation>Alternar menu</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="305"/>
<source>New Tab</source>
<translation>Novo separador</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="311"/>
<source>New Tab From Preset</source>
<translation>Novo separador de pré-ajuste</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="312"/>
<source>1 Terminal</source>
<translation>1 terminal</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="314"/>
<source>2 Horizontal Terminals</source>
<translation>2 terminais horizontais</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="316"/>
<source>2 Vertical Terminals</source>
<translation>2 terminais verticais</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="318"/>
<source>4 Terminals</source>
<translation>4 terminais</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="328"/>
<source>New Window</source>
<translation>Nova janela</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="351"/>
<source>Hide Window Borders</source>
<translation>Ocultar contornos da janela</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="362"/>
<source>Show Tab Bar</source>
<translation>Mostrar barra de separadores</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="382"/>
<source>Bottom</source>
<translation>Baixo</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="383"/>
<source>Top</source>
<translation>Cima</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="384"/>
<location filename="../mainwindow.cpp" line="415"/>
<source>Right</source>
<translation>Direita</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="385"/>
<location filename="../mainwindow.cpp" line="416"/>
<source>Left</source>
<translation>Esquerda</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="400"/>
<source>Tabs Layout</source>
<translation>Posição dos separadores</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="414"/>
<source>None</source>
<translation>Nenhum</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="432"/>
<source>Scrollbar Layout</source>
<translation>Posição da barra de deslocação</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="486"/>
<source>Exit QTerminal</source>
<translation>Sair do QTerminal</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="488"/>
<source>Do not ask again</source>
<translation>Não perguntar novamente</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="495"/>
<source>Are you sure you want to exit?</source>
<translation>Tem a certeza de que deseja sair?</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="515"/>
<source>A lightweight multiplatform terminal emulator</source>
<translation>Um emulador de terminal multiplataforma</translation>
</message>
</context>
<context>
<name>PropertiesDialog</name>
<message>
<location filename="../forms/propertiesdialog.ui" line="300"/>
<source>Emulation</source>
<translation>Emulação</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="62"/>
<source>Shortcuts</source>
<translation>Atalhos</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="14"/>
<source>Terminal settings</source>
<translation>Definições do terminal</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="52"/>
<source>Appearance</source>
<translation>Aparência</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="57"/>
<location filename="../forms/propertiesdialog.ui" line="325"/>
<source>Behavior</source>
<translation>Comportamento</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="67"/>
<source>Dropdown</source>
<translation>Suspenso</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="72"/>
<source>Bookmarks</source>
<translation>Marcadores</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="90"/>
<source>Color scheme</source>
<translation>Esquema de cores</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="100"/>
<source>Widget style</source>
<translation>Estilo do widget</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="110"/>
<source>Scrollbar position</source>
<translation>Posição da barra de deslocação</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="120"/>
<source>Tabs position</source>
<translation>Posição dos separadores</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="130"/>
<source>Show the menu bar</source>
<translation>Mostrar barra de menu</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="137"/>
<source>Always show the tab bar</source>
<translation>Mostrar sempre a barra de separadores</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="144"/>
<source>Show a border around the current terminal</source>
<translation>Mostrar contornos do terminal</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="151"/>
<source>Application transparency</source>
<translation>Transparência da aplicação</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="177"/>
<source>Terminal transparency</source>
<translation>Transparência do terminal</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="197"/>
<source>Start with preset:</source>
<translation>Iniciar com pré-ajuste:</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="205"/>
<source>None (single terminal)</source>
<translation>Não (um terminal)</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="210"/>
<source>2 terminals horizontally</source>
<translation>2 terminais horizontais</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="215"/>
<source>2 terminals vertically</source>
<translation>2 terminais verticais</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="220"/>
<source>4 terminals</source>
<translation>4 terminais</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="241"/>
<source>Font</source>
<translation>Tipo de letra</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="273"/>
<source>&amp;Set Font...</source>
<translation>&amp;Definir tipo de letra...</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="309"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Which behavior to emulate. Note that this does not have to match your operating system.&lt;/p&gt;&lt;p&gt;The &lt;span style=&quot; font-weight:600;&quot;&gt;default&lt;/span&gt; emulation is a fallback with a minimal featureset.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;O comportamento a emular. Tenha em atenção que esta opção não tem que ser igual à do sistema operativo.&lt;/p&gt;&lt;p&gt;A emulação &lt;span style=&quot; font-weight:600;&quot;&gt;pré-definida&lt;/span&gt; possui um conjunto mínimo de funcionalidades.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="331"/>
<source>Action after paste</source>
<translation>Ação depois de colar</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="364"/>
<source>Open new terminals in current working directory</source>
<translation>Abrir novos terminais no diretório de trabalho atual</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="371"/>
<source>Ask for confirmation when closing</source>
<translation>Confirmar antes de fechar</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="381"/>
<source>Unlimited history</source>
<translation>Histórico ilimitado</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="388"/>
<source>History size (in lines)</source>
<translation>Limitar histórico (linhas)</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="456"/>
<source>Height</source>
<translation>Altura</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="463"/>
<location filename="../forms/propertiesdialog.ui" line="477"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="470"/>
<source>Width</source>
<translation>Largura</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="520"/>
<source>Edit bookmark file contents</source>
<translation>Editar conteúdo do ficheiro de marcadores</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="542"/>
<source>Enable bookmarks</source>
<translation>Ativar marcadores</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="551"/>
<source>Bookmark file</source>
<translation>Ficheiro de marcadores</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="438"/>
<source>Show on start</source>
<translation>Mostrar ao iniciar</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="445"/>
<source>Size</source>
<translation>Tamanho</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="491"/>
<source>Shortcut:</source>
<translation>Atalho:</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="561"/>
<source>Find...</source>
<translation>Localizar...</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="570"/>
<source>You can specify your own bookmarks file location. It allows easy bookmark sharing with tools like OwnCloud or Dropbox.</source>
<translation>Pode especificar a localização do ficheiro de marcadores. Permite a partilha de marcadores através do Own Cloud, Dropbox e mais serviços.</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="161"/>
<location filename="../forms/propertiesdialog.ui" line="184"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="421"/>
<source>Shortcut</source>
<translation>Atalho</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="426"/>
<source>Key</source>
<translation>Tecla</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="45"/>
<source>No scrollbar</source>
<translation>Sem barra de deslocação</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="45"/>
<location filename="../propertiesdialog.cpp" line="51"/>
<source>Left</source>
<translation>Esquerda</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="45"/>
<location filename="../propertiesdialog.cpp" line="51"/>
<source>Right</source>
<translation>Direita</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="51"/>
<source>Top</source>
<translation>Cima</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="51"/>
<source>Bottom</source>
<translation>Baixo</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="63"/>
<source>No move</source>
<translation>Não mover</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="63"/>
<source>Move start</source>
<translation>Mover para o inicio</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="63"/>
<source>Move end</source>
<translation>Mover para o fim</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="68"/>
<location filename="../propertiesdialog.cpp" line="122"/>
<source>System Default</source>
<translation>Predefinições</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="252"/>
<source>Open or create bookmarks file</source>
<translation>Abrir ou criar um ficheiro de marcadores</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../bookmarkswidget.cpp" line="97"/>
<source>Local Bookmarks</source>
<translation>Marcadores locais</translation>
</message>
<message>
<location filename="../bookmarkswidget.cpp" line="190"/>
<source>Synchronized Bookmarks</source>
<translation>Marcadores sincronizados</translation>
</message>
</context>
<context>
<name>TabWidget</name>
<message>
<location filename="../tabwidget.cpp" line="69"/>
<location filename="../tabwidget.cpp" line="174"/>
<source>Shell No. %1</source>
<translation>Consola n.º %1</translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="160"/>
<source>Tab name</source>
<translation>Nome do separador</translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="161"/>
<source>New tab name:</source>
<translation>Nome do novo separador:</translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="183"/>
<source>Close session</source>
<translation>Fechar sessão</translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="185"/>
<source>Rename session</source>
<translation>Renomear sessão</translation>
</message>
</context>
<context>
<name>TermWidgetHolder</name>
<message>
<location filename="../termwidgetholder.cpp" line="46"/>
<source>Load Session</source>
<translation>Carregar sessão</translation>
</message>
<message>
<location filename="../termwidgetholder.cpp" line="47"/>
<source>List of saved sessions:</source>
<translation>Lista de sessões guardadas:</translation>
</message>
</context>
<context>
<name>mainWindow</name>
<message>
<location filename="../forms/qterminal.ui" line="14"/>
<source>MainWindow</source>
<translation>Janela principal</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="68"/>
<source>File</source>
<translation>Ficheiro</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="76"/>
<source>Actions</source>
<translation>Ações</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="81"/>
<source>Help</source>
<translation>Ajuda</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="88"/>
<source>View</source>
<translation>Ver</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="93"/>
<source>Edit</source>
<translation>Editar</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="125"/>
<source>&amp;Quit</source>
<translation>&amp;Sair</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="107"/>
<source>About...</source>
<translation>Sobre...</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="112"/>
<source>About Qt...</source>
<translation>Sobre Qt...</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="117"/>
<source>&amp;Preferences...</source>
<translation>&amp;Preferências...</translation>
</message>
</context>
</TS>

@ -36,211 +36,229 @@
<context>
<name>MainWindow</name>
<message>
<source>Add Tab</source>
<translation type="obsolete">Новая вкладка</translation>
<location filename="../mainwindow.cpp" line="53"/>
<source>Bookmarks</source>
<translation>Закладки</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="310"/>
<source>Close Tab</source>
<translation>Закрыть вкладку</translation>
<location filename="../mainwindow.cpp" line="97"/>
<source>Rename Session</source>
<translation>Переименовать сессию</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="191"/>
<source>Split Terminal Horizontally</source>
<translation>Разделить терминал по горизонтали </translation>
<location filename="../mainwindow.cpp" line="130"/>
<source>Press &quot;%1&quot; to see the terminal.</source>
<translation>Нажмите &quot;%1&quot; чтобы увидеть терминал.</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="197"/>
<source>Split Terminal Vertically</source>
<translation>Разделить терминал по вертикали </translation>
<location filename="../mainwindow.cpp" line="141"/>
<source>&amp;Clear Current Tab</source>
<translation>&amp;Очистить текущую вкладку</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="203"/>
<source>Collapse Subterminal</source>
<translation>Закрыть подтерминал</translation>
<location filename="../mainwindow.cpp" line="150"/>
<source>&amp;Next Tab</source>
<translation>&amp;Следующая вкладка</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="209"/>
<source>Next Subterminal</source>
<translation>Следующий подтерминал</translation>
<location filename="../mainwindow.cpp" line="157"/>
<source>&amp;Previous Tab</source>
<translation>&amp;Предыдущая вкладка</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="215"/>
<source>Previous Subterminal</source>
<translation>Предыдущий подтерминал</translation>
<location filename="../mainwindow.cpp" line="164"/>
<source>Move Tab &amp;Left</source>
<translation>Сдвинуть вкладку &amp;влево</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="165"/>
<source>Next Tab</source>
<translation>Следующая вкладка</translation>
<location filename="../mainwindow.cpp" line="171"/>
<source>Move Tab &amp;Right</source>
<translation>Сдвинуть вкладку &amp;вправо</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="53"/>
<source>Bookmarks</source>
<translation>Закладки</translation>
<location filename="../mainwindow.cpp" line="180"/>
<source>Split Terminal &amp;Horizontally</source>
<translation>Разделить терминал по &amp;горизонтали</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="91"/>
<source>Rename Session</source>
<translation>Переименовать сессию</translation>
<location filename="../mainwindow.cpp" line="187"/>
<source>Split Terminal &amp;Vertically</source>
<translation>Разделить терминал по &amp;вертикали</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="146"/>
<source>Press &quot;%1&quot; to see the terminal.</source>
<translation>Нажмите &quot;%1&quot; чтобы увидеть терминал.</translation>
<location filename="../mainwindow.cpp" line="194"/>
<source>&amp;Collapse Subterminal</source>
<translation>&amp;Закрыть подтерминал</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="157"/>
<source>Clear Current Tab</source>
<translation>Очистить текущую вкладку</translation>
<location filename="../mainwindow.cpp" line="201"/>
<source>N&amp;ext Subterminal</source>
<translation>С&amp;ледующий подтерминал</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="171"/>
<source>Previous Tab</source>
<translation>Предыдущая вкладка</translation>
<location filename="../mainwindow.cpp" line="208"/>
<source>P&amp;revious Subterminal</source>
<translation>П&amp;редыдущий подтерминал</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="177"/>
<source>Move Tab Left</source>
<translation>Сдвинуть вкладку влево</translation>
<location filename="../mainwindow.cpp" line="218"/>
<source>Copy &amp;Selection</source>
<translation>Скопировать &amp;выделенное</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="183"/>
<source>Move Tab Right</source>
<translation>Сдвинуть вкладку вправо</translation>
<location filename="../mainwindow.cpp" line="225"/>
<source>Paste Clip&amp;board</source>
<translation>Вставить из буф&amp;ера</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="224"/>
<source>Copy Selection</source>
<translation>Скопировать выделенное</translation>
<location filename="../mainwindow.cpp" line="232"/>
<source>Paste S&amp;election</source>
<translation>Вставить в&amp;ыделенное</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="230"/>
<source>Paste Clipboard</source>
<translation>Вставить из буфера</translation>
<location filename="../mainwindow.cpp" line="239"/>
<source>Zoom &amp;in</source>
<translation>&amp;Увеличить</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="236"/>
<source>Paste Selection</source>
<translation>Вставить выделенное</translation>
<location filename="../mainwindow.cpp" line="246"/>
<source>Zoom &amp;out</source>
<translation>&amp;Уменьшить</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="242"/>
<source>Zoom in</source>
<translation>Увеличить</translation>
<location filename="../mainwindow.cpp" line="253"/>
<source>Zoom rese&amp;t</source>
<translation>&amp;Сбросить увеличение</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="248"/>
<source>Zoom out</source>
<translation>Уменьшить</translation>
<location filename="../mainwindow.cpp" line="262"/>
<source>&amp;Find...</source>
<translation>&amp;Найти...</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="254"/>
<source>Zoom reset</source>
<translation>Сбросить увеличение</translation>
<location filename="../mainwindow.cpp" line="274"/>
<source>&amp;Save Session</source>
<translation>&amp;Сохранить сеанс</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="262"/>
<source>Find...</source>
<translation>Найти...</translation>
<location filename="../mainwindow.cpp" line="280"/>
<source>&amp;Load Session</source>
<translation>&amp;Загрузить сеанс</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="273"/>
<source>Save Session</source>
<translation>Сохранить сессию</translation>
<location filename="../mainwindow.cpp" line="287"/>
<source>&amp;Toggle Menu</source>
<translation>&amp;Показать строку меню</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="279"/>
<source>Load Session</source>
<translation>Загрузить сессию</translation>
<location filename="../mainwindow.cpp" line="306"/>
<source>&amp;New Tab</source>
<translation>&amp;Новая вкладка</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="286"/>
<source>Toggle Menu</source>
<translation>Показать строку меню</translation>
<location filename="../mainwindow.cpp" line="313"/>
<source>New Tab From &amp;Preset</source>
<translation>Новая вкладка из &amp;шаблонов</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="304"/>
<source>New Tab</source>
<translation>Новая вкладка</translation>
<location filename="../mainwindow.cpp" line="314"/>
<source>1 &amp;Terminal</source>
<translation>1 &amp;терминал</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="316"/>
<source>New Window</source>
<translation>Новое окно</translation>
<source>2 &amp;Horizontal Terminals</source>
<translation>2 &amp;горизонтальных терминала</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="339"/>
<source>Hide Window Borders</source>
<translation>Спрятать рамку окна</translation>
<location filename="../mainwindow.cpp" line="318"/>
<source>2 &amp;Vertical Terminals</source>
<translation>2 &amp;вертикальных терминала</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="350"/>
<source>Show Tab Bar</source>
<translation>Показать панель вкладок</translation>
<location filename="../mainwindow.cpp" line="320"/>
<source>4 Terminal&amp;s</source>
<translation>4 терминал&amp;а</translation>
</message>
<message>
<source>Toggle Borderless</source>
<translation type="obsolete">Без рамки</translation>
<location filename="../mainwindow.cpp" line="324"/>
<source>&amp;Close Tab</source>
<translation>&amp;Закрыть вкладку</translation>
</message>
<message>
<source>Toggle TabBar</source>
<translation type="obsolete">Без панели вкладок</translation>
<location filename="../mainwindow.cpp" line="331"/>
<source>&amp;New Window</source>
<translation>&amp;Новое окно</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="370"/>
<source>Bottom</source>
<translation>Снизу</translation>
<location filename="../mainwindow.cpp" line="365"/>
<source>&amp;Hide Window Borders</source>
<translation>&amp;Спрятать рамку окна</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="371"/>
<source>Top</source>
<translation>Сверху</translation>
<location filename="../mainwindow.cpp" line="380"/>
<source>&amp;Show Tab Bar</source>
<translation>&amp;Показать панель вкладок</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="372"/>
<location filename="../mainwindow.cpp" line="403"/>
<source>Right</source>
<translation>Справа</translation>
<location filename="../mainwindow.cpp" line="392"/>
<source>Fullscreen</source>
<translation>Во весь экран</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="373"/>
<location filename="../mainwindow.cpp" line="404"/>
<source>Left</source>
<translation>Слева</translation>
<location filename="../mainwindow.cpp" line="412"/>
<source>&amp;Bottom</source>
<translation>&amp;Снизу</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="388"/>
<source>Tabs Layout</source>
<translation>Расположение вкладок</translation>
<location filename="../mainwindow.cpp" line="413"/>
<source>&amp;Top</source>
<translation>&amp;Сверху</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="402"/>
<source>None</source>
<translation>Убрать</translation>
<location filename="../mainwindow.cpp" line="414"/>
<location filename="../mainwindow.cpp" line="445"/>
<source>&amp;Right</source>
<translation>&amp;Справа</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="420"/>
<source>Scrollbar Layout</source>
<translation>Расположение полосы прокрутки</translation>
<location filename="../mainwindow.cpp" line="415"/>
<location filename="../mainwindow.cpp" line="446"/>
<source>&amp;Left</source>
<translation>&amp;Слева</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="474"/>
<location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Tabs Layout</source>
<translation>Расположение &amp;вкладок</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="444"/>
<source>&amp;None</source>
<translation>&amp;Убрать</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="462"/>
<source>S&amp;crollbar Layout</source>
<translation>Расположение по&amp;лосы прокрутки</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="529"/>
<source>Exit QTerminal</source>
<translation>Выйти из QTerminal</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="476"/>
<location filename="../mainwindow.cpp" line="531"/>
<source>Do not ask again</source>
<translation>Не справшивать снова</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="483"/>
<location filename="../mainwindow.cpp" line="538"/>
<source>Are you sure you want to exit?</source>
<translation>Вы уверены, что хотите выйти?</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="503"/>
<location filename="../mainwindow.cpp" line="559"/>
<source>A lightweight multiplatform terminal emulator</source>
<translation>Лёгкий мультиплатформенный эмулятор терминала </translation>
</message>
@ -248,222 +266,286 @@
<context>
<name>PropertiesDialog</name>
<message>
<location filename="../forms/propertiesdialog.ui" line="14"/>
<source>QTerminal Properties</source>
<translation>Настройки QTerminal</translation>
<location filename="../forms/propertiesdialog.ui" line="319"/>
<source>Emulation</source>
<translation>Эмуляция</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="62"/>
<source>Shortcuts</source>
<translation>Сочетания клавиш</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="49"/>
<source>Terminal Font</source>
<translation>Шрифт терминала</translation>
<location filename="../forms/propertiesdialog.ui" line="14"/>
<source>Terminal settings</source>
<translation>Настройки терминала</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="54"/>
<source>Look and Feel</source>
<location filename="../forms/propertiesdialog.ui" line="52"/>
<source>Appearance</source>
<translation>Внешний вид</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="59"/>
<location filename="../forms/propertiesdialog.ui" line="314"/>
<source>History</source>
<translation>История</translation>
<location filename="../forms/propertiesdialog.ui" line="57"/>
<location filename="../forms/propertiesdialog.ui" line="344"/>
<source>Behavior</source>
<translation>Поведение</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="64"/>
<source>Emulation</source>
<translation>Эмуляция</translation>
<location filename="../forms/propertiesdialog.ui" line="67"/>
<source>Dropdown</source>
<translation>Выпадающий терминал</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="69"/>
<source>Shortcuts</source>
<translation>Сочетания клавиш</translation>
<location filename="../forms/propertiesdialog.ui" line="72"/>
<source>Bookmarks</source>
<translation>Закладки</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="74"/>
<source>DropDown</source>
<translation>Выпадающий</translation>
<location filename="../forms/propertiesdialog.ui" line="90"/>
<source>Color scheme</source>
<translation>Цветовая схема</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="79"/>
<source>Bookmarks</source>
<translation>Закладки</translation>
<location filename="../forms/propertiesdialog.ui" line="100"/>
<source>Widget style</source>
<translation>Графический стиль</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="97"/>
<source>Font</source>
<translation>Шрифт</translation>
<location filename="../forms/propertiesdialog.ui" line="110"/>
<source>Scrollbar position</source>
<translation>Расположение полосы прокрутки</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="129"/>
<source>&amp;Set Font...</source>
<translation>&amp;Выбрать шрифт...</translation>
<location filename="../forms/propertiesdialog.ui" line="120"/>
<source>Tabs position</source>
<translation>Расположение вкладок</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="152"/>
<source>Note: only fixed width font are allowed to be used in terminal</source>
<translation>Заметка: для использования в терминале разрешены только шрифты фиксированной ширины</translation>
<location filename="../forms/propertiesdialog.ui" line="130"/>
<source>Show the menu bar</source>
<translation>Показать панель меню</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="169"/>
<source>Action after paste clipboard</source>
<translation>Действие после вставки из буфера</translation>
<location filename="../forms/propertiesdialog.ui" line="144"/>
<source>Show a border around the current terminal</source>
<translation>Показывать границу вокруг текущего терминала</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="176"/>
<source>Color Scheme:</source>
<translation>Цветовая схема:</translation>
<location filename="../forms/propertiesdialog.ui" line="151"/>
<source>Application transparency</source>
<translation>Прозрачность приложения</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="209"/>
<source>GUI Style:</source>
<translation>Стиль GUI:</translation>
<location filename="../forms/propertiesdialog.ui" line="161"/>
<source>Terminal transparency</source>
<translation>Прозрачность терминала</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="252"/>
<source>Scrollbar Position:</source>
<translation>Расположение полосы прокрутки:</translation>
<location filename="../forms/propertiesdialog.ui" line="184"/>
<source>Start with preset:</source>
<translation>Начинать с предустановкой:</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="303"/>
<source>Always Show Tabs</source>
<translation>Всегда показывать вкладки</translation>
<location filename="../forms/propertiesdialog.ui" line="208"/>
<source>None (single terminal)</source>
<translation>Нет (один терминал)</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="445"/>
<source>Show on start</source>
<translation>Показать при запуске</translation>
<location filename="../forms/propertiesdialog.ui" line="213"/>
<source>2 terminals horizontally</source>
<translation>2 горизонтальных терминала</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="452"/>
<source>Size</source>
<translation>Размер</translation>
<location filename="../forms/propertiesdialog.ui" line="218"/>
<source>2 terminals vertically</source>
<translation>2 вертикальных терминала</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="460"/>
<source>Height %:</source>
<translation>Высота %:</translation>
<location filename="../forms/propertiesdialog.ui" line="223"/>
<source>4 terminals</source>
<translation>4 терминала</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="470"/>
<source>Width %:</source>
<translation>Ширина %:</translation>
<location filename="../forms/propertiesdialog.ui" line="259"/>
<source>Font</source>
<translation>Шрифт</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="487"/>
<source>Shortcut:</source>
<translation>Сочетание клавиш:</translation>
<location filename="../forms/propertiesdialog.ui" line="328"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Which behavior to emulate. Note that this does not have to match your operating system.&lt;/p&gt;&lt;p&gt;The &lt;span style=&quot; font-weight:600;&quot;&gt;default&lt;/span&gt; emulation is a fallback with a minimal featureset.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Какое поведение эмулировать. Обратите внимание, что это не обязательно должн осоответствовать вашей операционной системе.&lt;/p&gt;&lt;p&gt;Эмуляция &lt;span style=&quot; font-weight:600;&quot;&gt;по умолчанию&lt;/span&gt; это запасной режим с минимальным набором функций.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="516"/>
<source>Edit File Content</source>
<translation>Изменить содержимое файла</translation>
<location filename="../forms/propertiesdialog.ui" line="350"/>
<source>Action after paste</source>
<translation>Действие после вставки</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="538"/>
<source>Use Bookmarks</source>
<translation>Использовать закладки</translation>
<location filename="../forms/propertiesdialog.ui" line="383"/>
<source>Open new terminals in current working directory</source>
<translation>Открывать новые терминалы в текущей рабочей папке</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="547"/>
<source>Bookmark FIle:</source>
<translation>Файл закладок:</translation>
<location filename="../forms/propertiesdialog.ui" line="390"/>
<source>Save Size when closing</source>
<translation>Запоминать размер при закрытии</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="557"/>
<source>Find...</source>
<translation>Найти...</translation>
<location filename="../forms/propertiesdialog.ui" line="397"/>
<source>Save Position when closing</source>
<translation>Запоминать расположение при закрытии</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="566"/>
<source>You can specify your own bookmarks file location. It allows easy bookmark sharing with tools like OwnCloud or Dropbox.</source>
<translation>Вы можете выбрать ваше собственное место для хранения закладок. Это позволит легко делиться закладками с помощью таких инструментов как OwnCloud или Dropbox.</translation>
<location filename="../forms/propertiesdialog.ui" line="404"/>
<source>Ask for confirmation when closing</source>
<translation>Запрашивать подтверждение при закрытии</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="202"/>
<source>Tabs Position:</source>
<translation>Расположение вкладок:</translation>
<location filename="../forms/propertiesdialog.ui" line="414"/>
<source>Unlimited history</source>
<translation>Неограниченная история</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="259"/>
<source>&amp;Application Transparency:</source>
<translation>&amp;Прозрачность приложения:</translation>
<location filename="../forms/propertiesdialog.ui" line="421"/>
<source>History size (in lines)</source>
<translation>Размер истории (в строках)</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="216"/>
<location filename="../forms/propertiesdialog.ui" line="236"/>
<source> %</source>
<translation> %</translation>
<location filename="../forms/propertiesdialog.ui" line="489"/>
<source>Height</source>
<translation>Высота</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="229"/>
<source>Terminal Transparency:</source>
<translation>Прозрачность терминала:</translation>
<location filename="../forms/propertiesdialog.ui" line="496"/>
<location filename="../forms/propertiesdialog.ui" line="510"/>
<source>%</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="272"/>
<source>&amp;Highlight Current Terminal With Border</source>
<translation>&amp;Выделять текущий терминал границами</translation>
<location filename="../forms/propertiesdialog.ui" line="503"/>
<source>Width</source>
<translation>Ширина</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="279"/>
<source>Ask for Window Closing Confirmation</source>
<translation>Подтверждать закрыте окна</translation>
<location filename="../forms/propertiesdialog.ui" line="553"/>
<source>Edit bookmark file contents</source>
<translation>Изменить содержимое файла закладок</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="289"/>
<source>Open New Sub-Terminals in Current Working Dir</source>
<translation>Открыть новый подтерминал в текущей папке</translation>
<location filename="../forms/propertiesdialog.ui" line="575"/>
<source>Enable bookmarks</source>
<translation>Включить закладки</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="296"/>
<source>Show Main Menu</source>
<translation>Показать главное меню</translation>
<location filename="../forms/propertiesdialog.ui" line="584"/>
<source>Bookmark file</source>
<translation>Файл закладок</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="320"/>
<source>Limited to: </source>
<translation>Ограничение: </translation>
<location filename="../forms/propertiesdialog.ui" line="471"/>
<source>Show on start</source>
<translation>Показать при запуске</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="137"/>
<source>Hide tab bar with only one tab</source>
<translation>Прятать панель вкладок только с одной вкладкой</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="292"/>
<source>&amp;Change...</source>
<translation>&amp;Изменить...</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="340"/>
<source>Unlimited</source>
<translation>Без ограничения</translation>
<location filename="../forms/propertiesdialog.ui" line="478"/>
<source>Size</source>
<translation>Размер</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="367"/>
<source>Emulation Type</source>
<translation>Тип эмуляции</translation>
<location filename="../forms/propertiesdialog.ui" line="524"/>
<source>Shortcut:</source>
<translation>Сочетание клавиш:</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="376"/>
<source>Select emulation behaviour. It does not mean that for example &quot;linux&quot; has to be used only on Linux OS. Feel free to use it on Mac too etc.&lt;p&gt;Default is the failback type with minimal feature set.</source>
<translation>Выбрать вид эмуляции. Это не означает, что, например, «linux» должно быть использовано только в ОС Linux. Вы можете использовать его на Mac и др.&lt;p&gt;По умолчанию это запасной режим с минимальным набором функций.</translation>
<location filename="../forms/propertiesdialog.ui" line="594"/>
<source>Find...</source>
<translation>Найти...</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="603"/>
<source>You can specify your own bookmarks file location. It allows easy bookmark sharing with tools like OwnCloud or Dropbox.</source>
<translation>Вы можете выбрать ваше собственное место для хранения закладок. Это позволит легко делиться закладками с помощью таких инструментов как OwnCloud или Dropbox.</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="168"/>
<location filename="../forms/propertiesdialog.ui" line="191"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="428"/>
<location filename="../forms/propertiesdialog.ui" line="454"/>
<source>Shortcut</source>
<translation>Сочетание клавиш</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="433"/>
<location filename="../forms/propertiesdialog.ui" line="459"/>
<source>Key</source>
<translation>Клавиши</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="65"/>
<location filename="../propertiesdialog.cpp" line="117"/>
<location filename="../propertiesdialog.cpp" line="45"/>
<source>No scrollbar</source>
<translation>Без полосы прокрутки</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="45"/>
<location filename="../propertiesdialog.cpp" line="51"/>
<source>Left</source>
<translation>Слева</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="45"/>
<location filename="../propertiesdialog.cpp" line="51"/>
<source>Right</source>
<translation>Справа</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="51"/>
<source>Top</source>
<translation>Сверху</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="51"/>
<source>Bottom</source>
<translation>Снизу</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="63"/>
<source>No move</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="63"/>
<source>Move start</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="63"/>
<source>Move end</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="68"/>
<location filename="../propertiesdialog.cpp" line="123"/>
<source>System Default</source>
<translation>Системный</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="245"/>
<location filename="../propertiesdialog.cpp" line="256"/>
<source>Open or create bookmarks file</source>
<translation>Открыть или создать файл закладок</translation>
</message>
<message>
<source>Select Terminal Font</source>
<translation type="obsolete">Выбрать шрифт терминала</translation>
</message>
</context>
<context>
<name>QObject</name>
@ -473,7 +555,7 @@
<translation>Локальные закладки</translation>
</message>
<message>
<location filename="../bookmarkswidget.cpp" line="190"/>
<location filename="../bookmarkswidget.cpp" line="187"/>
<source>Synchronized Bookmarks</source>
<translation>Синхронизированные закладки</translation>
</message>
@ -481,28 +563,28 @@
<context>
<name>TabWidget</name>
<message>
<location filename="../tabwidget.cpp" line="69"/>
<location filename="../tabwidget.cpp" line="174"/>
<location filename="../tabwidget.cpp" line="70"/>
<location filename="../tabwidget.cpp" line="175"/>
<source>Shell No. %1</source>
<translation>Оболочка %1</translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="160"/>
<location filename="../tabwidget.cpp" line="161"/>
<source>Tab name</source>
<translation>Имя вкладки</translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="161"/>
<location filename="../tabwidget.cpp" line="162"/>
<source>New tab name:</source>
<translation>Имя новой вкладки:</translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="183"/>
<location filename="../tabwidget.cpp" line="184"/>
<source>Close session</source>
<translation>Закрыть сессию</translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="185"/>
<location filename="../tabwidget.cpp" line="186"/>
<source>Rename session</source>
<translation>Переименовать сессию</translation>
</message>
@ -520,45 +602,6 @@
<translation>Список сохранённых сессий:</translation>
</message>
</context>
<context>
<name>TermWidgetImpl</name>
<message>
<source>Copy Selection</source>
<translation type="obsolete">Копировать выделение</translation>
</message>
<message>
<source>Paste Clipboard</source>
<translation type="obsolete">Вставить из буфера</translation>
</message>
<message>
<source>Paste Selection</source>
<translation type="obsolete">Вставить выделение</translation>
</message>
<message>
<source>Zoom in</source>
<translation type="obsolete">Увеличить</translation>
</message>
<message>
<source>Zoom out</source>
<translation type="obsolete">Уменьшить</translation>
</message>
<message>
<source>Zoom reset</source>
<translation type="obsolete">Сбросить увеличение</translation>
</message>
<message>
<source>Split Terminal Horizontally</source>
<translation type="obsolete">Разделить терминал по горизонтали </translation>
</message>
<message>
<source>Split Terminal Vertically</source>
<translation type="obsolete">Разделить терминал по вертикали </translation>
</message>
<message>
<source>Collapse Subterminal</source>
<translation type="obsolete">Закрыть подтерминал</translation>
</message>
</context>
<context>
<name>mainWindow</name>
<message>
@ -568,56 +611,48 @@
</message>
<message>
<location filename="../forms/qterminal.ui" line="68"/>
<source>File</source>
<translation>Файл</translation>
<source>&amp;File</source>
<translation>&amp;Файл</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="76"/>
<source>Actions</source>
<translation>Действия</translation>
<source>&amp;Actions</source>
<translation>&amp;Действия</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="81"/>
<source>Help</source>
<translation>Помощь</translation>
<source>&amp;Help</source>
<translation>&amp;Справка</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="88"/>
<source>View</source>
<translation>Вид</translation>
<source>&amp;View</source>
<translation>&amp;Вид</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="93"/>
<source>Edit</source>
<translation>Правка</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="125"/>
<source>&amp;Quit</source>
<translation>&amp;Выход</translation>
<source>&amp;Edit</source>
<translation>&amp;Правка</translation>
</message>
<message>
<source>&amp;Window</source>
<translation type="obsolete">&amp;Окно</translation>
<location filename="../forms/qterminal.ui" line="109"/>
<source>&amp;About...</source>
<translation>О &amp;программе...</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="107"/>
<source>About...</source>
<translation>О программе...</translation>
<location filename="../forms/qterminal.ui" line="114"/>
<source>About &amp;Qt...</source>
<translation>О &amp;Qt...</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="112"/>
<source>About Qt...</source>
<translation>О QT...</translation>
<location filename="../forms/qterminal.ui" line="129"/>
<source>&amp;Quit</source>
<translation>&amp;Выход</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="117"/>
<location filename="../forms/qterminal.ui" line="119"/>
<source>&amp;Preferences...</source>
<translation>&amp;Настройки...</translation>
</message>
<message>
<source>&amp;Quit...</source>
<translation type="obsolete">&amp;Выйти...</translation>
</message>
</context>
</TS>

@ -0,0 +1,609 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="tr_TR">
<context>
<name>BookmarksWidget</name>
<message>
<location filename="../forms/bookmarkswidget.ui" line="32"/>
<source>Filter:</source>
<translation>Süzgeç:</translation>
</message>
</context>
<context>
<name>FontDialog</name>
<message>
<location filename="../forms/fontdialog.ui" line="14"/>
<location filename="../forms/fontdialog.ui" line="73"/>
<source>Select Terminal Font</source>
<translation>Terminal yazıtipini seç</translation>
</message>
<message>
<location filename="../forms/fontdialog.ui" line="32"/>
<source>Font:</source>
<translation>Yazıtipi:</translation>
</message>
<message>
<location filename="../forms/fontdialog.ui" line="42"/>
<source>Size:</source>
<translation>Boyut:</translation>
</message>
<message>
<location filename="../forms/fontdialog.ui" line="59"/>
<source>Preview</source>
<translation>Önizle</translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="310"/>
<source>Close Tab</source>
<translation>Sekmeyi Kapat</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="191"/>
<source>Split Terminal Horizontally</source>
<translation>Terminali Yatay Olarak Böl</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="197"/>
<source>Split Terminal Vertically</source>
<translation>Terminali Dikey Olarak Böl</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="203"/>
<source>Collapse Subterminal</source>
<translation>Altterminali Kapat</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="209"/>
<source>Next Subterminal</source>
<translation>Sonraki Altterminal</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="215"/>
<source>Previous Subterminal</source>
<translation>Önceki Altterminal</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="165"/>
<source>Next Tab</source>
<translation>Sonraki Sekme</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="53"/>
<source>Bookmarks</source>
<translation>Yer İmleri</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="91"/>
<source>Rename Session</source>
<translation>Oturumu Yeniden Adlandır</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="146"/>
<source>Press &quot;%1&quot; to see the terminal.</source>
<translation>Terminali görmek için &quot;%1&quot; e basın.</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="157"/>
<source>Clear Current Tab</source>
<translation>Mevcut sekmeyi temizle</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="171"/>
<source>Previous Tab</source>
<translation>Önceki Sekme</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="177"/>
<source>Move Tab Left</source>
<translation>Sekmeyi Sola Taşı</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="183"/>
<source>Move Tab Right</source>
<translation>Sekmeyi Sağa Taşı</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="224"/>
<source>Copy Selection</source>
<translation>Seçimi Kopyala</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="230"/>
<source>Paste Clipboard</source>
<translation>Panoyu Yapıştır</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="236"/>
<source>Paste Selection</source>
<translation>Seçimi Yapıştır</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="242"/>
<source>Zoom in</source>
<translation type="unfinished">Büyüt</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="248"/>
<source>Zoom out</source>
<translation type="unfinished">Küçült</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="254"/>
<source>Zoom reset</source>
<translation>Sıfırla</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="262"/>
<source>Find...</source>
<translation>Bul...</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="273"/>
<source>Save Session</source>
<translation>Oturumu Kaydet</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="279"/>
<source>Load Session</source>
<translation>Oturum Yükle</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="286"/>
<source>Toggle Menu</source>
<translation>Menüyü Değiştir</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="304"/>
<source>New Tab</source>
<translation>Yeni Sekme</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="316"/>
<source>New Window</source>
<translation>Yeni Pencere</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="339"/>
<source>Hide Window Borders</source>
<translation>Pencere Kenarlıklarını Gizle</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="350"/>
<source>Show Tab Bar</source>
<translation>Sekme Çubuğunu Göster</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="370"/>
<source>Bottom</source>
<translation>En Aşağı</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="371"/>
<source>Top</source>
<translation>En Yukarı</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="372"/>
<location filename="../mainwindow.cpp" line="403"/>
<source>Right</source>
<translation>Sağ</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="373"/>
<location filename="../mainwindow.cpp" line="404"/>
<source>Left</source>
<translation>Sol</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="388"/>
<source>Tabs Layout</source>
<translation>Sekme Düzeni</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="402"/>
<source>None</source>
<translation>Hiç</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="420"/>
<source>Scrollbar Layout</source>
<translation>Kaydırma Çubuğu Düzeni</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="474"/>
<source>Exit QTerminal</source>
<translation>QTerminalden Çık</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="476"/>
<source>Do not ask again</source>
<translation>Tekrar Sorma</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="483"/>
<source>Are you sure you want to exit?</source>
<translation>Çıkmak istediğinizden emin misiniz?</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="503"/>
<source>A lightweight multiplatform terminal emulator</source>
<translation>Hafif bir çok platformlu terminal öykünücüsü</translation>
</message>
</context>
<context>
<name>PropertiesDialog</name>
<message>
<location filename="../forms/propertiesdialog.ui" line="14"/>
<source>QTerminal Properties</source>
<translation>Qterminal özellikleri</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="49"/>
<source>Terminal Font</source>
<translation>Terminal Yazıtipi</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="54"/>
<source>Look and Feel</source>
<translation>Görünüm</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="59"/>
<location filename="../forms/propertiesdialog.ui" line="314"/>
<source>History</source>
<translation>Geçmiş</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="64"/>
<source>Emulation</source>
<translation>Öykünme</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="69"/>
<source>Shortcuts</source>
<translation>Kısayollar</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="74"/>
<source>DropDown</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="79"/>
<source>Bookmarks</source>
<translation>Yer İmleri</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="97"/>
<source>Font</source>
<translation>Yazıtipi</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="129"/>
<source>&amp;Set Font...</source>
<translation>Yazıtipini Ay&amp;arla...</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="152"/>
<source>Note: only fixed width font are allowed to be used in terminal</source>
<translation>Not: Sadece sabit genişlikteki yazıtiplerinin terminalde kullanılmasına müsade edilmiştir</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="169"/>
<source>Action after paste clipboard</source>
<translation>Panoyu yapıştırdıktan sonraki eylem</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="176"/>
<source>Color Scheme:</source>
<translation>Renk Şeması:</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="209"/>
<source>GUI Style:</source>
<translation>GUI Biçemi:</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="252"/>
<source>Scrollbar Position:</source>
<translation>Kaydırma Çubuğu Konumu:</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="445"/>
<source>Show on start</source>
<translation>Başlangıçta göster</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="452"/>
<source>Size</source>
<translation>Boyut</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="460"/>
<source>Height %:</source>
<translation>Yükseklik %:</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="470"/>
<source>Width %:</source>
<translation>Genişlik %:</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="487"/>
<source>Shortcut:</source>
<translation>Kısayol:</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="516"/>
<source>Edit File Content</source>
<translation>Dosya İçeriğini Düzenle</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="538"/>
<source>Use Bookmarks</source>
<translation>Yerimleri Kullan</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="547"/>
<source>Bookmark FIle:</source>
<translation>Yerimi Dosyası:</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="557"/>
<source>Find...</source>
<translation>Bul...</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="566"/>
<source>You can specify your own bookmarks file location. It allows easy bookmark sharing with tools like OwnCloud or Dropbox.</source>
<translation>Kendi yerimleri dosya yolunuzu berlirleyebilirsiniz. OwnCloud veya Dropbox gibi araçlarla yerimlerinizi paylaşmayı kolaylaştırır.</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="202"/>
<source>Tabs Position:</source>
<translation>Sekmelerin Konumu:</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="259"/>
<source>&amp;Application Transparency:</source>
<translation>&amp;Uygulama Saydamlığı:</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="216"/>
<location filename="../forms/propertiesdialog.ui" line="236"/>
<source> %</source>
<translation> %</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="229"/>
<source>Terminal Transparency:</source>
<translation>Terminal Saydamlığı:</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="272"/>
<source>&amp;Highlight Current Terminal With Border</source>
<translation>Mevcut Terminali Kenarlık ile Vurgula</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="279"/>
<source>Ask for Window Closing Confirmation</source>
<translation>Pencere Kapatma İçin Onay Sor</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="289"/>
<source>Open New Sub-Terminals in Current Working Dir</source>
<translation>Mecut Çalışma Dizininde Yeni Bir Altterminal Aç</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="296"/>
<source>Show Main Menu</source>
<translation>Ana Menüyü Göster</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="303"/>
<source>Always Show Tabs</source>
<translation>Sekmeleri Daima Göster</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="320"/>
<source>Limited to: </source>
<translation>Sınırla:</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="340"/>
<source>Unlimited</source>
<translation>Sınırsız</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="367"/>
<source>Emulation Type</source>
<translation>Öykünme Türü</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="376"/>
<source>Select emulation behaviour. It does not mean that for example &quot;linux&quot; has to be used only on Linux OS. Feel free to use it on Mac too etc.&lt;p&gt;Default is the failback type with minimal feature set.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="428"/>
<source>Shortcut</source>
<translation>Kısayol</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="433"/>
<source>Key</source>
<translation>Anahtar</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="42"/>
<source>No scrollbar</source>
<translation>Kaydırma çubuğu yok</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="42"/>
<location filename="../propertiesdialog.cpp" line="48"/>
<source>Left</source>
<translation>Sol</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="42"/>
<location filename="../propertiesdialog.cpp" line="48"/>
<source>Right</source>
<translation>Sağ</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="48"/>
<source>Top</source>
<translation>En Yukarı</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="48"/>
<source>Bottom</source>
<translation>En Aşağı</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="60"/>
<source>No move</source>
<translation>Taşıma yok</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="60"/>
<source>Move start</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="60"/>
<source>Move end</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="65"/>
<location filename="../propertiesdialog.cpp" line="117"/>
<source>System Default</source>
<translation>Sistem Varsayılanı</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="245"/>
<source>Open or create bookmarks file</source>
<translation>Yerimleri dosyası aç ya da oluştur</translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../bookmarkswidget.cpp" line="97"/>
<source>Local Bookmarks</source>
<translation>Yerel Yerimleri</translation>
</message>
<message>
<location filename="../bookmarkswidget.cpp" line="190"/>
<source>Synchronized Bookmarks</source>
<translation>Yerimlerini Eşitle</translation>
</message>
</context>
<context>
<name>TabWidget</name>
<message>
<location filename="../tabwidget.cpp" line="69"/>
<location filename="../tabwidget.cpp" line="174"/>
<source>Shell No. %1</source>
<translation>Kabuk No. %1</translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="160"/>
<source>Tab name</source>
<translation>Sekme adı</translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="161"/>
<source>New tab name:</source>
<translation>Yeni sekme adı:</translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="183"/>
<source>Close session</source>
<translation>Oturumu kapat</translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="185"/>
<source>Rename session</source>
<translation>Oturumu yeniden adlandır</translation>
</message>
</context>
<context>
<name>TermWidgetHolder</name>
<message>
<location filename="../termwidgetholder.cpp" line="46"/>
<source>Load Session</source>
<translation>Oturum Yükle</translation>
</message>
<message>
<location filename="../termwidgetholder.cpp" line="47"/>
<source>List of saved sessions:</source>
<translation>Kaydedilmiş oturum listesi:</translation>
</message>
</context>
<context>
<name>TermWidgetImpl</name>
<message>
<source>Split Terminal Horizontally</source>
<translation type="obsolete">Rozdělit Terminál Horizontálně</translation>
</message>
</context>
<context>
<name>mainWindow</name>
<message>
<location filename="../forms/qterminal.ui" line="14"/>
<source>MainWindow</source>
<translation>Ana Pencere</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="68"/>
<source>File</source>
<translation>Dosya</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="76"/>
<source>Actions</source>
<translation>Eylemler</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="81"/>
<source>Help</source>
<translation>Yardım</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="88"/>
<source>View</source>
<translation>Görünüm</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="93"/>
<source>Edit</source>
<translation>Düzenle</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="125"/>
<source>&amp;Quit</source>
<translation>&amp;Çık</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="107"/>
<source>About...</source>
<translation>Hakkında...</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="112"/>
<source>About Qt...</source>
<translation>Qt Hakkında...</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="117"/>
<source>&amp;Preferences...</source>
<translation>&amp;Tercihler...</translation>
</message>
</context>
</TS>

@ -0,0 +1,658 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="ja">
<context>
<name>BookmarksWidget</name>
<message>
<location filename="../forms/bookmarkswidget.ui" line="32"/>
<source>Filter:</source>
<translation>:</translation>
</message>
</context>
<context>
<name>FontDialog</name>
<message>
<location filename="../forms/fontdialog.ui" line="14"/>
<location filename="../forms/fontdialog.ui" line="73"/>
<source>Select Terminal Font</source>
<translation></translation>
</message>
<message>
<location filename="../forms/fontdialog.ui" line="32"/>
<source>Font:</source>
<translation>:</translation>
</message>
<message>
<location filename="../forms/fontdialog.ui" line="42"/>
<source>Size:</source>
<translation>:</translation>
</message>
<message>
<location filename="../forms/fontdialog.ui" line="59"/>
<source>Preview</source>
<translation></translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<location filename="../mainwindow.cpp" line="324"/>
<source>&amp;Close Tab</source>
<translation>(&amp;C)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="180"/>
<source>Split Terminal &amp;Horizontally</source>
<translation>(&amp;H)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="187"/>
<source>Split Terminal &amp;Vertically</source>
<translation>(&amp;V)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="194"/>
<source>&amp;Collapse Subterminal</source>
<translation>(&amp;C)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="201"/>
<source>N&amp;ext Subterminal</source>
<translation>(&amp;E)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="208"/>
<source>P&amp;revious Subterminal</source>
<translation>(&amp;R)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="150"/>
<source>&amp;Next Tab</source>
<translation>(&amp;N)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="157"/>
<source>&amp;Previous Tab</source>
<translation>(&amp;P)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="164"/>
<source>Move Tab &amp;Left</source>
<translation>(&amp;L)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="171"/>
<source>Move Tab &amp;Right</source>
<translation>(&amp;R)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="218"/>
<source>Copy &amp;Selection</source>
<translation>(&amp;S)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="232"/>
<source>Paste S&amp;election</source>
<translation>(&amp;E)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="274"/>
<source>&amp;Save Session</source>
<translation>(&amp;S)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="280"/>
<source>&amp;Load Session</source>
<translation>(&amp;L)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="313"/>
<source>New Tab From &amp;Preset</source>
<translation>(&amp;P)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="314"/>
<source>1 &amp;Terminal</source>
<translation>(&amp;T)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="316"/>
<source>2 &amp;Horizontal Terminals</source>
<translation>2(&amp;H)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="318"/>
<source>2 &amp;Vertical Terminals</source>
<translation>2(&amp;V)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="320"/>
<source>4 Terminal&amp;s</source>
<translation>4(&amp;S)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="412"/>
<source>&amp;Bottom</source>
<translation>(&amp;B)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="413"/>
<source>&amp;Top</source>
<translation>(&amp;T)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="414"/>
<location filename="../mainwindow.cpp" line="445"/>
<source>&amp;Right</source>
<translation>(&amp;R)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="415"/>
<location filename="../mainwindow.cpp" line="446"/>
<source>&amp;Left</source>
<translation>(&amp;L)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="430"/>
<source>&amp;Tabs Layout</source>
<translation>(&amp;T)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="444"/>
<source>&amp;None</source>
<translation>(&amp;N)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="462"/>
<source>S&amp;crollbar Layout</source>
<translation>(&amp;C)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="529"/>
<source>Exit QTerminal</source>
<translation>退</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="531"/>
<source>Do not ask again</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="538"/>
<source>Are you sure you want to exit?</source>
<translation>?</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="559"/>
<source>A lightweight multiplatform terminal emulator</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="53"/>
<source>Bookmarks</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="97"/>
<source>Rename Session</source>
<translation></translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="130"/>
<source>Press &quot;%1&quot; to see the terminal.</source>
<translation>&quot;%1&quot;</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="141"/>
<source>&amp;Clear Current Tab</source>
<translation>(&amp;C)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="225"/>
<source>Paste Clip&amp;board</source>
<translation>(&amp;B)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="239"/>
<source>Zoom &amp;in</source>
<translation>(&amp;I)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="246"/>
<source>Zoom &amp;out</source>
<translation>(&amp;O)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="253"/>
<source>Zoom rese&amp;t</source>
<translation>(&amp;T)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="262"/>
<source>&amp;Find...</source>
<translation>(&amp;F)...</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="287"/>
<source>&amp;Toggle Menu</source>
<translation>(&amp;T)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="306"/>
<source>&amp;New Tab</source>
<translation>(&amp;N)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="331"/>
<source>&amp;New Window</source>
<translation>(&amp;N)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="365"/>
<source>&amp;Hide Window Borders</source>
<translation>(&amp;H)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="380"/>
<source>&amp;Show Tab Bar</source>
<translation>(&amp;S)</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="392"/>
<source>Fullscreen</source>
<translation></translation>
</message>
</context>
<context>
<name>PropertiesDialog</name>
<message>
<location filename="../forms/propertiesdialog.ui" line="319"/>
<source>Emulation</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="62"/>
<source>Shortcuts</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="14"/>
<source>Terminal settings</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="52"/>
<source>Appearance</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="57"/>
<location filename="../forms/propertiesdialog.ui" line="344"/>
<source>Behavior</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="67"/>
<source>Dropdown</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="90"/>
<source>Color scheme</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="100"/>
<source>Widget style</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="110"/>
<source>Scrollbar position</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="120"/>
<source>Tabs position</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="130"/>
<source>Show the menu bar</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="144"/>
<source>Show a border around the current terminal</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="151"/>
<source>Application transparency</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="161"/>
<source>Terminal transparency</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="184"/>
<source>Start with preset:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="208"/>
<source>None (single terminal)</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="212"/>
<source>2 terminals horizontally</source>
<translation>2</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="217"/>
<source>2 terminals vertically</source>
<translation>2</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="223"/>
<source>4 terminals</source>
<translation>4</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="259"/>
<source>Font</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="328"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Which behavior to emulate. Note that this does not have to match your operating system.&lt;/p&gt;&lt;p&gt;The &lt;span style=&quot; font-weight:600;&quot;&gt;default&lt;/span&gt; emulation is a fallback with a minimal featureset.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished">&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;: ! . &lt;/p&gt;&lt;p&gt; &lt;span style=&quot; font-weight:600;&quot;&gt;default&lt;/span&gt;退&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="350"/>
<source>Action after paste</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="383"/>
<source>Open new terminals in current working directory</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="390"/>
<source>Save Size when closing</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="397"/>
<source>Save Position when closing</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="404"/>
<source>Ask for confirmation when closing</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="414"/>
<source>Unlimited history</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="421"/>
<source>History size (in lines)</source>
<translation> ()</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="472"/>
<source>Height</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="479"/>
<location filename="../forms/propertiesdialog.ui" line="493"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="486"/>
<source>Width</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="536"/>
<source>Edit bookmark file contents</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="558"/>
<source>Enable bookmarks</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="567"/>
<source>Bookmark file</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="168"/>
<location filename="../forms/propertiesdialog.ui" line="191"/>
<source> %</source>
<translation>%</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="437"/>
<source>Shortcut</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="442"/>
<source>Key</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="72"/>
<source>Bookmarks</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="137"/>
<source>Hide tab bar with only one tab</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="289"/>
<source>&amp;Change...</source>
<translation type="unfinished">&amp;C)...</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="454"/>
<source>Show on start</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="461"/>
<source>Size</source>
<translation></translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="507"/>
<source>Shortcut:</source>
<translation>:</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="577"/>
<source>Find...</source>
<translation>...</translation>
</message>
<message>
<location filename="../forms/propertiesdialog.ui" line="586"/>
<source>You can specify your own bookmarks file location. It allows easy bookmark sharing with tools like OwnCloud or Dropbox.</source>
<translation type="unfinished">, Dropbox</translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="45"/>
<source>No scrollbar</source>
<translation></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="45"/>
<location filename="../propertiesdialog.cpp" line="51"/>
<source>Left</source>
<translation></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="45"/>
<location filename="../propertiesdialog.cpp" line="51"/>
<source>Right</source>
<translation></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="51"/>
<source>Top</source>
<translation></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="51"/>
<source>Bottom</source>
<translation></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="63"/>
<source>No move</source>
<translation></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="63"/>
<source>Move start</source>
<translation></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="63"/>
<source>Move end</source>
<translation></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="68"/>
<location filename="../propertiesdialog.cpp" line="122"/>
<source>System Default</source>
<translation></translation>
</message>
<message>
<location filename="../propertiesdialog.cpp" line="252"/>
<source>Open or create bookmarks file</source>
<translation></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<location filename="../bookmarkswidget.cpp" line="97"/>
<source>Local Bookmarks</source>
<translation></translation>
</message>
<message>
<location filename="../bookmarkswidget.cpp" line="187"/>
<source>Synchronized Bookmarks</source>
<translation></translation>
</message>
</context>
<context>
<name>TabWidget</name>
<message>
<location filename="../tabwidget.cpp" line="70"/>
<location filename="../tabwidget.cpp" line="175"/>
<source>Shell No. %1</source>
<translation>Shell No. %1</translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="160"/>
<source>Tab name</source>
<translation></translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="161"/>
<source>New tab name:</source>
<translation>:</translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="183"/>
<source>Close session</source>
<translation></translation>
</message>
<message>
<location filename="../tabwidget.cpp" line="185"/>
<source>Rename session</source>
<translation></translation>
</message>
</context>
<context>
<name>TermWidgetHolder</name>
<message>
<location filename="../termwidgetholder.cpp" line="46"/>
<source>Load Session</source>
<translation></translation>
</message>
<message>
<location filename="../termwidgetholder.cpp" line="47"/>
<source>List of saved sessions:</source>
<translation>:</translation>
</message>
</context>
<context>
<name>mainWindow</name>
<message>
<location filename="../forms/qterminal.ui" line="76"/>
<source>&amp;Actions</source>
<translation>(&amp;A)</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="81"/>
<source>&amp;Help</source>
<translation>(&amp;H)</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="93"/>
<source>&amp;Edit</source>
<translation>(&amp;E)</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="109"/>
<source>&amp;About...</source>
<translation>(&amp;A)...</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="114"/>
<source>About &amp;Qt...</source>
<translation>Qt(&amp;Q)...</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="119"/>
<source>&amp;Preferences...</source>
<translation type="unfinished">(&amp;P)...</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="14"/>
<source>MainWindow</source>
<translation></translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="68"/>
<source>&amp;File</source>
<translation>(&amp;F)</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="88"/>
<source>&amp;View</source>
<translation>(&amp;V)</translation>
</message>
<message>
<location filename="../forms/qterminal.ui" line="129"/>
<source>&amp;Quit</source>
<translation>退(&amp;Q)</translation>
</message>
</context>
</TS>
Loading…
Cancel
Save