diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2011-05-03 08:08:26 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2011-05-03 08:08:26 (GMT) |
commit | e3fcbf32285fe5033260affc3088deaa6fad6fc7 (patch) | |
tree | 1b9617ce375fafefa3b709d751d264bf0a239454 | |
parent | 3782dc6d92210e9ae5fb7ee27cc7cd78dee79ebf (diff) | |
parent | 43482fcfc106864f104f463002575c389d40b12f (diff) | |
download | Qt-e3fcbf32285fe5033260affc3088deaa6fad6fc7.zip Qt-e3fcbf32285fe5033260affc3088deaa6fad6fc7.tar.gz Qt-e3fcbf32285fe5033260affc3088deaa6fad6fc7.tar.bz2 |
Merge earth-team into origin/4.8
Conflicts:
configure
260 files changed, 28373 insertions, 1941 deletions
@@ -335,7 +335,9 @@ sub syncHeader { open HEADER, ">$header" || die "Could not open $header for writing!\n"; print HEADER "#include \"$iheader_out\"\n"; close HEADER; - utime(time, $ts, $header) or die "$iheader, $header"; + if(defined($ts)) { + utime(time, $ts, $header) or die "$iheader, $header"; + } return 1; } return 0; @@ -688,10 +688,10 @@ CFG_XRANDR=runtime CFG_XRENDER=auto CFG_MITSHM=auto CFG_OPENGL=auto -CFG_OPENVG=no +CFG_OPENVG=auto CFG_OPENVG_LC_INCLUDES=no -CFG_OPENVG_SHIVA=no -CFG_OPENVG_ON_OPENGL=no +CFG_OPENVG_SHIVA=auto +CFG_OPENVG_ON_OPENGL=auto CFG_EGL=no CFG_EGL_GLES_INCLUDES=no CFG_SSE=auto @@ -804,6 +804,7 @@ CFG_MAC_XARCH=auto CFG_MAC_CARBON=no CFG_MAC_COCOA=yes COMMANDLINE_MAC_CARBON=no +CFG_MAC_HARFBUZZ=no CFG_SXE=no CFG_PREFIX_INSTALL=yes CFG_SDK= @@ -1041,7 +1042,7 @@ while [ "$#" -gt 0 ]; do VAL=no ;; #Qt style yes options - -incremental|-qvfb|-profile|-shared|-static|-sm|-xinerama|-xshape|-xsync|-xinput|-egl|-reduce-exports|-pch|-separate-debug-info|-stl|-freetype|-xcursor|-xfixes|-xrandr|-xrender|-mitshm|-fontconfig|-xkb|-nis|-qdbus|-dbus|-dbus-linked|-glib|-gstreamer|-gtkstyle|-cups|-iconv|-largefile|-h|-help|-v|-verbose|-debug|-release|-fast|-accessibility|-confirm-license|-gnumake|-framework|-qt3support|-debug-and-release|-exceptions|-cocoa|-carbon|-universal|-prefix-install|-silent|-armfpa|-optimized-qmake|-dwarf2|-reduce-relocations|-sse|-openssl|-openssl-linked|-ptmalloc|-xmlpatterns|-phonon|-phonon-backend|-multimedia|-audio-backend|-svg|-declarative|-declarative-debug|-javascript-jit|-script|-scripttools|-rpath|-force-pkg-config|-s60|-usedeffiles|-icu) + -incremental|-qvfb|-profile|-shared|-static|-sm|-xinerama|-xshape|-xsync|-xinput|-egl|-reduce-exports|-pch|-separate-debug-info|-stl|-freetype|-xcursor|-xfixes|-xrandr|-xrender|-mitshm|-fontconfig|-xkb|-nis|-qdbus|-dbus|-dbus-linked|-glib|-gstreamer|-gtkstyle|-cups|-iconv|-largefile|-h|-help|-v|-verbose|-debug|-release|-fast|-accessibility|-confirm-license|-gnumake|-framework|-qt3support|-debug-and-release|-exceptions|-cocoa|-carbon|-universal|-harfbuzz|-prefix-install|-silent|-armfpa|-optimized-qmake|-dwarf2|-reduce-relocations|-sse|-openssl|-openssl-linked|-ptmalloc|-xmlpatterns|-phonon|-phonon-backend|-multimedia|-audio-backend|-svg|-declarative|-declarative-debug|-javascript-jit|-script|-scripttools|-rpath|-force-pkg-config|-s60|-usedeffiles|-icu) VAR=`echo $1 | sed "s,^-\(.*\),\1,"` VAL=yes ;; @@ -1499,6 +1500,13 @@ while [ "$#" -gt 0 ]; do UNKNOWN_OPT=yes fi ;; + harfbuzz) + if [ "$PLATFORM_MAC" = "yes" ] && [ "$CFG_MAC_CARBON" != "yes" ] && [ "$VAL" = "yes" ]; then + CFG_MAC_HARFBUZZ="$VAL" + else + UNKNOWN_OPT=yes + fi + ;; framework) if [ "$PLATFORM_MAC" = "yes" ] || [ "$PLATFORM_QPA" = "yes" ]; then @@ -4258,6 +4266,11 @@ Qt/Mac only: -sdk <sdk> ......... Build Qt using Apple provided SDK <sdk>. This option requires gcc 4. To use a different SDK with gcc 3.3, set the SDKROOT environment variable. + -harfbuzz .......... Use HarfBuzz to do text layout instead of Core Text when possible. + It is only available to Cocoa builds. + * -no-harfbuzz ....... Disable HarfBuzz on Mac. It can still be enabled by setting + QT_ENABLE_HARFBUZZ environment variable. + EOF fi @@ -7251,6 +7264,7 @@ fi [ "$CFG_NAS" = "system" ] && QT_CONFIG="$QT_CONFIG nas" [ "$CFG_OPENSSL" = "yes" ] && QT_CONFIG="$QT_CONFIG openssl" [ "$CFG_OPENSSL" = "linked" ] && QT_CONFIG="$QT_CONFIG openssl-linked" +[ "$CFG_MAC_HARFBUZZ" = "yes" ] && QT_CONFIG="$QT_CONFIG harfbuzz" if [ "$PLATFORM_X11" = "yes" ]; then [ "$CFG_SM" = "yes" ] && QT_CONFIG="$QT_CONFIG x11sm" @@ -7505,7 +7519,6 @@ EOF canBuildQtConcurrent="no" ;; symbian-gcce) - canBuildWebKit="no" ;; symbian-armcc) ;; diff --git a/doc/src/frameworks-technologies/model-view-programming.qdoc b/doc/src/frameworks-technologies/model-view-programming.qdoc index 58b51e5..2345990 100644 --- a/doc/src/frameworks-technologies/model-view-programming.qdoc +++ b/doc/src/frameworks-technologies/model-view-programming.qdoc @@ -1934,6 +1934,13 @@ \l{QSortFilterProxyModel::lessThan()}{lessThan()} function to perform custom comparisons. + \section3 Custom data models + + QIdentityProxyModel instances do not sort or filter the structure of the source model, + but provide a base class for creating a data proxy. This could be useful on top of a + QFileSystemModel for example to provide different colours for the BackgroundRole for + different types of files. + \section1 Model subclassing reference Model subclasses need to provide implementations of many of the virtual functions diff --git a/doc/src/platforms/platform-notes.qdoc b/doc/src/platforms/platform-notes.qdoc index 113ad86..24b297f 100644 --- a/doc/src/platforms/platform-notes.qdoc +++ b/doc/src/platforms/platform-notes.qdoc @@ -630,7 +630,7 @@ we need to do special bookkeeping in Qt to handle this correctly, which unfortunately make mixing in native panels hard. The best way at the moment to do this, is to follow the pattern below, where we post the call to the - function with native code rather than calling it directly. Then we now that + function with native code rather than calling it directly. Then we know that Qt has cleanly updated any pending event loop recursions before the native panel is shown: @@ -708,28 +708,8 @@ \section1 Supported Devices - Qt is designed to work on any device which runs one of the following - versions of Symbian: - - \table - \header \o Symbian Version - \row \o S60 3.1 - \row \o S60 3.2 - \row \o S60 5.0 (Symbian ^1) - \endtable - - Qt has received \l{Tier 1 Platforms}{Tier 1} testing on the following phone models: - - \table - \header \o Phone - \row \o Nokia 5800 - \row \o Nokia E71 - \row \o Nokia E72 - \row \o Nokia N78 - \row \o Nokia N95 - \row \o Nokia N97 - \row \o Samsung i8910 - \endtable + See the list of supported devices at + http://wiki.forum.nokia.com/index.php/Nokia_Smart_Installer_for_Symbian#Supported_Devices \section1 Supported Functionality @@ -742,8 +722,6 @@ \o Planned for future release. \row \o QtDBus \o No current plans to support this feature. - \row \o QtOpenGL ES - \o Planned for future release. \row \o Printing support \o No current plans to support this feature. \row \o Qt3Support @@ -837,6 +815,12 @@ plugin. If the Helix plugin fails to load, the MMF plugin, if present on the device, will be loaded instead. + \section1 QtOpenGL Support + + Qt 4.7 introduces the QtOpenGL module to Symbian^3. QtOpenGL is supported on + devices which support OpenGL ES 2.0. Symbian platforms prior to Symbian^3 + are not supported. + \section1 UI Performance in devices prior to Symbian^3 Qt uses the QPainter class to perform low-level painting on widgets and diff --git a/doc/src/snippets/code/src_corelib_kernel_qabstractitemmodel.cpp b/doc/src/snippets/code/src_corelib_kernel_qabstractitemmodel.cpp index cf40f9a..5919c01 100644 --- a/doc/src/snippets/code/src_corelib_kernel_qabstractitemmodel.cpp +++ b/doc/src/snippets/code/src_corelib_kernel_qabstractitemmodel.cpp @@ -86,38 +86,3 @@ beginMoveRows(parent, 2, 2, parent, 0); //! [9] beginMoveRows(parent, 2, 2, parent, 4); //! [9] - - -//! [10] -class CustomDataProxy : public QSortFilterProxyModel -{ - Q_OBJECT -public: - CustomDataProxy(QObject *parent) - : QSortFilterProxyModel(parent) - { - } - - ... - - QVariant data(const QModelIndex &index, int role) - { - if (role != Qt::BackgroundRole) - return QSortFilterProxyModel::data(index, role); - - if (m_customData.contains(index.row())) - return m_customData.value(index.row()); - return QSortFilterProxyModel::data(index, role); - } - -private slots: - void resetInternalData() - { - m_customData.clear(); - } - -private: - QHash<int, QVariant> m_customData; -}; -//! [10] - diff --git a/doc/src/snippets/code/src_gui_itemviews_qidentityproxymodel.cpp b/doc/src/snippets/code/src_gui_itemviews_qidentityproxymodel.cpp new file mode 100644 index 0000000..6bf6c89 --- /dev/null +++ b/doc/src/snippets/code/src_gui_itemviews_qidentityproxymodel.cpp @@ -0,0 +1,64 @@ +/**************************************************************************** +** +** Copyright (C) 2011 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Stephen Kelly <stephen.kelly@kdab.com> +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the QtGui module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:BSD$ +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are +** met: +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in +** the documentation and/or other materials provided with the +** distribution. +** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor +** the names of its contributors may be used to endorse or promote +** products derived from this software without specific prior written +** permission. +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +** $QT_END_LICENSE$ +** +****************************************************************************/ + +//! [0] +class DateFormatProxyModel : public QIdentityProxyModel +{ + // ... + + void setDateFormatString(const QString &formatString) + { + m_formatString = formatString; + } + + QVariant data(const QModelIndex &index, int role) + { + if (role != Qt::DisplayRole) + return QIdentityProxyModel::data(index, role); + + const QDateTime dateTime = sourceModel()->data(SourceClass::DateRole).toDateTime(); + + return dateTime.toString(m_formatString); + } + +private: + QString m_formatString; +}; +//! [0] diff --git a/examples/declarative/touchinteraction/pincharea/pincharea.qmlproject b/examples/declarative/touchinteraction/pincharea/pincharea.qmlproject new file mode 100644 index 0000000..e526217 --- /dev/null +++ b/examples/declarative/touchinteraction/pincharea/pincharea.qmlproject @@ -0,0 +1,18 @@ +/* File generated by QtCreator */ + +import QmlProject 1.0 + +Project { + /* Include .qml, .js, and image files from current directory and subdirectories */ + QmlFiles { + directory: "." + } + JavaScriptFiles { + directory: "." + } + ImageFiles { + directory: "." + } + /* List of plugin directories passed to QML runtime */ + // importPaths: [ " ../exampleplugin " ] +} diff --git a/mkspecs/common/symbian/symbian.conf b/mkspecs/common/symbian/symbian.conf index 1468e08..5bf8728 100644 --- a/mkspecs/common/symbian/symbian.conf +++ b/mkspecs/common/symbian/symbian.conf @@ -57,7 +57,8 @@ QMAKE_INCDIR = QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS] QMAKE_LFLAGS = -QMAKE_LFLAGS.ARMCC = +QMAKE_LFLAGS.ARMCC = +QMAKE_LFLAGS.GCCE = QMAKE_LFLAGS_EXCEPTIONS_ON = QMAKE_LFLAGS_EXCEPTIONS_OFF = QMAKE_LFLAGS_RELEASE = @@ -83,7 +84,7 @@ QMAKE_LIBS_OPENGL_ES2_QT = $$QMAKE_LIBS_OPENGL_ES2 $$QMAKE_LIBS_CFBSBITMAP -lcon QMAKE_LIBS_OPENVG = $$QMAKE_LIBS_CFBSBITMAP -llibOpenVG QMAKE_LIBS_THREAD = -llibpthread QMAKE_LIBS_COMPAT = -QMAKE_LIBS_S60 = -lavkon -leikcoctl +QMAKE_LIBS_S60 = -lavkon -leikcoctl -lgfxtrans exists($${EPOCROOT}epoc32/include/platform/sgresource/sgimage.h) { QMAKE_LIBS_OPENVG += -lsgresource @@ -163,34 +164,39 @@ exists($${EPOCROOT}epoc32/tools/qt/mkspecs/features/environment.prf) { # Try to detect SDK version if it wasn't set by environment.prf isEmpty(SYMBIAN_VERSION)|isEmpty(S60_VERSION) { - exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v5.3.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v5.3.sis) { - isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = Symbian3 - isEmpty(S60_VERSION): S60_VERSION = 5.3 + exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v5.4.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v5.4.sis) { + isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = 5.4 + isEmpty(S60_VERSION): S60_VERSION = 5.4 } else { - # The Symbian^3 PDK does not necessarily contain the required sis files. - # However, libstdcppv5 first appeared in Symbian^3 (S60 5.2), so check for that too. - exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v5.2.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v5.2.sis)|exists($${EPOCROOT}epoc32/release/armv5/lib/libstdcppv5.dso) { - isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = Symbian3 - isEmpty(S60_VERSION): S60_VERSION = 5.2 + exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v5.3.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v5.3.sis) { + isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = 5.3 + isEmpty(S60_VERSION): S60_VERSION = 5.3 } else { - exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v5.1.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v5.1.sis) { - isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = Symbian2 - isEmpty(S60_VERSION): S60_VERSION = 5.1 + # The Symbian^3 PDK does not necessarily contain the required sis files. + # However, libstdcppv5 first appeared in Symbian^3 (S60 5.2), so check for that too. + exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v5.2.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v5.2.sis)|exists($${EPOCROOT}epoc32/release/armv5/lib/libstdcppv5.dso) { + isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = Symbian3 + isEmpty(S60_VERSION): S60_VERSION = 5.2 } else { - exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v5.0.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v5.0.sis) { - isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = 9.4 - isEmpty(S60_VERSION): S60_VERSION = 5.0 + exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v5.1.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v5.1.sis) { + isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = Symbian2 + isEmpty(S60_VERSION): S60_VERSION = 5.1 } else { - exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v3.2.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v3.2.sis) { - isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = 9.3 - isEmpty(S60_VERSION): S60_VERSION = 3.2 + exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v5.0.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v5.0.sis) { + isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = 9.4 + isEmpty(S60_VERSION): S60_VERSION = 5.0 } else { - exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v3.1.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v3.1.sis) { - isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = 9.2 - isEmpty(S60_VERSION): S60_VERSION = 3.1 + exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v3.2.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v3.2.sis) { + isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = 9.3 + isEmpty(S60_VERSION): S60_VERSION = 3.2 } else { - isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = Unknown - isEmpty(S60_VERSION): S60_VERSION = Unknown + exists($${EPOCROOT}epoc32/release/winscw/udeb/z/system/install/series60v3.1.sis)|exists($${EPOCROOT}epoc32/data/z/system/install/series60v3.1.sis) { + isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = 9.2 + isEmpty(S60_VERSION): S60_VERSION = 3.1 + } else { + isEmpty(SYMBIAN_VERSION): SYMBIAN_VERSION = Unknown + isEmpty(S60_VERSION): S60_VERSION = Unknown + } } } } diff --git a/mkspecs/features/incredibuild_xge.prf b/mkspecs/features/incredibuild_xge.prf index a81a0cc..97ccc44 100644 --- a/mkspecs/features/incredibuild_xge.prf +++ b/mkspecs/features/incredibuild_xge.prf @@ -1,4 +1,4 @@ -contains(TEMPLATE, "vc.*")|contains(TEMPLATE_PREFIX, "vc") { +contains(TEMPLATE, "vc.*") { EOC = $$escape_expand(\\n\\t) # The VCPROJ generator will replace the \r\h with the coded \r\n: 
 diff --git a/mkspecs/features/moc.prf b/mkspecs/features/moc.prf index 89e9b40..d0b36e4 100644 --- a/mkspecs/features/moc.prf +++ b/mkspecs/features/moc.prf @@ -16,7 +16,7 @@ win32:count($$list($$INCLUDEPATH), 40, >) { EOC = $$escape_expand(\\n\\t) - if(contains(TEMPLATE, "vc.*")|contains(TEMPLATE_PREFIX, "vc")) { + contains(TEMPLATE, "vc.*") { # the VCPROJ generator will replace the \r\h with the coded \r\n: 
 # No other generator understands the \h if(win32-msvc2*|wince*msvc*): EOC = $$escape_expand(\\r\\h) @@ -42,7 +42,7 @@ win32:count($$list($$INCLUDEPATH), 40, >) { defineReplace(mocCmdBase) { !isEmpty(WIN_INCLUDETEMP) { RET = - if(contains(TEMPLATE, "vc.*")|contains(TEMPLATE_PREFIX, "vc")) { + contains(TEMPLATE, "vc.*") { RET += $$mocinclude.commands } RET += $$QMAKE_MOC $(DEFINES) @$$WIN_INCLUDETEMP $$join(QMAKE_COMPILER_DEFINES, " -D", -D) @@ -59,7 +59,7 @@ moc_header.output = $$MOC_DIR/$${QMAKE_H_MOD_MOC}${QMAKE_FILE_BASE}$${first(QMAK moc_header.input = HEADERS moc_header.variable_out = SOURCES moc_header.name = MOC ${QMAKE_FILE_IN} -if(!contains(TEMPLATE, "vc.*"):!contains(TEMPLATE_PREFIX, "vc")) { +!contains(TEMPLATE, "vc.*") { !isEmpty(INCLUDETEMP):moc_header.depends += $$INCLUDETEMP } silent:moc_header.commands = @echo moc ${QMAKE_FILE_IN} && $$moc_header.commands @@ -73,7 +73,7 @@ moc_source.commands = ${QMAKE_FUNC_mocCmdBase} ${QMAKE_FILE_IN} -o ${QMAKE_FILE_ moc_source.output = $$MOC_DIR/$${QMAKE_CPP_MOD_MOC}${QMAKE_FILE_BASE}$${QMAKE_EXT_CPP_MOC} moc_source.input = SOURCES OBJECTIVE_SOURCES moc_source.name = MOC ${QMAKE_FILE_IN} -if(!contains(TEMPLATE, "vc.*"):!contains(TEMPLATE_PREFIX, "vc")) { +!contains(TEMPLATE, "vc.*") { !isEmpty(INCLUDETEMP):moc_source.depends += $$INCLUDETEMP } silent:moc_source.commands = @echo moc ${QMAKE_FILE_IN} && $$moc_source.commands diff --git a/mkspecs/features/symbian/do_not_build_as_thumb.prf b/mkspecs/features/symbian/do_not_build_as_thumb.prf index 0f1fd9f..91a63c2 100644 --- a/mkspecs/features/symbian/do_not_build_as_thumb.prf +++ b/mkspecs/features/symbian/do_not_build_as_thumb.prf @@ -5,4 +5,9 @@ symbian-abld|symbian-sbsv2 { QMAKE_CFLAGS += --arm QMAKE_CXXFLAGS -= --thumb QMAKE_CXXFLAGS += --arm +} else:symbian-gcce { + QMAKE_CFLAGS -= --thumb + QMAKE_CFLAGS += -marm -mthumb-interwork -mapcs + QMAKE_CXXFLAGS -= --thumb + QMAKE_CXXFLAGS += -marm -mthumb-interwork -mapcs } diff --git a/mkspecs/features/symbian/symbian_building.prf b/mkspecs/features/symbian/symbian_building.prf index 28046b4..8c75707 100644 --- a/mkspecs/features/symbian/symbian_building.prf +++ b/mkspecs/features/symbian/symbian_building.prf @@ -1,6 +1,7 @@ symbian-armcc { QMAKE_CFLAGS += $$QMAKE_CFLAGS.ARMCC QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS.ARMCC + QMAKE_LFLAGS += $$QMAKE_LFLAGS.ARMCC # This is to prevent inclusion of the shipped RVCT headers, which are often in the # environment variable RVCTxxINC by default. -J prevents the searching of that location, # but needs a path, so just specify somewhere guaranteed not to contain header files. @@ -9,6 +10,7 @@ symbian-armcc { } else:symbian-gcce { QMAKE_CFLAGS += $$QMAKE_CFLAGS.GCCE QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS.GCCE + QMAKE_LFLAGS += $$QMAKE_LFLAGS.GCCE } # We need a target name without the INFIX'ed part, since flags are not infixed. diff --git a/mkspecs/features/uic.prf b/mkspecs/features/uic.prf index 0a18b47..74a2683 100644 --- a/mkspecs/features/uic.prf +++ b/mkspecs/features/uic.prf @@ -77,6 +77,7 @@ uic3 { uic3_moc.input = UIC3_HEADERS uic3_moc.variable_out = GENERATED_SOURCES uic3_moc.name = $$moc_header.name + !contains(TEMPLATE, "vc.*"):!isEmpty(INCLUDETEMP):uic3_moc.depends += $$INCLUDETEMP QMAKE_EXTRA_COMPILERS += uic3_moc } diff --git a/mkspecs/features/win32/embed_manifest_dll.prf b/mkspecs/features/win32/embed_manifest_dll.prf index 013668d..cf96ee7 100644 --- a/mkspecs/features/win32/embed_manifest_dll.prf +++ b/mkspecs/features/win32/embed_manifest_dll.prf @@ -1,4 +1,4 @@ -!if(plugin:no_plugin_manifest):if(win32-msvc2005*|win32-msvc2008*|win32-msvc2010*):!static:!equals(TEMPLATE_PREFIX, "vc"):equals(TEMPLATE, "lib") { +!if(plugin:no_plugin_manifest):if(win32-msvc2005*|win32-msvc2008*|win32-msvc2010*):!static:equals(TEMPLATE, "lib") { MANIFEST_DIR = $$OBJECTS_DIR isEmpty(MANIFEST_DIR):MANIFEST_DIR = . NOPATH_TARGET = $$TARGET diff --git a/mkspecs/features/win32/embed_manifest_exe.prf b/mkspecs/features/win32/embed_manifest_exe.prf index 872949e..9bc7702 100644 --- a/mkspecs/features/win32/embed_manifest_exe.prf +++ b/mkspecs/features/win32/embed_manifest_exe.prf @@ -1,4 +1,4 @@ -if(win32-msvc2005*|win32-msvc2008*|win32-msvc2010*):!equals(TEMPLATE_PREFIX, "vc"):equals(TEMPLATE, "app") { +if(win32-msvc2005*|win32-msvc2008*|win32-msvc2010*):equals(TEMPLATE, "app") { MANIFEST_DIR = $$OBJECTS_DIR isEmpty(MANIFEST_DIR):MANIFEST_DIR = . NOPATH_TARGET = $$TARGET diff --git a/mkspecs/features/win32/qaxserver.prf b/mkspecs/features/win32/qaxserver.prf index 2899976..a6c0869 100644 --- a/mkspecs/features/win32/qaxserver.prf +++ b/mkspecs/features/win32/qaxserver.prf @@ -8,12 +8,7 @@ isEmpty(ACTIVEQT_VERSION):ACTIVEQT_VERSION = 1.0 DEFINES += QAXSERVER -ACTIVEQT_IDE = makefile -equals(TEMPLATE_PREFIX, "vc"):ACTIVEQT_IDE = VisualStudio -equals(TEMPLATE, "vcapp"):ACTIVEQT_IDE = VisualStudio -equals(TEMPLATE, "vclib"):ACTIVEQT_IDE = VisualStudio - -equals(ACTIVEQT_IDE, "VisualStudio") { +contains(TEMPLATE, "vc.*") { ACTIVEQT_IDC = $${QMAKE_IDC} ### Qt5: remove me qtPrepareTool(ACTIVEQT_IDC, idc) ACTIVEQT_IDL = $${QMAKE_IDL} @@ -27,8 +22,7 @@ equals(ACTIVEQT_IDE, "VisualStudio") { } ACTIVEQT_TLBOUT = "$(TargetDir)/$${TARGET}.tlb" GENERATED += $${OBJECTS_DIR}/$${TARGET}.idl $${ACTIVEQT_TLBOUT} -} -equals(ACTIVEQT_IDE, "makefile") { +} else { ACTIVEQT_IDC = -$(IDC) ACTIVEQT_IDL = -$(IDL) ACTIVEQT_NEWLINE = $$escape_expand(\\n\\t) diff --git a/mkspecs/symbian-armcc/qmake.conf b/mkspecs/symbian-armcc/qmake.conf index 77a1966..2de3218 100644 --- a/mkspecs/symbian-armcc/qmake.conf +++ b/mkspecs/symbian-armcc/qmake.conf @@ -12,7 +12,7 @@ QMAKE_RVCT_LINKSTYLE = 1 #QMAKE_qtmain_CXXFLAGS = --arm #QMAKE_QtCore_CXXFLAGS = -QMAKE_QtGui_LFLAGS = "--rw-base 0x800000" +#QMAKE_QtGui_LFLAGS = "--rw-base 0x800000" #QMAKE_QtDBus_CXXFLAGS = #QMAKE_QtDeclarative_CXXFLAGS = #QMAKE_QtMultimedia_CXXFLAGS = @@ -27,9 +27,9 @@ QMAKE_QtGui_LFLAGS = "--rw-base 0x800000" #QMAKE_QtTest_CXXFLAGS = #QMAKE_QtXmlPatterns_CXXFLAGS = #QMAKE_QtXml_CXXFLAGS = -QMAKE_QtWebKit_CXXFLAGS = --arm +#QMAKE_QtWebKit_CXXFLAGS = --arm # Move RW-section base address to start from 0xE00000 instead of the toolchain default 0x400000. -QMAKE_QtWebKit_LFLAGS = --rw-base 0xE00000 +#QMAKE_QtWebKit_LFLAGS = --rw-base 0xE00000 QMAKE_CFLAGS += --dllimport_runtime --diag_suppress 186,611,654,1300 --thumb --fpu softvfp --cpu 5T --enum_is_int -Ono_known_library --fpmode ieee_no_fenv --no_vfe --apcs /inter QMAKE_CXXFLAGS += $$QMAKE_CFLAGS diff --git a/mkspecs/symbian-gcce/qmake.conf b/mkspecs/symbian-gcce/qmake.conf index f550751a..17b1c5f 100644 --- a/mkspecs/symbian-gcce/qmake.conf +++ b/mkspecs/symbian-gcce/qmake.conf @@ -20,7 +20,7 @@ QMAKE_AR = arm-none-symbianelf-ar cqs QMAKE_qtmain_CXXFLAGS = -mthumb QMAKE_QtCore_CXXFLAGS = -mthumb -QMAKE_QtGui_LFLAGS = -Ttext 0x8000 -Tdata 0xE00000 +#QMAKE_QtGui_LFLAGS = -Ttext 0x8000 -Tdata 0xE00000 QMAKE_QtDBus_CXXFLAGS = -mthumb QMAKE_QtDeclarative_CXXFLAGS = -mthumb QMAKE_QtMultimedia_CXXFLAGS = -mthumb @@ -35,8 +35,7 @@ QMAKE_QtSvg_CXXFLAGS = -mthumb QMAKE_QtTest_CXXFLAGS = -mthumb QMAKE_QtXmlPatterns_CXXFLAGS = -mthumb QMAKE_QtXml_CXXFLAGS = -mthumb -#TODO fails with; arm-none-symbianelf-ld: section .data loaded at [00e00000,00e05973] overlaps section .text loaded at [00008000,00fe748b] -QMAKE_QtWebKit_LFLAGS = -Ttext 0x8000 -Tdata 0xE00000 +#QMAKE_QtWebKit_LFLAGS = -Ttext 0x8000 -Tdata 0xE00000 # never use -fPIC, gcce-linker doesn't like it. # g++ conf above adds it if the host platform is 64 bit, so we remove it again @@ -59,7 +58,7 @@ QMAKE_LFLAGS_PLUGIN += $$QMAKE_LFLAGS_SHLIB gcceExtraFlags = --include=$${EPOCROOT}epoc32/include/gcce/gcce.h -march=armv5t -mapcs -mthumb-interwork -nostdinc -c -msoft-float -T script QMAKE_CFLAGS += $${gcceExtraFlags} -QMAKE_CXXFLAGS += $${gcceExtraFlags} -x c++ -fexceptions -fno-unit-at-a-time -fvisibility-inlines-hidden +QMAKE_CXXFLAGS += $${gcceExtraFlags} -x c++ -fexceptions -fno-unit-at-a-time -fvisibility-inlines-hidden -Os #If we are not going to link to Qt or qtmain.lib, we need to include this at least once. isEmpty(QT):contains(TEMPLATE, app) { QMAKE_CXXFLAGS += --include=$${EPOCROOT}epoc32/include/stdapis/staticlibinit_gcce.h diff --git a/mkspecs/wince50standard-armv4i-msvc2005/default_post.prf b/mkspecs/wince50standard-armv4i-msvc2005/default_post.prf index 3dab72a..900d758 100644 --- a/mkspecs/wince50standard-armv4i-msvc2005/default_post.prf +++ b/mkspecs/wince50standard-armv4i-msvc2005/default_post.prf @@ -1,6 +1,6 @@ # Visual Studio has some definitions set internally. # Thus we do not need to redefine these. -if(equals(TEMPLATE_PREFIX, "vc") | equals(TEMPLATE, "vc*")) { +equals(TEMPLATE, "vc.*") { DEFINES -= _M_ARM QMAKE_CXXFLAGS += -fp:precise } diff --git a/mkspecs/wince50standard-mipsii-msvc2005/default_post.prf b/mkspecs/wince50standard-mipsii-msvc2005/default_post.prf index d3e49ab..4dbcf35 100644 --- a/mkspecs/wince50standard-mipsii-msvc2005/default_post.prf +++ b/mkspecs/wince50standard-mipsii-msvc2005/default_post.prf @@ -1,6 +1,6 @@ # Visual Studio has some definitions set internally. # Thus we do not need to redefine these. -if(equals(TEMPLATE_PREFIX, "vc") | equals(TEMPLATE, "vc*")) { +contains(TEMPLATE, "vc.*") { DEFINES -= _M_MRX000=3000 QMAKE_CXXFLAGS += -fp:precise } diff --git a/mkspecs/wince50standard-x86-msvc2005/default_post.prf b/mkspecs/wince50standard-x86-msvc2005/default_post.prf index 6790c60..2436efb 100644 --- a/mkspecs/wince50standard-x86-msvc2005/default_post.prf +++ b/mkspecs/wince50standard-x86-msvc2005/default_post.prf @@ -1,6 +1,6 @@ # Visual Studio has some definitions set internally. # Thus we do not need to redefine these. -if(equals(TEMPLATE_PREFIX, "vc") | equals(TEMPLATE, "vc*")) { +equals(TEMPLATE, "vc.*") { QMAKE_CXXFLAGS += -fp:precise } diff --git a/mkspecs/wincewm50pocket-msvc2005/default_post.prf b/mkspecs/wincewm50pocket-msvc2005/default_post.prf index 3dab72a..84ea15e 100644 --- a/mkspecs/wincewm50pocket-msvc2005/default_post.prf +++ b/mkspecs/wincewm50pocket-msvc2005/default_post.prf @@ -1,6 +1,6 @@ # Visual Studio has some definitions set internally. # Thus we do not need to redefine these. -if(equals(TEMPLATE_PREFIX, "vc") | equals(TEMPLATE, "vc*")) { +contains(TEMPLATE, "vc.*") { DEFINES -= _M_ARM QMAKE_CXXFLAGS += -fp:precise } diff --git a/mkspecs/wincewm50smart-msvc2005/default_post.prf b/mkspecs/wincewm50smart-msvc2005/default_post.prf index 3dab72a..84ea15e 100644 --- a/mkspecs/wincewm50smart-msvc2005/default_post.prf +++ b/mkspecs/wincewm50smart-msvc2005/default_post.prf @@ -1,6 +1,6 @@ # Visual Studio has some definitions set internally. # Thus we do not need to redefine these. -if(equals(TEMPLATE_PREFIX, "vc") | equals(TEMPLATE, "vc*")) { +contains(TEMPLATE, "vc.*") { DEFINES -= _M_ARM QMAKE_CXXFLAGS += -fp:precise } diff --git a/mkspecs/wincewm60professional-msvc2005/default_post.prf b/mkspecs/wincewm60professional-msvc2005/default_post.prf index 3dab72a..84ea15e 100644 --- a/mkspecs/wincewm60professional-msvc2005/default_post.prf +++ b/mkspecs/wincewm60professional-msvc2005/default_post.prf @@ -1,6 +1,6 @@ # Visual Studio has some definitions set internally. # Thus we do not need to redefine these. -if(equals(TEMPLATE_PREFIX, "vc") | equals(TEMPLATE, "vc*")) { +contains(TEMPLATE, "vc.*") { DEFINES -= _M_ARM QMAKE_CXXFLAGS += -fp:precise } diff --git a/mkspecs/wincewm60standard-msvc2005/default_post.prf b/mkspecs/wincewm60standard-msvc2005/default_post.prf index 3dab72a..84ea15e 100644 --- a/mkspecs/wincewm60standard-msvc2005/default_post.prf +++ b/mkspecs/wincewm60standard-msvc2005/default_post.prf @@ -1,6 +1,6 @@ # Visual Studio has some definitions set internally. # Thus we do not need to redefine these. -if(equals(TEMPLATE_PREFIX, "vc") | equals(TEMPLATE, "vc*")) { +contains(TEMPLATE, "vc.*") { DEFINES -= _M_ARM QMAKE_CXXFLAGS += -fp:precise } diff --git a/qmake/generators/makefile.cpp b/qmake/generators/makefile.cpp index 9e2be31..4f3b113 100644 --- a/qmake/generators/makefile.cpp +++ b/qmake/generators/makefile.cpp @@ -364,7 +364,7 @@ MakefileGenerator::findFilesInVPATH(QStringList l, uchar flags, const QString &v dir = regex.left(regex.lastIndexOf(Option::dir_sep) + 1); real_dir = dir; if(!(flags & VPATH_NoFixify)) - real_dir = fileFixify(real_dir, qmake_getpwd(), Option::output_dir); + real_dir = fileFixify(real_dir, qmake_getpwd(), Option::output_dir) + '/'; regex.remove(0, dir.length()); } if(real_dir.isEmpty() || exists(real_dir)) { @@ -383,16 +383,15 @@ MakefileGenerator::findFilesInVPATH(QStringList l, uchar flags, const QString &v for(int i = (int)files.count()-1; i >= 0; i--) { if(files[i] == "." || files[i] == "..") continue; - a = dir + files[i]; + a = real_dir + files[i]; if(!(flags & VPATH_NoFixify)) a = fileFixify(a); l.insert(val_it, a); } } } else { - debug_msg(1, "%s:%d Cannot match %s%c%s, as %s does not exist.", + debug_msg(1, "%s:%d Cannot match %s%s, as %s does not exist.", __FILE__, __LINE__, real_dir.toLatin1().constData(), - QDir::separator().toLatin1(), regex.toLatin1().constData(), real_dir.toLatin1().constData()); if(flags & VPATH_RemoveMissingFiles) remove_file = true; @@ -484,19 +483,22 @@ MakefileGenerator::init() subs.at(i).toLatin1().constData()); continue; } - inn = tinn.first(); - outn = toutn.first(); + inn = fileFixify(tinn.first(), qmake_getpwd()); + outn = fileFixify(toutn.first(), qmake_getpwd(), Option::output_dir); } else { - inn = subs.at(i); + inn = fileFixify(subs.at(i), qmake_getpwd()); + if (!QFile::exists(inn)) { + // random insanity for backwards compat: .in file specified with absolute out dir + inn = fileFixify(subs.at(i)); + } if(!inn.endsWith(".in")) { warn_msg(WarnLogic, "Substitute '%s' does not end with '.in'", inn.toLatin1().constData()); continue; } - outn = inn.left(inn.length()-3); + outn = fileFixify(inn.left(inn.length()-3), qmake_getpwd(), Option::output_dir); } - QFile in(fileFixify(inn)); - QFile out(fileFixify(outn, qmake_getpwd(), Option::output_dir)); + QFile in(inn); if(in.open(QFile::ReadOnly)) { QString contents; QStack<int> state; @@ -545,9 +547,10 @@ MakefileGenerator::init() else state.pop(); } else if(state.isEmpty() || state.top() == IN_CONDITION) { - contents += project->expand(line).join(QString(Option::field_sep)); + contents += project->expand(line, in.fileName(), count); } } + QFile out(outn); if(out.exists() && out.open(QFile::ReadOnly)) { QString old = QString::fromUtf8(out.readAll()); if(contents == old) { @@ -782,10 +785,8 @@ MakefileGenerator::init() } { //get the output_dir into the pwd - if(fileFixify(Option::output_dir) != fileFixify(qmake_getpwd())) - project->values("INCLUDEPATH").append(fileFixify(Option::output_dir, - Option::output_dir, - Option::output_dir)); + if(Option::output_dir != qmake_getpwd()) + project->values("INCLUDEPATH").append("."); } //fix up the target deps @@ -1748,7 +1749,7 @@ MakefileGenerator::writeExtraTargets(QTextStream &t) deps += " " + escapeDependencyPath(dep); } if(project->values((*it) + ".CONFIG").indexOf("fix_target") != -1) - targ = fileFixify(targ); + targ = fileFixify(targ, Option::output_dir, Option::output_dir); if(project->isEmpty("QMAKE_NOFORCE") && project->values((*it) + ".CONFIG").indexOf("phony") != -1) deps += QString(" ") + "FORCE"; @@ -2464,7 +2465,7 @@ MakefileGenerator::writeSubTargets(QTextStream &t, QList<MakefileGenerator::SubT //qmake it if(!subtarget->profile.isEmpty()) { QString out = subtarget->makefile; - QString in = fileFixify(in_directory + subtarget->profile, out_directory, QString(), FileFixifyAbsolute); + QString in = fileFixify(in_directory + subtarget->profile, FileFixifyAbsolute); if(out.startsWith(in_directory)) out = out.mid(in_directory.length()); t << mkfile << ": " << "\n\t"; @@ -2816,9 +2817,6 @@ MakefileGenerator::fileFixify(const QString& file, const QString &out_d, const Q QString ret = unescapeFilePath(file); //do the fixin' - QString pwd = qmake_getpwd(); - if (!pwd.endsWith('/')) - pwd += '/'; QString orig_file = ret; if(ret.startsWith(QLatin1Char('~'))) { if(ret.startsWith(QLatin1String("~/"))) @@ -2827,12 +2825,16 @@ MakefileGenerator::fileFixify(const QString& file, const QString &out_d, const Q warn_msg(WarnLogic, "Unable to expand ~ in %s", ret.toLatin1().constData()); } if(fix == FileFixifyAbsolute || (fix == FileFixifyDefault && project->isActiveConfig("no_fixpath"))) { - if(fix == FileFixifyAbsolute && QDir::isRelativePath(ret)) //already absolute + if(fix == FileFixifyAbsolute && QDir::isRelativePath(ret)) { //already absolute + QString pwd = qmake_getpwd(); + if (!pwd.endsWith(QLatin1Char('/'))) + pwd += QLatin1Char('/'); ret.prepend(pwd); + } ret = Option::fixPathToTargetOS(ret, false, canon); } else { //fix it.. QString out_dir = QDir(Option::output_dir).absoluteFilePath(out_d); - QString in_dir = QDir(pwd).absoluteFilePath(in_d); + QString in_dir = QDir(qmake_getpwd()).absoluteFilePath(in_d); { QFileInfo in_fi(fileInfo(in_dir)); if(in_fi.exists()) @@ -2886,6 +2888,7 @@ MakefileGenerator::fileFixify(const QString& file, const QString &out_d, const Q //prepend for(int o = 0; o < i; o++) dot_prefix += ".." + Option::dir_sep; + break; } } ret.prepend(dot_prefix); @@ -2898,7 +2901,7 @@ MakefileGenerator::fileFixify(const QString& file, const QString &out_d, const Q ret = "."; debug_msg(3, "Fixed[%d,%d] %s :: to :: %s [%s::%s] [%s::%s]", fix, canon, orig_file.toLatin1().constData(), ret.toLatin1().constData(), in_d.toLatin1().constData(), out_d.toLatin1().constData(), - pwd.toLatin1().constData(), Option::output_dir.toLatin1().constData()); + qmake_getpwd().toLatin1().constData(), Option::output_dir.toLatin1().constData()); return ret; } diff --git a/qmake/generators/unix/unixmake2.cpp b/qmake/generators/unix/unixmake2.cpp index 212f8bd..9f14492 100644 --- a/qmake/generators/unix/unixmake2.cpp +++ b/qmake/generators/unix/unixmake2.cpp @@ -795,7 +795,8 @@ UnixMakefileGenerator::writeMakeParts(QTextStream &t) ddir = project->first("QMAKE_DISTDIR"); QString ddir_c = escapeFilePath(fileFixify((project->isEmpty("OBJECTS_DIR") ? QString(".tmp/") : - project->first("OBJECTS_DIR")) + ddir)); + project->first("OBJECTS_DIR")) + ddir, + Option::output_dir, Option::output_dir)); t << "dist: " << "\n\t" << mkdir_p_asstring(ddir_c) << "\n\t" << "$(COPY_FILE) --parents $(SOURCES) $(DIST) " << ddir_c << Option::dir_sep << " && "; diff --git a/qmake/generators/win32/msvc_objectmodel.cpp b/qmake/generators/win32/msvc_objectmodel.cpp index 815a476..88a5043 100644 --- a/qmake/generators/win32/msvc_objectmodel.cpp +++ b/qmake/generators/win32/msvc_objectmodel.cpp @@ -2219,6 +2219,9 @@ bool VCFilter::addExtraCompiler(const VCFilterFile &info) Option::fixPathToLocalOS(inFile, true, false), out); if(Project->canExecute(dep_cmd)) { + dep_cmd.prepend(QLatin1String("cd ") + + Project->escapeFilePath(Option::fixPathToLocalOS(Option::output_dir, false)) + + QLatin1String(" && ")); if(FILE *proc = QT_POPEN(dep_cmd.toLatin1().constData(), "r")) { QString indeps; while(!feof(proc)) { @@ -2233,7 +2236,7 @@ bool VCFilter::addExtraCompiler(const VCFilterFile &info) for (int i = 0; i < extradeps.count(); ++i) { QString dd = extradeps.at(i).simplified(); if (!dd.isEmpty()) - deps += Project->fileFixify(dd); + deps += Project->fileFixify(dd, QString(), Option::output_dir); } } } diff --git a/qmake/generators/win32/msvc_vcproj.cpp b/qmake/generators/win32/msvc_vcproj.cpp index 80f5bde..56f3bfd 100644 --- a/qmake/generators/win32/msvc_vcproj.cpp +++ b/qmake/generators/win32/msvc_vcproj.cpp @@ -360,6 +360,25 @@ QUuid VcprojGenerator::increaseUUID(const QUuid &id) return result; } +QStringList VcprojGenerator::collectSubDirs(QMakeProject *proj) +{ + QStringList subdirs; + QStringList tmp_proj_subdirs = proj->variables()["SUBDIRS"]; + for(int x = 0; x < tmp_proj_subdirs.size(); ++x) { + QString tmpdir = tmp_proj_subdirs.at(x); + if(!proj->isEmpty(tmpdir + ".file")) { + if(!proj->isEmpty(tmpdir + ".subdir")) + warn_msg(WarnLogic, "Cannot assign both file and subdir for subdir %s", + tmpdir.toLatin1().constData()); + tmpdir = proj->first(tmpdir + ".file"); + } else if(!proj->isEmpty(tmpdir + ".subdir")) { + tmpdir = proj->first(tmpdir + ".subdir"); + } + subdirs += tmpdir; + } + return subdirs; +} + void VcprojGenerator::writeSubDirs(QTextStream &t) { // Check if all requirements are fulfilled @@ -394,7 +413,6 @@ void VcprojGenerator::writeSubDirs(QTextStream &t) QHash<QString, VcsolutionDepend*> solution_depends; QList<VcsolutionDepend*> solution_cleanup; - QStringList subdirs = project->values("SUBDIRS"); QString oldpwd = qmake_getpwd(); // Make sure that all temp projects are configured @@ -403,16 +421,9 @@ void VcprojGenerator::writeSubDirs(QTextStream &t) QStringList old_after_vars = Option::after_user_vars; Option::after_user_vars.append("CONFIG+=release"); + QStringList subdirs = collectSubDirs(project); for(int i = 0; i < subdirs.size(); ++i) { QString tmp = subdirs.at(i); - if(!project->isEmpty(tmp + ".file")) { - if(!project->isEmpty(tmp + ".subdir")) - warn_msg(WarnLogic, "Cannot assign both file and subdir for subdir %s", - tmp.toLatin1().constData()); - tmp = project->first(tmp + ".file"); - } else if(!project->isEmpty(tmp + ".subdir")) { - tmp = project->first(tmp + ".subdir"); - } QFileInfo fi(fileInfo(Option::fixPathToLocalOS(tmp, true))); if(fi.exists()) { if(fi.isDir()) { @@ -436,19 +447,8 @@ void VcprojGenerator::writeSubDirs(QTextStream &t) continue; } if(tmp_proj.first("TEMPLATE") == "vcsubdirs") { - QStringList tmp_proj_subdirs = tmp_proj.variables()["SUBDIRS"]; - for(int x = 0; x < tmp_proj_subdirs.size(); ++x) { - QString tmpdir = tmp_proj_subdirs.at(x); - if(!tmp_proj.isEmpty(tmpdir + ".file")) { - if(!tmp_proj.isEmpty(tmpdir + ".subdir")) - warn_msg(WarnLogic, "Cannot assign both file and subdir for subdir %s", - tmpdir.toLatin1().constData()); - tmpdir = tmp_proj.first(tmpdir + ".file"); - } else if(!tmp_proj.isEmpty(tmpdir + ".subdir")) { - tmpdir = tmp_proj.first(tmpdir + ".subdir"); - } + foreach(const QString &tmpdir, collectSubDirs(&tmp_proj)) subdirs += fileFixify(tmpdir); - } } else if(tmp_proj.first("TEMPLATE") == "vcapp" || tmp_proj.first("TEMPLATE") == "vclib") { // Initialize a 'fake' project to get the correct variables // and to be able to extract all the dependencies @@ -1319,6 +1319,9 @@ void VcprojGenerator::initResourceFiles() dep_cmd = Option::fixPathToLocalOS(dep_cmd, true, false); if(canExecute(dep_cmd)) { + dep_cmd.prepend(QLatin1String("cd ") + + escapeFilePath(Option::fixPathToLocalOS(Option::output_dir, false)) + + QLatin1String(" && ")); if(FILE *proc = QT_POPEN(dep_cmd.toLatin1().constData(), "r")) { QString indeps; while(!feof(proc)) { @@ -1329,7 +1332,8 @@ void VcprojGenerator::initResourceFiles() } QT_PCLOSE(proc); if(!indeps.isEmpty()) - deps += fileFixify(indeps.replace('\n', ' ').simplified().split(' ')); + deps += fileFixify(indeps.replace('\n', ' ').simplified().split(' '), + QString(), Option::output_dir); } } } diff --git a/qmake/generators/win32/msvc_vcproj.h b/qmake/generators/win32/msvc_vcproj.h index fdcd73f..afe8f9f 100644 --- a/qmake/generators/win32/msvc_vcproj.h +++ b/qmake/generators/win32/msvc_vcproj.h @@ -131,6 +131,7 @@ protected: QList<VcprojGenerator*> mergedProjects; private: + QStringList collectSubDirs(QMakeProject *proj); QUuid increaseUUID(const QUuid &id); friend class VCFilter; }; diff --git a/qmake/project.cpp b/qmake/project.cpp index 815f210..d4fa786 100644 --- a/qmake/project.cpp +++ b/qmake/project.cpp @@ -1342,10 +1342,10 @@ QMakeProject::read(uchar cmd) } if(QDir::isRelativePath(qmakespec)) { - if (QFile::exists(qmakespec+"/qmake.conf")) { - Option::mkfile::qmakespec = QFileInfo(Option::mkfile::qmakespec).absoluteFilePath(); - } else if (QFile::exists(Option::output_dir+"/"+qmakespec+"/qmake.conf")) { + if (QFile::exists(Option::output_dir+"/"+qmakespec+"/qmake.conf")) { qmakespec = Option::mkfile::qmakespec = QFileInfo(Option::output_dir+"/"+qmakespec).absoluteFilePath(); + } else if (QFile::exists(qmakespec+"/qmake.conf")) { + Option::mkfile::qmakespec = QFileInfo(Option::mkfile::qmakespec).absoluteFilePath(); } else { bool found_mkspec = false; for(QStringList::ConstIterator it = mkspec_roots.begin(); it != mkspec_roots.end(); ++it) { @@ -2770,6 +2770,20 @@ QMakeProject::expand(const QString &str) return QStringList(); } +QString +QMakeProject::expand(const QString &str, const QString &file, int line) +{ + bool ok; + parser_info pi = parser; + parser.file = file; + parser.line_no = line; + parser.from_file = false; + QMap<QString, QStringList> tmp = vars; + const QStringList ret = doVariableReplaceExpand(str, tmp, &ok); + parser = pi; + return ok ? ret.join(QString(Option::field_sep)) : QString(); +} + QStringList QMakeProject::expand(const QString &func, const QList<QStringList> &args) { @@ -3025,17 +3039,17 @@ QStringList &QMakeProject::values(const QString &_var, QMap<QString, QStringList if(!Option::user_template.isEmpty()) { var = ".BUILTIN.USER." + var; place[var] = QStringList(Option::user_template); - } else if(!place[var].isEmpty()) { - QString orig_template = place["TEMPLATE"].first(), real_template; + } else { + QString orig_template, real_template; + if(!place[var].isEmpty()) + orig_template = place[var].first(); + real_template = orig_template.isEmpty() ? "app" : orig_template; if(!Option::user_template_prefix.isEmpty() && !orig_template.startsWith(Option::user_template_prefix)) - real_template = Option::user_template_prefix + orig_template; - if(!real_template.isEmpty()) { + real_template.prepend(Option::user_template_prefix); + if(real_template != orig_template) { var = ".BUILTIN." + var; place[var] = QStringList(real_template); } - } else { - var = ".BUILTIN." + var; - place[var] = QStringList("app"); } } else if(var.startsWith(QLatin1String("QMAKE_HOST."))) { QString ret, type = var.mid(11); diff --git a/qmake/project.h b/qmake/project.h index 09aa45e..0e6131d 100644 --- a/qmake/project.h +++ b/qmake/project.h @@ -144,6 +144,7 @@ public: QMap<QString, QStringList> &place); QStringList expand(const QString &v); + QString expand(const QString &v, const QString &file, int line); QStringList expand(const QString &func, const QList<QStringList> &args); bool test(const QString &v); bool test(const QString &func, const QList<QStringList> &args); diff --git a/src/3rdparty/phonon/phonon/audiooutputadaptor.cpp b/src/3rdparty/phonon/phonon/audiooutputadaptor.cpp index 2c01773..959172d 100644 --- a/src/3rdparty/phonon/phonon/audiooutputadaptor.cpp +++ b/src/3rdparty/phonon/phonon/audiooutputadaptor.cpp @@ -1,3 +1,28 @@ +/* This file is part of the KDE project + The following license applies to the edits made to the generated + source code: + + Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). + Copyright (C) 2009 Matthias Kretz. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) version 3, or any + later version accepted by the membership of KDE e.V. (or its + successor approved by the membership of KDE e.V.), Nokia Corporation + (or its successors, if any) and the KDE Free Qt Foundation, which shall + act as a proxy defined in Section 6 of version 3 of the license. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see <http://www.gnu.org/licenses/>. + +*/ /* * This file was generated by dbusidl2cpp version 0.4 * when processing input file org.kde.Phonon.AudioOutput.xml diff --git a/src/3rdparty/phonon/phonon/audiooutputadaptor_p.h b/src/3rdparty/phonon/phonon/audiooutputadaptor_p.h index 7178e9b..140a74f 100644 --- a/src/3rdparty/phonon/phonon/audiooutputadaptor_p.h +++ b/src/3rdparty/phonon/phonon/audiooutputadaptor_p.h @@ -1,3 +1,28 @@ +/* This file is part of the KDE project + The following license applies to the edits made to the generated + source code: + + Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). + Copyright (C) 2009 Matthias Kretz. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) version 3, or any + later version accepted by the membership of KDE e.V. (or its + successor approved by the membership of KDE e.V.), Nokia Corporation + (or its successors, if any) and the KDE Free Qt Foundation, which shall + act as a proxy defined in Section 6 of version 3 of the license. + + This library 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see <http://www.gnu.org/licenses/>. + +*/ /* * This file was generated by dbusidl2cpp version 0.4 * when processing input file org.kde.Phonon.AudioOutput.xml diff --git a/src/3rdparty/webkit/JavaScriptCore/wtf/MathExtras.h b/src/3rdparty/webkit/JavaScriptCore/wtf/MathExtras.h index f8bace4..9349b48 100644 --- a/src/3rdparty/webkit/JavaScriptCore/wtf/MathExtras.h +++ b/src/3rdparty/webkit/JavaScriptCore/wtf/MathExtras.h @@ -190,7 +190,7 @@ inline float deg2turn(float d) { return d / 360.0f; } inline float rad2grad(float r) { return r * 200.0f / piFloat; } inline float grad2rad(float g) { return g * piFloat / 200.0f; } -#if !COMPILER(MSVC) && !COMPILER(RVCT) && !OS(ANDROID) && !COMPILER(WINSCW) +#if !COMPILER(MSVC) && !OS(ANDROID) && !OS(SYMBIAN) using std::isfinite; using std::isinf; using std::isnan; diff --git a/src/3rdparty/webkit/WebCore/WebCore.pro b/src/3rdparty/webkit/WebCore/WebCore.pro index 2de6961..ccb6707 100644 --- a/src/3rdparty/webkit/WebCore/WebCore.pro +++ b/src/3rdparty/webkit/WebCore/WebCore.pro @@ -37,15 +37,14 @@ symbian: { # Need to guarantee that these come before system includes of /epoc32/include MMP_RULES += "USERINCLUDE rendering" MMP_RULES += "USERINCLUDE platform/text" - symbian-abld|symbian-sbsv2 { - # RO text (code) section in qtwebkit.dll exceeds allocated space for gcce udeb target. - # Move RW-section base address to start from 0xE00000 instead of the toolchain default 0x400000. - QMAKE_LFLAGS.ARMCC += --rw-base 0xE00000 - MMP_RULES += ALWAYS_BUILD_AS_ARM - } else { - QMAKE_CFLAGS -= --thumb - QMAKE_CXXFLAGS -= --thumb - } + + # RO text (code) section in qtwebkit.dll exceeds allocated space for gcce udeb target. + # Move RW-section base address to start from 0xE00000 instead of the toolchain default 0x400000. + QMAKE_LFLAGS.ARMCC += --rw-base 0xE00000 + QMAKE_LFLAGS.GCCE += -Tdata 0x1000000 + + CONFIG += do_not_build_as_thumb + CONFIG(release, debug|release): QMAKE_CXXFLAGS.ARMCC += -OTime -O3 } diff --git a/src/activeqt/shared/qaxtypes.cpp b/src/activeqt/shared/qaxtypes.cpp index c48b55b..8835caf 100644 --- a/src/activeqt/shared/qaxtypes.cpp +++ b/src/activeqt/shared/qaxtypes.cpp @@ -265,7 +265,7 @@ bool QVariantToVARIANT(const QVariant &var, VARIANT &arg, const QByteArray &type return QVariantToVARIANT(var, *arg.pvarVal, typeName, false); } - if (out && proptype == QVariant::Invalid && typeName == "QVariant") { + if (out && proptype == QVariant::UserType && typeName == "QVariant") { VARIANT *pVariant = new VARIANT; QVariantToVARIANT(var, *pVariant, QByteArray(), false); arg.vt = VT_VARIANT|VT_BYREF; diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp index 97b4407..a6b9bdd 100644 --- a/src/corelib/global/qglobal.cpp +++ b/src/corelib/global/qglobal.cpp @@ -1199,10 +1199,12 @@ bool qSharedBuild() \value SV_9_2 Symbian OS v9.2 \value SV_9_3 Symbian OS v9.3 \value SV_9_4 Symbian OS v9.4 - \value SV_SF_1 Symbian^1 + \value SV_SF_1 S60 5th Edition (Symbian^1) \value SV_SF_2 Symbian^2 - \value SV_SF_3 Symbian^3 + \value SV_SF_3 Symbian^3 or Symbian Anna \value SV_SF_4 \e{This enum value is deprecated.} + \value SV_API_5_3 Symbian/S60 API version 5.3 release + \value SV_API_5_4 Symbian/S60 API version 5.4 release \value SV_Unknown An unknown and currently unsupported platform \sa S60Version, WinVersion, MacVersion @@ -1219,9 +1221,10 @@ bool qSharedBuild() \value SV_S60_3_1 S60 3rd Edition Feature Pack 1 \value SV_S60_3_2 S60 3rd Edition Feature Pack 2 \value SV_S60_5_0 S60 5th Edition - \value SV_S60_5_1 S60 5th Edition Feature Pack 1 - \value SV_S60_5_2 Symbian^3 - \value SV_S60_5_3 To be determined - FIXME + \value SV_S60_5_1 \e{This enum value is deprecated.} + \value SV_S60_5_2 Symbian^3 and Symbian Anna + \value SV_S60_5_3 Symbian/S60 API version 5.3 release + \value SV_S60_5_4 Symbian/S60 API version 5.4 release \value SV_S60_Unknown An unknown and currently unsupported platform \omitvalue SV_S60_None @@ -1866,9 +1869,12 @@ static void symbianInitVersions() } else if (minor == 2) { cachedS60Version = QSysInfo::SV_S60_5_2; cachedSymbianVersion = QSysInfo::SV_SF_3; - } else if (minor >= 3) { + } else if (minor == 3) { cachedS60Version = QSysInfo::SV_S60_5_3; - cachedSymbianVersion = QSysInfo::SV_SF_3; + cachedSymbianVersion = QSysInfo::SV_API_5_3; + } else if (minor >= 4) { + cachedS60Version = QSysInfo::SV_S60_5_4; + cachedSymbianVersion = QSysInfo::SV_API_5_4; } } } @@ -1894,7 +1900,10 @@ static void symbianInitVersions() cachedSymbianVersion = QSysInfo::SV_SF_3; # elif defined(S60_VERSION_5_3) cachedS60Version = QSysInfo::SV_S60_5_3; - cachedSymbianVersion = QSysInfo::SV_SF_3; + cachedSymbianVersion = QSysInfo::SV_API_5_3; +# elif defined(S60_VERSION_5_4) + cachedS60Version = QSysInfo::SV_S60_5_4; + cachedSymbianVersion = QSysInfo::SV_API_5_4; # endif } # endif diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index c2244cd..49f5f98 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -1617,7 +1617,9 @@ public: SV_SF_1 = SV_9_4, SV_SF_2 = 40, SV_SF_3 = 50, - SV_SF_4 = 60 // Deprecated + SV_SF_4 = 60, // Deprecated + SV_API_5_3 = 70, + SV_API_5_4 = 80 }; static SymbianVersion symbianVersion(); enum S60Version { @@ -1626,9 +1628,10 @@ public: SV_S60_3_1 = SV_9_2, SV_S60_3_2 = SV_9_3, SV_S60_5_0 = SV_9_4, - SV_S60_5_1 = SV_SF_2, + SV_S60_5_1 = SV_SF_2, // Deprecated SV_S60_5_2 = SV_SF_3, - SV_S60_5_3 = 70 + SV_S60_5_3 = SV_API_5_3, + SV_S60_5_4 = SV_API_5_4 }; static S60Version s60Version(); #endif @@ -2752,7 +2755,8 @@ QT_LICENSED_MODULE(DBus) #if !(defined(Q_WS_WIN) && !defined(Q_WS_WINCE)) \ && !(defined(Q_WS_MAC) && defined(QT_MAC_USE_COCOA)) \ - && !(defined(Q_WS_X11) && !defined(QT_NO_FREETYPE)) + && !(defined(Q_WS_X11) && !defined(QT_NO_FREETYPE)) \ + && !(defined(Q_WS_QPA)) # define QT_NO_RAWFONT #endif diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h index f015ed0..75ce68a 100644 --- a/src/corelib/global/qnamespace.h +++ b/src/corelib/global/qnamespace.h @@ -525,8 +525,8 @@ public: #endif WA_X11DoNotAcceptFocus = 132, - - WA_MacNoShadow = 133, + WA_SymbianNoSystemRotation = 133, + WA_MacNoShadow = 134, // Add new attributes before this line WA_AttributeCount diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index 07a9503..7cc0814 100644 --- a/src/corelib/global/qnamespace.qdoc +++ b/src/corelib/global/qnamespace.qdoc @@ -1251,6 +1251,7 @@ \omitvalue WA_SetWindowModality \omitvalue WA_WState_WindowOpacitySet \omitvalue WA_WState_AcceptedTouchBeginEvent + \omitvalue WA_SymbianNoSystemRotation */ /*! \typedef Qt::HANDLE diff --git a/src/corelib/kernel/qabstractitemmodel.h b/src/corelib/kernel/qabstractitemmodel.h index 6de3bf5..7bed3a2 100644 --- a/src/corelib/kernel/qabstractitemmodel.h +++ b/src/corelib/kernel/qabstractitemmodel.h @@ -162,6 +162,7 @@ class Q_CORE_EXPORT QAbstractItemModel : public QObject friend class QPersistentModelIndexData; friend class QAbstractItemViewPrivate; + friend class QIdentityProxyModel; public: explicit QAbstractItemModel(QObject *parent = 0); diff --git a/src/corelib/kernel/qeventdispatcher_symbian.cpp b/src/corelib/kernel/qeventdispatcher_symbian.cpp index 471028e..e0eeb08 100644 --- a/src/corelib/kernel/qeventdispatcher_symbian.cpp +++ b/src/corelib/kernel/qeventdispatcher_symbian.cpp @@ -234,8 +234,10 @@ void QWakeUpActiveObject::RunL() QTimerActiveObject::QTimerActiveObject(QEventDispatcherSymbian *dispatcher, SymbianTimerInfo *timerInfo) : QActiveObject((timerInfo->interval) ? TIMER_PRIORITY : NULLTIMER_PRIORITY , dispatcher), - m_timerInfo(timerInfo) + m_timerInfo(timerInfo), m_expectedTimeSinceLastEvent(0) { + // start the timeout timer to ensure initialisation + m_timeoutTimer.start(); } QTimerActiveObject::~QTimerActiveObject() @@ -279,10 +281,23 @@ void QTimerActiveObject::StartTimer() m_rTimer.After(iStatus, MAX_SYMBIAN_TIMEOUT_MS * 1000); m_timerInfo->msLeft -= MAX_SYMBIAN_TIMEOUT_MS; } else { - //HighRes gives the 1ms accuracy expected by Qt, the +1 is to ensure that - //"Timers will never time out earlier than the specified timeout value" - //condition is always met. - m_rTimer.HighRes(iStatus, (m_timerInfo->msLeft + 1) * 1000); + // this algorithm implements drift correction for repeating timers + // calculate how late we are for this event + int timeSinceLastEvent = m_timeoutTimer.restart(); + int overshoot = timeSinceLastEvent - m_expectedTimeSinceLastEvent; + if (overshoot > m_timerInfo->msLeft) { + // we skipped a whole timeout, restart from here + overshoot = 0; + } + // calculate when the next event should happen + int waitTime = m_timerInfo->msLeft - overshoot; + m_expectedTimeSinceLastEvent = waitTime; + // limit the actual ms wait time to avoid wild corrections + // this will cause the real event time to slowly drift back to the expected event time + // measurements show that Symbian timers always fire 1 or 2 ms late + const int limit = 4; + waitTime = qMax(m_timerInfo->msLeft - limit, waitTime); + m_rTimer.HighRes(iStatus, waitTime * 1000); m_timerInfo->msLeft = 0; } SetActive(); @@ -329,6 +344,8 @@ void QTimerActiveObject::Start() if (!m_rTimer.Handle()) { qt_symbian_throwIfError(m_rTimer.CreateLocal()); } + m_timeoutTimer.start(); + m_expectedTimeSinceLastEvent = 0; StartTimer(); } else { iStatus = KRequestPending; diff --git a/src/corelib/kernel/qeventdispatcher_symbian_p.h b/src/corelib/kernel/qeventdispatcher_symbian_p.h index 6e04bb1..6fdd4b2 100644 --- a/src/corelib/kernel/qeventdispatcher_symbian_p.h +++ b/src/corelib/kernel/qeventdispatcher_symbian_p.h @@ -150,6 +150,8 @@ private: private: SymbianTimerInfo *m_timerInfo; + QElapsedTimer m_timeoutTimer; + int m_expectedTimeSinceLastEvent; RTimer m_rTimer; }; diff --git a/src/corelib/thread/qthread_win.cpp b/src/corelib/thread/qthread_win.cpp index bab6cf8..bdade1d 100644 --- a/src/corelib/thread/qthread_win.cpp +++ b/src/corelib/thread/qthread_win.cpp @@ -300,7 +300,7 @@ void QThreadPrivate::createEventDispatcher(QThreadData *data) #ifndef QT_NO_THREAD -unsigned int __stdcall QThreadPrivate::start(void *arg) +unsigned int __stdcall QT_ENSURE_STACK_ALIGNED_FOR_SSE QThreadPrivate::start(void *arg) { QThread *thr = reinterpret_cast<QThread *>(arg); QThreadData *data = QThreadData::get2(thr); diff --git a/src/declarative/debugger/qdeclarativedebugserver.cpp b/src/declarative/debugger/qdeclarativedebugserver.cpp index e43b90d..c7bdcb6 100644 --- a/src/declarative/debugger/qdeclarativedebugserver.cpp +++ b/src/declarative/debugger/qdeclarativedebugserver.cpp @@ -91,7 +91,7 @@ public: QStringList clientPlugins; bool gotHello; - static QDeclarativeDebugServerConnection *loadConnectionPlugin(); + static QDeclarativeDebugServerConnection *loadConnectionPlugin(const QString &pluginName); }; QDeclarativeDebugServerPrivate::QDeclarativeDebugServerPrivate() : @@ -113,7 +113,8 @@ void QDeclarativeDebugServerPrivate::advertisePlugins() connection->send(message); } -QDeclarativeDebugServerConnection *QDeclarativeDebugServerPrivate::loadConnectionPlugin() +QDeclarativeDebugServerConnection *QDeclarativeDebugServerPrivate::loadConnectionPlugin( + const QString &pluginName) { QStringList pluginCandidates; const QStringList paths = QCoreApplication::libraryPaths(); @@ -122,7 +123,8 @@ QDeclarativeDebugServerConnection *QDeclarativeDebugServerPrivate::loadConnectio if (dir.exists()) { QStringList plugins(dir.entryList(QDir::Files)); foreach (const QString &pluginPath, plugins) { - pluginCandidates << dir.absoluteFilePath(pluginPath); + if (QFileInfo(pluginPath).fileName().contains(pluginName)) + pluginCandidates << dir.absoluteFilePath(pluginPath); } } } @@ -166,7 +168,7 @@ QDeclarativeDebugServer *QDeclarativeDebugServer::instance() bool block = false; bool ok = false; - // format: qmljsdebugger=port:3768[,block] + // format: qmljsdebugger=port:3768[,block] OR qmljsdebugger=ost[,block] if (!appD->qmljsDebugArgumentsString().isEmpty()) { if (!QDeclarativeEnginePrivate::qml_debugging_enabled) { const QString message = @@ -177,24 +179,30 @@ QDeclarativeDebugServer *QDeclarativeDebugServer::instance() return 0; } + QString pluginName; if (appD->qmljsDebugArgumentsString().indexOf(QLatin1String("port:")) == 0) { int separatorIndex = appD->qmljsDebugArgumentsString().indexOf(QLatin1Char(',')); port = appD->qmljsDebugArgumentsString().mid(5, separatorIndex - 5).toInt(&ok); + pluginName = QLatin1String("qmldbg_tcp"); + } else if (appD->qmljsDebugArgumentsString().contains(QLatin1String("ost"))) { + pluginName = QLatin1String("qmldbg_ost"); + ok = true; } + block = appD->qmljsDebugArgumentsString().contains(QLatin1String("block")); if (ok) { server = new QDeclarativeDebugServer(); QDeclarativeDebugServerConnection *connection - = QDeclarativeDebugServerPrivate::loadConnectionPlugin(); + = QDeclarativeDebugServerPrivate::loadConnectionPlugin(pluginName); if (connection) { server->d_func()->connection = connection; connection->setServer(server); connection->setPort(port, block); } else { - qWarning() << QString::fromAscii("QDeclarativeDebugServer: Ignoring\"-qmljsdebugger=%1\". " + qWarning() << QString::fromAscii("QDeclarativeDebugServer: Ignoring \"-qmljsdebugger=%1\". " "Remote debugger plugin has not been found.").arg(appD->qmljsDebugArgumentsString()); } diff --git a/src/declarative/graphicsitems/qdeclarativegridview.cpp b/src/declarative/graphicsitems/qdeclarativegridview.cpp index 174114f..f30831d 100644 --- a/src/declarative/graphicsitems/qdeclarativegridview.cpp +++ b/src/declarative/graphicsitems/qdeclarativegridview.cpp @@ -584,6 +584,26 @@ void QDeclarativeGridViewPrivate::refill(qreal from, qreal to, bool doBuffer) --i; modelIndex = visibleItems.at(i)->index + 1; } + + if (visibleItems.count() && (fillFrom > rowPos + rowSize()*2 + || fillTo < rowPosAt(visibleIndex) - rowSize())) { + // We've jumped more than a page. Estimate which items are now + // visible and fill from there. + int count = (fillFrom - (rowPos + rowSize())) / (rowSize()) * columns; + for (int i = 0; i < visibleItems.count(); ++i) + releaseItem(visibleItems.at(i)); + visibleItems.clear(); + modelIndex += count; + if (modelIndex >= model->count()) + modelIndex = model->count() - 1; + else if (modelIndex < 0) + modelIndex = 0; + modelIndex = modelIndex / columns * columns; + visibleIndex = modelIndex; + colPos = colPosAt(visibleIndex); + rowPos = rowPosAt(visibleIndex); + } + int colNum = colPos / colSize(); FxGridItem *item = 0; @@ -2230,7 +2250,7 @@ qreal QDeclarativeGridView::maxXExtent() const qreal extent; qreal highlightStart; qreal highlightEnd; - qreal lastItemPosition; + qreal lastItemPosition = 0; if (d->isRightToLeftTopToBottom()){ highlightStart = d->highlightRangeStartValid ? d->highlightRangeEnd : d->size(); highlightEnd = d->highlightRangeEndValid ? d->highlightRangeStart : d->size(); diff --git a/src/declarative/graphicsitems/qdeclarativelistview.cpp b/src/declarative/graphicsitems/qdeclarativelistview.cpp index 9dbbb74..3190d7e 100644 --- a/src/declarative/graphicsitems/qdeclarativelistview.cpp +++ b/src/declarative/graphicsitems/qdeclarativelistview.cpp @@ -744,6 +744,28 @@ void QDeclarativeListViewPrivate::refill(qreal from, qreal to, bool doBuffer) if (visibleItems.at(i)->index != -1) modelIndex = visibleItems.at(i)->index + 1; } + + if (visibleItems.count() && (fillFrom > itemEnd+averageSize+spacing + || fillTo < visiblePos - averageSize - spacing)) { + // We've jumped more than a page. Estimate which items are now + // visible and fill from there. + int count = (fillFrom - itemEnd) / (averageSize + spacing); + for (int i = 0; i < visibleItems.count(); ++i) + releaseItem(visibleItems.at(i)); + visibleItems.clear(); + modelIndex += count; + if (modelIndex >= model->count()) { + count -= modelIndex - model->count() + 1; + modelIndex = model->count() - 1; + } else if (modelIndex < 0) { + count -= modelIndex; + modelIndex = 0; + } + visibleIndex = modelIndex; + visiblePos = itemEnd + count * (averageSize + spacing) + 1; + itemEnd = visiblePos-1; + } + bool changed = false; FxListItem *item = 0; qreal pos = itemEnd + 1; @@ -2119,9 +2141,11 @@ void QDeclarativeListView::setOrientation(QDeclarativeListView::Orientation orie if (d->orient == QDeclarativeListView::Vertical) { setContentWidth(-1); setFlickableDirection(VerticalFlick); + setContentX(0); } else { setContentHeight(-1); setFlickableDirection(HorizontalFlick); + setContentY(0); } d->regenerate(); emit orientationChanged(); @@ -2278,11 +2302,19 @@ void QDeclarativeListView::setCacheBuffer(int b) depending on the "size" property of the model item. The \c sectionHeading delegate component provides the light blue bar that marks the beginning of each section. + \snippet examples/declarative/modelviews/listview/sections.qml 0 \image qml-listview-sections-example.png + \note Adding sections to a ListView does not automatically re-order the + list items by the section criteria. + If the model is not ordered by section, then it is possible that + the sections created will not be unique; each boundary between + differing sections will result in a section header being created + even if that section exists elsewhere. + \sa {declarative/modelviews/listview}{ListView examples} */ QDeclarativeViewSection *QDeclarativeListView::sectionCriteria() @@ -2768,7 +2800,7 @@ void QDeclarativeListView::keyPressEvent(QKeyEvent *event) return; if (d->model && d->model->count() && d->interactive) { - if ((!d->isRightToLeft() && event->key() == Qt::Key_Left) + if ((d->orient == QDeclarativeListView::Horizontal && !d->isRightToLeft() && event->key() == Qt::Key_Left) || (d->orient == QDeclarativeListView::Horizontal && d->isRightToLeft() && event->key() == Qt::Key_Right) || (d->orient == QDeclarativeListView::Vertical && event->key() == Qt::Key_Up)) { if (currentIndex() > 0 || (d->wrap && !event->isAutoRepeat())) { @@ -2779,7 +2811,7 @@ void QDeclarativeListView::keyPressEvent(QKeyEvent *event) event->accept(); return; } - } else if ((!d->isRightToLeft() && event->key() == Qt::Key_Right) + } else if ((d->orient == QDeclarativeListView::Horizontal && !d->isRightToLeft() && event->key() == Qt::Key_Right) || (d->orient == QDeclarativeListView::Horizontal && d->isRightToLeft() && event->key() == Qt::Key_Left) || (d->orient == QDeclarativeListView::Vertical && event->key() == Qt::Key_Down)) { if (currentIndex() < d->model->count() - 1 || (d->wrap && !event->isAutoRepeat())) { diff --git a/src/declarative/graphicsitems/qdeclarativemousearea.cpp b/src/declarative/graphicsitems/qdeclarativemousearea.cpp index f5145d0..d4e7f7b 100644 --- a/src/declarative/graphicsitems/qdeclarativemousearea.cpp +++ b/src/declarative/graphicsitems/qdeclarativemousearea.cpp @@ -496,6 +496,9 @@ void QDeclarativeMouseArea::mousePressEvent(QGraphicsSceneMouseEvent *event) d->pressAndHoldTimer.start(PressAndHoldDelay, this); setKeepMouseGrab(d->stealMouse); event->setAccepted(setPressed(true)); + + if(!event->isAccepted() && d->forwardToList.count()) + d->forwardEvent(event); } } @@ -573,6 +576,9 @@ void QDeclarativeMouseArea::mouseMoveEvent(QGraphicsSceneMouseEvent *event) me.setX(d->lastPos.x()); me.setY(d->lastPos.y()); emit positionChanged(&me); + + if(!event->isAccepted() && d->forwardToList.count()) + d->forwardEvent(event); } @@ -594,6 +600,9 @@ void QDeclarativeMouseArea::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) if (s && s->mouseGrabberItem() == this) ungrabMouse(); setKeepMouseGrab(false); + + if(!event->isAccepted() && d->forwardToList.count()) + d->forwardEvent(event); } d->doubleClick = false; } @@ -959,4 +968,11 @@ QDeclarativeDrag *QDeclarativeMouseArea::drag() */ +QDeclarativeListProperty<QGraphicsObject> QDeclarativeMouseArea::forwardTo() +{ + Q_D(QDeclarativeMouseArea); + return d->forwardTo; +} + + QT_END_NAMESPACE diff --git a/src/declarative/graphicsitems/qdeclarativemousearea_p.h b/src/declarative/graphicsitems/qdeclarativemousearea_p.h index 985f27e..351d4de 100644 --- a/src/declarative/graphicsitems/qdeclarativemousearea_p.h +++ b/src/declarative/graphicsitems/qdeclarativemousearea_p.h @@ -130,6 +130,7 @@ class Q_AUTOTEST_EXPORT QDeclarativeMouseArea : public QDeclarativeItem Q_PROPERTY(bool hoverEnabled READ hoverEnabled WRITE setHoverEnabled NOTIFY hoverEnabledChanged) Q_PROPERTY(QDeclarativeDrag *drag READ drag CONSTANT) //### add flicking to QDeclarativeDrag or add a QDeclarativeFlick ??? Q_PROPERTY(bool preventStealing READ preventStealing WRITE setPreventStealing NOTIFY preventStealingChanged REVISION 1) + Q_PROPERTY(QDeclarativeListProperty<QGraphicsObject> forwardTo READ forwardTo); public: QDeclarativeMouseArea(QDeclarativeItem *parent=0); @@ -157,6 +158,8 @@ public: bool preventStealing() const; void setPreventStealing(bool prevent); + QDeclarativeListProperty<QGraphicsObject> forwardTo(); + Q_SIGNALS: void hoveredChanged(); void pressedChanged(); diff --git a/src/declarative/graphicsitems/qdeclarativemousearea_p_p.h b/src/declarative/graphicsitems/qdeclarativemousearea_p_p.h index 67694fb..7248c92 100644 --- a/src/declarative/graphicsitems/qdeclarativemousearea_p_p.h +++ b/src/declarative/graphicsitems/qdeclarativemousearea_p_p.h @@ -70,6 +70,8 @@ public: : absorb(true), hovered(false), pressed(false), longPress(false), moved(false), stealMouse(false), doubleClick(false), preventStealing(false), drag(0) { + Q_Q(QDeclarativeMouseArea); + forwardTo = QDeclarativeListProperty<QGraphicsObject>(q, forwardToList); } ~QDeclarativeMouseAreaPrivate(); @@ -89,6 +91,18 @@ public: lastModifiers = event->modifiers(); } + void forwardEvent(QGraphicsSceneMouseEvent* event) + { + Q_Q(QDeclarativeMouseArea); + for(int i=0; i < forwardToList.count(); i++){ + event->setPos(forwardToList[i]->mapFromScene(event->scenePos())); + forwardToList[i]->scene()->sendEvent(forwardToList[i], event); + if(event->isAccepted()) + break; + } + event->setPos(q->mapFromScene(event->scenePos())); + } + bool isPressAndHoldConnected() { Q_Q(QDeclarativeMouseArea); static int idx = QObjectPrivate::get(q)->signalIndex("pressAndHold(QDeclarativeMouseEvent*)"); @@ -121,6 +135,9 @@ public: Qt::MouseButtons lastButtons; Qt::KeyboardModifiers lastModifiers; QBasicTimer pressAndHoldTimer; + + QDeclarativeListProperty<QGraphicsObject> forwardTo; + QList<QGraphicsObject*> forwardToList; }; QT_END_NAMESPACE diff --git a/src/declarative/graphicsitems/qdeclarativepathview.cpp b/src/declarative/graphicsitems/qdeclarativepathview.cpp index 778b8b9..aed849b 100644 --- a/src/declarative/graphicsitems/qdeclarativepathview.cpp +++ b/src/declarative/graphicsitems/qdeclarativepathview.cpp @@ -1525,6 +1525,8 @@ void QDeclarativePathView::itemsRemoved(int modelIndex, int count) } else { d->regenerate(); d->updateCurrent(); + if (!d->flicking && !d->moving && d->haveHighlightRange && d->highlightRangeMode == QDeclarativePathView::StrictlyEnforceRange) + d->snapToCurrent(); } if (changedOffset) emit offsetChanged(); diff --git a/src/declarative/graphicsitems/qdeclarativetext.cpp b/src/declarative/graphicsitems/qdeclarativetext.cpp index 3ab6417..a38152d 100644 --- a/src/declarative/graphicsitems/qdeclarativetext.cpp +++ b/src/declarative/graphicsitems/qdeclarativetext.cpp @@ -92,7 +92,8 @@ QDeclarativeTextPrivate::QDeclarativeTextPrivate() format(QDeclarativeText::AutoText), wrapMode(QDeclarativeText::NoWrap), lineHeight(1), lineHeightMode(QDeclarativeText::ProportionalHeight), lineCount(1), truncated(false), maximumLineCount(INT_MAX), maximumLineCountValid(false), imageCacheDirty(true), updateOnComponentComplete(true), richText(false), singleline(false), - cacheAllTextAsImage(true), internalWidthUpdate(false), requireImplicitWidth(false), hAlignImplicit(true), rightToLeftText(false), naturalWidth(0), doc(0) + cacheAllTextAsImage(true), internalWidthUpdate(false), requireImplicitWidth(false), hAlignImplicit(true), + rightToLeftText(false), layoutTextElided(false), naturalWidth(0), doc(0) { cacheAllTextAsImage = enableImageCache(); QGraphicsItemPrivate::acceptedMouseButtons = Qt::LeftButton; @@ -199,6 +200,7 @@ void QDeclarativeTextPrivate::updateLayout() return; } + layoutTextElided = false; // Setup instance of QTextLayout for all cases other than richtext if (!richText) { layout.clearLayout(); @@ -209,10 +211,13 @@ void QDeclarativeTextPrivate::updateLayout() singleline = !tmp.contains(QChar::LineSeparator); if (singleline && !maximumLineCountValid && elideMode != QDeclarativeText::ElideNone && q->widthValid()) { QFontMetrics fm(font); - tmp = fm.elidedText(tmp,(Qt::TextElideMode)elideMode,q->width()); // XXX still worth layout...? - if (tmp != text && !truncated) { - truncated = true; - emit q->truncatedChanged(); + tmp = fm.elidedText(tmp,(Qt::TextElideMode)elideMode,q->width()); + if (tmp != text) { + layoutTextElided = true; + if (!truncated) { + truncated = true; + emit q->truncatedChanged(); + } } } layout.setText(tmp); @@ -354,6 +359,12 @@ QRect QDeclarativeTextPrivate::setupTextLayout() if (requireImplicitWidth && q->widthValid()) { // requires an extra layout + QString elidedText; + if (layoutTextElided) { + // We have provided elided text to the layout, but we must calculate unelided width. + elidedText = layout.text(); + layout.setText(text); + } layout.beginLayout(); forever { QTextLine line = layout.createLine(); @@ -367,6 +378,8 @@ QRect QDeclarativeTextPrivate::setupTextLayout() br = br.united(line.naturalTextRect()); } naturalWidth = br.width(); + if (layoutTextElided) + layout.setText(elidedText); } if (maximumLineCountValid) { diff --git a/src/declarative/graphicsitems/qdeclarativetext_p_p.h b/src/declarative/graphicsitems/qdeclarativetext_p_p.h index e3ab62a..6a3d581 100644 --- a/src/declarative/graphicsitems/qdeclarativetext_p_p.h +++ b/src/declarative/graphicsitems/qdeclarativetext_p_p.h @@ -116,6 +116,7 @@ public: bool requireImplicitWidth:1; bool hAlignImplicit:1; bool rightToLeftText:1; + bool layoutTextElided:1; QRect layedOutTextRect; QSize paintedSize; diff --git a/src/declarative/graphicsitems/qdeclarativetextedit.cpp b/src/declarative/graphicsitems/qdeclarativetextedit.cpp index 2cb1c94..af2c8f3 100644 --- a/src/declarative/graphicsitems/qdeclarativetextedit.cpp +++ b/src/declarative/graphicsitems/qdeclarativetextedit.cpp @@ -582,6 +582,7 @@ void QDeclarativeTextEdit::setVAlign(QDeclarativeTextEdit::VAlignment alignment) d->vAlign = alignment; d->updateDefaultTextOption(); updateSize(); + moveCursorDelegate(); emit verticalAlignmentChanged(d->vAlign); } @@ -870,8 +871,6 @@ void QDeclarativeTextEdit::setCursorDelegate(QDeclarativeComponent* c) Q_D(QDeclarativeTextEdit); if(d->cursorComponent){ if(d->cursor){ - disconnect(d->control, SIGNAL(cursorPositionChanged()), - this, SLOT(moveCursorDelegate())); d->control->setCursorWidth(-1); dirtyCache(cursorRectangle()); delete d->cursor; @@ -897,8 +896,6 @@ void QDeclarativeTextEdit::loadCursorDelegate() return; d->cursor = qobject_cast<QDeclarativeItem*>(d->cursorComponent->create(qmlContext(this))); if(d->cursor){ - connect(d->control, SIGNAL(cursorPositionChanged()), - this, SLOT(moveCursorDelegate())); d->control->setCursorWidth(0); dirtyCache(cursorRectangle()); QDeclarative_setParent_noEvent(d->cursor, this); @@ -1173,7 +1170,7 @@ Qt::TextInteractionFlags QDeclarativeTextEdit::textInteractionFlags() const QRect QDeclarativeTextEdit::cursorRectangle() const { Q_D(const QDeclarativeTextEdit); - return d->control->cursorRect().toRect().translated(0,-d->yoff); + return d->control->cursorRect().toRect().translated(0,d->yoff); } @@ -1558,7 +1555,7 @@ void QDeclarativeTextEditPrivate::init() QObject::connect(control, SIGNAL(selectionChanged()), q, SLOT(updateSelectionMarkers())); QObject::connect(control, SIGNAL(cursorPositionChanged()), q, SLOT(updateSelectionMarkers())); QObject::connect(control, SIGNAL(cursorPositionChanged()), q, SIGNAL(cursorPositionChanged())); - QObject::connect(control, SIGNAL(cursorPositionChanged()), q, SIGNAL(cursorRectangleChanged())); + QObject::connect(control, SIGNAL(microFocusChanged()), q, SLOT(moveCursorDelegate())); QObject::connect(control, SIGNAL(linkActivated(QString)), q, SIGNAL(linkActivated(QString))); #ifndef QT_NO_CLIPBOARD QObject::connect(q, SIGNAL(readOnlyChanged(bool)), q, SLOT(q_canPasteChanged())); @@ -1583,16 +1580,17 @@ void QDeclarativeTextEdit::q_textChanged() d->updateDefaultTextOption(); updateSize(); updateTotalLines(); - updateMicroFocus(); emit textChanged(d->text); } void QDeclarativeTextEdit::moveCursorDelegate() { Q_D(QDeclarativeTextEdit); + updateMicroFocus(); + emit cursorRectangleChanged(); if(!d->cursor) return; - QRectF cursorRect = d->control->cursorRect(); + QRectF cursorRect = cursorRectangle(); d->cursor->setX(cursorRect.x()); d->cursor->setY(cursorRect.y()); } @@ -1625,7 +1623,6 @@ void QDeclarativeTextEdit::updateSelectionMarkers() d->lastSelectionEnd = d->control->textCursor().selectionEnd(); emit selectionEndChanged(); } - updateMicroFocus(); } QRectF QDeclarativeTextEdit::boundingRect() const diff --git a/src/declarative/graphicsitems/qdeclarativetextinput.cpp b/src/declarative/graphicsitems/qdeclarativetextinput.cpp index e1c2107..4500a87 100644 --- a/src/declarative/graphicsitems/qdeclarativetextinput.cpp +++ b/src/declarative/graphicsitems/qdeclarativetextinput.cpp @@ -862,6 +862,20 @@ bool QDeclarativeTextInput::hasAcceptableInput() const state. */ +void QDeclarativeTextInputPrivate::updateInputMethodHints() +{ + Q_Q(QDeclarativeTextInput); + Qt::InputMethodHints hints = inputMethodHints; + uint echo = control->echoMode(); + if (echo == QDeclarativeTextInput::Password || echo == QDeclarativeTextInput::NoEcho) + hints |= Qt::ImhHiddenText; + else if (echo == QDeclarativeTextInput::PasswordEchoOnEdit) + hints &= ~Qt::ImhHiddenText; + if (echo != QDeclarativeTextInput::Normal) + hints |= (Qt::ImhNoAutoUppercase | Qt::ImhNoPredictiveText); + q->setInputMethodHints(hints); +} + /*! \qmlproperty enumeration TextInput::echoMode @@ -884,21 +898,27 @@ void QDeclarativeTextInput::setEchoMode(QDeclarativeTextInput::EchoMode echo) Q_D(QDeclarativeTextInput); if (echoMode() == echo) return; - Qt::InputMethodHints imHints = inputMethodHints(); - if (echo == Password || echo == NoEcho) - imHints |= Qt::ImhHiddenText; - else - imHints &= ~Qt::ImhHiddenText; - if (echo != Normal) - imHints |= (Qt::ImhNoAutoUppercase | Qt::ImhNoPredictiveText); - else - imHints &= ~(Qt::ImhNoAutoUppercase | Qt::ImhNoPredictiveText); - setInputMethodHints(imHints); d->control->setEchoMode((uint)echo); + d->updateInputMethodHints(); q_textChanged(); emit echoModeChanged(echoMode()); } +Qt::InputMethodHints QDeclarativeTextInput::imHints() const +{ + Q_D(const QDeclarativeTextInput); + return d->inputMethodHints; +} + +void QDeclarativeTextInput::setIMHints(Qt::InputMethodHints hints) +{ + Q_D(QDeclarativeTextInput); + if (d->inputMethodHints == hints) + return; + d->inputMethodHints = hints; + d->updateInputMethodHints(); +} + /*! \qmlproperty Component TextInput::cursorDelegate The delegate for the cursor in the TextInput. @@ -929,6 +949,8 @@ void QDeclarativeTextInput::setCursorDelegate(QDeclarativeComponent* c) //note that the components are owned by something else disconnect(d->control, SIGNAL(cursorPositionChanged(int,int)), this, SLOT(moveCursor())); + disconnect(d->control, SIGNAL(updateMicroFocus()), + this, SLOT(moveCursor())); delete d->cursorItem; }else{ d->startCreatingCursor(); @@ -941,7 +963,9 @@ void QDeclarativeTextInputPrivate::startCreatingCursor() { Q_Q(QDeclarativeTextInput); q->connect(control, SIGNAL(cursorPositionChanged(int,int)), - q, SLOT(moveCursor())); + q, SLOT(moveCursor()), Qt::UniqueConnection); + q->connect(control, SIGNAL(updateMicroFocus()), + q, SLOT(moveCursor()), Qt::UniqueConnection); if(cursorComponent->isReady()){ q->createCursor(); }else if(cursorComponent->isLoading()){ @@ -1144,9 +1168,10 @@ void QDeclarativeTextInput::mousePressEvent(QGraphicsSceneMouseEvent *event) } if (d->selectByMouse) { setKeepMouseGrab(false); + d->selectPressed = true; d->pressPos = event->pos(); } - bool mark = event->modifiers() & Qt::ShiftModifier; + bool mark = (event->modifiers() & Qt::ShiftModifier) && d->selectByMouse; int cursor = d->xToPos(event->pos().x()); d->control->moveCursor(cursor, mark); event->setAccepted(true); @@ -1157,7 +1182,7 @@ void QDeclarativeTextInput::mouseMoveEvent(QGraphicsSceneMouseEvent *event) Q_D(QDeclarativeTextInput); if (d->sendMouseEventToInputContext(event, QEvent::MouseMove)) return; - if (d->selectByMouse) { + if (d->selectPressed) { if (qAbs(int(event->pos().x() - d->pressPos.x())) > QApplication::startDragDistance()) setKeepMouseGrab(true); moveCursorSelection(d->xToPos(event->pos().x()), d->mouseSelectionMode); @@ -1176,8 +1201,10 @@ void QDeclarativeTextInput::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) Q_D(QDeclarativeTextInput); if (d->sendMouseEventToInputContext(event, QEvent::MouseButtonRelease)) return; - if (d->selectByMouse) + if (d->selectPressed) { + d->selectPressed = false; setKeepMouseGrab(false); + } if (!d->showInputPanelOnFocus) { // input panel on click if (d->focusOnPress && !isReadOnly() && boundingRect().contains(event->pos())) { if (QGraphicsView * view = qobject_cast<QGraphicsView*>(qApp->focusWidget())) { @@ -1233,8 +1260,10 @@ bool QDeclarativeTextInputPrivate::sendMouseEventToInputContext( bool QDeclarativeTextInput::sceneEvent(QEvent *event) { + Q_D(QDeclarativeTextInput); bool rv = QDeclarativeItem::sceneEvent(event); if (event->type() == QEvent::UngrabMouse) { + d->selectPressed = false; setKeepMouseGrab(false); } return rv; @@ -1847,6 +1876,7 @@ bool QDeclarativeTextInput::isInputMethodComposing() const void QDeclarativeTextInputPrivate::init() { Q_Q(QDeclarativeTextInput); + control->setParent(q); control->setCursorWidth(1); control->setPasswordCharacter(QLatin1Char('*')); q->setSmooth(smooth); diff --git a/src/declarative/graphicsitems/qdeclarativetextinput_p.h b/src/declarative/graphicsitems/qdeclarativetextinput_p.h index 8c873b3..ec70e43 100644 --- a/src/declarative/graphicsitems/qdeclarativetextinput_p.h +++ b/src/declarative/graphicsitems/qdeclarativetextinput_p.h @@ -86,7 +86,7 @@ class Q_AUTOTEST_EXPORT QDeclarativeTextInput : public QDeclarativeImplicitSizeP Q_PROPERTY(QValidator* validator READ validator WRITE setValidator NOTIFY validatorChanged) #endif Q_PROPERTY(QString inputMask READ inputMask WRITE setInputMask NOTIFY inputMaskChanged) - Q_PROPERTY(Qt::InputMethodHints inputMethodHints READ inputMethodHints WRITE setInputMethodHints) + Q_PROPERTY(Qt::InputMethodHints inputMethodHints READ imHints WRITE setIMHints) Q_PROPERTY(bool acceptableInput READ hasAcceptableInput NOTIFY acceptableInputChanged) Q_PROPERTY(EchoMode echoMode READ echoMode WRITE setEchoMode NOTIFY echoModeChanged) @@ -215,6 +215,9 @@ public: bool isInputMethodComposing() const; + Qt::InputMethodHints imHints() const; + void setIMHints(Qt::InputMethodHints hints); + Q_SIGNALS: void textChanged(); void cursorPositionChanged(); diff --git a/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h b/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h index fd4da2e..7595b36 100644 --- a/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h +++ b/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h @@ -70,13 +70,14 @@ class Q_AUTOTEST_EXPORT QDeclarativeTextInputPrivate : public QDeclarativeImplic { Q_DECLARE_PUBLIC(QDeclarativeTextInput) public: - QDeclarativeTextInputPrivate() : control(new QLineControl(QString())), + QDeclarativeTextInputPrivate() : control(new QLineControl), color((QRgb)0), style(QDeclarativeText::Normal), styleColor((QRgb)0), hAlign(QDeclarativeTextInput::AlignLeft), - mouseSelectionMode(QDeclarativeTextInput::SelectCharacters), + mouseSelectionMode(QDeclarativeTextInput::SelectCharacters), inputMethodHints(Qt::ImhNone), hscroll(0), oldScroll(0), oldValidity(false), focused(false), focusOnPress(true), showInputPanelOnFocus(true), clickCausedFocus(false), cursorVisible(false), - autoScroll(true), selectByMouse(false), canPaste(false), hAlignImplicit(true) + autoScroll(true), selectByMouse(false), canPaste(false), hAlignImplicit(true), + selectPressed(false) { #ifdef Q_OS_SYMBIAN if (QSysInfo::symbianVersion() == QSysInfo::SV_SF_1 || QSysInfo::symbianVersion() == QSysInfo::SV_SF_3) { @@ -88,7 +89,6 @@ public: ~QDeclarativeTextInputPrivate() { - delete control; } int xToPos(int x, QTextLine::CursorPosition betweenOrOn = QTextLine::CursorBetweenCharacters) const @@ -108,6 +108,7 @@ public: void mirrorChange(); int calculateTextWidth(); bool sendMouseEventToInputContext(QGraphicsSceneMouseEvent *event, QEvent::Type eventType); + void updateInputMethodHints(); QLineControl* control; @@ -120,6 +121,7 @@ public: QColor styleColor; QDeclarativeTextInput::HAlignment hAlign; QDeclarativeTextInput::SelectionMode mouseSelectionMode; + Qt::InputMethodHints inputMethodHints; QPointer<QDeclarativeComponent> cursorComponent; QPointer<QDeclarativeItem> cursorItem; QPointF pressPos; @@ -140,6 +142,7 @@ public: bool selectByMouse:1; bool canPaste:1; bool hAlignImplicit:1; + bool selectPressed:1; static inline QDeclarativeTextInputPrivate *get(QDeclarativeTextInput *t) { return t->d_func(); diff --git a/src/declarative/graphicsitems/qdeclarativetextlayout.cpp b/src/declarative/graphicsitems/qdeclarativetextlayout.cpp index 987aa23..1e6db3f 100644 --- a/src/declarative/graphicsitems/qdeclarativetextlayout.cpp +++ b/src/declarative/graphicsitems/qdeclarativetextlayout.cpp @@ -296,7 +296,7 @@ void QDeclarativeTextLayout::clearLayout() QTextLayout::clearLayout(); } -void QDeclarativeTextLayout::prepare() +void QDeclarativeTextLayout::prepare(QPainter *painter) { if (!d || !d->cached) { @@ -305,6 +305,7 @@ void QDeclarativeTextLayout::prepare() InertTextPainter *itp = inertTextPainter(); itp->device.begin(d); + itp->painter.setPen(painter->pen()); QTextLayout::draw(&itp->painter, QPointF(0, 0)); glyph_t *glyphPool = d->glyphs.data(); @@ -323,6 +324,12 @@ void QDeclarativeTextLayout::prepare() } } +// Defined in qpainter.cpp +extern Q_GUI_EXPORT void qt_draw_decoration_for_glyphs(QPainter *painter, const glyph_t *glyphArray, + const QFixedPoint *positions, int glyphCount, + QFontEngine *fontEngine, const QFont &font, + const QTextCharFormat &charFormat); + void QDeclarativeTextLayout::draw(QPainter *painter, const QPointF &p) { QPainterPrivate *priv = QPainterPrivate::get(painter); @@ -337,7 +344,7 @@ void QDeclarativeTextLayout::draw(QPainter *painter, const QPointF &p) return; } - prepare(); + prepare(painter); int itemCount = d->items.count(); @@ -368,6 +375,10 @@ void QDeclarativeTextLayout::draw(QPainter *painter, const QPointF &p) currentColor = item.color; } priv->extended->drawStaticTextItem(&item); + + qt_draw_decoration_for_glyphs(painter, item.glyphs, item.glyphPositions, + item.numGlyphs, item.fontEngine(), painter->font(), + QTextCharFormat()); } if (currentColor != oldPen.color()) painter->setPen(oldPen); diff --git a/src/declarative/graphicsitems/qdeclarativetextlayout_p.h b/src/declarative/graphicsitems/qdeclarativetextlayout_p.h index 2c9264e..23b22a6 100644 --- a/src/declarative/graphicsitems/qdeclarativetextlayout_p.h +++ b/src/declarative/graphicsitems/qdeclarativetextlayout_p.h @@ -61,7 +61,7 @@ public: void beginLayout(); void clearLayout(); - void prepare(); + void prepare(QPainter *); void draw(QPainter *, const QPointF & = QPointF()); private: diff --git a/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp b/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp index 97ce059..4c839a1 100644 --- a/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp +++ b/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp @@ -1398,7 +1398,12 @@ void QDeclarativeVisualDataModel::_q_layoutChanged() void QDeclarativeVisualDataModel::_q_modelReset() { + Q_D(QDeclarativeVisualDataModel); + d->m_root = QModelIndex(); emit modelReset(); + emit rootIndexChanged(); + if (d->m_abstractItemModel && d->m_abstractItemModel->canFetchMore(d->m_root)) + d->m_abstractItemModel->fetchMore(d->m_root); } void QDeclarativeVisualDataModel::_q_createdPackage(int index, QDeclarativePackage *package) diff --git a/src/declarative/qml/qdeclarativecomponent.cpp b/src/declarative/qml/qdeclarativecomponent.cpp index 276f790..8238252 100644 --- a/src/declarative/qml/qdeclarativecomponent.cpp +++ b/src/declarative/qml/qdeclarativecomponent.cpp @@ -880,6 +880,7 @@ QObject * QDeclarativeComponentPrivate::begin(QDeclarativeContextData *parentCon state->bindValues = enginePriv->bindValues; state->parserStatus = enginePriv->parserStatus; + state->finalizedParserStatus = enginePriv->finalizedParserStatus; state->componentAttached = enginePriv->componentAttached; if (state->componentAttached) state->componentAttached->prev = &state->componentAttached; @@ -887,6 +888,7 @@ QObject * QDeclarativeComponentPrivate::begin(QDeclarativeContextData *parentCon enginePriv->componentAttached = 0; enginePriv->bindValues.clear(); enginePriv->parserStatus.clear(); + enginePriv->finalizedParserStatus.clear(); state->completePending = true; enginePriv->inProgressCreations++; } @@ -917,6 +919,7 @@ void QDeclarativeComponentPrivate::beginDeferred(QDeclarativeEnginePrivate *engi state->bindValues = enginePriv->bindValues; state->parserStatus = enginePriv->parserStatus; + state->finalizedParserStatus = enginePriv->finalizedParserStatus; state->componentAttached = enginePriv->componentAttached; if (state->componentAttached) state->componentAttached->prev = &state->componentAttached; @@ -924,6 +927,7 @@ void QDeclarativeComponentPrivate::beginDeferred(QDeclarativeEnginePrivate *engi enginePriv->componentAttached = 0; enginePriv->bindValues.clear(); enginePriv->parserStatus.clear(); + enginePriv->finalizedParserStatus.clear(); state->completePending = true; enginePriv->inProgressCreations++; } @@ -961,6 +965,18 @@ void QDeclarativeComponentPrivate::complete(QDeclarativeEnginePrivate *enginePri QDeclarativeEnginePrivate::clear(ps); } + for (int ii = 0; ii < state->finalizedParserStatus.count(); ++ii) { + QPair<QDeclarativeGuard<QObject>, int> status = state->finalizedParserStatus.at(ii); + QObject *obj = status.first; + if (obj) { + void *args[] = { 0 }; + QMetaObject::metacall(obj, QMetaObject::InvokeMetaMethod, + status.second, args); + } + } + + //componentComplete() can register additional finalization objects + //that are then never handled. Handle them manually here. if (1 == enginePriv->inProgressCreations) { for (int ii = 0; ii < enginePriv->finalizedParserStatus.count(); ++ii) { QPair<QDeclarativeGuard<QObject>, int> status = enginePriv->finalizedParserStatus.at(ii); @@ -986,6 +1002,7 @@ void QDeclarativeComponentPrivate::complete(QDeclarativeEnginePrivate *enginePri state->bindValues.clear(); state->parserStatus.clear(); + state->finalizedParserStatus.clear(); state->completePending = false; enginePriv->inProgressCreations--; diff --git a/src/declarative/qml/qdeclarativecomponent_p.h b/src/declarative/qml/qdeclarativecomponent_p.h index 020c5e0..f8bec2b 100644 --- a/src/declarative/qml/qdeclarativecomponent_p.h +++ b/src/declarative/qml/qdeclarativecomponent_p.h @@ -101,6 +101,7 @@ public: ConstructionState() : componentAttached(0), completePending(false) {} QList<QDeclarativeEnginePrivate::SimpleList<QDeclarativeAbstractBinding> > bindValues; QList<QDeclarativeEnginePrivate::SimpleList<QDeclarativeParserStatus> > parserStatus; + QList<QPair<QDeclarativeGuard<QObject>, int> > finalizedParserStatus; QDeclarativeComponentAttached *componentAttached; QList<QDeclarativeError> errors; bool completePending; diff --git a/src/declarative/qml/qdeclarativecontextscriptclass.cpp b/src/declarative/qml/qdeclarativecontextscriptclass.cpp index bb4ece4..3abd787 100644 --- a/src/declarative/qml/qdeclarativecontextscriptclass.cpp +++ b/src/declarative/qml/qdeclarativecontextscriptclass.cpp @@ -227,6 +227,7 @@ QDeclarativeContextScriptClass::queryProperty(QDeclarativeContextData *bindConte if (data) { lastData = data; lastContext = bindContext; + lastScopeObject = scopeObject; return QScriptClass::HandlesReadAccess; } } @@ -268,17 +269,12 @@ QDeclarativeContextScriptClass::property(Object *object, const Identifier &name) QDeclarativeEnginePrivate *ep = QDeclarativeEnginePrivate::get(engine); QScriptEngine *scriptEngine = QDeclarativeEnginePrivate::getScriptEngine(engine); - if (lastScopeObject) { - - return ep->objectClass->property(lastScopeObject, name); - - } else if (lastData) { + if (lastData) { if (lastData->type) { - return Value(scriptEngine, ep->typeNameClass->newObject(bindContext->contextObject, lastData->type)); + return Value(scriptEngine, ep->typeNameClass->newObject(lastScopeObject, lastData->type)); } else if (lastData->typeNamespace) { - return Value(scriptEngine, ep->typeNameClass->newObject(bindContext->contextObject, - lastData->typeNamespace)); + return Value(scriptEngine, ep->typeNameClass->newObject(lastScopeObject, lastData->typeNamespace)); } else { int index = lastData->importedScriptIndex; if (index < bindContext->importedScripts.count()) { @@ -288,6 +284,10 @@ QDeclarativeContextScriptClass::property(Object *object, const Identifier &name) } } + } else if (lastScopeObject) { + + return ep->objectClass->property(lastScopeObject, name); + } else if (lastPropertyIndex != -1) { QScriptValue rv; diff --git a/src/declarative/qml/qdeclarativeenginedebug.cpp b/src/declarative/qml/qdeclarativeenginedebug.cpp index 31fd516..b2a05c3 100644 --- a/src/declarative/qml/qdeclarativeenginedebug.cpp +++ b/src/declarative/qml/qdeclarativeenginedebug.cpp @@ -249,10 +249,16 @@ void QDeclarativeEngineDebugServer::buildObjectDump(QDataStream &message, return; } - message << (object->metaObject()->propertyCount() + fakeProperties.count()); + QList<int> propertyIndexes; + for (int ii = 0; ii < object->metaObject()->propertyCount(); ++ii) { + if (object->metaObject()->property(ii).isScriptable()) + propertyIndexes << ii; + } + + message << propertyIndexes.size() + fakeProperties.count(); - for (int ii = 0; ii < object->metaObject()->propertyCount(); ++ii) - message << propertyData(object, ii); + for (int ii = 0; ii < propertyIndexes.size(); ++ii) + message << propertyData(object, propertyIndexes.at(ii)); for (int ii = 0; ii < fakeProperties.count(); ++ii) message << fakeProperties[ii]; diff --git a/src/declarative/util/qdeclarativepixmapcache.cpp b/src/declarative/util/qdeclarativepixmapcache.cpp index 9221d78..a29854f 100644 --- a/src/declarative/util/qdeclarativepixmapcache.cpp +++ b/src/declarative/util/qdeclarativepixmapcache.cpp @@ -72,9 +72,7 @@ QT_BEGIN_NAMESPACE // The cache limit describes the maximum "junk" in the cache. // These are the same defaults as QPixmapCache -#if defined(Q_OS_SYMBIAN) -static int cache_limit = 1024 * 1024; // 1048 KB cache limit for symbian -#elif defined(Q_WS_QWS) || defined(Q_WS_WINCE) +#if defined(Q_WS_QWS) || defined(Q_WS_WINCE) static int cache_limit = 2048 * 1024; // 2048 KB cache limit for embedded #else static int cache_limit = 10240 * 1024; // 10 MB cache limit for desktop diff --git a/src/declarative/util/qdeclarativexmllistmodel.cpp b/src/declarative/util/qdeclarativexmllistmodel.cpp index 4424490..0a39ca8 100644 --- a/src/declarative/util/qdeclarativexmllistmodel.cpp +++ b/src/declarative/util/qdeclarativexmllistmodel.cpp @@ -144,6 +144,7 @@ struct XmlQueryJob QList<void*> roleQueryErrorId; // the ptr to send back if there is an error QStringList keyRoleQueries; QStringList keyRoleResultsCache; + QString prefix; }; class QDeclarativeXmlQuery : public QObject @@ -172,6 +173,12 @@ public: } int doQuery(QString query, QString namespaces, QByteArray data, QList<QDeclarativeXmlListModelRole *>* roleObjects, QStringList keyRoleResultsCache) { + { + QMutexLocker m1(&m_mutex); + m_queryIds.ref(); + if (m_queryIds <= 0) + m_queryIds = 1; + } XmlQueryJob job; job.queryId = m_queryIds; @@ -194,9 +201,6 @@ public: { QMutexLocker ml(&m_mutex); m_jobs.insert(m_queryIds, job); - m_queryIds++; - if (m_queryIds <= 0) - m_queryIds = 1; } QMetaObject::invokeMethod(this, "processQuery", Qt::QueuedConnection, Q_ARG(int, job.queryId)); @@ -214,20 +218,15 @@ private slots: job = m_jobs.value(queryId); } - QDeclarativeXmlQueryResult r; - doQueryJob(&job); - doSubQueryJob(&job); - r.queryId = job.queryId; - r.size = m_size; - r.data = m_modelData; - r.inserted = m_insertedItemRanges; - r.removed = m_removedItemRanges; - r.keyRoleResultsCache = job.keyRoleResultsCache; + QDeclarativeXmlQueryResult result; + result.queryId = job.queryId; + doQueryJob(&job, &result); + doSubQueryJob(&job, &result); { QMutexLocker ml(&m_mutex); if (m_jobs.contains(queryId)) { - emit queryCompleted(r); + emit queryCompleted(result); m_jobs.remove(queryId); } } @@ -241,8 +240,8 @@ protected: private: - void doQueryJob(XmlQueryJob* job); - void doSubQueryJob(XmlQueryJob* job); + void doQueryJob(XmlQueryJob *job, QDeclarativeXmlQueryResult *currentResult); + void doSubQueryJob(XmlQueryJob *job, QDeclarativeXmlQueryResult *currentResult); void getValuesOfKeyRoles(const XmlQueryJob& currentJob, QStringList *values, QXmlQuery *query) const; void addIndexToRangeList(QList<QDeclarativeXmlListRange> *ranges, int index) const; @@ -250,17 +249,12 @@ private: QMutex m_mutex; QThread m_thread; QMap<int, XmlQueryJob> m_jobs; - int m_queryIds; - QString m_prefix; - int m_size; - QList<QList<QVariant> > m_modelData; - QList<QDeclarativeXmlListRange> m_insertedItemRanges; - QList<QDeclarativeXmlListRange> m_removedItemRanges; + QAtomicInt m_queryIds; }; Q_GLOBAL_STATIC(QDeclarativeXmlQuery, globalXmlQuery) -void QDeclarativeXmlQuery::doQueryJob(XmlQueryJob* currentJob) +void QDeclarativeXmlQuery::doQueryJob(XmlQueryJob *currentJob, QDeclarativeXmlQueryResult *currentResult) { Q_ASSERT(currentJob->queryId != -1); @@ -295,10 +289,8 @@ void QDeclarativeXmlQuery::doQueryJob(XmlQueryJob* currentJob) } currentJob->data = xml; - m_prefix = namespaces + prefix + QLatin1Char('/'); - m_size = 0; - if (count > 0) - m_size = count; + currentJob->prefix = namespaces + prefix + QLatin1Char('/'); + currentResult->size = (count > 0 ? count : 0); } void QDeclarativeXmlQuery::getValuesOfKeyRoles(const XmlQueryJob& currentJob, QStringList *values, QXmlQuery *query) const @@ -306,9 +298,9 @@ void QDeclarativeXmlQuery::getValuesOfKeyRoles(const XmlQueryJob& currentJob, QS const QStringList &keysQueries = currentJob.keyRoleQueries; QString keysQuery; if (keysQueries.count() == 1) - keysQuery = m_prefix + keysQueries[0]; + keysQuery = currentJob.prefix + keysQueries[0]; else if (keysQueries.count() > 1) - keysQuery = m_prefix + QLatin1String("concat(") + keysQueries.join(QLatin1String(",")) + QLatin1String(")"); + keysQuery = currentJob.prefix + QLatin1String("concat(") + keysQueries.join(QLatin1String(",")) + QLatin1String(")"); if (!keysQuery.isEmpty()) { query->setQuery(keysQuery); @@ -331,10 +323,9 @@ void QDeclarativeXmlQuery::addIndexToRangeList(QList<QDeclarativeXmlListRange> * ranges->append(qMakePair(index, 1)); } -void QDeclarativeXmlQuery::doSubQueryJob(XmlQueryJob* currentJob) +void QDeclarativeXmlQuery::doSubQueryJob(XmlQueryJob *currentJob, QDeclarativeXmlQueryResult *currentResult) { Q_ASSERT(currentJob->queryId != -1); - m_modelData.clear(); QBuffer b(¤tJob->data); b.open(QIODevice::ReadOnly); @@ -347,16 +338,14 @@ void QDeclarativeXmlQuery::doSubQueryJob(XmlQueryJob* currentJob) // See if any values of key roles have been inserted or removed. - m_insertedItemRanges.clear(); - m_removedItemRanges.clear(); if (currentJob->keyRoleResultsCache.isEmpty()) { - m_insertedItemRanges << qMakePair(0, m_size); + currentResult->inserted << qMakePair(0, currentResult->size); } else { if (keyRoleResults != currentJob->keyRoleResultsCache) { QStringList temp; for (int i=0; i<currentJob->keyRoleResultsCache.count(); i++) { if (!keyRoleResults.contains(currentJob->keyRoleResultsCache[i])) - addIndexToRangeList(&m_removedItemRanges, i); + addIndexToRangeList(¤tResult->removed, i); else temp << currentJob->keyRoleResultsCache[i]; } @@ -364,12 +353,12 @@ void QDeclarativeXmlQuery::doSubQueryJob(XmlQueryJob* currentJob) for (int i=0; i<keyRoleResults.count(); i++) { if (temp.count() == i || keyRoleResults[i] != temp[i]) { temp.insert(i, keyRoleResults[i]); - addIndexToRangeList(&m_insertedItemRanges, i); + addIndexToRangeList(¤tResult->inserted, i); } } } } - currentJob->keyRoleResultsCache = keyRoleResults; + currentResult->keyRoleResultsCache = keyRoleResults; // Get the new values for each role. //### we might be able to condense even further (query for everything in one go) @@ -377,7 +366,7 @@ void QDeclarativeXmlQuery::doSubQueryJob(XmlQueryJob* currentJob) for (int i = 0; i < queries.size(); ++i) { QList<QVariant> resultList; if (!queries[i].isEmpty()) { - subquery.setQuery(m_prefix + QLatin1String("(let $v := string(") + queries[i] + QLatin1String(") return if ($v) then ") + queries[i] + QLatin1String(" else \"\")")); + subquery.setQuery(currentJob->prefix + QLatin1String("(let $v := string(") + queries[i] + QLatin1String(") return if ($v) then ") + queries[i] + QLatin1String(" else \"\")")); if (subquery.isValid()) { QXmlResultItems resultItems; subquery.evaluateTo(&resultItems); @@ -391,9 +380,9 @@ void QDeclarativeXmlQuery::doSubQueryJob(XmlQueryJob* currentJob) } } //### should warn here if things have gone wrong. - while (resultList.count() < m_size) + while (resultList.count() < currentResult->size) resultList << QVariant(); - m_modelData << resultList; + currentResult->data << resultList; b.seek(0); } diff --git a/src/gui/accessible/qaccessible.h b/src/gui/accessible/qaccessible.h index c714173..1e9e55e 100644 --- a/src/gui/accessible/qaccessible.h +++ b/src/gui/accessible/qaccessible.h @@ -83,6 +83,42 @@ public: MenuCommand = 0x0018, + // Values from IAccessible2 + ActionChanged = 0x0101, + ActiveDescendantChanged, + AttributeChanged, + DocumentContentChanged, + DocumentLoadComplete, + DocumentLoadStopped, + DocumentReload, + HyperlinkEndIndexChanged, + HyperlinkNumberOfAnchorsChanged, + HyperlinkSelectedLinkChanged, + HypertextLinkActivated, + HypertextLinkSelected, + HyperlinkStartIndexChanged, + HypertextChanged, + HypertextNLinksChanged, + ObjectAttributeChanged, + PageChanged, + SectionChanged, + TableCaptionChanged, + TableColumnDescriptionChanged, + TableColumnHeaderChanged, + TableModelChanged, + TableRowDescriptionChanged, + TableRowHeaderChanged, + TableSummaryChanged, + TextAttributeChanged, + TextCaretMoved, + // TextChanged, deprecated, use TextUpdated + TextColumnChanged = TextCaretMoved + 2, + TextInserted, + TextRemoved, + TextUpdated, + TextSelectionChanged, + VisibleDataChanged, + ObjectCreated = 0x8000, ObjectDestroyed = 0x8001, ObjectShow = 0x8002, diff --git a/src/gui/accessible/qaccessibleobject.cpp b/src/gui/accessible/qaccessibleobject.cpp index 1d2d1da..0cb2c08 100644 --- a/src/gui/accessible/qaccessibleobject.cpp +++ b/src/gui/accessible/qaccessibleobject.cpp @@ -322,9 +322,7 @@ QString QAccessibleApplication::text(Text t, int) const { switch (t) { case Name: - if (QApplication::activeWindow()) - return QApplication::activeWindow()->windowTitle(); - break; + return QApplication::applicationName(); case Description: return QApplication::applicationFilePath(); default: diff --git a/src/gui/dialogs/qcolordialog_mac.mm b/src/gui/dialogs/qcolordialog_mac.mm index ee9b19a..9daf595 100644 --- a/src/gui/dialogs/qcolordialog_mac.mm +++ b/src/gui/dialogs/qcolordialog_mac.mm @@ -343,6 +343,7 @@ QT_USE_NAMESPACE mDialogIsExecuting = true; bool modalEnded = false; while (!modalEnded) { +#ifndef QT_NO_EXCEPTIONS @try { [NSApp runModalForWindow:mColorPanel]; modalEnded = true; @@ -351,6 +352,10 @@ QT_USE_NAMESPACE // clicking on 'SelectedMenuItemColor' from the 'Developer' // palette (tab three). } +#else + [NSApp runModalForWindow:mColorPanel]; + modalEnded = true; +#endif } QAbstractEventDispatcher::instance()->interrupt(); diff --git a/src/gui/dialogs/qfilesystemmodel.cpp b/src/gui/dialogs/qfilesystemmodel.cpp index cb8eb6a..ff4410d 100644 --- a/src/gui/dialogs/qfilesystemmodel.cpp +++ b/src/gui/dialogs/qfilesystemmodel.cpp @@ -1977,13 +1977,14 @@ bool QFileSystemModelPrivate::filtersAcceptsNode(const QFileSystemNode *node) co const bool hideHidden = !(filters & QDir::Hidden); const bool hideSystem = !(filters & QDir::System); const bool hideSymlinks = (filters & QDir::NoSymLinks); - const bool hideDotAndDotDot = (filters & QDir::NoDotAndDotDot); + const bool hideDot = (filters & QDir::NoDot) || (filters & QDir::NoDotAndDotDot); // ### Qt5: simplify (because NoDotAndDotDot=NoDot|NoDotDot) + const bool hideDotDot = (filters & QDir::NoDotDot) || (filters & QDir::NoDotAndDotDot); // ### Qt5: simplify (because NoDotAndDotDot=NoDot|NoDotDot) // Note that we match the behavior of entryList and not QFileInfo on this and this // incompatibility won't be fixed until Qt 5 at least - bool isDotOrDot = ( (node->fileName == QLatin1String(".") - || node->fileName == QLatin1String(".."))); - if ( (hideHidden && (!isDotOrDot && node->isHidden())) + bool isDot = (node->fileName == QLatin1String(".")); + bool isDotDot = (node->fileName == QLatin1String("..")); + if ( (hideHidden && !(isDot || isDotDot) && node->isHidden()) || (hideSystem && node->isSystem()) || (hideDirs && node->isDir()) || (hideFiles && node->isFile()) @@ -1991,7 +1992,8 @@ bool QFileSystemModelPrivate::filtersAcceptsNode(const QFileSystemNode *node) co || (hideReadable && node->isReadable()) || (hideWritable && node->isWritable()) || (hideExecutable && node->isExecutable()) - || (hideDotAndDotDot && isDotOrDot)) + || (hideDot && isDot) + || (hideDotDot && isDotDot)) return false; return nameFilterDisables || passNameFilters(node); diff --git a/src/gui/egl/qegl_symbian.cpp b/src/gui/egl/qegl_symbian.cpp index 6533d11..fabf9d1 100644 --- a/src/gui/egl/qegl_symbian.cpp +++ b/src/gui/egl/qegl_symbian.cpp @@ -42,6 +42,7 @@ #include <QtGui/qpaintdevice.h> #include <QtGui/qpixmap.h> #include <QtGui/qwidget.h> +#include <QtGui/private/qapplication_p.h> #include "qegl_p.h" #include "qeglcontext_p.h" @@ -73,10 +74,14 @@ void QEglProperties::setPaintDeviceFormat(QPaintDevice *dev) return; int devType = dev->devType(); - if (devType == QInternal::Image) + if (devType == QInternal::Image) { setPixelFormat(static_cast<QImage *>(dev)->format()); - else - setPixelFormat(QImage::Format_RGB32); + } else { + QImage::Format format = QImage::Format_RGB32; + if (QApplicationPrivate::instance() && QApplicationPrivate::instance()->useTranslucentEGLSurfaces) + format = QImage::Format_ARGB32_Premultiplied; + setPixelFormat(format); + } } diff --git a/src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp b/src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp index 92e4a55..4688fa0 100644 --- a/src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp +++ b/src/gui/graphicsview/qgraphicsscenebsptreeindex.cpp @@ -50,14 +50,14 @@ QGraphicsSceneBspTreeIndex index use a BSP(Binary Space Partitioning) implementation to discover items quickly. This implementation is - very efficient for static scene. It has a depth that you can set. + very efficient for static scenes. It has a depth that you can set. The depth directly affects performance and memory usage; the latter growing exponentially with the depth of the tree. With an optimal tree depth, the index can instantly determine the locality of items, even for scenes with thousands or millions of items. This also greatly improves rendering performance. - By default, the value is 0, in which case Qt will guess a reasonable + By default, the depth value is 0, in which case Qt will guess a reasonable default depth based on the size, location and number of items in the scene. If these parameters change frequently, however, you may experience slowdowns as the index retunes the depth internally. You can avoid diff --git a/src/gui/gui.pro b/src/gui/gui.pro index fda76a2..8f72fea 100644 --- a/src/gui/gui.pro +++ b/src/gui/gui.pro @@ -55,11 +55,9 @@ DEFINES += Q_INTERNAL_QAPP_SRC symbian { TARGET.UID3=0x2001B2DD - symbian-abld|symbian-sbsv2 { - # ro-section in gui can exceed default allocated space, so move rw-section a little further - QMAKE_LFLAGS.ARMCC += --rw-base 0x800000 - QMAKE_LFLAGS.GCCE += -Tdata 0xC00000 - } + # ro-section in gui can exceed default allocated space, so move rw-section a little further + QMAKE_LFLAGS.ARMCC += --rw-base 0x800000 + QMAKE_LFLAGS.GCCE += -Tdata 0x800000 } neon:*-g++* { diff --git a/src/gui/image/qpixmap.cpp b/src/gui/image/qpixmap.cpp index 34804e5..c34f6ac 100644 --- a/src/gui/image/qpixmap.cpp +++ b/src/gui/image/qpixmap.cpp @@ -1224,12 +1224,8 @@ Qt::HANDLE QPixmap::handle() const { #if defined(Q_WS_X11) const QPixmapData *pd = pixmapData(); - if (pd) { - if (pd->classId() == QPixmapData::X11Class) - return static_cast<const QX11PixmapData*>(pd)->handle(); - else - qWarning("QPixmap::handle(): Pixmap is not an X11 class pixmap"); - } + if (pd && pd->classId() == QPixmapData::X11Class) + return static_cast<const QX11PixmapData*>(pd)->handle(); #endif return 0; } diff --git a/src/gui/image/qpixmapcache.cpp b/src/gui/image/qpixmapcache.cpp index 41fc6e9..ae772d8 100644 --- a/src/gui/image/qpixmapcache.cpp +++ b/src/gui/image/qpixmapcache.cpp @@ -91,9 +91,7 @@ QT_BEGIN_NAMESPACE \sa QCache, QPixmap */ -#if defined(Q_OS_SYMBIAN) -static int cache_limit = 1024; // 1048 KB cache limit for symbian -#elif defined(Q_WS_QWS) || defined(Q_WS_WINCE) +#if defined(Q_WS_QWS) || defined(Q_WS_WINCE) static int cache_limit = 2048; // 2048 KB cache limit for embedded #else static int cache_limit = 10240; // 10 MB cache limit for desktop diff --git a/src/gui/image/qvolatileimage.cpp b/src/gui/image/qvolatileimage.cpp index 098e9a1..f5076e1 100644 --- a/src/gui/image/qvolatileimage.cpp +++ b/src/gui/image/qvolatileimage.cpp @@ -103,6 +103,11 @@ QVolatileImage &QVolatileImage::operator=(const QVolatileImage &rhs) return *this; } +bool QVolatileImage::paintingActive() const +{ + return d->pengine && d->pengine->isActive(); +} + bool QVolatileImage::isNull() const { return d->image.isNull(); diff --git a/src/gui/image/qvolatileimage_p.h b/src/gui/image/qvolatileimage_p.h index fc5d6b1..d835f45 100644 --- a/src/gui/image/qvolatileimage_p.h +++ b/src/gui/image/qvolatileimage_p.h @@ -71,6 +71,7 @@ public: ~QVolatileImage(); QVolatileImage &operator=(const QVolatileImage &rhs); + bool paintingActive() const; bool isNull() const; QImage::Format format() const; int width() const; diff --git a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp index 3b5290c..06dc25c 100644 --- a/src/gui/inputmethod/qcoefepinputcontext_s60.cpp +++ b/src/gui/inputmethod/qcoefepinputcontext_s60.cpp @@ -77,6 +77,15 @@ QT_BEGIN_NAMESPACE Q_GUI_EXPORT void qt_s60_setPartialScreenInputMode(bool enable) { S60->partial_keyboard = enable; + + QInputContext *ic = 0; + if (QApplication::focusWidget()) { + ic = QApplication::focusWidget()->inputContext(); + } else if (qApp && qApp->inputContext()) { + ic = qApp->inputContext(); + } + if (ic) + ic->update(); } QCoeFepInputContext::QCoeFepInputContext(QObject *parent) @@ -108,7 +117,7 @@ QCoeFepInputContext::QCoeFepInputContext(QObject *parent) m_fepState->SetDefaultCase( EAknEditorTextCase ); m_fepState->SetPermittedCases( EAknEditorAllCaseModes ); m_fepState->SetSpecialCharacterTableResourceId(R_AVKON_SPECIAL_CHARACTER_TABLE_DIALOG); - m_fepState->SetNumericKeymap( EAknEditorStandardNumberModeKeymap ); + m_fepState->SetNumericKeymap(EAknEditorAlphanumericNumberModeKeymap); } QCoeFepInputContext::~QCoeFepInputContext() @@ -231,7 +240,7 @@ bool QCoeFepInputContext::filterEvent(const QEvent *event) // It ignores the mouse event, so we need to commit and send a selection event (which will get triggered // after the commit) if (!m_preeditString.isEmpty()) { - commitCurrentString(false); + commitCurrentString(true); int pos = focusWidget()->inputMethodQuery(Qt::ImCursorPosition).toInt(); @@ -246,9 +255,13 @@ bool QCoeFepInputContext::filterEvent(const QEvent *event) // fall through intended case QEvent::KeyRelease: const QKeyEvent *keyEvent = static_cast<const QKeyEvent *>(event); + //If proxy exists, always use hints from proxy. + QWidget *proxy = focusWidget()->focusProxy(); + Qt::InputMethodHints currentHints = proxy ? proxy->inputMethodHints() : focusWidget()->inputMethodHints(); + switch (keyEvent->key()) { case Qt::Key_F20: - Q_ASSERT(m_lastImHints == focusWidget()->inputMethodHints()); + Q_ASSERT(m_lastImHints == currentHints); if (m_lastImHints & Qt::ImhHiddenText) { // Special case in Symbian. On editors with secret text, F20 is for some reason // considered to be a backspace. @@ -278,7 +291,7 @@ bool QCoeFepInputContext::filterEvent(const QEvent *event) } if (keyEvent->type() == QEvent::KeyPress - && focusWidget()->inputMethodHints() & Qt::ImhHiddenText + && currentHints & Qt::ImhHiddenText && !keyEvent->text().isEmpty()) { // Send some temporary preedit text in order to make text visible for a moment. m_preeditString = keyEvent->text(); @@ -410,12 +423,14 @@ void QCoeFepInputContext::resetSplitViewWidget(bool keepInputWidget) windowToMove->setUpdatesEnabled(false); if (!alwaysResize) { - if (gv->scene() && gv->scene()->focusItem()) { - // Check if the widget contains cursorPositionChanged signal and disconnect from it. - QByteArray signal = QMetaObject::normalizedSignature(SIGNAL(cursorPositionChanged())); - int index = gv->scene()->focusItem()->toGraphicsObject()->metaObject()->indexOfSignal(signal.right(signal.length() - 1)); - if (index != -1) - disconnect(gv->scene()->focusItem()->toGraphicsObject(), SIGNAL(cursorPositionChanged()), this, SLOT(translateInputWidget())); + if (gv->scene()) { + if (gv->scene()->focusItem()) { + // Check if the widget contains cursorPositionChanged signal and disconnect from it. + QByteArray signal = QMetaObject::normalizedSignature(SIGNAL(cursorPositionChanged())); + int index = gv->scene()->focusItem()->toGraphicsObject()->metaObject()->indexOfSignal(signal.right(signal.length() - 1)); + if (index != -1) + disconnect(gv->scene()->focusItem()->toGraphicsObject(), SIGNAL(cursorPositionChanged()), this, SLOT(translateInputWidget())); + } QGraphicsItem *rootItem = 0; foreach (QGraphicsItem *item, gv->scene()->items()) { @@ -529,28 +544,32 @@ void QCoeFepInputContext::ensureFocusWidgetVisible(QWidget *widget) // and greatly reduces event passing in orientation switch cases, // as the statuspane size is not changing. + if (alwaysResize) + windowToMove->setUpdatesEnabled(false); + if (!(windowToMove->windowState() & Qt::WindowFullScreen)) { windowToMove->setWindowState( (windowToMove->windowState() & ~(Qt::WindowMinimized | Qt::WindowFullScreen)) | Qt::WindowFullScreen); } if (alwaysResize) { - windowToMove->setUpdatesEnabled(false); - if (!moveWithinVisibleArea) + if (!moveWithinVisibleArea) { m_splitViewResizeBy = widget->height(); - - windowTop = widget->geometry().top(); - widget->resize(widget->width(), splitViewRect.height() - windowTop); + windowTop = widget->geometry().top(); + widget->resize(widget->width(), splitViewRect.height() - windowTop); + } if (gv->scene()) { const QRectF microFocusRect = gv->scene()->inputMethodQuery(Qt::ImMicroFocus).toRectF(); gv->ensureVisible(microFocusRect); } - windowToMove->setUpdatesEnabled(true); } else { translateInputWidget(); } + if (alwaysResize) + windowToMove->setUpdatesEnabled(true); + widget->setAttribute(Qt::WA_Resized, userResize); //not a user resize } @@ -573,7 +592,21 @@ void QCoeFepInputContext::updateHints(bool mustUpdateInputCapabilities) { QWidget *w = focusWidget(); if (w) { - Qt::InputMethodHints hints = w->inputMethodHints(); + QWidget *proxy = w->focusProxy(); + Qt::InputMethodHints hints = proxy ? proxy->inputMethodHints() : w->inputMethodHints(); + + // Since splitview support works like an input method hint, yet it is private flag, + // we need to update its state separately. + if (QSysInfo::s60Version() > QSysInfo::SV_S60_5_0) { + TInt currentFlags = m_fepState->Flags(); + if (S60->partial_keyboard) + currentFlags |= QT_EAknEditorFlagEnablePartialScreen; + else + currentFlags &= ~QT_EAknEditorFlagEnablePartialScreen; + if (currentFlags != m_fepState->Flags()) + m_fepState->SetFlags(currentFlags); + } + if (hints != m_lastImHints) { m_lastImHints = hints; applyHints(hints); diff --git a/src/gui/itemviews/itemviews.pri b/src/gui/itemviews/itemviews.pri index bbc1e98..149bfd6 100644 --- a/src/gui/itemviews/itemviews.pri +++ b/src/gui/itemviews/itemviews.pri @@ -4,6 +4,7 @@ HEADERS += \ itemviews/qabstractitemview.h \ itemviews/qabstractitemview_p.h \ itemviews/qheaderview.h \ + itemviews/qidentityproxymodel.h \ itemviews/qlistview.h \ itemviews/qlistview_p.h \ itemviews/qbsptree_p.h \ @@ -44,6 +45,7 @@ HEADERS += \ SOURCES += \ itemviews/qabstractitemview.cpp \ itemviews/qheaderview.cpp \ + itemviews/qidentityproxymodel.cpp \ itemviews/qlistview.cpp \ itemviews/qbsptree.cpp \ itemviews/qtableview.cpp \ diff --git a/src/gui/itemviews/qabstractproxymodel.cpp b/src/gui/itemviews/qabstractproxymodel.cpp index 34ca7df..82b6c8d 100644 --- a/src/gui/itemviews/qabstractproxymodel.cpp +++ b/src/gui/itemviews/qabstractproxymodel.cpp @@ -121,15 +121,12 @@ QAbstractProxyModel::~QAbstractProxyModel() void QAbstractProxyModel::setSourceModel(QAbstractItemModel *sourceModel) { Q_D(QAbstractProxyModel); - if (d->model) { + if (d->model) disconnect(d->model, SIGNAL(destroyed()), this, SLOT(_q_sourceModelDestroyed())); - disconnect(d->model, SIGNAL(modelReset()), this, SLOT(resetInternalData())); - } if (sourceModel) { d->model = sourceModel; connect(d->model, SIGNAL(destroyed()), this, SLOT(_q_sourceModelDestroyed())); - connect(d->model, SIGNAL(modelReset()), this, SLOT(resetInternalData())); } else { d->model = QAbstractItemModelPrivate::staticEmptyModel(); } @@ -383,25 +380,6 @@ Qt::DropActions QAbstractProxyModel::supportedDropActions() const return d->model->supportedDropActions(); } -/* - \since 4.8 - - This slot is called just after the internal data of a model is cleared - while it is being reset. - - This slot is provided the convenience of subclasses of concrete proxy - models, such as subclasses of QSortFilterProxyModel which maintain extra - data. - - \snippet doc/src/snippets/code/src_corelib_kernel_qabstractitemmodel.cpp 10 - - \sa modelAboutToBeReset(), modelReset() -*/ -void QAbstractProxyModel::resetInternalData() -{ - -} - QT_END_NAMESPACE #include "moc_qabstractproxymodel.cpp" diff --git a/src/gui/itemviews/qabstractproxymodel.h b/src/gui/itemviews/qabstractproxymodel.h index 6e485ae..4f3bc18 100644 --- a/src/gui/itemviews/qabstractproxymodel.h +++ b/src/gui/itemviews/qabstractproxymodel.h @@ -95,9 +95,6 @@ public: QStringList mimeTypes() const; Qt::DropActions supportedDropActions() const; -protected Q_SLOTS: - void resetInternalData(); - protected: QAbstractProxyModel(QAbstractProxyModelPrivate &, QObject *parent); diff --git a/src/gui/itemviews/qidentityproxymodel.cpp b/src/gui/itemviews/qidentityproxymodel.cpp new file mode 100644 index 0000000..60f7d98 --- /dev/null +++ b/src/gui/itemviews/qidentityproxymodel.cpp @@ -0,0 +1,587 @@ +/**************************************************************************** +** +** Copyright (C) 2011 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Stephen Kelly <stephen.kelly@kdab.com> +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the QtGui module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#include "qidentityproxymodel.h" + +#ifndef QT_NO_IDENTITYPROXYMODEL + +#include "qitemselectionmodel.h" +#include <private/qabstractproxymodel_p.h> + +QT_BEGIN_NAMESPACE + +class QIdentityProxyModelPrivate : public QAbstractProxyModelPrivate +{ + QIdentityProxyModelPrivate() + : ignoreNextLayoutAboutToBeChanged(false), + ignoreNextLayoutChanged(false) + { + + } + + Q_DECLARE_PUBLIC(QIdentityProxyModel) + + bool ignoreNextLayoutAboutToBeChanged; + bool ignoreNextLayoutChanged; + QList<QPersistentModelIndex> layoutChangePersistentIndexes; + QModelIndexList proxyIndexes; + + void _q_sourceRowsAboutToBeInserted(const QModelIndex &parent, int start, int end); + void _q_sourceRowsInserted(const QModelIndex &parent, int start, int end); + void _q_sourceRowsAboutToBeRemoved(const QModelIndex &parent, int start, int end); + void _q_sourceRowsRemoved(const QModelIndex &parent, int start, int end); + void _q_sourceRowsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destParent, int dest); + void _q_sourceRowsMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destParent, int dest); + + void _q_sourceColumnsAboutToBeInserted(const QModelIndex &parent, int start, int end); + void _q_sourceColumnsInserted(const QModelIndex &parent, int start, int end); + void _q_sourceColumnsAboutToBeRemoved(const QModelIndex &parent, int start, int end); + void _q_sourceColumnsRemoved(const QModelIndex &parent, int start, int end); + void _q_sourceColumnsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destParent, int dest); + void _q_sourceColumnsMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destParent, int dest); + + void _q_sourceDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight); + void _q_sourceHeaderDataChanged(Qt::Orientation orientation, int first, int last); + + void _q_sourceLayoutAboutToBeChanged(); + void _q_sourceLayoutChanged(); + void _q_sourceModelAboutToBeReset(); + void _q_sourceModelReset(); + +}; + +/*! + \since 4.8 + \class QIdentityProxyModel + \brief The QIdentityProxyModel class proxies its source model unmodified + + \ingroup model-view + + QIdentityProxyModel can be used to forward the structure of a source model exactly, with no sorting, filtering or other transformation. + This is similar in concept to an identity matrix where A.I = A. + + Because it does no sorting or filtering, this class is most suitable to proxy models which transform the data() of the source model. + For example, a proxy model could be created to define the font used, or the background colour, or the tooltip etc. This removes the + need to implement all data handling in the same class that creates the structure of the model, and can also be used to create + re-usable components. + + This also provides a way to change the data in the case where a source model is supplied by a third party which can not be modified. + + \snippet doc/src/snippets/code/src_gui_itemviews_qidentityproxymodel.cpp 0 + + \sa QAbstractProxyModel, {Model/View Programming}, QAbstractItemModel + +*/ + +/*! + Constructs an identity model with the given \a parent. +*/ +QIdentityProxyModel::QIdentityProxyModel(QObject* parent) + : QAbstractProxyModel(*new QIdentityProxyModelPrivate, parent) +{ + +} + +/*! \internal + */ +QIdentityProxyModel::QIdentityProxyModel(QIdentityProxyModelPrivate &dd, QObject* parent) + : QAbstractProxyModel(dd, parent) +{ + +} + +/*! + Destroys this identity model. +*/ +QIdentityProxyModel::~QIdentityProxyModel() +{ +} + +/*! + \reimp + */ +int QIdentityProxyModel::columnCount(const QModelIndex& parent) const +{ + Q_ASSERT(parent.isValid() ? parent.model() == this : true); + Q_D(const QIdentityProxyModel); + return d->model->columnCount(mapToSource(parent)); +} + +/*! + \reimp + */ +bool QIdentityProxyModel::dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) +{ + Q_ASSERT(parent.isValid() ? parent.model() == this : true); + Q_D(QIdentityProxyModel); + return d->model->dropMimeData(data, action, row, column, mapToSource(parent)); +} + +/*! + \reimp + */ +QModelIndex QIdentityProxyModel::index(int row, int column, const QModelIndex& parent) const +{ + Q_ASSERT(parent.isValid() ? parent.model() == this : true); + Q_D(const QIdentityProxyModel); + if (!hasIndex(row, column, parent)) + return QModelIndex(); + const QModelIndex sourceParent = mapToSource(parent); + const QModelIndex sourceIndex = d->model->index(row, column, sourceParent); + Q_ASSERT(sourceIndex.isValid()); + return mapFromSource(sourceIndex); +} + +/*! + \reimp + */ +bool QIdentityProxyModel::insertColumns(int column, int count, const QModelIndex& parent) +{ + Q_ASSERT(parent.isValid() ? parent.model() == this : true); + Q_D(QIdentityProxyModel); + return d->model->insertColumns(column, count, mapToSource(parent)); +} + +/*! + \reimp + */ +bool QIdentityProxyModel::insertRows(int row, int count, const QModelIndex& parent) +{ + Q_ASSERT(parent.isValid() ? parent.model() == this : true); + Q_D(QIdentityProxyModel); + return d->model->insertRows(row, count, mapToSource(parent)); +} + +/*! + \reimp + */ +QModelIndex QIdentityProxyModel::mapFromSource(const QModelIndex& sourceIndex) const +{ + Q_D(const QIdentityProxyModel); + if (!d->model || !sourceIndex.isValid()) + return QModelIndex(); + + Q_ASSERT(sourceIndex.model() == d->model); + return createIndex(sourceIndex.row(), sourceIndex.column(), sourceIndex.internalPointer()); +} + +/*! + \reimp + */ +QItemSelection QIdentityProxyModel::mapSelectionFromSource(const QItemSelection& selection) const +{ + Q_D(const QIdentityProxyModel); + QItemSelection proxySelection; + + if (!d->model) + return proxySelection; + + QItemSelection::const_iterator it = selection.constBegin(); + const QItemSelection::const_iterator end = selection.constEnd(); + for ( ; it != end; ++it) { + Q_ASSERT(it->model() == d->model); + const QItemSelectionRange range(mapFromSource(it->topLeft()), mapFromSource(it->bottomRight())); + proxySelection.append(range); + } + + return proxySelection; +} + +/*! + \reimp + */ +QItemSelection QIdentityProxyModel::mapSelectionToSource(const QItemSelection& selection) const +{ + Q_D(const QIdentityProxyModel); + QItemSelection sourceSelection; + + if (!d->model) + return sourceSelection; + + QItemSelection::const_iterator it = selection.constBegin(); + const QItemSelection::const_iterator end = selection.constEnd(); + for ( ; it != end; ++it) { + Q_ASSERT(it->model() == this); + const QItemSelectionRange range(mapToSource(it->topLeft()), mapToSource(it->bottomRight())); + sourceSelection.append(range); + } + + return sourceSelection; +} + +/*! + \reimp + */ +QModelIndex QIdentityProxyModel::mapToSource(const QModelIndex& proxyIndex) const +{ + Q_D(const QIdentityProxyModel); + if (!d->model || !proxyIndex.isValid()) + return QModelIndex(); + Q_ASSERT(proxyIndex.model() == this); + return d->model->createIndex(proxyIndex.row(), proxyIndex.column(), proxyIndex.internalPointer()); +} + +/*! + \reimp + */ +QModelIndexList QIdentityProxyModel::match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const +{ + Q_D(const QIdentityProxyModel); + Q_ASSERT(start.isValid() ? start.model() == this : true); + if (!d->model) + return QModelIndexList(); + + const QModelIndexList sourceList = d->model->match(mapToSource(start), role, value, hits, flags); + QModelIndexList::const_iterator it = sourceList.constBegin(); + const QModelIndexList::const_iterator end = sourceList.constEnd(); + QModelIndexList proxyList; + for ( ; it != end; ++it) + proxyList.append(mapFromSource(*it)); + return proxyList; +} + +/*! + \reimp + */ +QModelIndex QIdentityProxyModel::parent(const QModelIndex& child) const +{ + Q_ASSERT(child.isValid() ? child.model() == this : true); + const QModelIndex sourceIndex = mapToSource(child); + const QModelIndex sourceParent = sourceIndex.parent(); + return mapFromSource(sourceParent); +} + +/*! + \reimp + */ +bool QIdentityProxyModel::removeColumns(int column, int count, const QModelIndex& parent) +{ + Q_ASSERT(parent.isValid() ? parent.model() == this : true); + Q_D(QIdentityProxyModel); + return d->model->removeColumns(column, count, mapToSource(parent)); +} + +/*! + \reimp + */ +bool QIdentityProxyModel::removeRows(int row, int count, const QModelIndex& parent) +{ + Q_ASSERT(parent.isValid() ? parent.model() == this : true); + Q_D(QIdentityProxyModel); + return d->model->removeRows(row, count, mapToSource(parent)); +} + +/*! + \reimp + */ +int QIdentityProxyModel::rowCount(const QModelIndex& parent) const +{ + Q_ASSERT(parent.isValid() ? parent.model() == this : true); + Q_D(const QIdentityProxyModel); + return d->model->rowCount(mapToSource(parent)); +} + +/*! + \reimp + */ +void QIdentityProxyModel::setSourceModel(QAbstractItemModel* sourceModel) +{ + beginResetModel(); + + if (sourceModel) { + disconnect(sourceModel, SIGNAL(rowsAboutToBeInserted(const QModelIndex &, int, int)), + this, SLOT(_q_sourceRowsAboutToBeInserted(const QModelIndex &, int, int))); + disconnect(sourceModel, SIGNAL(rowsInserted(const QModelIndex &, int, int)), + this, SLOT(_q_sourceRowsInserted(const QModelIndex &, int, int))); + disconnect(sourceModel, SIGNAL(rowsAboutToBeRemoved(const QModelIndex &, int, int)), + this, SLOT(_q_sourceRowsAboutToBeRemoved(const QModelIndex &, int, int))); + disconnect(sourceModel, SIGNAL(rowsRemoved(const QModelIndex &, int, int)), + this, SLOT(_q_sourceRowsRemoved(const QModelIndex &, int, int))); + disconnect(sourceModel, SIGNAL(rowsAboutToBeMoved(const QModelIndex &, int, int, const QModelIndex &, int)), + this, SLOT(_q_sourceRowsAboutToBeMoved(const QModelIndex &, int, int, const QModelIndex &, int))); + disconnect(sourceModel, SIGNAL(rowsMoved(const QModelIndex &, int, int, const QModelIndex &, int)), + this, SLOT(_q_sourceRowsMoved(const QModelIndex &, int, int, const QModelIndex &, int))); + disconnect(sourceModel, SIGNAL(columnsAboutToBeInserted(const QModelIndex &, int, int)), + this, SLOT(_q_sourceColumnsAboutToBeInserted(const QModelIndex &, int, int))); + disconnect(sourceModel, SIGNAL(columnsInserted(const QModelIndex &, int, int)), + this, SLOT(_q_sourceColumnsInserted(const QModelIndex &, int, int))); + disconnect(sourceModel, SIGNAL(columnsAboutToBeRemoved(const QModelIndex &, int, int)), + this, SLOT(_q_sourceColumnsAboutToBeRemoved(const QModelIndex &, int, int))); + disconnect(sourceModel, SIGNAL(columnsRemoved(const QModelIndex &, int, int)), + this, SLOT(_q_sourceColumnsRemoved(const QModelIndex &, int, int))); + disconnect(sourceModel, SIGNAL(columnsAboutToBeMoved(const QModelIndex &, int, int, const QModelIndex &, int)), + this, SLOT(_q_sourceColumnsAboutToBeMoved(const QModelIndex &, int, int, const QModelIndex &, int))); + disconnect(sourceModel, SIGNAL(columnsMoved(const QModelIndex &, int, int, const QModelIndex &, int)), + this, SLOT(_q_sourceColumnsMoved(const QModelIndex &, int, int, const QModelIndex &, int))); + disconnect(sourceModel, SIGNAL(modelAboutToBeReset()), + this, SLOT(_q_sourceModelAboutToBeReset())); + disconnect(sourceModel, SIGNAL(modelReset()), + this, SLOT(_q_sourceModelReset())); + disconnect(sourceModel, SIGNAL(dataChanged(const QModelIndex &, const QModelIndex &)), + this, SLOT(_q_sourceDataChanged(const QModelIndex &, const QModelIndex &))); + disconnect(sourceModel, SIGNAL(headerDataChanged(Qt::Orientation,int,int)), + this, SLOT(_q_sourceHeaderDataChanged(Qt::Orientation,int,int))); + disconnect(sourceModel, SIGNAL(layoutAboutToBeChanged()), + this, SLOT(_q_sourceLayoutAboutToBeChanged())); + disconnect(sourceModel, SIGNAL(layoutChanged()), + this, SLOT(_q_sourceLayoutChanged())); + } + + QAbstractProxyModel::setSourceModel(sourceModel); + + if (sourceModel) { + connect(sourceModel, SIGNAL(rowsAboutToBeInserted(const QModelIndex &, int, int)), + SLOT(_q_sourceRowsAboutToBeInserted(const QModelIndex &, int, int))); + connect(sourceModel, SIGNAL(rowsInserted(const QModelIndex &, int, int)), + SLOT(_q_sourceRowsInserted(const QModelIndex &, int, int))); + connect(sourceModel, SIGNAL(rowsAboutToBeRemoved(const QModelIndex &, int, int)), + SLOT(_q_sourceRowsAboutToBeRemoved(const QModelIndex &, int, int))); + connect(sourceModel, SIGNAL(rowsRemoved(const QModelIndex &, int, int)), + SLOT(_q_sourceRowsRemoved(const QModelIndex &, int, int))); + connect(sourceModel, SIGNAL(rowsAboutToBeMoved(const QModelIndex &, int, int, const QModelIndex &, int)), + SLOT(_q_sourceRowsAboutToBeMoved(const QModelIndex &, int, int, const QModelIndex &, int))); + connect(sourceModel, SIGNAL(rowsMoved(const QModelIndex &, int, int, const QModelIndex &, int)), + SLOT(_q_sourceRowsMoved(const QModelIndex &, int, int, const QModelIndex &, int))); + connect(sourceModel, SIGNAL(columnsAboutToBeInserted(const QModelIndex &, int, int)), + SLOT(_q_sourceColumnsAboutToBeInserted(const QModelIndex &, int, int))); + connect(sourceModel, SIGNAL(columnsInserted(const QModelIndex &, int, int)), + SLOT(_q_sourceColumnsInserted(const QModelIndex &, int, int))); + connect(sourceModel, SIGNAL(columnsAboutToBeRemoved(const QModelIndex &, int, int)), + SLOT(_q_sourceColumnsAboutToBeRemoved(const QModelIndex &, int, int))); + connect(sourceModel, SIGNAL(columnsRemoved(const QModelIndex &, int, int)), + SLOT(_q_sourceColumnsRemoved(const QModelIndex &, int, int))); + connect(sourceModel, SIGNAL(columnsAboutToBeMoved(const QModelIndex &, int, int, const QModelIndex &, int)), + SLOT(_q_sourceColumnsAboutToBeMoved(const QModelIndex &, int, int, const QModelIndex &, int))); + connect(sourceModel, SIGNAL(columnsMoved(const QModelIndex &, int, int, const QModelIndex &, int)), + SLOT(_q_sourceColumnsMoved(const QModelIndex &, int, int, const QModelIndex &, int))); + connect(sourceModel, SIGNAL(modelAboutToBeReset()), + SLOT(_q_sourceModelAboutToBeReset())); + connect(sourceModel, SIGNAL(modelReset()), + SLOT(_q_sourceModelReset())); + connect(sourceModel, SIGNAL(dataChanged(const QModelIndex &, const QModelIndex &)), + SLOT(_q_sourceDataChanged(const QModelIndex &, const QModelIndex &))); + connect(sourceModel, SIGNAL(headerDataChanged(Qt::Orientation,int,int)), + SLOT(_q_sourceHeaderDataChanged(Qt::Orientation,int,int))); + connect(sourceModel, SIGNAL(layoutAboutToBeChanged()), + SLOT(_q_sourceLayoutAboutToBeChanged())); + connect(sourceModel, SIGNAL(layoutChanged()), + SLOT(_q_sourceLayoutChanged())); + } + + endResetModel(); +} + +void QIdentityProxyModelPrivate::_q_sourceColumnsAboutToBeInserted(const QModelIndex &parent, int start, int end) +{ + Q_ASSERT(parent.isValid() ? parent.model() == model : true); + Q_Q(QIdentityProxyModel); + q->beginInsertColumns(q->mapFromSource(parent), start, end); +} + +void QIdentityProxyModelPrivate::_q_sourceColumnsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destParent, int dest) +{ + Q_ASSERT(sourceParent.isValid() ? sourceParent.model() == model : true); + Q_ASSERT(destParent.isValid() ? destParent.model() == model : true); + Q_Q(QIdentityProxyModel); + q->beginMoveColumns(q->mapFromSource(sourceParent), sourceStart, sourceEnd, q->mapFromSource(destParent), dest); +} + +void QIdentityProxyModelPrivate::_q_sourceColumnsAboutToBeRemoved(const QModelIndex &parent, int start, int end) +{ + Q_ASSERT(parent.isValid() ? parent.model() == model : true); + Q_Q(QIdentityProxyModel); + q->beginRemoveColumns(q->mapFromSource(parent), start, end); +} + +void QIdentityProxyModelPrivate::_q_sourceColumnsInserted(const QModelIndex &parent, int start, int end) +{ + Q_ASSERT(parent.isValid() ? parent.model() == model : true); + Q_Q(QIdentityProxyModel); + Q_UNUSED(parent) + Q_UNUSED(start) + Q_UNUSED(end) + q->endInsertColumns(); +} + +void QIdentityProxyModelPrivate::_q_sourceColumnsMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destParent, int dest) +{ + Q_ASSERT(sourceParent.isValid() ? sourceParent.model() == model : true); + Q_ASSERT(destParent.isValid() ? destParent.model() == model : true); + Q_Q(QIdentityProxyModel); + Q_UNUSED(sourceParent) + Q_UNUSED(sourceStart) + Q_UNUSED(sourceEnd) + Q_UNUSED(destParent) + Q_UNUSED(dest) + q->endMoveColumns(); +} + +void QIdentityProxyModelPrivate::_q_sourceColumnsRemoved(const QModelIndex &parent, int start, int end) +{ + Q_ASSERT(parent.isValid() ? parent.model() == model : true); + Q_Q(QIdentityProxyModel); + Q_UNUSED(parent) + Q_UNUSED(start) + Q_UNUSED(end) + q->endRemoveColumns(); +} + +void QIdentityProxyModelPrivate::_q_sourceDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight) +{ + Q_ASSERT(topLeft.isValid() ? topLeft.model() == model : true); + Q_ASSERT(bottomRight.isValid() ? bottomRight.model() == model : true); + Q_Q(QIdentityProxyModel); + q->dataChanged(q->mapFromSource(topLeft), q->mapFromSource(bottomRight)); +} + +void QIdentityProxyModelPrivate::_q_sourceHeaderDataChanged(Qt::Orientation orientation, int first, int last) +{ + Q_Q(QIdentityProxyModel); + q->headerDataChanged(orientation, first, last); +} + +void QIdentityProxyModelPrivate::_q_sourceLayoutAboutToBeChanged() +{ + if (ignoreNextLayoutAboutToBeChanged) + return; + + Q_Q(QIdentityProxyModel); + + foreach(const QPersistentModelIndex &proxyPersistentIndex, q->persistentIndexList()) { + proxyIndexes << proxyPersistentIndex; + Q_ASSERT(proxyPersistentIndex.isValid()); + const QPersistentModelIndex srcPersistentIndex = q->mapToSource(proxyPersistentIndex); + Q_ASSERT(srcPersistentIndex.isValid()); + layoutChangePersistentIndexes << srcPersistentIndex; + } + + q->layoutAboutToBeChanged(); +} + +void QIdentityProxyModelPrivate::_q_sourceLayoutChanged() +{ + if (ignoreNextLayoutChanged) + return; + + Q_Q(QIdentityProxyModel); + + for (int i = 0; i < proxyIndexes.size(); ++i) { + q->changePersistentIndex(proxyIndexes.at(i), q->mapFromSource(layoutChangePersistentIndexes.at(i))); + } + + layoutChangePersistentIndexes.clear(); + proxyIndexes.clear(); + + q->layoutChanged(); +} + +void QIdentityProxyModelPrivate::_q_sourceModelAboutToBeReset() +{ + Q_Q(QIdentityProxyModel); + q->beginResetModel(); +} + +void QIdentityProxyModelPrivate::_q_sourceModelReset() +{ + Q_Q(QIdentityProxyModel); + q->endResetModel(); +} + +void QIdentityProxyModelPrivate::_q_sourceRowsAboutToBeInserted(const QModelIndex &parent, int start, int end) +{ + Q_ASSERT(parent.isValid() ? parent.model() == model : true); + Q_Q(QIdentityProxyModel); + q->beginInsertRows(q->mapFromSource(parent), start, end); +} + +void QIdentityProxyModelPrivate::_q_sourceRowsAboutToBeMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destParent, int dest) +{ + Q_ASSERT(sourceParent.isValid() ? sourceParent.model() == model : true); + Q_ASSERT(destParent.isValid() ? destParent.model() == model : true); + Q_Q(QIdentityProxyModel); + q->beginMoveRows(q->mapFromSource(sourceParent), sourceStart, sourceEnd, q->mapFromSource(destParent), dest); +} + +void QIdentityProxyModelPrivate::_q_sourceRowsAboutToBeRemoved(const QModelIndex &parent, int start, int end) +{ + Q_ASSERT(parent.isValid() ? parent.model() == model : true); + Q_Q(QIdentityProxyModel); + q->beginRemoveRows(q->mapFromSource(parent), start, end); +} + +void QIdentityProxyModelPrivate::_q_sourceRowsInserted(const QModelIndex &parent, int start, int end) +{ + Q_ASSERT(parent.isValid() ? parent.model() == model : true); + Q_Q(QIdentityProxyModel); + Q_UNUSED(parent) + Q_UNUSED(start) + Q_UNUSED(end) + q->endInsertRows(); +} + +void QIdentityProxyModelPrivate::_q_sourceRowsMoved(const QModelIndex &sourceParent, int sourceStart, int sourceEnd, const QModelIndex &destParent, int dest) +{ + Q_ASSERT(sourceParent.isValid() ? sourceParent.model() == model : true); + Q_ASSERT(destParent.isValid() ? destParent.model() == model : true); + Q_Q(QIdentityProxyModel); + Q_UNUSED(sourceParent) + Q_UNUSED(sourceStart) + Q_UNUSED(sourceEnd) + Q_UNUSED(destParent) + Q_UNUSED(dest) + q->endMoveRows(); +} + +void QIdentityProxyModelPrivate::_q_sourceRowsRemoved(const QModelIndex &parent, int start, int end) +{ + Q_ASSERT(parent.isValid() ? parent.model() == model : true); + Q_Q(QIdentityProxyModel); + Q_UNUSED(parent) + Q_UNUSED(start) + Q_UNUSED(end) + q->endRemoveRows(); +} + +QT_END_NAMESPACE + +#include "moc_qidentityproxymodel.cpp" + +#endif // QT_NO_IDENTITYPROXYMODEL diff --git a/src/gui/itemviews/qidentityproxymodel.h b/src/gui/itemviews/qidentityproxymodel.h new file mode 100644 index 0000000..4b3176a --- /dev/null +++ b/src/gui/itemviews/qidentityproxymodel.h @@ -0,0 +1,120 @@ +/**************************************************************************** +** +** Copyright (C) 2011 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Stephen Kelly <stephen.kelly@kdab.com> +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the QtGui module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + + +#ifndef QIDENTITYPROXYMODEL_H +#define QIDENTITYPROXYMODEL_H + +#include <QtGui/qabstractproxymodel.h> + +#ifndef QT_NO_IDENTITYPROXYMODEL + +QT_BEGIN_HEADER + +QT_BEGIN_NAMESPACE + +QT_MODULE(Gui) + +class QIdentityProxyModelPrivate; + +class Q_GUI_EXPORT QIdentityProxyModel : public QAbstractProxyModel +{ + Q_OBJECT +public: + explicit QIdentityProxyModel(QObject* parent = 0); + ~QIdentityProxyModel(); + + int columnCount(const QModelIndex& parent = QModelIndex()) const; + QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const; + QModelIndex mapFromSource(const QModelIndex& sourceIndex) const; + QModelIndex mapToSource(const QModelIndex& proxyIndex) const; + QModelIndex parent(const QModelIndex& child) const; + int rowCount(const QModelIndex& parent = QModelIndex()) const; + bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent); + + QItemSelection mapSelectionFromSource(const QItemSelection& selection) const; + QItemSelection mapSelectionToSource(const QItemSelection& selection) const; + QModelIndexList match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const; + void setSourceModel(QAbstractItemModel* sourceModel); + + bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()); + bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()); + bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()); + bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); + +protected: + QIdentityProxyModel(QIdentityProxyModelPrivate &dd, QObject* parent); + +private: + Q_DECLARE_PRIVATE(QIdentityProxyModel) + Q_DISABLE_COPY(QIdentityProxyModel) + + Q_PRIVATE_SLOT(d_func(), void _q_sourceRowsAboutToBeInserted(QModelIndex,int,int)) + Q_PRIVATE_SLOT(d_func(), void _q_sourceRowsInserted(QModelIndex,int,int)) + Q_PRIVATE_SLOT(d_func(), void _q_sourceRowsAboutToBeRemoved(QModelIndex,int,int)) + Q_PRIVATE_SLOT(d_func(), void _q_sourceRowsRemoved(QModelIndex,int,int)) + Q_PRIVATE_SLOT(d_func(), void _q_sourceRowsAboutToBeMoved(QModelIndex,int,int,QModelIndex,int)) + Q_PRIVATE_SLOT(d_func(), void _q_sourceRowsMoved(QModelIndex,int,int,QModelIndex,int)) + + Q_PRIVATE_SLOT(d_func(), void _q_sourceColumnsAboutToBeInserted(QModelIndex,int,int)) + Q_PRIVATE_SLOT(d_func(), void _q_sourceColumnsInserted(QModelIndex,int,int)) + Q_PRIVATE_SLOT(d_func(), void _q_sourceColumnsAboutToBeRemoved(QModelIndex,int,int)) + Q_PRIVATE_SLOT(d_func(), void _q_sourceColumnsRemoved(QModelIndex,int,int)) + Q_PRIVATE_SLOT(d_func(), void _q_sourceColumnsAboutToBeMoved(QModelIndex,int,int,QModelIndex,int)) + Q_PRIVATE_SLOT(d_func(), void _q_sourceColumnsMoved(QModelIndex,int,int,QModelIndex,int)) + + Q_PRIVATE_SLOT(d_func(), void _q_sourceDataChanged(QModelIndex,QModelIndex)) + Q_PRIVATE_SLOT(d_func(), void _q_sourceHeaderDataChanged(Qt::Orientation orientation, int first, int last)) + + Q_PRIVATE_SLOT(d_func(), void _q_sourceLayoutAboutToBeChanged()) + Q_PRIVATE_SLOT(d_func(), void _q_sourceLayoutChanged()) + Q_PRIVATE_SLOT(d_func(), void _q_sourceModelAboutToBeReset()) + Q_PRIVATE_SLOT(d_func(), void _q_sourceModelReset()) +}; + +QT_END_NAMESPACE + +QT_END_HEADER + +#endif // QT_NO_IDENTITYPROXYMODEL + +#endif // QIDENTITYPROXYMODEL_H + diff --git a/src/gui/itemviews/qitemselectionmodel.cpp b/src/gui/itemviews/qitemselectionmodel.cpp index 27a4a40..0b64452 100644 --- a/src/gui/itemviews/qitemselectionmodel.cpp +++ b/src/gui/itemviews/qitemselectionmodel.cpp @@ -1145,11 +1145,8 @@ void QItemSelectionModel::clearSelection() Q_D(QItemSelectionModel); if (d->ranges.count() == 0 && d->currentSelection.count() == 0) return; - QItemSelection selection = d->ranges; - selection.merge(d->currentSelection, d->currentCommand); - d->ranges.clear(); - d->currentSelection.clear(); - emit selectionChanged(QItemSelection(), selection); + + select(QItemSelection(), Clear); } diff --git a/src/gui/itemviews/qsortfilterproxymodel.cpp b/src/gui/itemviews/qsortfilterproxymodel.cpp index eb56f56..f73607b 100644 --- a/src/gui/itemviews/qsortfilterproxymodel.cpp +++ b/src/gui/itemviews/qsortfilterproxymodel.cpp @@ -1502,7 +1502,7 @@ void QSortFilterProxyModelPrivate::_q_sourceColumnsRemoved( \l{Model Subclassing Reference}. \sa QAbstractProxyModel, QAbstractItemModel, {Model/View Programming}, - {Basic Sort/Filter Model Example}, {Custom Sort/Filter Model Example} + {Basic Sort/Filter Model Example}, {Custom Sort/Filter Model Example}, QIdentityProxyModel */ /*! diff --git a/src/gui/itemviews/qtableview.cpp b/src/gui/itemviews/qtableview.cpp index a5eed1d..e70f356 100644 --- a/src/gui/itemviews/qtableview.cpp +++ b/src/gui/itemviews/qtableview.cpp @@ -1104,6 +1104,21 @@ void QTableView::setRootIndex(const QModelIndex &index) /*! \reimp */ +void QTableView::doItemsLayout() +{ + Q_D(QTableView); + QAbstractItemView::doItemsLayout(); + if (verticalScrollMode() == QAbstractItemView::ScrollPerItem) + d->verticalHeader->setOffsetToSectionPosition(verticalScrollBar()->value()); + else + d->verticalHeader->setOffset(verticalScrollBar()->value()); + if (!d->verticalHeader->updatesEnabled()) + d->verticalHeader->setUpdatesEnabled(true); +} + +/*! + \reimp +*/ void QTableView::setSelectionModel(QItemSelectionModel *selectionModel) { Q_D(QTableView); @@ -1974,9 +1989,13 @@ QModelIndexList QTableView::selectedIndexes() const previous number of rows is specified by \a oldCount, and the new number of rows is specified by \a newCount. */ -void QTableView::rowCountChanged(int /*oldCount*/, int /*newCount*/ ) +void QTableView::rowCountChanged(int oldCount, int newCount ) { Q_D(QTableView); + //when removing rows, we need to disable updates for the header until the geometries have been + //updated and the offset has been adjusted, or we risk calling paintSection for all the sections + if (newCount < oldCount) + d->verticalHeader->setUpdatesEnabled(false); d->doDelayedItemsLayout(); } diff --git a/src/gui/itemviews/qtableview.h b/src/gui/itemviews/qtableview.h index d4be086..7ab9d08 100644 --- a/src/gui/itemviews/qtableview.h +++ b/src/gui/itemviews/qtableview.h @@ -71,6 +71,7 @@ public: void setModel(QAbstractItemModel *model); void setRootIndex(const QModelIndex &index); void setSelectionModel(QItemSelectionModel *selectionModel); + void doItemsLayout(); QHeaderView *horizontalHeader() const; QHeaderView *verticalHeader() const; diff --git a/src/gui/kernel/kernel.pri b/src/gui/kernel/kernel.pri index 3aa28a4..3c57368 100644 --- a/src/gui/kernel/kernel.pri +++ b/src/gui/kernel/kernel.pri @@ -108,6 +108,8 @@ win32 { } symbian { + exists($${EPOCROOT}epoc32/include/platform/mw/akntranseffect.h): DEFINES += QT_SYMBIAN_HAVE_AKNTRANSEFFECT_H + SOURCES += \ kernel/qapplication_s60.cpp \ kernel/qeventdispatcher_s60.cpp \ diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp index e91fe04..4096bf3 100644 --- a/src/gui/kernel/qapplication.cpp +++ b/src/gui/kernel/qapplication.cpp @@ -128,6 +128,10 @@ extern bool qt_wince_is_pocket_pc(); //qguifunctions_wince.cpp //#define ALIEN_DEBUG +#if defined(Q_OS_SYMBIAN) +#include "qt_s60_p.h" +#endif + static void initResources() { #if defined(Q_WS_WINCE) @@ -2438,6 +2442,11 @@ bool QApplication::event(QEvent *e) { Q_D(QApplication); if(e->type() == QEvent::Close) { +#if defined(Q_OS_SYMBIAN) + // In order to have proper application-exit effects on Symbian, certain + // native APIs have to be called _before_ closing/destroying the widgets. + bool effectStarted = qt_beginFullScreenEffect(); +#endif QCloseEvent *ce = static_cast<QCloseEvent*>(e); ce->accept(); closeAllWindows(); @@ -2451,8 +2460,14 @@ bool QApplication::event(QEvent *e) break; } } - if(ce->isAccepted()) + if (ce->isAccepted()) { return true; + } else { +#if defined(Q_OS_SYMBIAN) + if (effectStarted) + qt_abortFullScreenEffect(); +#endif + } } else if(e->type() == QEvent::LanguageChange) { #ifndef QT_NO_TRANSLATION setLayoutDirection(qt_detectRTLLanguage()?Qt::RightToLeft:Qt::LeftToRight); diff --git a/src/gui/kernel/qapplication_s60.cpp b/src/gui/kernel/qapplication_s60.cpp index 0688061..408c3b5 100644 --- a/src/gui/kernel/qapplication_s60.cpp +++ b/src/gui/kernel/qapplication_s60.cpp @@ -215,6 +215,12 @@ void QS60Data::controlVisibilityChanged(CCoeControl *control, bool visible) widget->repaint(); } } else { + // In certain special scenarios we may get an ENotVisible event + // without a previous EPartiallyVisible. The backingstore must + // still be destroyed, hence the registerWidget() call below. + if (backingStore.data() && widget->internalWinId() + && qt_widget_private(widget)->maybeBackingStore() == backingStore.data()) + backingStore.registerWidget(widget); backingStore.unregisterWidget(widget); // In order to ensure that any resources used by the window surface // are immediately freed, we flush the WSERV command buffer. @@ -459,6 +465,7 @@ QSymbianControl::QSymbianControl(QWidget *w) , m_ignoreFocusChanged(0) , m_symbianPopupIsOpen(0) , m_inExternalScreenOverride(false) + , m_lastStatusPaneVisibility(0) { } @@ -545,11 +552,52 @@ void QSymbianControl::setWidget(QWidget *w) { qwidget = w; } + +QPoint QSymbianControl::translatePointForFixedNativeOrientation(const TPoint &pointerEventPos) const +{ + QPoint pos(pointerEventPos.iX, pointerEventPos.iY); + if (qwidget->d_func()->fixNativeOrientationCalled) { + QSize wsize = qwidget->size(); + TSize size = Size(); + if (size.iWidth == wsize.height() && size.iHeight == wsize.width()) { + qreal x = pos.x(); + qreal y = pos.y(); + pos.setX(size.iHeight - y); + pos.setY(x); + } + } + return pos; +} + +TRect QSymbianControl::translateRectForFixedNativeOrientation(const TRect &controlRect) const +{ + TRect rect = controlRect; + if (qwidget->d_func()->fixNativeOrientationCalled) { + QPoint a = translatePointForFixedNativeOrientation(rect.iTl); + QPoint b = translatePointForFixedNativeOrientation(rect.iBr); + if (a.x() < b.x()) { + rect.iTl.iX = a.x(); + rect.iBr.iX = b.x(); + } else { + rect.iTl.iX = b.x(); + rect.iBr.iX = a.x(); + } + if (a.y() < b.y()) { + rect.iTl.iY = a.y(); + rect.iBr.iY = b.y(); + } else { + rect.iTl.iY = b.y(); + rect.iBr.iY = a.y(); + } + } + return rect; +} + void QSymbianControl::HandleLongTapEventL( const TPoint& aPenEventLocation, const TPoint& aPenEventScreenLocation ) { QWidget *alienWidget; - QPoint widgetPos = QPoint(aPenEventLocation.iX, aPenEventLocation.iY); - QPoint globalPos = QPoint(aPenEventScreenLocation.iX,aPenEventScreenLocation.iY); + QPoint widgetPos = translatePointForFixedNativeOrientation(aPenEventLocation); + QPoint globalPos = translatePointForFixedNativeOrientation(aPenEventScreenLocation); alienWidget = qwidget->childAt(widgetPos); if (!alienWidget) alienWidget = qwidget; @@ -564,7 +612,7 @@ void QSymbianControl::HandleLongTapEventL( const TPoint& aPenEventLocation, cons void QSymbianControl::translateAdvancedPointerEvent(const TAdvancedPointerEvent *event) { QApplicationPrivate *d = QApplicationPrivate::instance(); - QPointF screenPos = qwidget->mapToGlobal(QPoint(event->iPosition.iX, event->iPosition.iY)); + QPointF screenPos = qwidget->mapToGlobal(translatePointForFixedNativeOrientation(event->iPosition)); qreal pressure; if(d->pressureSupported && event->Pressure() > 0) //workaround for misconfigured HAL @@ -665,7 +713,7 @@ void QSymbianControl::HandlePointerEvent(const TPointerEvent& pEvent) mapS60MouseEventTypeToQt(&type, &button, &pEvent); Qt::KeyboardModifiers modifiers = mapToQtModifiers(pEvent.iModifiers); - QPoint widgetPos = QPoint(pEvent.iPosition.iX, pEvent.iPosition.iY); + QPoint widgetPos = translatePointForFixedNativeOrientation(pEvent.iPosition); TPoint controlScreenPos = PositionRelativeToScreen(); QPoint globalPos = QPoint(controlScreenPos.iX, controlScreenPos.iY) + widgetPos; S60->lastCursorPos = globalPos; @@ -1131,6 +1179,9 @@ void QSymbianControl::Draw(const TRect& controlRect) const Q_ASSERT(window); QTLWExtra *topExtra = window->d_func()->maybeTopData(); Q_ASSERT(topExtra); + + TRect wcontrolRect = translateRectForFixedNativeOrientation(controlRect); + if (!topExtra->inExpose) { topExtra->inExpose = true; if (!qwidget->isWindow()) { @@ -1141,7 +1192,7 @@ void QSymbianControl::Draw(const TRect& controlRect) const gc.SetBrushColor(TRgb(0, 0, 0, 0)); gc.Clear(controlRect); } - QRect exposeRect = qt_TRect2QRect(controlRect); + QRect exposeRect = qt_TRect2QRect(wcontrolRect); qwidget->d_func()->syncBackingStore(exposeRect); topExtra->inExpose = false; } @@ -1154,7 +1205,7 @@ void QSymbianControl::Draw(const TRect& controlRect) const const bool sendNativePaintEvents = qwidget->d_func()->extraData()->receiveNativePaintEvents; if (sendNativePaintEvents) { - const QRect r = qt_TRect2QRect(controlRect); + const QRect r = qt_TRect2QRect(wcontrolRect); QMetaObject::invokeMethod(qwidget, "beginNativePaintEvent", Qt::DirectConnection, Q_ARG(QRect, r)); } @@ -1209,7 +1260,7 @@ void QSymbianControl::Draw(const TRect& controlRect) const } if (sendNativePaintEvents) { - const QRect r = qt_TRect2QRect(controlRect); + const QRect r = qt_TRect2QRect(wcontrolRect); // The draw ops aren't actually sent to WSERV until the graphics // context is deactivated, which happens in the function calling // this one. We therefore delay the delivery of endNativePaintEvent, @@ -1222,14 +1273,45 @@ void QSymbianControl::Draw(const TRect& controlRect) const } } +void QSymbianControl::qwidgetResize_helper(const QSize &newSize) +{ + QRect cr = qwidget->geometry(); + QSize oldSize(cr.size()); + cr.setSize(newSize); + qwidget->data->crect = cr; + if (qwidget->isVisible()) { + QTLWExtra *tlwExtra = qwidget->d_func()->maybeTopData(); + bool slowResize = qgetenv("QT_SLOW_TOPLEVEL_RESIZE").toInt(); + if (!slowResize && tlwExtra) + tlwExtra->inTopLevelResize = true; + QResizeEvent e(newSize, oldSize); + qt_sendSpontaneousEvent(qwidget, &e); + if (!qwidget->testAttribute(Qt::WA_StaticContents)) + qwidget->d_func()->syncBackingStore(); + if (!slowResize && tlwExtra) + tlwExtra->inTopLevelResize = false; + } else { + if (!qwidget->testAttribute(Qt::WA_PendingResizeEvent)) { + QResizeEvent *e = new QResizeEvent(newSize, oldSize); + QApplication::postEvent(qwidget, e); + } + } +} + void QSymbianControl::SizeChanged() { CCoeControl::SizeChanged(); + // When FixNativeOrientation had been called, the RWindow/CCoeControl size + // and the surface/QWidget size have nothing to do with each other. + if (qwidget->d_func()->fixNativeOrientationCalled) + return; + QSize oldSize = qwidget->size(); QSize newSize(Size().iWidth, Size().iHeight); if (oldSize != newSize) { + // Enforce the proper size for fullscreen widgets on the secondary screen. const bool isFullscreen = qwidget->windowState() & Qt::WindowFullScreen; const int screenNumber = S60->screenNumberForWidget(qwidget); if (!m_inExternalScreenOverride && isFullscreen && screenNumber > 0) { @@ -1242,26 +1324,8 @@ void QSymbianControl::SizeChanged() return; } } - QRect cr = qwidget->geometry(); - cr.setSize(newSize); - qwidget->data->crect = cr; - if (qwidget->isVisible()) { - QTLWExtra *tlwExtra = qwidget->d_func()->maybeTopData(); - bool slowResize = qgetenv("QT_SLOW_TOPLEVEL_RESIZE").toInt(); - if (!slowResize && tlwExtra) - tlwExtra->inTopLevelResize = true; - QResizeEvent e(newSize, oldSize); - qt_sendSpontaneousEvent(qwidget, &e); - if (!qwidget->testAttribute(Qt::WA_StaticContents)) - qwidget->d_func()->syncBackingStore(); - if (!slowResize && tlwExtra) - tlwExtra->inTopLevelResize = false; - } else { - if (!qwidget->testAttribute(Qt::WA_PendingResizeEvent)) { - QResizeEvent *e = new QResizeEvent(newSize, oldSize); - QApplication::postEvent(qwidget, e); - } - } + + qwidgetResize_helper(newSize); } m_inExternalScreenOverride = false; @@ -1427,7 +1491,13 @@ void QSymbianControl::HandleResourceChange(int resourceType) } break; case KInternalStatusPaneChange: - handleClientAreaChange(); + // When status pane is not visible, only handle client area change if status pane was + // previously visible, as size changes to hidden status pane should not affect + // client area. + if (S60->statusPane() && (S60->statusPane()->IsVisible() || m_lastStatusPaneVisibility)) { + m_lastStatusPaneVisibility = S60->statusPane()->IsVisible(); + handleClientAreaChange(); + } if (IsFocused() && IsVisible()) { qwidget->d_func()->setWindowIcon_sys(true); qwidget->d_func()->setWindowTitle_sys(qwidget->windowTitle()); @@ -1441,8 +1511,10 @@ void QSymbianControl::HandleResourceChange(int resourceType) { handleClientAreaChange(); // Send resize event to trigger desktopwidget workAreaResized signal - QResizeEvent e(qt_desktopWidget->size(), qt_desktopWidget->size()); - QApplication::sendEvent(qt_desktopWidget, &e); + if (qt_desktopWidget) { + QResizeEvent e(qt_desktopWidget->size(), qt_desktopWidget->size()); + QApplication::sendEvent(qt_desktopWidget, &e); + } break; } #endif @@ -1504,29 +1576,49 @@ bool QSymbianControl::isControlActive() void QSymbianControl::ensureFixNativeOrientation() { #if defined(Q_SYMBIAN_SUPPORTS_FIXNATIVEORIENTATION) - // Call FixNativeOrientation() for fullscreen QDeclarativeViews that - // have a locked orientation matching the native orientation of the device. - // This avoids unnecessary window rotation on wserv level. - if (!qwidget->isWindow() || qwidget->windowType() == Qt::Desktop - || !qwidget->inherits("QDeclarativeView") - || S60->screenNumberForWidget(qwidget) > 0) + if (!qwidget->isWindow() || qwidget->windowType() == Qt::Desktop) + return; + if (S60->screenNumberForWidget(qwidget) > 0) return; - const bool isFullScreen = qwidget->windowState().testFlag(Qt::WindowFullScreen); const bool isFixed = qwidget->d_func()->fixNativeOrientationCalled; - const bool matchesNative = qwidget->testAttribute( - S60->nativeOrientationIsPortrait ? Qt::WA_LockPortraitOrientation - : Qt::WA_LockLandscapeOrientation); - if (isFullScreen && matchesNative) { - if (!isFixed) { - Window().FixNativeOrientation(); - qwidget->d_func()->fixNativeOrientationCalled = true; + const bool isFixEnabled = qwidget->testAttribute(Qt::WA_SymbianNoSystemRotation); + const bool isFullScreen = qwidget->windowState().testFlag(Qt::WindowFullScreen); + if (isFullScreen && isFixEnabled) { + const bool surfaceBasedGs = + QApplicationPrivate::graphics_system_name == QLatin1String("openvg") + || QApplicationPrivate::graphics_system_name == QLatin1String("opengl"); + if (!surfaceBasedGs) + qwidget->setAttribute(Qt::WA_SymbianNoSystemRotation, false); + if (!isFixed && surfaceBasedGs) { + if (Window().FixNativeOrientation() == KErrNone) { + qwidget->d_func()->fixNativeOrientationCalled = true; + // The EGL window surface is now fixed to the native orientation + // of the device, no matter what size we pass when creating it. + // Enforce the same size for the QWidget too. For the underlying + // CCoeControl and RWindow it is up to the system to resize them + // when the standard auto-rotation mechanism is in use, we must not + // change that behavior by forcing any size for those. In practice + // this means that the QWidget and the underlying native control + // dimensions will be out of sync when FixNativeOrientation was + // called and the device is turned to the non-native (typically + // landscape) orientation. The pointer event handling and certain + // functions like Draw() will need to compensate for this. + QSize newSize(S60->nativeScreenWidthInPixels, S60->nativeScreenHeightInPixels); + if (qwidget->size() != newSize) + qwidgetResize_helper(newSize); + } else { + qwidget->setAttribute(Qt::WA_SymbianNoSystemRotation, false); + } } } else if (isFixed) { + qwidget->setAttribute(Qt::WA_SymbianNoSystemRotation, false); qwidget->d_func()->fixNativeOrientationCalled = false; qwidget->hide(); qwidget->d_func()->create_sys(0, false, true); qwidget->show(); } +#else + qwidget->setAttribute(Qt::WA_SymbianNoSystemRotation, false); #endif } @@ -1738,9 +1830,7 @@ void qt_init(QApplicationPrivate * /* priv */, int) systemFont.setFamily(systemFont.defaultFamily()); QApplicationPrivate::setSystemFont(systemFont); -#ifdef Q_SYMBIAN_TRANSITION_EFFECTS QObject::connect(qApp, SIGNAL(aboutToQuit()), qApp, SLOT(_q_aboutToQuit())); -#endif #ifdef Q_SYMBIAN_SEMITRANSPARENT_BG_SURFACE QApplicationPrivate::instance()->useTranslucentEGLSurfaces = true; @@ -1765,6 +1855,8 @@ void qt_init(QApplicationPrivate * /* priv */, int) } else { QApplicationPrivate::instance()->useTranslucentEGLSurfaces = false; } + if (QApplicationPrivate::graphics_system_name == QLatin1String("raster")) + QApplicationPrivate::instance()->useTranslucentEGLSurfaces = false; #else QApplicationPrivate::instance()->useTranslucentEGLSurfaces = false; #endif @@ -1836,6 +1928,9 @@ void qt_cleanup() S60->setButtonGroupContainer(0); #endif + // Call EndFullScreen() to prevent confusing the system effect state machine. + qt_endFullScreenEffect(); + if (S60->qtOwnsS60Environment) { // Restore the S60 framework trap handler. See qt_init(). User::SetTrapHandler(S60->s60InstalledTrapHandler); @@ -2581,6 +2676,8 @@ void QApplication::restoreOverrideCursor() void QApplicationPrivate::_q_aboutToQuit() { + qt_beginFullScreenEffect(); + #ifdef Q_SYMBIAN_TRANSITION_EFFECTS // Send the shutdown tfx command S60->wsSession().SendEffectCommand(ETfxCmdAppShutDown); diff --git a/src/gui/kernel/qapplication_win.cpp b/src/gui/kernel/qapplication_win.cpp index 0a03397..6658300 100644 --- a/src/gui/kernel/qapplication_win.cpp +++ b/src/gui/kernel/qapplication_win.cpp @@ -2361,8 +2361,13 @@ extern "C" LRESULT QT_WIN_CALLBACK QtWndProc(HWND hwnd, UINT message, WPARAM wPa #ifndef QT_NO_ACCESSIBILITY case WM_GETOBJECT: { + /* On Win64, lParam can be 0x00000000fffffffc or 0xfffffffffffffffc (!), + but MSDN says that lParam should be converted to a DWORD + before its compared against OBJID_CLIENT + */ + const DWORD dwObjId = (DWORD)lParam; // Ignoring all requests while starting up - if (QApplication::startingUp() || QApplication::closingDown() || lParam != (LPARAM)OBJID_CLIENT) { + if (QApplication::startingUp() || QApplication::closingDown() || dwObjId != OBJID_CLIENT) { result = false; break; } diff --git a/src/gui/kernel/qt_s60_p.h b/src/gui/kernel/qt_s60_p.h index ee0b862..8aba53a 100644 --- a/src/gui/kernel/qt_s60_p.h +++ b/src/gui/kernel/qt_s60_p.h @@ -77,6 +77,10 @@ #include <akncontext.h> // CAknContextPane #include <eikspane.h> // CEikStatusPane #include <AknPopupFader.h> // MAknFadedComponent and TAknPopupFader +#include <gfxtranseffect/gfxtranseffect.h> // BeginFullScreen +#ifdef QT_SYMBIAN_HAVE_AKNTRANSEFFECT_H +#include <akntranseffect.h> // BeginFullScreen +#endif #endif QT_BEGIN_NAMESPACE @@ -85,6 +89,9 @@ QT_BEGIN_NAMESPACE // system events seems to start with 0x10 const TInt KInternalStatusPaneChange = 0x50000000; +// For BeginFullScreen(). +const TUint KQtAppExitFlag = 0x400; + static const int qt_symbian_max_screens = 4; //this macro exists because EColor16MAP enum value doesn't exist in Symbian OS 9.2 @@ -191,7 +198,11 @@ public: int screenWidthInTwipsForScreen[qt_symbian_max_screens]; int screenHeightInTwipsForScreen[qt_symbian_max_screens]; - bool nativeOrientationIsPortrait; + int nativeScreenWidthInPixels; + int nativeScreenHeightInPixels; + + int beginFullScreenCalled : 1; + int endFullScreenCalled : 1; }; Q_AUTOTEST_EXPORT QS60Data* qGlobalS60Data(); @@ -237,6 +248,8 @@ public: bool isControlActive(); void ensureFixNativeOrientation(); + QPoint translatePointForFixedNativeOrientation(const TPoint &pointerEventPos) const; + TRect translateRectForFixedNativeOrientation(const TRect &controlRect) const; #ifdef Q_WS_S60 void FadeBehindPopup(bool fade){ popupFader.FadeBehindPopup( this, this, fade); } @@ -256,6 +269,9 @@ protected: void PositionChanged(); void FocusChanged(TDrawNow aDrawNow); +protected: + void qwidgetResize_helper(const QSize &newSize); + private: void HandlePointerEvent(const TPointerEvent& aPointerEvent); TKeyResponse OfferKeyEvent(const TKeyEvent& aKeyEvent,TEventCode aType); @@ -295,6 +311,7 @@ private: #endif bool m_inExternalScreenOverride : 1; + bool m_lastStatusPaneVisibility : 1; }; inline QS60Data::QS60Data() @@ -327,6 +344,8 @@ inline QS60Data::QS60Data() #ifdef Q_OS_SYMBIAN ,s60InstalledTrapHandler(0) #endif + ,beginFullScreenCalled(0), + endFullScreenCalled(0) { } @@ -362,18 +381,15 @@ inline void QS60Data::updateScreenSize() // Look for a screen mode with rotation 0 // in order to decide what the native orientation is. - int nativeScreenWidthInPixels = 0; - int nativeScreenHeightInPixels = 0; for (mode = 0; mode < screenModeCount; ++mode) { TPixelsAndRotation sizeAndRotation; dev->GetScreenModeSizeAndRotation(mode, sizeAndRotation); if (sizeAndRotation.iRotation == CFbsBitGc::EGraphicsOrientationNormal) { - nativeScreenWidthInPixels = sizeAndRotation.iPixelSize.iWidth; - nativeScreenHeightInPixels = sizeAndRotation.iPixelSize.iHeight; + S60->nativeScreenWidthInPixels = sizeAndRotation.iPixelSize.iWidth; + S60->nativeScreenHeightInPixels = sizeAndRotation.iPixelSize.iHeight; break; } } - S60->nativeOrientationIsPortrait = nativeScreenWidthInPixels <= nativeScreenHeightInPixels; } inline RWsSession& QS60Data::wsSession() @@ -561,6 +577,49 @@ void qt_symbian_set_cursor_visible(bool visible); bool qt_symbian_is_cursor_visible(); #endif +static inline bool qt_beginFullScreenEffect() +{ +#if defined(Q_WS_S60) && defined(QT_SYMBIAN_HAVE_AKNTRANSEFFECT_H) + // Only for post-S^3. On earlier versions the system transition effects + // may not be able to capture the non-Avkon content, leading to confusing + // looking effects, so just skip the whole thing. + if (S60->beginFullScreenCalled || QSysInfo::s60Version() <= QSysInfo::SV_S60_5_2) + return false; + S60->beginFullScreenCalled = true; + // For Avkon apps the app-exit effect is triggered from CAknAppUi::PrepareToExit(). + // That is good for Avkon apps, but in case of Qt the RWindows are destroyed earlier. + // Therefore we call BeginFullScreen() ourselves. + GfxTransEffect::BeginFullScreen(AknTransEffect::EApplicationExit, + TRect(0, 0, 0, 0), + AknTransEffect::EParameterType, + AknTransEffect::GfxTransParam(S60->uid, + AknTransEffect::TParameter::EAvkonCheck | KQtAppExitFlag)); + return true; +#else + return false; +#endif +} + +static inline void qt_abortFullScreenEffect() +{ +#if defined(Q_WS_S60) && defined(QT_SYMBIAN_HAVE_AKNTRANSEFFECT_H) + if (!S60->beginFullScreenCalled || QSysInfo::s60Version() <= QSysInfo::SV_S60_5_2) + return; + GfxTransEffect::AbortFullScreen(); + S60->beginFullScreenCalled = S60->endFullScreenCalled = false; +#endif +} + +static inline void qt_endFullScreenEffect() +{ +#if defined(Q_WS_S60) && defined(QT_SYMBIAN_HAVE_AKNTRANSEFFECT_H) + if (S60->endFullScreenCalled || QSysInfo::s60Version() <= QSysInfo::SV_S60_5_2) + return; + S60->endFullScreenCalled = true; + GfxTransEffect::EndFullScreen(); +#endif +} + QT_END_NAMESPACE #endif // QT_S60_P_H diff --git a/src/gui/kernel/qwidget.cpp b/src/gui/kernel/qwidget.cpp index 5705214..ebc9dd5 100644 --- a/src/gui/kernel/qwidget.cpp +++ b/src/gui/kernel/qwidget.cpp @@ -1588,6 +1588,7 @@ QWidget::~QWidget() // delete layout while we still are a valid widget delete d->layout; + d->layout = 0; // Remove myself from focus list Q_ASSERT(d->focus_next->d_func()->focus_prev == this); @@ -11205,6 +11206,7 @@ void QWidget::setAccessibleName(const QString &name) { Q_D(QWidget); d->accessibleName = name; + QAccessible::updateAccessibility(this, 0, QAccessible::NameChanged); } QString QWidget::accessibleName() const @@ -11226,6 +11228,7 @@ void QWidget::setAccessibleDescription(const QString &description) { Q_D(QWidget); d->accessibleDescription = description; + QAccessible::updateAccessibility(this, 0, QAccessible::DescriptionChanged); } QString QWidget::accessibleDescription() const diff --git a/src/gui/kernel/qwidget_s60.cpp b/src/gui/kernel/qwidget_s60.cpp index 83e46e5..e28a75a 100644 --- a/src/gui/kernel/qwidget_s60.cpp +++ b/src/gui/kernel/qwidget_s60.cpp @@ -842,6 +842,8 @@ void QWidgetPrivate::s60UpdateIsOpaque() // recreate backing store to get translucent surface (raster surface). extra->topextra->backingStore.create(q); extra->topextra->backingStore.registerWidget(q); + // FixNativeOrientation() will not work without an EGL surface. + q->setAttribute(Qt::WA_SymbianNoSystemRotation, false); } } } else if (extra->topextra->nativeWindowTransparencyEnabled) { diff --git a/src/gui/painting/qbrush.cpp b/src/gui/painting/qbrush.cpp index bf5764a..3ff7eb8 100644 --- a/src/gui/painting/qbrush.cpp +++ b/src/gui/painting/qbrush.cpp @@ -840,6 +840,22 @@ const QGradient *QBrush::gradient() const return 0; } +Q_GUI_EXPORT bool qt_isExtendedRadialGradient(const QBrush &brush) +{ + if (brush.style() == Qt::RadialGradientPattern) { + const QGradient *g = brush.gradient(); + const QRadialGradient *rg = static_cast<const QRadialGradient *>(g); + + if (!qFuzzyIsNull(rg->focalRadius())) + return true; + + QPointF delta = rg->focalPoint() - rg->center(); + if (delta.x() * delta.x() + delta.y() * delta.y() > rg->radius() * rg->radius()) + return true; + } + + return false; +} /*! Returns true if the brush is fully opaque otherwise false. A brush @@ -849,6 +865,7 @@ const QGradient *QBrush::gradient() const \i The alpha component of the color() is 255. \i Its texture() does not have an alpha channel and is not a QBitmap. \i The colors in the gradient() all have an alpha component that is 255. + \i It is an extended radial gradient. \endlist */ @@ -860,6 +877,9 @@ bool QBrush::isOpaque() const if (d->style == Qt::SolidPattern) return opaqueColor; + if (qt_isExtendedRadialGradient(*this)) + return false; + if (d->style == Qt::LinearGradientPattern || d->style == Qt::RadialGradientPattern || d->style == Qt::ConicalGradientPattern) { @@ -1209,8 +1229,10 @@ QDataStream &operator>>(QDataStream &s, QBrush &b) \list \o \e Linear gradients interpolate colors between start and end points. - \o \e Radial gradients interpolate colors between a focal point and end - points on a circle surrounding it. + \o \e Simple radial gradients interpolate colors between a focal point + and end points on a circle surrounding it. + \o \e Extended radial gradients interpolate colors between a center and + a focal circle. \o \e Conical gradients interpolate colors around a center point. \endlist @@ -1506,8 +1528,6 @@ void QGradient::setInterpolationMode(InterpolationMode mode) dummy = p; } -#undef Q_DUMMY_ACCESSOR - /*! \fn bool QGradient::operator!=(const QGradient &gradient) const \since 4.2 @@ -1541,7 +1561,7 @@ bool QGradient::operator==(const QGradient &gradient) const || m_data.radial.cy != gradient.m_data.radial.cy || m_data.radial.fx != gradient.m_data.radial.fx || m_data.radial.fy != gradient.m_data.radial.fy - || m_data.radial.radius != gradient.m_data.radial.radius) + || m_data.radial.cradius != gradient.m_data.radial.cradius) return false; } else { // m_type == ConicalGradient if (m_data.conical.cx != gradient.m_data.conical.cx @@ -1747,10 +1767,17 @@ void QLinearGradient::setFinalStop(const QPointF &stop) \brief The QRadialGradient class is used in combination with QBrush to specify a radial gradient brush. - Radial gradients interpolate colors between a focal point and end - points on a circle surrounding it. Outside the end points the - gradient is either padded, reflected or repeated depending on the - currently set \l {QGradient::Spread}{spread} method: + Qt supports both simple and extended radial gradients. + + Simple radial gradients interpolate colors between a focal point and end + points on a circle surrounding it. Extended radial gradients interpolate + colors between a focal circle and a center circle. Points outside the cone + defined by the two circles will be transparent. For simple radial gradients + the focal point is adjusted to lie inside the center circle, whereas the + focal point can have any position in an extended radial gradient. + + Outside the end points the gradient is either padded, reflected or repeated + depending on the currently set \l {QGradient::Spread}{spread} method: \table \row @@ -1795,9 +1822,14 @@ static QPointF qt_radial_gradient_adapt_focal_point(const QPointF ¢er, } /*! - Constructs a radial gradient with the given \a center, \a + Constructs a simple radial gradient with the given \a center, \a radius and \a focalPoint. + \note If the given focal point is outside the circle defined by the + center (\a cx, \a cy) and the \a radius it will be re-adjusted to + the intersection between the line from the center to the focal point + and the circle. + \sa QGradient::setColorAt(), QGradient::setStops() */ @@ -1807,7 +1839,7 @@ QRadialGradient::QRadialGradient(const QPointF ¢er, qreal radius, const QPoi m_spread = PadSpread; m_data.radial.cx = center.x(); m_data.radial.cy = center.y(); - m_data.radial.radius = radius; + m_data.radial.cradius = radius; QPointF adapted_focal = qt_radial_gradient_adapt_focal_point(center, radius, focalPoint); m_data.radial.fx = adapted_focal.x(); @@ -1815,7 +1847,7 @@ QRadialGradient::QRadialGradient(const QPointF ¢er, qreal radius, const QPoi } /*! - Constructs a radial gradient with the given \a center, \a + Constructs a simple radial gradient with the given \a center, \a radius and the focal point in the circle center. \sa QGradient::setColorAt(), QGradient::setStops() @@ -1826,16 +1858,21 @@ QRadialGradient::QRadialGradient(const QPointF ¢er, qreal radius) m_spread = PadSpread; m_data.radial.cx = center.x(); m_data.radial.cy = center.y(); - m_data.radial.radius = radius; + m_data.radial.cradius = radius; m_data.radial.fx = center.x(); m_data.radial.fy = center.y(); } /*! - Constructs a radial gradient with the given center (\a cx, \a cy), + Constructs a simple radial gradient with the given center (\a cx, \a cy), \a radius and focal point (\a fx, \a fy). + \note If the given focal point is outside the circle defined by the + center (\a cx, \a cy) and the \a radius it will be re-adjusted to + the intersection between the line from the center to the focal point + and the circle. + \sa QGradient::setColorAt(), QGradient::setStops() */ @@ -1845,7 +1882,7 @@ QRadialGradient::QRadialGradient(qreal cx, qreal cy, qreal radius, qreal fx, qre m_spread = PadSpread; m_data.radial.cx = cx; m_data.radial.cy = cy; - m_data.radial.radius = radius; + m_data.radial.cradius = radius; QPointF adapted_focal = qt_radial_gradient_adapt_focal_point(QPointF(cx, cy), radius, @@ -1856,7 +1893,7 @@ QRadialGradient::QRadialGradient(qreal cx, qreal cy, qreal radius, qreal fx, qre } /*! - Constructs a radial gradient with the center at (\a cx, \a cy) and the + Constructs a simple radial gradient with the center at (\a cx, \a cy) and the specified \a radius. The focal point lies at the center of the circle. \sa QGradient::setColorAt(), QGradient::setStops() @@ -1867,14 +1904,14 @@ QRadialGradient::QRadialGradient(qreal cx, qreal cy, qreal radius) m_spread = PadSpread; m_data.radial.cx = cx; m_data.radial.cy = cy; - m_data.radial.radius = radius; + m_data.radial.cradius = radius; m_data.radial.fx = cx; m_data.radial.fy = cy; } /*! - Constructs a radial gradient with the center and focal point at + Constructs a simple radial gradient with the center and focal point at (0, 0) with a radius of 1. */ QRadialGradient::QRadialGradient() @@ -1883,11 +1920,51 @@ QRadialGradient::QRadialGradient() m_spread = PadSpread; m_data.radial.cx = 0; m_data.radial.cy = 0; - m_data.radial.radius = 1; + m_data.radial.cradius = 1; m_data.radial.fx = 0; m_data.radial.fy = 0; } +/*! + \since 4.8 + + Constructs an extended radial gradient with the given \a center, \a + centerRadius, \a focalPoint, and \a focalRadius. +*/ +QRadialGradient::QRadialGradient(const QPointF ¢er, qreal centerRadius, const QPointF &focalPoint, qreal focalRadius) +{ + m_type = RadialGradient; + m_spread = PadSpread; + m_data.radial.cx = center.x(); + m_data.radial.cy = center.y(); + m_data.radial.cradius = centerRadius; + + m_data.radial.fx = focalPoint.x(); + m_data.radial.fy = focalPoint.y(); + setFocalRadius(focalRadius); +} + +/*! + \since 4.8 + + Constructs an extended radial gradient with the given \a center, \a + centerRadius, \a focalPoint, and \a focalRadius. + Constructs a radial gradient with the given center (\a cx, \a cy), + center radius \a centerRadius, focal point (\a fx, \a fy), and + focal radius \a focalRadius. +*/ +QRadialGradient::QRadialGradient(qreal cx, qreal cy, qreal centerRadius, qreal fx, qreal fy, qreal focalRadius) +{ + m_type = RadialGradient; + m_spread = PadSpread; + m_data.radial.cx = cx; + m_data.radial.cy = cy; + m_data.radial.cradius = centerRadius; + + m_data.radial.fx = fx; + m_data.radial.fy = fy; + setFocalRadius(focalRadius); +} /*! Returns the center of this radial gradient in logical coordinates. @@ -1932,13 +2009,15 @@ void QRadialGradient::setCenter(const QPointF ¢er) /*! Returns the radius of this radial gradient in logical coordinates. + Equivalent to centerRadius() + \sa QGradient::stops() */ qreal QRadialGradient::radius() const { Q_ASSERT(m_type == RadialGradient); - return m_data.radial.radius; + return m_data.radial.cradius; } @@ -1947,13 +2026,81 @@ qreal QRadialGradient::radius() const Sets the radius of this radial gradient in logical coordinates to \a radius + + Equivalent to setCenterRadius() */ void QRadialGradient::setRadius(qreal radius) { Q_ASSERT(m_type == RadialGradient); - m_data.radial.radius = radius; + m_data.radial.cradius = radius; +} + +/*! + \since 4.8 + + Returns the center radius of this radial gradient in logical + coordinates. + + \sa QGradient::stops() +*/ +qreal QRadialGradient::centerRadius() const +{ + Q_ASSERT(m_type == RadialGradient); + return m_data.radial.cradius; +} + +/* + \since 4.8 + + Sets the center radius of this radial gradient in logical coordinates + to \a radius +*/ +void QRadialGradient::setCenterRadius(qreal radius) +{ + Q_ASSERT(m_type == RadialGradient); + m_data.radial.cradius = radius; +} + +/*! + \since 4.8 + + Returns the focal radius of this radial gradient in logical + coordinates. + + \sa QGradient::stops() +*/ +qreal QRadialGradient::focalRadius() const +{ + Q_ASSERT(m_type == RadialGradient); + Q_DUMMY_ACCESSOR + + // mask away low three bits + union { float f; quint32 i; } u; + u.i = i & ~0x07; + return u.f; } +/* + \since 4.8 + + Sets the focal radius of this radial gradient in logical coordinates + to \a radius +*/ +void QRadialGradient::setFocalRadius(qreal radius) +{ + Q_ASSERT(m_type == RadialGradient); + Q_DUMMY_ACCESSOR + + // Since there's no QGradientData, we only have the dummy void * to + // store additional data in. The three lowest bits are already + // taken, thus we cut the three lowest bits from the significand + // and store the radius as a float. + union { float f; quint32 i; } u; + u.f = float(radius); + // add 0x04 to round up when we drop the three lowest bits + i |= (u.i + 0x04) & ~0x07; + dummy = p; +} /*! Returns the focal point of this radial gradient in logical @@ -2193,4 +2340,6 @@ void QConicalGradient::setAngle(qreal angle) \sa setTransform() */ +#undef Q_DUMMY_ACCESSOR + QT_END_NAMESPACE diff --git a/src/gui/painting/qbrush.h b/src/gui/painting/qbrush.h index 8b31319..d914c8c 100644 --- a/src/gui/painting/qbrush.h +++ b/src/gui/painting/qbrush.h @@ -255,6 +255,7 @@ private: friend class QLinearGradient; friend class QRadialGradient; friend class QConicalGradient; + friend class QBrush; Type m_type; Spread m_spread; @@ -264,7 +265,7 @@ private: qreal x1, y1, x2, y2; } linear; struct { - qreal cx, cy, fx, fy, radius; + qreal cx, cy, fx, fy, cradius; } radial; struct { qreal cx, cy, angle; @@ -303,6 +304,9 @@ public: QRadialGradient(const QPointF ¢er, qreal radius); QRadialGradient(qreal cx, qreal cy, qreal radius); + QRadialGradient(const QPointF ¢er, qreal centerRadius, const QPointF &focalPoint, qreal focalRadius); + QRadialGradient(qreal cx, qreal cy, qreal centerRadius, qreal fx, qreal fy, qreal focalRadius); + QPointF center() const; void setCenter(const QPointF ¢er); inline void setCenter(qreal x, qreal y) { setCenter(QPointF(x, y)); } @@ -313,6 +317,12 @@ public: qreal radius() const; void setRadius(qreal radius); + + qreal centerRadius() const; + void setCenterRadius(qreal radius); + + qreal focalRadius() const; + void setFocalRadius(qreal radius); }; diff --git a/src/gui/painting/qdrawhelper.cpp b/src/gui/painting/qdrawhelper.cpp index 5e75e4a..ae9993e 100644 --- a/src/gui/painting/qdrawhelper.cpp +++ b/src/gui/painting/qdrawhelper.cpp @@ -75,43 +75,9 @@ enum { fixed_scale = 1 << 16, half_point = 1 << 15 }; -static const int buffer_size = 2048; - -struct LinearGradientValues -{ - qreal dx; - qreal dy; - qreal l; - qreal off; -}; - -struct RadialGradientValues -{ - qreal dx; - qreal dy; - qreal a; -}; - -struct Operator; -typedef uint* (QT_FASTCALL *DestFetchProc)(uint *buffer, QRasterBuffer *rasterBuffer, int x, int y, int length); -typedef void (QT_FASTCALL *DestStoreProc)(QRasterBuffer *rasterBuffer, int x, int y, const uint *buffer, int length); -typedef const uint* (QT_FASTCALL *SourceFetchProc)(uint *buffer, const Operator *o, const QSpanData *data, int y, int x, int length); - -struct Operator -{ - QPainter::CompositionMode mode; - DestFetchProc dest_fetch; - DestStoreProc dest_store; - SourceFetchProc src_fetch; - CompositionFunctionSolid funcSolid; - CompositionFunction func; - union { - LinearGradientValues linear; - RadialGradientValues radial; -// TextureValues texture; - }; -}; +// must be multiple of 4 for easier SIMD implementations +static const int buffer_size = 2048; /* Destination fetch. This is simple as we don't have to do bounds checks or @@ -1346,64 +1312,13 @@ static const SourceFetchProc sourceFetch[NBlendTypes][QImage::NImageFormats] = { }, }; - -static inline uint qt_gradient_pixel(const QGradientData *data, qreal pos) -{ - int ipos = int(pos * (GRADIENT_STOPTABLE_SIZE - 1) + qreal(0.5)); - - // calculate the actual offset. - if (ipos < 0 || ipos >= GRADIENT_STOPTABLE_SIZE) { - if (data->spread == QGradient::RepeatSpread) { - ipos = ipos % GRADIENT_STOPTABLE_SIZE; - ipos = ipos < 0 ? GRADIENT_STOPTABLE_SIZE + ipos : ipos; - - } else if (data->spread == QGradient::ReflectSpread) { - const int limit = GRADIENT_STOPTABLE_SIZE * 2 - 1; - ipos = ipos % limit; - ipos = ipos < 0 ? limit + ipos : ipos; - ipos = ipos >= GRADIENT_STOPTABLE_SIZE ? limit - ipos : ipos; - - } else { - if (ipos < 0) ipos = 0; - else if (ipos >= GRADIENT_STOPTABLE_SIZE) ipos = GRADIENT_STOPTABLE_SIZE-1; - } - } - - Q_ASSERT(ipos >= 0); - Q_ASSERT(ipos < GRADIENT_STOPTABLE_SIZE); - - return data->colorTable[ipos]; -} - #define FIXPT_BITS 8 #define FIXPT_SIZE (1<<FIXPT_BITS) static uint qt_gradient_pixel_fixed(const QGradientData *data, int fixed_pos) { int ipos = (fixed_pos + (FIXPT_SIZE / 2)) >> FIXPT_BITS; - - // calculate the actual offset. - if (ipos < 0 || ipos >= GRADIENT_STOPTABLE_SIZE) { - if (data->spread == QGradient::RepeatSpread) { - ipos = ipos % GRADIENT_STOPTABLE_SIZE; - ipos = ipos < 0 ? GRADIENT_STOPTABLE_SIZE + ipos : ipos; - - } else if (data->spread == QGradient::ReflectSpread) { - const int limit = GRADIENT_STOPTABLE_SIZE * 2 - 1; - ipos = ipos % limit; - ipos = ipos < 0 ? limit + ipos : ipos; - ipos = ipos >= GRADIENT_STOPTABLE_SIZE ? limit - ipos : ipos; - - } else { - if (ipos < 0) ipos = 0; - else if (ipos >= GRADIENT_STOPTABLE_SIZE) ipos = GRADIENT_STOPTABLE_SIZE-1; - } - } - - Q_ASSERT(ipos >= 0); - Q_ASSERT(ipos < GRADIENT_STOPTABLE_SIZE); - - return data->colorTable[ipos]; + return data->colorTable[qt_gradient_clamp(data, ipos)]; } static void QT_FASTCALL getLinearGradientValues(LinearGradientValues *v, const QSpanData *data) @@ -1419,8 +1334,8 @@ static void QT_FASTCALL getLinearGradientValues(LinearGradientValues *v, const Q } } -static const uint * QT_FASTCALL fetchLinearGradient(uint *buffer, const Operator *op, const QSpanData *data, - int y, int x, int length) +static const uint * QT_FASTCALL qt_fetch_linear_gradient(uint *buffer, const Operator *op, const QSpanData *data, + int y, int x, int length) { const uint *b = buffer; qreal t, inc; @@ -1487,110 +1402,65 @@ static const uint * QT_FASTCALL fetchLinearGradient(uint *buffer, const Operator return b; } -static inline qreal determinant(qreal a, qreal b, qreal c) -{ - return (b * b) - (4 * a * c); -} - -// function to evaluate real roots -static inline qreal realRoots(qreal a, qreal b, qreal detSqrt) -{ - return (-b + detSqrt)/(2 * a); -} - -static inline qreal qSafeSqrt(qreal x) -{ - return x > 0 ? qSqrt(x) : 0; -} - static void QT_FASTCALL getRadialGradientValues(RadialGradientValues *v, const QSpanData *data) { v->dx = data->gradient.radial.center.x - data->gradient.radial.focal.x; v->dy = data->gradient.radial.center.y - data->gradient.radial.focal.y; - v->a = data->gradient.radial.radius*data->gradient.radial.radius - v->dx*v->dx - v->dy*v->dy; -} - -static const uint * QT_FASTCALL fetchRadialGradient(uint *buffer, const Operator *op, const QSpanData *data, - int y, int x, int length) -{ - const uint *b = buffer; - qreal rx = data->m21 * (y + qreal(0.5)) - + data->dx + data->m11 * (x + qreal(0.5)); - qreal ry = data->m22 * (y + qreal(0.5)) - + data->dy + data->m12 * (x + qreal(0.5)); - bool affine = !data->m13 && !data->m23; - //qreal r = data->gradient.radial.radius; - - const uint *end = buffer + length; - if (affine) { - rx -= data->gradient.radial.focal.x; - ry -= data->gradient.radial.focal.y; - - qreal inv_a = 1 / qreal(2 * op->radial.a); - - const qreal delta_rx = data->m11; - const qreal delta_ry = data->m12; - qreal b = 2*(rx * op->radial.dx + ry * op->radial.dy); - qreal delta_b = 2*(delta_rx * op->radial.dx + delta_ry * op->radial.dy); - const qreal b_delta_b = 2 * b * delta_b; - const qreal delta_b_delta_b = 2 * delta_b * delta_b; + v->dr = data->gradient.radial.center.radius - data->gradient.radial.focal.radius; + v->sqrfr = data->gradient.radial.focal.radius * data->gradient.radial.focal.radius; - const qreal bb = b * b; - const qreal delta_bb = delta_b * delta_b; + v->a = v->dr * v->dr - v->dx*v->dx - v->dy*v->dy; + v->inv2a = 1 / (2 * v->a); - b *= inv_a; - delta_b *= inv_a; - - const qreal rxrxryry = rx * rx + ry * ry; - const qreal delta_rxrxryry = delta_rx * delta_rx + delta_ry * delta_ry; - const qreal rx_plus_ry = 2*(rx * delta_rx + ry * delta_ry); - const qreal delta_rx_plus_ry = 2 * delta_rxrxryry; - - inv_a *= inv_a; + v->extended = !qFuzzyIsNull(data->gradient.radial.focal.radius) || v->a <= 0; +} - qreal det = (bb + 4 * op->radial.a * rxrxryry) * inv_a; - qreal delta_det = (b_delta_b + delta_bb + 4 * op->radial.a * (rx_plus_ry + delta_rxrxryry)) * inv_a; - const qreal delta_delta_det = (delta_b_delta_b + 4 * op->radial.a * delta_rx_plus_ry) * inv_a; +class RadialFetchPlain +{ +public: + static inline void fetch(uint *buffer, uint *end, const Operator *op, const QSpanData *data, qreal det, + qreal delta_det, qreal delta_delta_det, qreal b, qreal delta_b) + { + if (op->radial.extended) { + while (buffer < end) { + quint32 result = 0; + if (det >= 0) { + qreal w = qSqrt(det) - b; + if (data->gradient.radial.focal.radius + op->radial.dr * w >= 0) + result = qt_gradient_pixel(&data->gradient, w); + } - while (buffer < end) { - *buffer = qt_gradient_pixel(&data->gradient, qSafeSqrt(det) - b); + *buffer = result; - det += delta_det; - delta_det += delta_delta_det; - b += delta_b; + det += delta_det; + delta_det += delta_delta_det; + b += delta_b; - ++buffer; - } - } else { - qreal rw = data->m23 * (y + qreal(0.5)) - + data->m33 + data->m13 * (x + qreal(0.5)); - if (!rw) - rw = 1; - while (buffer < end) { - qreal gx = rx/rw - data->gradient.radial.focal.x; - qreal gy = ry/rw - data->gradient.radial.focal.y; - qreal b = 2*(gx*op->radial.dx + gy*op->radial.dy); - qreal det = determinant(op->radial.a, b , -(gx*gx + gy*gy)); - qreal s = realRoots(op->radial.a, b, qSafeSqrt(det)); - - *buffer = qt_gradient_pixel(&data->gradient, s); + ++buffer; + } + } else { + while (buffer < end) { + *buffer++ = qt_gradient_pixel(&data->gradient, qSqrt(det) - b); - rx += data->m11; - ry += data->m12; - rw += data->m13; - if (!rw) { - rw += data->m13; + det += delta_det; + delta_det += delta_delta_det; + b += delta_b; } - ++buffer; } } +}; - return b; +const uint * QT_FASTCALL qt_fetch_radial_gradient_plain(uint *buffer, const Operator *op, const QSpanData *data, + int y, int x, int length) +{ + return qt_fetch_radial_gradient_template<RadialFetchPlain>(buffer, op, data, y, x, length); } -static const uint * QT_FASTCALL fetchConicalGradient(uint *buffer, const Operator *, const QSpanData *data, - int y, int x, int length) +static SourceFetchProc qt_fetch_radial_gradient = qt_fetch_radial_gradient_plain; + +static const uint * QT_FASTCALL qt_fetch_conical_gradient(uint *buffer, const Operator *, const QSpanData *data, + int y, int x, int length) { const uint *b = buffer; qreal rx = data->m21 * (y + qreal(0.5)) @@ -3347,16 +3217,16 @@ static inline Operator getOperator(const QSpanData *data, const QSpan *spans, in case QSpanData::LinearGradient: solidSource = !data->gradient.alphaColor; getLinearGradientValues(&op.linear, data); - op.src_fetch = fetchLinearGradient; + op.src_fetch = qt_fetch_linear_gradient; break; case QSpanData::RadialGradient: solidSource = !data->gradient.alphaColor; getRadialGradientValues(&op.radial, data); - op.src_fetch = fetchRadialGradient; + op.src_fetch = qt_fetch_radial_gradient; break; case QSpanData::ConicalGradient: solidSource = !data->gradient.alphaColor; - op.src_fetch = fetchConicalGradient; + op.src_fetch = qt_fetch_conical_gradient; break; case QSpanData::Texture: op.src_fetch = sourceFetch[getBlendType(data)][data->texture.format]; @@ -7888,6 +7758,11 @@ void qInitDrawhelperAsm() qBlendFunctions[QImage::Format_ARGB32_Premultiplied][QImage::Format_RGB32] = qt_blend_rgb32_on_rgb32_sse2; qBlendFunctions[QImage::Format_RGB32][QImage::Format_ARGB32_Premultiplied] = qt_blend_argb32_on_argb32_sse2; qBlendFunctions[QImage::Format_ARGB32_Premultiplied][QImage::Format_ARGB32_Premultiplied] = qt_blend_argb32_on_argb32_sse2; + + extern const uint * QT_FASTCALL qt_fetch_radial_gradient_sse2(uint *buffer, const Operator *op, const QSpanData *data, + int y, int x, int length); + + qt_fetch_radial_gradient = qt_fetch_radial_gradient_sse2; } #ifdef QT_HAVE_SSSE3 @@ -7983,6 +7858,11 @@ void qInitDrawhelperAsm() qMemRotateFunctions[QImage::Format_RGB16][0] = qt_memrotate90_16_neon; qMemRotateFunctions[QImage::Format_RGB16][2] = qt_memrotate270_16_neon; qt_memfill32 = qt_memfill32_neon; + + extern const uint * QT_FASTCALL qt_fetch_radial_gradient_neon(uint *buffer, const Operator *op, const QSpanData *data, + int y, int x, int length); + + qt_fetch_radial_gradient = qt_fetch_radial_gradient_neon; } #endif diff --git a/src/gui/painting/qdrawhelper_neon.cpp b/src/gui/painting/qdrawhelper_neon.cpp index debca37..e673dd9 100644 --- a/src/gui/painting/qdrawhelper_neon.cpp +++ b/src/gui/painting/qdrawhelper_neon.cpp @@ -955,6 +955,46 @@ void qt_memrotate270_16_neon(const uchar *srcPixels, int w, int h, } } +class QSimdNeon +{ +public: + typedef int32x4_t Int32x4; + typedef float32x4_t Float32x4; + + union Vect_buffer_i { Int32x4 v; int i[4]; }; + union Vect_buffer_f { Float32x4 v; float f[4]; }; + + static inline Float32x4 v_dup(float x) { return vdupq_n_f32(x); } + static inline Int32x4 v_dup(int x) { return vdupq_n_s32(x); } + static inline Int32x4 v_dup(uint x) { return vdupq_n_s32(x); } + + static inline Float32x4 v_add(Float32x4 a, Float32x4 b) { return vaddq_f32(a, b); } + static inline Int32x4 v_add(Int32x4 a, Int32x4 b) { return vaddq_s32(a, b); } + + static inline Float32x4 v_max(Float32x4 a, Float32x4 b) { return vmaxq_f32(a, b); } + static inline Float32x4 v_min(Float32x4 a, Float32x4 b) { return vminq_f32(a, b); } + static inline Int32x4 v_min_16(Int32x4 a, Int32x4 b) { return vminq_s32(a, b); } + + static inline Int32x4 v_and(Int32x4 a, Int32x4 b) { return vandq_s32(a, b); } + + static inline Float32x4 v_sub(Float32x4 a, Float32x4 b) { return vsubq_f32(a, b); } + static inline Int32x4 v_sub(Int32x4 a, Int32x4 b) { return vsubq_s32(a, b); } + + static inline Float32x4 v_mul(Float32x4 a, Float32x4 b) { return vmulq_f32(a, b); } + + static inline Float32x4 v_sqrt(Float32x4 x) { Float32x4 y = vrsqrteq_f32(x); y = vmulq_f32(y, vrsqrtsq_f32(x, vmulq_f32(y, y))); return vmulq_f32(x, y); } + + static inline Int32x4 v_toInt(Float32x4 x) { return vcvtq_s32_f32(x); } + + static inline Int32x4 v_greaterOrEqual(Float32x4 a, Float32x4 b) { return vcge_f32(a, b); } +}; + +const uint * QT_FASTCALL qt_fetch_radial_gradient_neon(uint *buffer, const Operator *op, const QSpanData *data, + int y, int x, int length) +{ + return qt_fetch_radial_gradient_template<QRadialFetchSimd<QSimdNeon> >(buffer, op, data, y, x, length); +} + QT_END_NAMESPACE #endif // QT_HAVE_NEON diff --git a/src/gui/painting/qdrawhelper_p.h b/src/gui/painting/qdrawhelper_p.h index d4e731b..fa6ad0b 100644 --- a/src/gui/painting/qdrawhelper_p.h +++ b/src/gui/painting/qdrawhelper_p.h @@ -63,6 +63,7 @@ #endif #include "private/qrasterdefs_p.h" #include <private/qsimd_p.h> +#include <private/qmath_p.h> #ifdef Q_WS_QWS #include "QtGui/qscreen_qws.h" @@ -178,6 +179,44 @@ void qBlendTextureCallback(int count, const QSpan *spans, void *userData); typedef void (QT_FASTCALL *CompositionFunction)(uint *dest, const uint *src, int length, uint const_alpha); typedef void (QT_FASTCALL *CompositionFunctionSolid)(uint *dest, int length, uint color, uint const_alpha); +struct LinearGradientValues +{ + qreal dx; + qreal dy; + qreal l; + qreal off; +}; + +struct RadialGradientValues +{ + qreal dx; + qreal dy; + qreal dr; + qreal sqrfr; + qreal a; + qreal inv2a; + bool extended; +}; + +struct Operator; +typedef uint* (QT_FASTCALL *DestFetchProc)(uint *buffer, QRasterBuffer *rasterBuffer, int x, int y, int length); +typedef void (QT_FASTCALL *DestStoreProc)(QRasterBuffer *rasterBuffer, int x, int y, const uint *buffer, int length); +typedef const uint* (QT_FASTCALL *SourceFetchProc)(uint *buffer, const Operator *o, const QSpanData *data, int y, int x, int length); + +struct Operator +{ + QPainter::CompositionMode mode; + DestFetchProc dest_fetch; + DestStoreProc dest_store; + SourceFetchProc src_fetch; + CompositionFunctionSolid funcSolid; + CompositionFunction func; + union { + LinearGradientValues linear; + RadialGradientValues radial; + }; +}; + void qInitDrawhelperAsm(); class QRasterPaintEngine; @@ -204,12 +243,13 @@ struct QRadialGradientData struct { qreal x; qreal y; + qreal radius; } center; struct { qreal x; qreal y; + qreal radius; } focal; - qreal radius; }; struct QConicalGradientData @@ -233,8 +273,10 @@ struct QGradientData #ifdef Q_WS_QWS #define GRADIENT_STOPTABLE_SIZE 256 +#define GRADIENT_STOPTABLE_SIZE_SHIFT 8 #else #define GRADIENT_STOPTABLE_SIZE 1024 +#define GRADIENT_STOPTABLE_SIZE_SHIFT 10 #endif uint* colorTable; //[GRADIENT_STOPTABLE_SIZE]; @@ -308,6 +350,218 @@ struct QSpanData void adjustSpanMethods(); }; +static inline uint qt_gradient_clamp(const QGradientData *data, int ipos) +{ + if (ipos < 0 || ipos >= GRADIENT_STOPTABLE_SIZE) { + if (data->spread == QGradient::RepeatSpread) { + ipos = ipos % GRADIENT_STOPTABLE_SIZE; + ipos = ipos < 0 ? GRADIENT_STOPTABLE_SIZE + ipos : ipos; + } else if (data->spread == QGradient::ReflectSpread) { + const int limit = GRADIENT_STOPTABLE_SIZE * 2; + ipos = ipos % limit; + ipos = ipos < 0 ? limit + ipos : ipos; + ipos = ipos >= GRADIENT_STOPTABLE_SIZE ? limit - 1 - ipos : ipos; + } else { + if (ipos < 0) + ipos = 0; + else if (ipos >= GRADIENT_STOPTABLE_SIZE) + ipos = GRADIENT_STOPTABLE_SIZE-1; + } + } + + Q_ASSERT(ipos >= 0); + Q_ASSERT(ipos < GRADIENT_STOPTABLE_SIZE); + + return ipos; +} + +static inline uint qt_gradient_pixel(const QGradientData *data, qreal pos) +{ + int ipos = int(pos * (GRADIENT_STOPTABLE_SIZE - 1) + qreal(0.5)); + return data->colorTable[qt_gradient_clamp(data, ipos)]; +} + +static inline qreal qRadialDeterminant(qreal a, qreal b, qreal c) +{ + return (b * b) - (4 * a * c); +} + +template <class RadialFetchFunc> +const uint * QT_FASTCALL qt_fetch_radial_gradient_template(uint *buffer, const Operator *op, const QSpanData *data, + int y, int x, int length) +{ + // avoid division by zero + if (qFuzzyIsNull(op->radial.a)) { + extern void (*qt_memfill32)(quint32 *dest, quint32 value, int count); + qt_memfill32(buffer, 0, length); + return buffer; + } + + const uint *b = buffer; + qreal rx = data->m21 * (y + qreal(0.5)) + + data->dx + data->m11 * (x + qreal(0.5)); + qreal ry = data->m22 * (y + qreal(0.5)) + + data->dy + data->m12 * (x + qreal(0.5)); + bool affine = !data->m13 && !data->m23; + + uint *end = buffer + length; + if (affine) { + rx -= data->gradient.radial.focal.x; + ry -= data->gradient.radial.focal.y; + + qreal inv_a = 1 / qreal(2 * op->radial.a); + + const qreal delta_rx = data->m11; + const qreal delta_ry = data->m12; + + qreal b = 2*(op->radial.dr*data->gradient.radial.focal.radius + rx * op->radial.dx + ry * op->radial.dy); + qreal delta_b = 2*(delta_rx * op->radial.dx + delta_ry * op->radial.dy); + const qreal b_delta_b = 2 * b * delta_b; + const qreal delta_b_delta_b = 2 * delta_b * delta_b; + + const qreal bb = b * b; + const qreal delta_bb = delta_b * delta_b; + + b *= inv_a; + delta_b *= inv_a; + + const qreal rxrxryry = rx * rx + ry * ry; + const qreal delta_rxrxryry = delta_rx * delta_rx + delta_ry * delta_ry; + const qreal rx_plus_ry = 2*(rx * delta_rx + ry * delta_ry); + const qreal delta_rx_plus_ry = 2 * delta_rxrxryry; + + inv_a *= inv_a; + + qreal det = (bb - 4 * op->radial.a * (op->radial.sqrfr - rxrxryry)) * inv_a; + qreal delta_det = (b_delta_b + delta_bb + 4 * op->radial.a * (rx_plus_ry + delta_rxrxryry)) * inv_a; + const qreal delta_delta_det = (delta_b_delta_b + 4 * op->radial.a * delta_rx_plus_ry) * inv_a; + + RadialFetchFunc::fetch(buffer, end, op, data, det, delta_det, delta_delta_det, b, delta_b); + } else { + qreal rw = data->m23 * (y + qreal(0.5)) + + data->m33 + data->m13 * (x + qreal(0.5)); + + while (buffer < end) { + if (rw == 0) { + *buffer = 0; + } else { + qreal invRw = 1 / rw; + qreal gx = rx * invRw - data->gradient.radial.focal.x; + qreal gy = ry * invRw - data->gradient.radial.focal.y; + qreal b = 2*(op->radial.dr*data->gradient.radial.focal.radius + gx*op->radial.dx + gy*op->radial.dy); + qreal det = qRadialDeterminant(op->radial.a, b, op->radial.sqrfr - (gx*gx + gy*gy)); + + quint32 result = 0; + if (det >= 0) { + qreal detSqrt = qSqrt(det); + + qreal s0 = (-b - detSqrt) * op->radial.inv2a; + qreal s1 = (-b + detSqrt) * op->radial.inv2a; + + qreal s = qMax(s0, s1); + + if (data->gradient.radial.focal.radius + op->radial.dr * s >= 0) + result = qt_gradient_pixel(&data->gradient, s); + } + + *buffer = result; + } + + rx += data->m11; + ry += data->m12; + rw += data->m13; + + ++buffer; + } + } + + return b; +} + +template <class Simd> +class QRadialFetchSimd +{ +public: + static void fetch(uint *buffer, uint *end, const Operator *op, const QSpanData *data, qreal det, + qreal delta_det, qreal delta_delta_det, qreal b, qreal delta_b) + { + typename Simd::Vect_buffer_f det_vec; + typename Simd::Vect_buffer_f delta_det4_vec; + typename Simd::Vect_buffer_f b_vec; + + for (int i = 0; i < 4; ++i) { + det_vec.f[i] = det; + delta_det4_vec.f[i] = 4 * delta_det; + b_vec.f[i] = b; + + det += delta_det; + delta_det += delta_delta_det; + b += delta_b; + } + + const typename Simd::Float32x4 v_delta_delta_det16 = Simd::v_dup(16 * delta_delta_det); + const typename Simd::Float32x4 v_delta_delta_det6 = Simd::v_dup(6 * delta_delta_det); + const typename Simd::Float32x4 v_delta_b4 = Simd::v_dup(4 * delta_b); + + const typename Simd::Float32x4 v_r0 = Simd::v_dup(data->gradient.radial.focal.radius); + const typename Simd::Float32x4 v_dr = Simd::v_dup(op->radial.dr); + + const typename Simd::Float32x4 v_min = Simd::v_dup(0.0f); + const typename Simd::Float32x4 v_max = Simd::v_dup(float(GRADIENT_STOPTABLE_SIZE-1)); + const typename Simd::Float32x4 v_half = Simd::v_dup(0.5f); + + const typename Simd::Int32x4 v_repeat_mask = Simd::v_dup(~(uint(0xffffff) << GRADIENT_STOPTABLE_SIZE_SHIFT)); + const typename Simd::Int32x4 v_reflect_mask = Simd::v_dup(~(uint(0xffffff) << (GRADIENT_STOPTABLE_SIZE_SHIFT+1))); + + const typename Simd::Int32x4 v_reflect_limit = Simd::v_dup(2 * GRADIENT_STOPTABLE_SIZE - 1); + + const int extended_mask = op->radial.extended ? 0x0 : ~0x0; + +#define FETCH_RADIAL_LOOP_PROLOGUE \ + while (buffer < end) { \ + typename Simd::Vect_buffer_i v_buffer_mask; \ + v_buffer_mask.v = Simd::v_greaterOrEqual(det_vec.v, v_min); \ + const typename Simd::Float32x4 v_index_local = Simd::v_sub(Simd::v_sqrt(Simd::v_max(v_min, det_vec.v)), b_vec.v); \ + const typename Simd::Float32x4 v_index = Simd::v_add(Simd::v_mul(v_index_local, v_max), v_half); \ + v_buffer_mask.v = Simd::v_and(v_buffer_mask.v, Simd::v_greaterOrEqual(Simd::v_add(v_r0, Simd::v_mul(v_dr, v_index_local)), v_min)); \ + typename Simd::Vect_buffer_i index_vec; +#define FETCH_RADIAL_LOOP_CLAMP_REPEAT \ + index_vec.v = Simd::v_and(v_repeat_mask, Simd::v_toInt(v_index)); +#define FETCH_RADIAL_LOOP_CLAMP_REFLECT \ + const typename Simd::Int32x4 v_index_i = Simd::v_and(v_reflect_mask, Simd::v_toInt(v_index)); \ + const typename Simd::Int32x4 v_index_i_inv = Simd::v_sub(v_reflect_limit, v_index_i); \ + index_vec.v = Simd::v_min_16(v_index_i, v_index_i_inv); +#define FETCH_RADIAL_LOOP_CLAMP_PAD \ + index_vec.v = Simd::v_toInt(Simd::v_min(v_max, Simd::v_max(v_min, v_index))); +#define FETCH_RADIAL_LOOP_EPILOGUE \ + det_vec.v = Simd::v_add(Simd::v_add(det_vec.v, delta_det4_vec.v), v_delta_delta_det6); \ + delta_det4_vec.v = Simd::v_add(delta_det4_vec.v, v_delta_delta_det16); \ + b_vec.v = Simd::v_add(b_vec.v, v_delta_b4); \ + for (int i = 0; i < 4; ++i) \ + *buffer++ = (extended_mask | v_buffer_mask.i[i]) & data->gradient.colorTable[index_vec.i[i]]; \ + } + +#define FETCH_RADIAL_LOOP(FETCH_RADIAL_LOOP_CLAMP) \ + FETCH_RADIAL_LOOP_PROLOGUE \ + FETCH_RADIAL_LOOP_CLAMP \ + FETCH_RADIAL_LOOP_EPILOGUE + + switch (data->gradient.spread) { + case QGradient::RepeatSpread: + FETCH_RADIAL_LOOP(FETCH_RADIAL_LOOP_CLAMP_REPEAT) + break; + case QGradient::ReflectSpread: + FETCH_RADIAL_LOOP(FETCH_RADIAL_LOOP_CLAMP_REFLECT) + break; + case QGradient::PadSpread: + FETCH_RADIAL_LOOP(FETCH_RADIAL_LOOP_CLAMP_PAD) + break; + default: + Q_ASSERT(false); + } + } +}; + #if defined(Q_CC_RVCT) # pragma push # pragma arm diff --git a/src/gui/painting/qdrawhelper_sse2.cpp b/src/gui/painting/qdrawhelper_sse2.cpp index efc6a61..75bb619 100644 --- a/src/gui/painting/qdrawhelper_sse2.cpp +++ b/src/gui/painting/qdrawhelper_sse2.cpp @@ -487,6 +487,58 @@ void qt_bitmapblit16_sse2(QRasterBuffer *rasterBuffer, int x, int y, } } +class QSimdSse2 +{ +public: + typedef __m128i Int32x4; + typedef __m128 Float32x4; + + union Vect_buffer_i { Int32x4 v; int i[4]; }; + union Vect_buffer_f { Float32x4 v; float f[4]; }; + + static inline Float32x4 v_dup(float x) { return _mm_set1_ps(x); } + static inline Float32x4 v_dup(double x) { return _mm_set1_ps(x); } + static inline Int32x4 v_dup(int x) { return _mm_set1_epi32(x); } + static inline Int32x4 v_dup(uint x) { return _mm_set1_epi32(x); } + + static inline Float32x4 v_add(Float32x4 a, Float32x4 b) { return _mm_add_ps(a, b); } + static inline Int32x4 v_add(Int32x4 a, Int32x4 b) { return _mm_add_epi32(a, b); } + + static inline Float32x4 v_max(Float32x4 a, Float32x4 b) { return _mm_max_ps(a, b); } + static inline Float32x4 v_min(Float32x4 a, Float32x4 b) { return _mm_min_ps(a, b); } + static inline Int32x4 v_min_16(Int32x4 a, Int32x4 b) { return _mm_min_epi16(a, b); } + + static inline Int32x4 v_and(Int32x4 a, Int32x4 b) { return _mm_and_si128(a, b); } + + static inline Float32x4 v_sub(Float32x4 a, Float32x4 b) { return _mm_sub_ps(a, b); } + static inline Int32x4 v_sub(Int32x4 a, Int32x4 b) { return _mm_sub_epi32(a, b); } + + static inline Float32x4 v_mul(Float32x4 a, Float32x4 b) { return _mm_mul_ps(a, b); } + + static inline Float32x4 v_sqrt(Float32x4 x) { return _mm_sqrt_ps(x); } + + static inline Int32x4 v_toInt(Float32x4 x) { return _mm_cvttps_epi32(x); } + + // pre-VS 2008 doesn't have cast intrinsics, whereas 2008 and later requires it +#if defined(Q_CC_MSVC) && _MSC_VER < 1500 + static inline Int32x4 v_greaterOrEqual(Float32x4 a, Float32x4 b) + { + union Convert { Int32x4 vi; Float32x4 vf; } convert; + convert.vf = _mm_cmpgt_ps(a, b); + return convert.vi; + } +#else + static inline Int32x4 v_greaterOrEqual(Float32x4 a, Float32x4 b) { return _mm_castps_si128(_mm_cmpgt_ps(a, b)); } +#endif +}; + +const uint * QT_FASTCALL qt_fetch_radial_gradient_sse2(uint *buffer, const Operator *op, const QSpanData *data, + int y, int x, int length) +{ + return qt_fetch_radial_gradient_template<QRadialFetchSimd<QSimdSse2> >(buffer, op, data, y, x, length); +} + + QT_END_NAMESPACE #endif // QT_HAVE_SSE2 diff --git a/src/gui/painting/qpaintengine_mac.cpp b/src/gui/painting/qpaintengine_mac.cpp index 8aab7c7..cc75b86 100644 --- a/src/gui/painting/qpaintengine_mac.cpp +++ b/src/gui/painting/qpaintengine_mac.cpp @@ -1544,8 +1544,9 @@ void QCoreGraphicsPaintEnginePrivate::setFillBrush(const QPointF &offset) QPointF center(radialGrad->center()); QPointF focal(radialGrad->focalPoint()); qreal radius = radialGrad->radius(); + qreal focalRadius = radialGrad->focalRadius(); shading = CGShadingCreateRadial(colorspace, CGPointMake(focal.x(), focal.y()), - 0.0, CGPointMake(center.x(), center.y()), radius, fill_func, false, true); + focalRadius, CGPointMake(center.x(), center.y()), radius, fill_func, false, true); } CGFunctionRelease(fill_func); diff --git a/src/gui/painting/qpaintengine_raster.cpp b/src/gui/painting/qpaintengine_raster.cpp index 6902543..2119e30 100644 --- a/src/gui/painting/qpaintengine_raster.cpp +++ b/src/gui/painting/qpaintengine_raster.cpp @@ -5033,6 +5033,84 @@ void QGradientCache::generateGradientColorTable(const QGradient& gradient, uint bool colorInterpolation = (gradient.interpolationMode() == QGradient::ColorInterpolation); + if (stopCount == 2) { + uint first_color = ARGB_COMBINE_ALPHA(stops[0].second.rgba(), opacity); + uint second_color = ARGB_COMBINE_ALPHA(stops[1].second.rgba(), opacity); + + qreal first_stop = stops[0].first; + qreal second_stop = stops[1].first; + + if (second_stop < first_stop) { + qSwap(first_color, second_color); + qSwap(first_stop, second_stop); + } + + if (colorInterpolation) { + first_color = PREMUL(first_color); + second_color = PREMUL(second_color); + } + + int first_index = qRound(first_stop * (GRADIENT_STOPTABLE_SIZE-1)); + int second_index = qRound(second_stop * (GRADIENT_STOPTABLE_SIZE-1)); + + uint red_first = qRed(first_color) << 16; + uint green_first = qGreen(first_color) << 16; + uint blue_first = qBlue(first_color) << 16; + uint alpha_first = qAlpha(first_color) << 16; + + uint red_second = qRed(second_color) << 16; + uint green_second = qGreen(second_color) << 16; + uint blue_second = qBlue(second_color) << 16; + uint alpha_second = qAlpha(second_color) << 16; + + int i = 0; + for (; i <= qMin(GRADIENT_STOPTABLE_SIZE, first_index); ++i) { + if (colorInterpolation) + colorTable[i] = first_color; + else + colorTable[i] = PREMUL(first_color); + } + + if (i < second_index) { + qreal reciprocal = qreal(1) / (second_index - first_index); + + int red_delta = qRound(int(red_second - red_first) * reciprocal); + int green_delta = qRound(int(green_second - green_first) * reciprocal); + int blue_delta = qRound(int(blue_second - blue_first) * reciprocal); + int alpha_delta = qRound(int(alpha_second - alpha_first) * reciprocal); + + // rounding + red_first += 1 << 15; + green_first += 1 << 15; + blue_first += 1 << 15; + alpha_first += 1 << 15; + + for (; i < qMin(GRADIENT_STOPTABLE_SIZE, second_index); ++i) { + red_first += red_delta; + green_first += green_delta; + blue_first += blue_delta; + alpha_first += alpha_delta; + + const uint color = ((alpha_first << 8) & 0xff000000) | (red_first & 0xff0000) + | ((green_first >> 8) & 0xff00) | (blue_first >> 16); + + if (colorInterpolation) + colorTable[i] = color; + else + colorTable[i] = PREMUL(color); + } + } + + for (; i < GRADIENT_STOPTABLE_SIZE; ++i) { + if (colorInterpolation) + colorTable[i] = second_color; + else + colorTable[i] = PREMUL(second_color); + } + + return; + } + uint current_color = ARGB_COMBINE_ALPHA(stops[0].second.rgba(), opacity); if (stopCount == 1) { current_color = PREMUL(current_color); @@ -5204,10 +5282,11 @@ void QSpanData::setup(const QBrush &brush, int alpha, QPainter::CompositionMode QPointF center = g->center(); radialData.center.x = center.x(); radialData.center.y = center.y(); + radialData.center.radius = g->centerRadius(); QPointF focal = g->focalPoint(); radialData.focal.x = focal.x(); radialData.focal.y = focal.y(); - radialData.radius = g->radius(); + radialData.focal.radius = g->focalRadius(); } break; diff --git a/src/gui/painting/qpaintengineex.cpp b/src/gui/painting/qpaintengineex.cpp index 509fb77..7f601eb 100644 --- a/src/gui/painting/qpaintengineex.cpp +++ b/src/gui/painting/qpaintengineex.cpp @@ -1012,4 +1012,50 @@ void QPaintEngineEx::updateState(const QPaintEngineState &) // do nothing... } +Q_GUI_EXPORT QPainterPath qt_painterPathFromVectorPath(const QVectorPath &path) +{ + const qreal *points = path.points(); + const QPainterPath::ElementType *types = path.elements(); + + QPainterPath p; + if (types) { + int id = 0; + for (int i=0; i<path.elementCount(); ++i) { + switch(types[i]) { + case QPainterPath::MoveToElement: + p.moveTo(QPointF(points[id], points[id+1])); + id+=2; + break; + case QPainterPath::LineToElement: + p.lineTo(QPointF(points[id], points[id+1])); + id+=2; + break; + case QPainterPath::CurveToElement: { + QPointF p1(points[id], points[id+1]); + QPointF p2(points[id+2], points[id+3]); + QPointF p3(points[id+4], points[id+5]); + p.cubicTo(p1, p2, p3); + id+=6; + break; + } + case QPainterPath::CurveToDataElement: + ; + break; + } + } + } else { + p.moveTo(QPointF(points[0], points[1])); + int id = 2; + for (int i=1; i<path.elementCount(); ++i) { + p.lineTo(QPointF(points[id], points[id+1])); + id+=2; + } + } + if (path.hints() & QVectorPath::WindingFill) + p.setFillRule(Qt::WindingFill); + + return p; +} + + QT_END_NAMESPACE diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp index bef6b7d..9e28102 100644 --- a/src/gui/painting/qpainter.cpp +++ b/src/gui/painting/qpainter.cpp @@ -98,10 +98,10 @@ static void drawTextItemDecoration(QPainter *painter, const QPointF &pos, const QTextItem::RenderFlags flags, qreal width, const QTextCharFormat &charFormat); // Helper function to calculate left most position, width and flags for decoration drawing -static void drawDecorationForGlyphs(QPainter *painter, const glyph_t *glyphArray, - const QFixedPoint *positions, int glyphCount, - QFontEngine *fontEngine, const QFont &font, - const QTextCharFormat &charFormat); +Q_GUI_EXPORT void qt_draw_decoration_for_glyphs(QPainter *painter, const glyph_t *glyphArray, + const QFixedPoint *positions, int glyphCount, + QFontEngine *fontEngine, const QFont &font, + const QTextCharFormat &charFormat); static inline QGradient::CoordinateMode coordinateMode(const QBrush &brush) { @@ -156,7 +156,8 @@ static bool qt_paintengine_supports_transformations(QPaintEngine::Type type) { return type == QPaintEngine::OpenGL2 || type == QPaintEngine::OpenVG - || type == QPaintEngine::OpenGL; + || type == QPaintEngine::OpenGL + || type == QPaintEngine::CoreGraphics; } #ifndef QT_NO_DEBUG @@ -503,8 +504,12 @@ void QPainterPrivate::draw_helper(const QPainterPath &originalPath, DrawOperatio q->save(); state->matrix = QTransform(); - state->dirtyFlags |= QPaintEngine::DirtyTransform; - updateState(state); + if (extended) { + extended->transformChanged(); + } else { + state->dirtyFlags |= QPaintEngine::DirtyTransform; + updateState(state); + } engine->drawImage(absPathRect, image, QRectF(0, 0, absPathRect.width(), absPathRect.height()), @@ -687,11 +692,14 @@ void QPainterPrivate::updateInvMatrix() invMatrix = state->matrix.inverted(); } +extern bool qt_isExtendedRadialGradient(const QBrush &brush); + void QPainterPrivate::updateEmulationSpecifier(QPainterState *s) { bool alpha = false; bool linearGradient = false; bool radialGradient = false; + bool extendedRadialGradient = false; bool conicalGradient = false; bool patternBrush = false; bool xform = false; @@ -723,6 +731,7 @@ void QPainterPrivate::updateEmulationSpecifier(QPainterState *s) (brushStyle == Qt::LinearGradientPattern)); radialGradient = ((penBrushStyle == Qt::RadialGradientPattern) || (brushStyle == Qt::RadialGradientPattern)); + extendedRadialGradient = radialGradient && (qt_isExtendedRadialGradient(penBrush) || qt_isExtendedRadialGradient(s->brush)); conicalGradient = ((penBrushStyle == Qt::ConicalGradientPattern) || (brushStyle == Qt::ConicalGradientPattern)); patternBrush = (((penBrushStyle > Qt::SolidPattern @@ -806,7 +815,7 @@ void QPainterPrivate::updateEmulationSpecifier(QPainterState *s) s->emulationSpecifier &= ~QPaintEngine::LinearGradientFill; // Radial gradient emulation - if (radialGradient && !engine->hasFeature(QPaintEngine::RadialGradientFill)) + if (extendedRadialGradient || (radialGradient && !engine->hasFeature(QPaintEngine::RadialGradientFill))) s->emulationSpecifier |= QPaintEngine::RadialGradientFill; else s->emulationSpecifier &= ~QPaintEngine::RadialGradientFill; @@ -5809,7 +5818,7 @@ void QPainter::drawGlyphs(const QPointF &position, const QGlyphs &glyphs) bool paintEngineSupportsTransformations = d->extended != 0 ? qt_paintengine_supports_transformations(d->extended->type()) - : false; + : qt_paintengine_supports_transformations(d->engine->type()); for (int i=0; i<count; ++i) { QPointF processedPosition = position + glyphPositions.at(i); if (!paintEngineSupportsTransformations) @@ -6060,9 +6069,9 @@ void QPainter::drawStaticText(const QPointF &topLeftPosition, const QStaticText } d->extended->drawStaticTextItem(item); - drawDecorationForGlyphs(this, item->glyphs, item->glyphPositions, - item->numGlyphs, item->fontEngine(), staticText_d->font, - QTextCharFormat()); + qt_draw_decoration_for_glyphs(this, item->glyphs, item->glyphPositions, + item->numGlyphs, item->fontEngine(), staticText_d->font, + QTextCharFormat()); } if (currentColor != oldPen.color()) setPen(oldPen); @@ -6507,10 +6516,10 @@ static void drawTextItemDecoration(QPainter *painter, const QPointF &pos, const painter->setBrush(oldBrush); } -static void drawDecorationForGlyphs(QPainter *painter, const glyph_t *glyphArray, - const QFixedPoint *positions, int glyphCount, - QFontEngine *fontEngine, const QFont &font, - const QTextCharFormat &charFormat) +Q_GUI_EXPORT void qt_draw_decoration_for_glyphs(QPainter *painter, const glyph_t *glyphArray, + const QFixedPoint *positions, int glyphCount, + QFontEngine *fontEngine, const QFont &font, + const QTextCharFormat &charFormat) { if (!(font.underline() || font.strikeOut() || font.overline())) return; diff --git a/src/gui/painting/qpainter.h b/src/gui/painting/qpainter.h index 4b2c447..1a432e6 100644 --- a/src/gui/painting/qpainter.h +++ b/src/gui/painting/qpainter.h @@ -553,6 +553,7 @@ private: friend class QPaintEngine; friend class QPaintEngineExPrivate; friend class QOpenGLPaintEngine; + friend class QVGPaintEngine; friend class QX11PaintEngine; friend class QX11PaintEnginePrivate; friend class QWin32PaintEngine; diff --git a/src/gui/painting/qtextureglyphcache.cpp b/src/gui/painting/qtextureglyphcache.cpp index 53f025f..e9e56a2 100644 --- a/src/gui/painting/qtextureglyphcache.cpp +++ b/src/gui/painting/qtextureglyphcache.cpp @@ -296,7 +296,7 @@ void QTextureGlyphCache::fillInPendingGlyphs() QImage QTextureGlyphCache::textureMapForGlyph(glyph_t g, QFixed subPixelPosition) const { #if defined(Q_WS_X11) - if (m_transform.type() > QTransform::TxTranslate) { + if (m_transform.type() > QTransform::TxTranslate && m_current_fontengine->type() == QFontEngine::Freetype) { QFontEngineFT::GlyphFormat format = QFontEngineFT::Format_None; QImage::Format imageFormat = QImage::Format_Invalid; switch (m_type) { diff --git a/src/gui/painting/qunifiedtoolbarsurface_mac.cpp b/src/gui/painting/qunifiedtoolbarsurface_mac.cpp index 3876c3d..2fda6b9 100644 --- a/src/gui/painting/qunifiedtoolbarsurface_mac.cpp +++ b/src/gui/painting/qunifiedtoolbarsurface_mac.cpp @@ -152,7 +152,8 @@ void QUnifiedToolbarSurface::beginPaint(const QRegion &rgn) void QUnifiedToolbarSurface::updateToolbarOffset(QWidget *widget) { QMainWindowLayout *mlayout = qobject_cast<QMainWindowLayout*> (widget->window()->layout()); - mlayout->updateUnifiedToolbarOffset(); + if (mlayout) + mlayout->updateUnifiedToolbarOffset(); } void QUnifiedToolbarSurface::flush(QWidget *widget, const QRegion ®ion, const QPoint &offset) diff --git a/src/gui/styles/qcommonstyle.cpp b/src/gui/styles/qcommonstyle.cpp index 7944a0b..2534d3e 100644 --- a/src/gui/styles/qcommonstyle.cpp +++ b/src/gui/styles/qcommonstyle.cpp @@ -223,16 +223,13 @@ void QCommonStyle::drawPrimitive(PrimitiveElement pe, const QStyleOption *opt, Q --yy; } if (!(opt->state & State_Enabled) && !(opt->state & State_On)) { - int pnt; - p->setPen(opt->palette.highlightedText().color()); - QPoint offset(1, 1); - for (pnt = 0; pnt < a.size(); ++pnt) - a[pnt].translate(offset.x(), offset.y()); + p->save(); + p->translate(1, 1); + p->setPen(opt->palette.light().color()); p->drawLines(a); - for (pnt = 0; pnt < a.size(); ++pnt) - a[pnt].translate(offset.x(), offset.y()); + p->restore(); } - p->setPen(opt->palette.text().color()); + p->setPen((opt->state & State_On) ? opt->palette.highlightedText().color() : opt->palette.text().color()); p->drawLines(a); break; } case PE_Frame: diff --git a/src/gui/styles/qmacstyle_mac.mm b/src/gui/styles/qmacstyle_mac.mm index 2d21628..18003ce 100644 --- a/src/gui/styles/qmacstyle_mac.mm +++ b/src/gui/styles/qmacstyle_mac.mm @@ -4707,7 +4707,7 @@ void QMacStyle::drawComplexControl(ComplexControl cc, const QStyleOptionComplex HIThemeFrameDrawInfo fdi; fdi.version = qt_mac_hitheme_version; - fdi.state = kThemeStateInactive; + fdi.state = tds; fdi.kind = kHIThemeFrameTextFieldSquare; fdi.isFocused = false; HIRect hirect = qt_hirectForQRect(lineeditRect); diff --git a/src/gui/styles/qs60style.cpp b/src/gui/styles/qs60style.cpp index 680e007..fa6eeb7 100644 --- a/src/gui/styles/qs60style.cpp +++ b/src/gui/styles/qs60style.cpp @@ -72,6 +72,7 @@ #include "qcheckbox.h" #include "qdesktopwidget.h" #include "qprogressbar.h" +#include "qlabel.h" #include "private/qtoolbarextension_p.h" #include "private/qcombobox_p.h" @@ -681,6 +682,13 @@ void QS60StylePrivate::setThemePalette(QWidget *widget) if (header->viewport()) header->viewport()->setPalette(widgetPalette); QApplication::setPalette(widgetPalette, "QHeaderView"); + } else if (qobject_cast<QLabel *>(widget)) { + if (widget->window() && widget->window()->windowType() == Qt::Dialog) { + QPalette widgetPalette = widget->palette(); + widgetPalette.setColor(QPalette::WindowText, + s60Color(QS60StyleEnums::CL_QsnTextColors, 19, 0)); + widget->setPalette(widgetPalette); + } } } @@ -955,6 +963,17 @@ bool QS60StylePrivate::isWidgetPressed(const QWidget *widget) return (widget && widget == m_pressedWidget); } +// Generates 1*1 white pixmap as a placeholder for real texture. +// The actual theme texture is drawn in qt_s60_fill_background(). +QPixmap QS60StylePrivate::placeHolderTexture() +{ + if (!m_placeHolderTexture) { + m_placeHolderTexture = new QPixmap(1,1); + m_placeHolderTexture->fill(Qt::green); + } + return *m_placeHolderTexture; +} + /*! \class QS60Style \brief The QS60Style class provides a look and feel suitable for applications on S60. @@ -1540,8 +1559,10 @@ void QS60Style::drawControl(ControlElement element, const QStyleOption *option, skinElement==QS60StylePrivate::SE_TabBarTabWestActive) { const int borderThickness = QS60StylePrivate::pixelMetric(PM_DefaultFrameWidth); - const int tabOverlap = - QS60StylePrivate::pixelMetric(PM_TabBarTabOverlap) - borderThickness; + int tabOverlap = pixelMetric(PM_TabBarTabOverlap); + if (tabOverlap > borderThickness) + tabOverlap -= borderThickness; + const bool usesScrollButtons = (widget) ? (qobject_cast<const QTabBar*>(widget))->usesScrollButtons() : false; const int roomForScrollButton = @@ -1580,9 +1601,11 @@ void QS60Style::drawControl(ControlElement element, const QStyleOption *option, QStyleOptionTabV3 optionTab = *tab; QRect tr = optionTab.rect; const bool directionMirrored = (optionTab.direction == Qt::RightToLeft); - const int borderThickness = QS60StylePrivate::pixelMetric(PM_DefaultFrameWidth); - const int tabOverlap = - QS60StylePrivate::pixelMetric(PM_TabBarTabOverlap) - borderThickness; + const int borderThickness = + QS60StylePrivate::pixelMetric(PM_DefaultFrameWidth); + int tabOverlap = pixelMetric(PM_TabBarTabOverlap); + if (tabOverlap > borderThickness) + tabOverlap -= borderThickness; const bool usesScrollButtons = (widget) ? (qobject_cast<const QTabBar*>(widget))->usesScrollButtons() : false; const int roomForScrollButton = @@ -2531,6 +2554,11 @@ int QS60Style::pixelMetric(PixelMetric metric, const QStyleOption *option, const //without having to define custom pixel metric metricValue *= 2; +#if defined(Q_WS_S60) + if (metric == PM_TabBarTabOverlap && (QSysInfo::s60Version() > QSysInfo::SV_S60_5_2)) + metricValue = 0; +#endif + return metricValue; } @@ -2645,8 +2673,6 @@ QSize QS60Style::sizeFromContents(ContentsType ct, const QStyleOption *opt, } } sz = QCommonStyle::sizeFromContents( ct, opt, csz, widget); - //native items have small empty areas at the beginning and end of menu item - sz.setWidth(sz.width() + 2 * pixelMetric(PM_MenuHMargin) + 2 * QS60StylePrivate::pixelMetric(PM_FrameCornerWidth)); if (QS60StylePrivate::isTouchSupported()) { //Make itemview easier to use in touch devices sz.setHeight(sz.height() + 2 * pixelMetric(PM_FocusFrameVMargin)); @@ -3005,10 +3031,11 @@ QRect QS60Style::subElementRect(SubElement element, const QStyleOption *opt, con ret = QCommonStyle::subElementRect(element, opt, widget); if (const QStyleOptionTabWidgetFrame *twf = qstyleoption_cast<const QStyleOptionTabWidgetFrame *>(opt)) { - const int tabOverlapNoBorder = - QS60StylePrivate::pixelMetric(PM_TabBarTabOverlap); - const int tabOverlap = - tabOverlapNoBorder - QS60StylePrivate::pixelMetric(PM_DefaultFrameWidth); + const int borderThickness = + QS60StylePrivate::pixelMetric(PM_DefaultFrameWidth); + int tabOverlap = pixelMetric(PM_TabBarTabOverlap); + if (tabOverlap > borderThickness) + tabOverlap -= borderThickness; const QTabWidget *tab = qobject_cast<const QTabWidget *>(widget); int gain = (tab) ? tabOverlap * tab->count() : 0; switch (twf->shape) { @@ -3026,7 +3053,7 @@ QRect QS60Style::subElementRect(SubElement element, const QStyleOption *opt, con if ((ret.right() + gain) > widget->rect().right()) gain = widget->rect().right() - ret.right(); ret.adjust(0, 0, gain, 0); - } + } } break; } @@ -3114,7 +3141,7 @@ QRect QS60Style::subElementRect(SubElement element, const QStyleOption *opt, con } break; case SE_ItemViewItemCheckIndicator: - if (const QStyleOptionViewItemV2 *vopt = qstyleoption_cast<const QStyleOptionViewItemV2 *>(opt)) { + if (const QStyleOptionViewItemV4 *vopt = qstyleoption_cast<const QStyleOptionViewItemV4 *>(opt)) { const QAbstractItemView *listItem = qobject_cast<const QAbstractItemView *>(widget); const bool singleSelection = listItem && @@ -3122,7 +3149,7 @@ QRect QS60Style::subElementRect(SubElement element, const QStyleOption *opt, con listItem->selectionMode() == QAbstractItemView::NoSelection); const bool checkBoxOnly = (vopt->features & QStyleOptionViewItemV2::HasCheckIndicator) && listItem && - singleSelection; + singleSelection && vopt->text.isEmpty() && vopt->icon.isNull(); // Selection check mark rect. const int indicatorWidth = QS60StylePrivate::pixelMetric(PM_IndicatorWidth); diff --git a/src/gui/styles/qs60style_s60.cpp b/src/gui/styles/qs60style_s60.cpp index 6b79874..1e374cb 100644 --- a/src/gui/styles/qs60style_s60.cpp +++ b/src/gui/styles/qs60style_s60.cpp @@ -89,17 +89,25 @@ enum TSupportRelease { ES60_5_0 = 0x0004, ES60_5_1 = 0x0008, ES60_5_2 = 0x0010, + ES60_5_3 = 0x0020, ES60_3_X = ES60_3_1 | ES60_3_2, // Releases before Symbian Foundation ES60_PreSF = ES60_3_1 | ES60_3_2 | ES60_5_0, + // Releases before the S60 5.2 + ES60_Pre52 = ES60_3_1 | ES60_3_2 | ES60_5_0 | ES60_5_1, + // Releases before S60 5.3 + ES60_Pre53 = ES60_3_1 | ES60_3_2 | ES60_5_0 | ES60_5_1 | ES60_5_2, // Add all new releases here - ES60_All = ES60_3_1 | ES60_3_2 | ES60_5_0 | ES60_5_1 | ES60_5_2 + ES60_All = ES60_3_1 | ES60_3_2 | ES60_5_0 | ES60_5_1 | ES60_5_2 | ES60_5_3 }; typedef struct { - const TAknsItemID &skinID; - TDrawType drawType; - int supportInfo; + const TAknsItemID &skinID; // Determines default theme graphics ID. + TDrawType drawType; // Determines which native drawing routine is used to draw this item. + int supportInfo; // Defines the S60 versions that use the default graphics. + // These two, define new graphics that are used in releases other than partMapEntry.supportInfo defined releases. + // In general, these are given in numeric form to allow style compilation in earlier + // native releases that do not contain the new graphics. int newMajorSkinId; int newMinorSkinId; } partMapEntry; @@ -188,12 +196,14 @@ const partMapEntry QS60StyleModeSpecifics::m_partMap[] = { /* SP_QgnGrafScrollArrowLeft */ {KAknsIIDQgnGrafScrollArrowLeft, EDrawGulIcon, ES60_All, -1,-1}, /* SP_QgnGrafScrollArrowRight */ {KAknsIIDQgnGrafScrollArrowRight, EDrawGulIcon, ES60_All, -1,-1}, /* SP_QgnGrafScrollArrowUp */ {KAknsIIDQgnGrafScrollArrowUp, EDrawGulIcon, ES60_All, -1,-1}, - /* SP_QgnGrafTabActiveL */ {KAknsIIDQgnGrafTabActiveL, EDrawIcon, ES60_All, -1,-1}, - /* SP_QgnGrafTabActiveM */ {KAknsIIDQgnGrafTabActiveM, EDrawIcon, ES60_All, -1,-1}, - /* SP_QgnGrafTabActiveR */ {KAknsIIDQgnGrafTabActiveR, EDrawIcon, ES60_All, -1,-1}, - /* SP_QgnGrafTabPassiveL */ {KAknsIIDQgnGrafTabPassiveL, EDrawIcon, ES60_All, -1,-1}, - /* SP_QgnGrafTabPassiveM */ {KAknsIIDQgnGrafTabPassiveM, EDrawIcon, ES60_All, -1,-1}, - /* SP_QgnGrafTabPassiveR */ {KAknsIIDQgnGrafTabPassiveR, EDrawIcon, ES60_All, -1,-1}, + + // In S60 5.3 there is a new tab graphic + /* SP_QgnGrafTabActiveL */ {KAknsIIDQgnGrafTabActiveL, EDrawIcon, ES60_Pre53, EAknsMajorSkin, 0x2219}, //KAknsIIDQtgFrTabActiveNormalL + /* SP_QgnGrafTabActiveM */ {KAknsIIDQgnGrafTabActiveM, EDrawIcon, ES60_Pre53, EAknsMajorSkin, 0x221b}, //KAknsIIDQtgFrTabActiveNormalC + /* SP_QgnGrafTabActiveR */ {KAknsIIDQgnGrafTabActiveR, EDrawIcon, ES60_Pre53, EAknsMajorSkin, 0x221a}, //KAknsIIDQtgFrTabActiveNormalR + /* SP_QgnGrafTabPassiveL */ {KAknsIIDQgnGrafTabPassiveL, EDrawIcon, ES60_Pre53, EAknsMajorSkin, 0x2221}, //KAknsIIDQtgFrTabPassiveNormalL + /* SP_QgnGrafTabPassiveM */ {KAknsIIDQgnGrafTabPassiveM, EDrawIcon, ES60_Pre53, EAknsMajorSkin, 0x2223}, //KAknsIIDQtgFrTabPassiveNormalC + /* SP_QgnGrafTabPassiveR */ {KAknsIIDQgnGrafTabPassiveR, EDrawIcon, ES60_Pre53, EAknsMajorSkin, 0x2222}, //KAknsIIDQtgFrTabPassiveNormalR // In 3.1 there is no slider groove. /* SP_QgnGrafNsliderEndLeft */ {KAknsIIDNone, EDrawIcon, ES60_3_1, EAknsMajorGeneric, 0x19cf /* KAknsIIDQgnGrafNsliderEndLeft */}, @@ -1132,7 +1142,8 @@ bool QS60StyleModeSpecifics::checkSupport(const int supportedRelease) (currentRelease == QSysInfo::SV_S60_3_2 && supportedRelease & ES60_3_2) || (currentRelease == QSysInfo::SV_S60_5_0 && supportedRelease & ES60_5_0) || (currentRelease == QSysInfo::SV_S60_5_1 && supportedRelease & ES60_5_1) || - (currentRelease == QSysInfo::SV_S60_5_2 && supportedRelease & ES60_5_2)); + (currentRelease == QSysInfo::SV_S60_5_2 && supportedRelease & ES60_5_2) || + (currentRelease == QSysInfo::SV_S60_5_3 && supportedRelease & ES60_5_3) ); } TAknsItemID QS60StyleModeSpecifics::partSpecificThemeId(int part) @@ -1421,17 +1432,6 @@ QPixmap QS60StylePrivate::backgroundTexture(bool skipCreation) return *m_background; } -// Generates 1*1 white pixmap as a placeholder for real texture. -// The actual theme texture is drawn in qt_s60_fill_background(). -QPixmap QS60StylePrivate::placeHolderTexture() -{ - if (!m_placeHolderTexture) { - m_placeHolderTexture = new QPixmap(1,1); - m_placeHolderTexture->fill(Qt::white); - } - return *m_placeHolderTexture; -} - QSize QS60StylePrivate::screenSize() { return QSize(S60->screenWidthInPixels, S60->screenHeightInPixels); diff --git a/src/gui/styles/qstylesheetstyle.cpp b/src/gui/styles/qstylesheetstyle.cpp index ecf924c..faa929e 100644 --- a/src/gui/styles/qstylesheetstyle.cpp +++ b/src/gui/styles/qstylesheetstyle.cpp @@ -3323,6 +3323,13 @@ void QStyleSheetStyle::drawControl(ControlElement ce, const QStyleOption *opt, Q } break; + case CE_FocusFrame: + if (!rule.hasNativeBorder()) { + rule.drawBorder(p, opt->rect); + return; + } + break; + case CE_PushButton: if (const QStyleOptionButton *btn = qstyleoption_cast<const QStyleOptionButton *>(opt)) { if (rule.hasDrawable() || rule.hasBox() || rule.hasPosition() || rule.hasPalette() || diff --git a/src/gui/styles/qwindowsstyle.cpp b/src/gui/styles/qwindowsstyle.cpp index f61fe67..754486e 100644 --- a/src/gui/styles/qwindowsstyle.cpp +++ b/src/gui/styles/qwindowsstyle.cpp @@ -1858,8 +1858,8 @@ void QWindowsStyle::drawControl(ControlElement ce, const QStyleOption *opt, QPai } QRect vCheckRect = visualRect(opt->direction, menuitem->rect, QRect(menuitem->rect.x(), menuitem->rect.y(), checkcol, menuitem->rect.height())); - if (checked) { - if (act && !dis) { + if (!menuitem->icon.isNull() && checked) { + if (act) { qDrawShadePanel(p, vCheckRect, menuitem->palette, true, 1, &menuitem->palette.brush(QPalette::Button)); diff --git a/src/gui/styles/qwindowsvistastyle.cpp b/src/gui/styles/qwindowsvistastyle.cpp index 7f1a3ab..123741e 100644 --- a/src/gui/styles/qwindowsvistastyle.cpp +++ b/src/gui/styles/qwindowsvistastyle.cpp @@ -969,7 +969,8 @@ void QWindowsVistaStyle::drawControl(ControlElement element, const QStyleOption if (const QStyleOptionButton *btn = qstyleoption_cast<const QStyleOptionButton *>(option)) { - if (QWindowsVistaAnimation *anim = d->widgetAnimation(widget)) { + QWindowsVistaAnimation *anim = d->widgetAnimation(widget); + if (anim && (btn->state & State_Enabled)) { anim->paint(painter, option); } else { name = QLatin1String("BUTTON"); @@ -996,7 +997,6 @@ void QWindowsVistaStyle::drawControl(ControlElement element, const QStyleOption !(state & (State_Sunken | State_On)) && !(state & State_MouseOver) && (state & State_Enabled) && (state & State_Active)) { - QWindowsVistaAnimation *anim = d->widgetAnimation(widget); if (!anim && widget) { QImage startImage(option->rect.size(), QImage::Format_ARGB32_Premultiplied); startImage.fill(0); @@ -1074,8 +1074,8 @@ void QWindowsVistaStyle::drawControl(ControlElement element, const QStyleOption } if (const QProgressBar *progressbar = qobject_cast<const QProgressBar *>(widget)) { - if (((progressbar->value() > 0 && d->transitionsEnabled()) || isIndeterminate)) { - if (!d->widgetAnimation(progressbar) && progressbar->value() < progressbar->maximum()) { + if (isIndeterminate || (progressbar->value() > 0 && (progressbar->value() < progressbar->maximum()) && d->transitionsEnabled())) { + if (!d->widgetAnimation(progressbar)) { QWindowsVistaAnimation *a = new QWindowsVistaAnimation; a->setWidget(const_cast<QWidget*>(widget)); a->setStartTime(QTime::currentTime()); @@ -2502,7 +2502,6 @@ void QWindowsVistaStylePrivate::timerEvent() animations[i]->widget()->update(); if (!animations[i]->widget() || - !animations[i]->widget()->isEnabled() || !animations[i]->widget()->isVisible() || animations[i]->widget()->window()->isMinimized() || !animations[i]->running() || diff --git a/src/gui/styles/qwindowsxpstyle.cpp b/src/gui/styles/qwindowsxpstyle.cpp index 74a20fc..4b2c3a5 100644 --- a/src/gui/styles/qwindowsxpstyle.cpp +++ b/src/gui/styles/qwindowsxpstyle.cpp @@ -1196,8 +1196,14 @@ QRect QWindowsXPStyle::subElementRect(SubElement sr, const QStyleOption *option, if (qstyleoption_cast<const QStyleOptionTabWidgetFrame *>(option)) { rect = QWindowsStyle::subElementRect(sr, option, widget); - if (sr == SE_TabWidgetTabContents) - rect.adjust(0, 0, -2, -2); + if (sr == SE_TabWidgetTabContents) { + if (const QTabWidget *tabWidget = qobject_cast<const QTabWidget *>(widget)) { + if (tabWidget->documentMode()) + break; + } + + rect.adjust(0, 0, -2, -2); + } } break; case SE_TabWidgetTabBar: { diff --git a/src/gui/text/qfontengine_coretext.mm b/src/gui/text/qfontengine_coretext.mm index 20b3730..d4df218 100644 --- a/src/gui/text/qfontengine_coretext.mm +++ b/src/gui/text/qfontengine_coretext.mm @@ -162,8 +162,10 @@ uint QCoreTextFontEngineMulti::fontIndexForFont(CTFontRef font) const return engines.count() - 1; } -bool QCoreTextFontEngineMulti::stringToCMap(const QChar *str, int len, QGlyphLayout *glyphs, int *nglyphs, QTextEngine::ShaperFlags flags, - unsigned short *logClusters, const HB_CharAttributes *) const +bool QCoreTextFontEngineMulti::stringToCMap(const QChar *str, int len, QGlyphLayout *glyphs, + int *nglyphs, QTextEngine::ShaperFlags flags, + unsigned short *logClusters, const HB_CharAttributes *, + QScriptItem *si) const { QCFType<CFStringRef> cfstring = CFStringCreateWithCharactersNoCopy(0, reinterpret_cast<const UniChar *>(str), @@ -180,6 +182,8 @@ bool QCoreTextFontEngineMulti::stringToCMap(const QChar *str, int len, QGlyphLay &kCFCopyStringDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks); typeSetter = CTTypesetterCreateWithAttributedStringAndOptions(attributedString, options); } else +#else + Q_UNUSED(flags); #endif typeSetter = CTTypesetterCreateWithAttributedString(attributedString); @@ -219,6 +223,25 @@ bool QCoreTextFontEngineMulti::stringToCMap(const QChar *str, int len, QGlyphLay Q_ASSERT((CTRunGetStatus(run) & kCTRunStatusRightToLeft) == rtl); CFRange stringRange = CTRunGetStringRange(run); + int prepend = 0; +#if MAC_OS_X_VERSION_MAX_ALLOWED == MAC_OS_X_VERSION_10_5 + UniChar beginGlyph = CFStringGetCharacterAtIndex(cfstring, stringRange.location); + QChar dir = QChar::direction(beginGlyph); + bool beginWithOverride = dir == QChar::DirLRO || dir == QChar::DirRLO || dir == QChar::DirLRE || dir == QChar::DirRLE; + if (beginWithOverride) { + logClusters[stringRange.location] = 0; + outGlyphs[0] = 0xFFFF; + outAdvances_x[0] = 0; + outAdvances_y[0] = 0; + outAttributes[0].clusterStart = true; + outAttributes[0].dontPrint = true; + outGlyphs++; + outAdvances_x++; + outAdvances_y++; + outAttributes++; + prepend = 1; + } +#endif UniChar endGlyph = CFStringGetCharacterAtIndex(cfstring, stringRange.location + stringRange.length - 1); bool endWithPDF = QChar::direction(endGlyph) == QChar::DirPDF; if (endWithPDF) @@ -233,7 +256,12 @@ bool QCoreTextFontEngineMulti::stringToCMap(const QChar *str, int len, QGlyphLay if (!runAttribs) runAttribs = attributeDict; CTFontRef runFont = static_cast<CTFontRef>(CFDictionaryGetValue(runAttribs, NSFontAttributeName)); - const uint fontIndex = (fontIndexForFont(runFont) << 24); + uint fontIndex = fontIndexForFont(runFont); + const QFontEngine *engine = engineAt(fontIndex); + fontIndex <<= 24; + si->ascent = qMax(engine->ascent(), si->ascent); + si->descent = qMax(engine->descent(), si->descent); + si->leading = qMax(engine->leading(), si->leading); //NSLog(@"Run Font Name = %@", CTFontCopyFamilyName(runFont)); if (endWithPDF) glyphCount--; @@ -271,9 +299,9 @@ bool QCoreTextFontEngineMulti::stringToCMap(const QChar *str, int len, QGlyphLay CFIndex k = 0; CFIndex i = 0; - for (i = stringRange.location; + for (i = stringRange.location + prepend; (i < stringRange.location + stringRange.length) && (k < glyphCount); ++i) { - if (tmpIndices[k * rtlSign + rtlOffset] == i || i == stringRange.location) { + if (tmpIndices[k * rtlSign + rtlOffset] == i || i == stringRange.location + prepend) { logClusters[i] = k + firstGlyphIndex; outAttributes[k].clusterStart = true; ++k; @@ -308,7 +336,7 @@ bool QCoreTextFontEngineMulti::stringToCMap(const QChar *str, int len, QGlyphLay : QFixed::fromReal(lastGlyphAdvance.width); if (endWithPDF) { - logClusters[stringRange.location + stringRange.length - 1] = glyphCount; + logClusters[stringRange.location + stringRange.length - 1] = glyphCount + prepend; outGlyphs[glyphCount] = 0xFFFF; outAdvances_x[glyphCount] = 0; outAdvances_y[glyphCount] = 0; @@ -837,6 +865,15 @@ QFixed QCoreTextFontEngine::emSquareSize() const return QFixed::QFixed(int(CTFontGetUnitsPerEm(ctfont))); } +QFontEngine *QCoreTextFontEngine::cloneWithSize(qreal pixelSize) const +{ + QFontDef newFontDef = fontDef; + newFontDef.pixelSize = pixelSize; + newFontDef.pointSize = pixelSize * 72.0 / qt_defaultDpi(); + + return new QCoreTextFontEngine(cgFont, fontDef); +} + QT_END_NAMESPACE #endif// !defined(Q_WS_MAC) || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5) diff --git a/src/gui/text/qfontengine_coretext_p.h b/src/gui/text/qfontengine_coretext_p.h index 1503c3f..bb80a9b 100644 --- a/src/gui/text/qfontengine_coretext_p.h +++ b/src/gui/text/qfontengine_coretext_p.h @@ -91,6 +91,8 @@ public: virtual qreal minLeftBearing() const; virtual QFixed emSquareSize() const; + virtual QFontEngine *cloneWithSize(qreal pixelSize) const; + private: friend class QRawFontPrivate; @@ -118,7 +120,8 @@ public: QTextEngine::ShaperFlags flags) const; bool stringToCMap(const QChar *str, int len, QGlyphLayout *glyphs, int *nglyphs, QTextEngine::ShaperFlags flags, - unsigned short *logClusters, const HB_CharAttributes *charAttributes) const; + unsigned short *logClusters, const HB_CharAttributes *charAttributes, + QScriptItem *si) const; virtual const char *name() const { return "CoreText"; } protected: diff --git a/src/gui/text/qfontengine_ft.cpp b/src/gui/text/qfontengine_ft.cpp index 8f2da9b..58bcca8 100644 --- a/src/gui/text/qfontengine_ft.cpp +++ b/src/gui/text/qfontengine_ft.cpp @@ -2069,6 +2069,41 @@ HB_Error QFontEngineFT::getPointInOutline(HB_Glyph glyph, int flags, hb_uint32 p return result; } +bool QFontEngineFT::initFromFontEngine(const QFontEngineFT *fe) +{ + if (!init(fe->faceId(), fe->antialias, fe->defaultFormat, fe->freetype)) + return false; + + // Increase the reference of this QFreetypeFace since one more QFontEngineFT + // will be using it + freetype->ref.ref(); + + default_load_flags = fe->default_load_flags; + default_hint_style = fe->default_hint_style; + antialias = fe->antialias; + transform = fe->transform; + embolden = fe->embolden; + subpixelType = fe->subpixelType; + lcdFilterType = fe->lcdFilterType; + canUploadGlyphsToServer = fe->canUploadGlyphsToServer; + embeddedbitmap = fe->embeddedbitmap; + + return true; +} + +QFontEngine *QFontEngineFT::cloneWithSize(qreal pixelSize) const +{ + QFontDef fontDef; + fontDef.pixelSize = pixelSize; + QFontEngineFT *fe = new QFontEngineFT(fontDef); + if (!fe->initFromFontEngine(this)) { + delete fe; + return 0; + } else { + return fe; + } +} + QT_END_NAMESPACE #endif // QT_NO_FREETYPE diff --git a/src/gui/text/qfontengine_ft_p.h b/src/gui/text/qfontengine_ft_p.h index 887efed..6dbca7a 100644 --- a/src/gui/text/qfontengine_ft_p.h +++ b/src/gui/text/qfontengine_ft_p.h @@ -122,7 +122,7 @@ struct QFreetypeFace static void addBitmapToPath(FT_GlyphSlot slot, const QFixedPoint &point, QPainterPath *path, bool = false); private: - friend class QFontEngineFTRawFont; + friend class QFontEngineFT; friend class QScopedPointerDeleter<QFreetypeFace>; QFreetypeFace() : _lock(QMutex::Recursive) {} ~QFreetypeFace() {} @@ -319,6 +319,10 @@ private: }; void setDefaultHintStyle(HintStyle style); + + virtual QFontEngine *cloneWithSize(qreal pixelSize) const; + bool initFromFontEngine(const QFontEngineFT *fontEngine); + HintStyle defaultHintStyle() const { return default_hint_style; } protected: diff --git a/src/gui/text/qfontengine_mac.mm b/src/gui/text/qfontengine_mac.mm index 673a7c8..9f094ad 100644 --- a/src/gui/text/qfontengine_mac.mm +++ b/src/gui/text/qfontengine_mac.mm @@ -377,7 +377,7 @@ bool QFontEngineMacMulti::stringToCMap(const QChar *str, int len, QGlyphLayout * } bool QFontEngineMacMulti::stringToCMap(const QChar *str, int len, QGlyphLayout *glyphs, int *nglyphs, QTextEngine::ShaperFlags flags, - unsigned short *logClusters, const HB_CharAttributes *charAttributes) const + unsigned short *logClusters, const HB_CharAttributes *charAttributes, QScriptItem *) const { if (*nglyphs < len) { *nglyphs = len; diff --git a/src/gui/text/qfontengine_mac_p.h b/src/gui/text/qfontengine_mac_p.h index 385fa83..292ea98 100644 --- a/src/gui/text/qfontengine_mac_p.h +++ b/src/gui/text/qfontengine_mac_p.h @@ -131,7 +131,7 @@ public: virtual bool stringToCMap(const QChar *str, int len, QGlyphLayout *glyphs, int *nglyphs, QTextEngine::ShaperFlags flags) const; bool stringToCMap(const QChar *str, int len, QGlyphLayout *glyphs, int *nglyphs, QTextEngine::ShaperFlags flags, - unsigned short *logClusters, const HB_CharAttributes *charAttributes) const; + unsigned short *logClusters, const HB_CharAttributes *charAttributes, QScriptItem *) const; virtual void recalcAdvances(QGlyphLayout *, QTextEngine::ShaperFlags) const; virtual void doKerning(QGlyphLayout *, QTextEngine::ShaperFlags) const; diff --git a/src/gui/text/qfontengine_p.h b/src/gui/text/qfontengine_p.h index 5b39fd3..6db0aa6 100644 --- a/src/gui/text/qfontengine_p.h +++ b/src/gui/text/qfontengine_p.h @@ -235,6 +235,8 @@ public: virtual int glyphCount() const; + virtual QFontEngine *cloneWithSize(qreal /*pixelSize*/) const { return 0; } + HB_Font harfbuzzFont() const; HB_Face harfbuzzFace() const; diff --git a/src/gui/text/qfontengine_win.cpp b/src/gui/text/qfontengine_win.cpp index 82d9da0..54d7ec2 100644 --- a/src/gui/text/qfontengine_win.cpp +++ b/src/gui/text/qfontengine_win.cpp @@ -1284,6 +1284,23 @@ QImage QFontEngineWin::alphaRGBMapForGlyph(glyph_t glyph, QFixed, int margin, co return rgbMask; } +// From qfontdatabase_win.cpp +extern QFontEngine *qt_load_font_engine_win(const QFontDef &request); +QFontEngine *QFontEngineWin::cloneWithSize(qreal pixelSize) const +{ + QFontDef request = fontDef; + QString actualFontName = request.family; + if (!uniqueFamilyName.isEmpty()) + request.family = uniqueFamilyName; + request.pixelSize = pixelSize; + + QFontEngine *fontEngine = qt_load_font_engine_win(request); + if (fontEngine != NULL) + fontEngine->fontDef.family = actualFontName; + + return fontEngine; +} + // -------------------------------------- Multi font engine QFontEngineMultiWin::QFontEngineMultiWin(QFontEngine *first, const QStringList &fallbacks) diff --git a/src/gui/text/qfontengine_win_p.h b/src/gui/text/qfontengine_win_p.h index 28d8000..114149d 100644 --- a/src/gui/text/qfontengine_win_p.h +++ b/src/gui/text/qfontengine_win_p.h @@ -106,6 +106,8 @@ public: virtual QImage alphaMapForGlyph(glyph_t, const QTransform &xform); virtual QImage alphaRGBMapForGlyph(glyph_t t, QFixed subPixelPosition, int margin, const QTransform &xform); + virtual QFontEngine *cloneWithSize(qreal pixelSize) const; + #ifndef Q_CC_MINGW virtual void getGlyphBearings(glyph_t glyph, qreal *leftBearing = 0, qreal *rightBearing = 0); #endif @@ -118,6 +120,7 @@ public: #endif QString _name; + QString uniqueFamilyName; HFONT hfont; LOGFONT logfont; uint stockFont : 1; diff --git a/src/gui/text/qfontengine_x11.cpp b/src/gui/text/qfontengine_x11.cpp index 9f3f8d3..4260b85 100644 --- a/src/gui/text/qfontengine_x11.cpp +++ b/src/gui/text/qfontengine_x11.cpp @@ -1196,6 +1196,20 @@ bool QFontEngineX11FT::uploadGlyphToServer(QGlyphSet *set, uint glyphid, Glyph * #endif } +QFontEngine *QFontEngineX11FT::cloneWithSize(qreal pixelSize) const +{ + QFontDef fontDef; + fontDef.pixelSize = pixelSize; + QFontEngineX11FT *fe = new QFontEngineX11FT(fontDef); + if (!fe->initFromFontEngine(this)) { + delete fe; + return 0; + } else { + fe->xglyph_format = xglyph_format; + return fe; + } +} + #endif // QT_NO_FONTCONFIG QT_END_NAMESPACE diff --git a/src/gui/text/qfontengine_x11_p.h b/src/gui/text/qfontengine_x11_p.h index ad68fac..d7eb39d 100644 --- a/src/gui/text/qfontengine_x11_p.h +++ b/src/gui/text/qfontengine_x11_p.h @@ -161,6 +161,8 @@ public: explicit QFontEngineX11FT(FcPattern *pattern, const QFontDef &fd, int screen); ~QFontEngineX11FT(); + QFontEngine *cloneWithSize(qreal pixelSize) const; + #ifndef QT_NO_XRENDER int xglyph_format; #endif diff --git a/src/gui/text/qfontenginedirectwrite.cpp b/src/gui/text/qfontenginedirectwrite.cpp index f0a3644..aab00c0 100644 --- a/src/gui/text/qfontenginedirectwrite.cpp +++ b/src/gui/text/qfontenginedirectwrite.cpp @@ -630,6 +630,17 @@ QFontEngine::Type QFontEngineDirectWrite::type() const return QFontEngine::DirectWrite; } +QFontEngine *QFontEngineDirectWrite::cloneWithSize(qreal pixelSize) const +{ + QFontEngine *fontEngine = new QFontEngineDirectWrite(m_directWriteFactory, m_directWriteFontFace, + pixelSize); + + fontEngine->fontDef = fontDef; + fontEngine->fontDef.pixelSize = pixelSize; + + return fontEngine; +} + QT_END_NAMESPACE #endif // QT_NO_DIRECTWRITE diff --git a/src/gui/text/qfontenginedirectwrite_p.h b/src/gui/text/qfontenginedirectwrite_p.h index c440a6c..53a4b0a 100644 --- a/src/gui/text/qfontenginedirectwrite_p.h +++ b/src/gui/text/qfontenginedirectwrite_p.h @@ -101,6 +101,8 @@ public: QImage alphaRGBMapForGlyph(glyph_t t, QFixed subPixelPosition, int margin, const QTransform &xform); + QFontEngine *cloneWithSize(qreal pixelSize) const; + bool canRender(const QChar *string, int len); Type type() const; diff --git a/src/gui/text/qglyphs.cpp b/src/gui/text/qglyphs.cpp index b8a418d..cfea6ec 100644 --- a/src/gui/text/qglyphs.cpp +++ b/src/gui/text/qglyphs.cpp @@ -50,7 +50,7 @@ QT_BEGIN_NAMESPACE /*! \class QGlyphs - \brief the QGlyphs class provides direct access to the internal glyphs in a font + \brief The QGlyphs class provides direct access to the internal glyphs in a font. \since 4.8 \ingroup text @@ -76,8 +76,8 @@ QT_BEGIN_NAMESPACE QTextLayout::glyphs() or QTextFragment::glyphs() can be used to convert unicode encoded text into a list of QGlyphs objects, and QPainter::drawGlyphs() can be used to draw the glyphs. - \note Please note that QRawFont is considered local to the thread in which it is constructed, - which in turn means that a new QRawFont will have to be created and set on the QGlyphs if it is + \note Please note that QRawFont is considered local to the thread in which it is constructed. + This in turn means that a new QRawFont will have to be created and set on the QGlyphs if it is moved to a different thread. If the QGlyphs contains a reference to a QRawFont from a different thread than the current, it will not be possible to draw the glyphs using a QPainter, as the QRawFont is considered invalid and inaccessible in this case. diff --git a/src/gui/text/qplatformfontdatabase_qpa.cpp b/src/gui/text/qplatformfontdatabase_qpa.cpp index 6fa25e7..82ec279 100644 --- a/src/gui/text/qplatformfontdatabase_qpa.cpp +++ b/src/gui/text/qplatformfontdatabase_qpa.cpp @@ -218,6 +218,16 @@ QFontEngine *QPlatformFontDatabase::fontEngine(const QFontDef &fontDef, QUnicode return engine; } +QFontEngine *QPlatformFontDatabase::fontEngine(const QByteArray &fontData, qreal pixelSize, + QFont::HintingPreference hintingPreference) +{ + Q_UNUSED(fontData); + Q_UNUSED(pixelSize); + Q_UNUSED(hintingPreference); + qWarning("This plugin does not support font engines created directly from font data"); + return 0; +} + /*! */ diff --git a/src/gui/text/qplatformfontdatabase_qpa.h b/src/gui/text/qplatformfontdatabase_qpa.h index e0e4f04..046311f 100644 --- a/src/gui/text/qplatformfontdatabase_qpa.h +++ b/src/gui/text/qplatformfontdatabase_qpa.h @@ -92,6 +92,8 @@ public: virtual QStringList addApplicationFont(const QByteArray &fontData, const QString &fileName); virtual void releaseHandle(void *handle); + virtual QFontEngine *fontEngine(const QByteArray &fontData, qreal pixelSize, QFont::HintingPreference hintingPreference); + virtual QString fontDir() const; //callback diff --git a/src/gui/text/qrawfont.cpp b/src/gui/text/qrawfont.cpp index 4a715c2..6ac2677 100644 --- a/src/gui/text/qrawfont.cpp +++ b/src/gui/text/qrawfont.cpp @@ -579,8 +579,19 @@ QRawFont QRawFont::fromFont(const QFont &font, QFontDatabase::WritingSystem writ */ void QRawFont::setPixelSize(int pixelSize) { + if (d->fontEngine == 0) + return; + detach(); - d->platformSetPixelSize(pixelSize); + QFontEngine *oldFontEngine = d->fontEngine; + + d->fontEngine = d->fontEngine->cloneWithSize(pixelSize); + if (d->fontEngine != 0) + d->fontEngine->ref.ref(); + + oldFontEngine->ref.deref(); + if (oldFontEngine->cache_count == 0 && oldFontEngine->ref == 0) + delete oldFontEngine; } /*! diff --git a/src/gui/text/qrawfont_ft.cpp b/src/gui/text/qrawfont_ft.cpp index eefbd92..23d47eb 100644 --- a/src/gui/text/qrawfont_ft.cpp +++ b/src/gui/text/qrawfont_ft.cpp @@ -90,32 +90,6 @@ public: return init(faceId, true, Format_None, fontData); } - - bool initFromFontEngine(QFontEngine *oldFontEngine) - { - QFontEngineFT *fe = static_cast<QFontEngineFT *>(oldFontEngine); - - // Increase the reference of this QFreetypeFace since one more QFontEngineFT - // will be using it - fe->freetype->ref.ref(); - if (!init(fe->faceId(), fe->antialias, fe->defaultFormat, fe->freetype)) - return false; - - default_load_flags = fe->default_load_flags; - default_hint_style = fe->default_hint_style; - antialias = fe->antialias; - transform = fe->transform; - embolden = fe->embolden; - subpixelType = fe->subpixelType; - lcdFilterType = fe->lcdFilterType; - canUploadGlyphsToServer = fe->canUploadGlyphsToServer; - embeddedbitmap = fe->embeddedbitmap; - -#if defined(Q_WS_X11) - xglyph_format = static_cast<QFontEngineX11FT *>(fe)->xglyph_format; -#endif - return true; - } }; @@ -159,31 +133,6 @@ void QRawFontPrivate::platformLoadFromData(const QByteArray &fontData, int pixel fontEngine->ref.ref(); } -void QRawFontPrivate::platformSetPixelSize(int pixelSize) -{ - if (fontEngine == NULL) - return; - - QFontEngine *oldFontEngine = fontEngine; - - QFontDef fontDef; - fontDef.pixelSize = pixelSize; - QFontEngineFTRawFont *fe = new QFontEngineFTRawFont(fontDef); - if (!fe->initFromFontEngine(oldFontEngine)) { - delete fe; - return; - } - - fontEngine = fe; - fontEngine->fontDef = oldFontEngine->fontDef; - fontEngine->fontDef.pixelSize = pixelSize; - fontEngine->ref.ref(); - Q_ASSERT(fontEngine != oldFontEngine); - oldFontEngine->ref.deref(); - if (oldFontEngine->cache_count == 0 && oldFontEngine->ref == 0) - delete oldFontEngine; -} - QT_END_NAMESPACE #endif // QT_NO_RAWFONT diff --git a/src/gui/text/qrawfont_mac.cpp b/src/gui/text/qrawfont_mac.cpp index 56005c6..1ed4185 100644 --- a/src/gui/text/qrawfont_mac.cpp +++ b/src/gui/text/qrawfont_mac.cpp @@ -78,28 +78,6 @@ void QRawFontPrivate::platformLoadFromData(const QByteArray &fontData, } } -void QRawFontPrivate::platformSetPixelSize(int pixelSize) -{ - if (fontEngine == NULL) - return; - - QFontEngine *oldFontEngine = fontEngine; - - QFontDef fontDef = oldFontEngine->fontDef; - fontDef.pixelSize = pixelSize; - fontDef.pointSize = pixelSize * 72.0 / qt_defaultDpi(); - - QCoreTextFontEngine *ctFontEngine = static_cast<QCoreTextFontEngine *>(oldFontEngine); - Q_ASSERT(ctFontEngine->cgFont); - - fontEngine = new QCoreTextFontEngine(ctFontEngine->cgFont, fontDef); - fontEngine->ref.ref(); - Q_ASSERT(fontEngine != oldFontEngine); - oldFontEngine->ref.deref(); - if (oldFontEngine->cache_count == 0 && oldFontEngine->ref == 0) - delete oldFontEngine; -} - QT_END_NAMESPACE #endif // QT_NO_RAWFONT diff --git a/src/gui/text/qrawfont_p.h b/src/gui/text/qrawfont_p.h index f9a9ab5..e29ea9c 100644 --- a/src/gui/text/qrawfont_p.h +++ b/src/gui/text/qrawfont_p.h @@ -83,7 +83,6 @@ public: , fontHandle(NULL) , ptrAddFontMemResourceEx(other.ptrAddFontMemResourceEx) , ptrRemoveFontMemResourceEx(other.ptrRemoveFontMemResourceEx) - , uniqueFamilyName(other.uniqueFamilyName) #endif { fontEngine = other.fontEngine; @@ -102,7 +101,6 @@ public: void platformLoadFromData(const QByteArray &fontData, int pixelSize, QFont::HintingPreference hintingPreference); - void platformSetPixelSize(int pixelSize); static QRawFontPrivate *get(const QRawFont &font) { return font.d.data(); } @@ -120,8 +118,6 @@ public: PtrAddFontMemResourceEx ptrAddFontMemResourceEx; PtrRemoveFontMemResourceEx ptrRemoveFontMemResourceEx; - QString uniqueFamilyName; - #endif // Q_WS_WIN }; diff --git a/src/gui/text/qrawfont_qpa.cpp b/src/gui/text/qrawfont_qpa.cpp new file mode 100644 index 0000000..103619c --- /dev/null +++ b/src/gui/text/qrawfont_qpa.cpp @@ -0,0 +1,69 @@ +/**************************************************************************** +** +** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the QtGui module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#include <QtCore/qglobal.h> + +#if !defined(QT_NO_RAWFONT) + +#include "qrawfont_p.h" +#include <QtGui/qplatformfontdatabase_qpa.h> +#include <private/qapplication_p.h> + +QT_BEGIN_NAMESPACE + +void QRawFontPrivate::platformCleanUp() +{ +} + +void QRawFontPrivate::platformLoadFromData(const QByteArray &fontData, int pixelSize, + QFont::HintingPreference hintingPreference) +{ + Q_ASSERT(fontEngine == 0); + + QPlatformFontDatabase *pfdb = QApplicationPrivate::platformIntegration()->fontDatabase(); + fontEngine = pfdb->fontEngine(fontData, pixelSize, hintingPreference); + if (fontEngine != 0) + fontEngine->ref.ref(); +} + +QT_END_NAMESPACE + +#endif // QT_NO_RAWFONT diff --git a/src/gui/text/qrawfont_win.cpp b/src/gui/text/qrawfont_win.cpp index fb5c6f4..d8acf57 100644 --- a/src/gui/text/qrawfont_win.cpp +++ b/src/gui/text/qrawfont_win.cpp @@ -559,7 +559,7 @@ void QRawFontPrivate::platformLoadFromData(const QByteArray &_fontData, GUID guid; CoCreateGuid(&guid); - uniqueFamilyName = QString::fromLatin1("f") + QString uniqueFamilyName = QString::fromLatin1("f") + QString::number(guid.Data1, 36) + QLatin1Char('-') + QString::number(guid.Data2, 36) + QLatin1Char('-') + QString::number(guid.Data3, 36) + QLatin1Char('-') @@ -613,6 +613,7 @@ void QRawFontPrivate::platformLoadFromData(const QByteArray &_fontData, Q_ASSERT(fontEngine->cache_count == 0 && fontEngine->ref == 0); // Override the generated font name + static_cast<QFontEngineWin *>(fontEngine)->uniqueFamilyName = uniqueFamilyName; fontEngine->fontDef.family = actualFontName; fontEngine->ref.ref(); } @@ -701,50 +702,6 @@ void QRawFontPrivate::platformLoadFromData(const QByteArray &_fontData, } } -void QRawFontPrivate::platformSetPixelSize(int pixelSize) -{ - if (fontEngine == NULL) - return; - - QFontEngine *oldFontEngine = fontEngine; - -#if !defined(QT_NO_DIRECTWRITE) - if (fontEngine->type() == QFontEngine::Win) -#endif - - { - QFontDef request = fontEngine->fontDef; - QString actualFontName = request.family; - if (!uniqueFamilyName.isEmpty()) - request.family = uniqueFamilyName; - request.pixelSize = pixelSize; - - fontEngine = qt_load_font_engine_win(request); - if (fontEngine != NULL) { - fontEngine->fontDef.family = actualFontName; - fontEngine->ref.ref(); - } - } - -#if !defined(QT_NO_DIRECTWRITE) - else { - QFontEngineDirectWrite *dWriteFE = static_cast<QFontEngineDirectWrite *>(fontEngine); - fontEngine = new QFontEngineDirectWrite(dWriteFE->m_directWriteFactory, - dWriteFE->m_directWriteFontFace, - pixelSize); - - fontEngine->fontDef = dWriteFE->fontDef; - fontEngine->fontDef.pixelSize = pixelSize; - fontEngine->ref.ref(); - } -#endif - - Q_ASSERT(fontEngine != oldFontEngine); - oldFontEngine->ref.deref(); - if (oldFontEngine->cache_count == 0 && oldFontEngine->ref == 0) - delete oldFontEngine; -} - QT_END_NAMESPACE #endif // QT_NO_RAWFONT diff --git a/src/gui/text/qtextcontrol.cpp b/src/gui/text/qtextcontrol.cpp index 66ce64b..4396730 100644 --- a/src/gui/text/qtextcontrol.cpp +++ b/src/gui/text/qtextcontrol.cpp @@ -1519,7 +1519,7 @@ void QTextControlPrivate::mousePressEvent(QEvent *e, Qt::MouseButton button, con const QTextCursor oldSelection = cursor; const int oldCursorPos = cursor.position(); - mousePressed = true; + mousePressed = (interactionFlags & Qt::TextSelectableByMouse); #ifndef QT_NO_DRAGANDDROP mightStartDrag = false; #endif @@ -1608,13 +1608,11 @@ void QTextControlPrivate::mouseMoveEvent(QEvent *e, Qt::MouseButton button, cons if (!(buttons & Qt::LeftButton)) return; - const bool selectable = interactionFlags & Qt::TextSelectableByMouse; const bool editable = interactionFlags & Qt::TextEditable; - if (!selectable && !editable) - return; - if (!(mousePressed + || editable + || mightStartDrag || selectedWordOnDoubleClick.hasSelection() || selectedBlockOnTrippleClick.hasSelection())) return; @@ -1628,7 +1626,7 @@ void QTextControlPrivate::mouseMoveEvent(QEvent *e, Qt::MouseButton button, cons return; } - if (!selectable) + if (!mousePressed) return; const qreal mouseX = qreal(mousePos.x()); @@ -1696,10 +1694,8 @@ void QTextControlPrivate::mouseReleaseEvent(QEvent *e, Qt::MouseButton button, c if (mousePressed) { mousePressed = false; #ifndef QT_NO_CLIPBOARD - if (interactionFlags & Qt::TextSelectableByMouse) { - setClipboardSelection(); - selectionChanged(true); - } + setClipboardSelection(); + selectionChanged(true); } else if (button == Qt::MidButton && (interactionFlags & Qt::TextEditable) && QApplication::clipboard()->supportsSelection()) { @@ -1951,6 +1947,7 @@ void QTextControlPrivate::inputMethodEvent(QInputMethodEvent *e) if (isGettingInput) layout->setPreeditArea(cursor.position() - block.position(), e->preeditString()); QList<QTextLayout::FormatRange> overrides; + const int oldPreeditCursor = preeditCursor; preeditCursor = e->preeditString().length(); hideCursor = false; for (int i = 0; i < e->attributes().size(); ++i) { @@ -1973,6 +1970,8 @@ void QTextControlPrivate::inputMethodEvent(QInputMethodEvent *e) cursor.endEditBlock(); if (cursor.d) cursor.d->setX(); + if (oldPreeditCursor != preeditCursor) + emit q->microFocusChanged(); } QVariant QTextControl::inputMethodQuery(Qt::InputMethodQuery property) const diff --git a/src/gui/text/qtextcursor.cpp b/src/gui/text/qtextcursor.cpp index 6ddfdb0..4f6857a 100644 --- a/src/gui/text/qtextcursor.cpp +++ b/src/gui/text/qtextcursor.cpp @@ -362,20 +362,23 @@ bool QTextCursorPrivate::movePosition(QTextCursor::MoveOperation op, QTextCursor currentCharFormat = -1; bool adjustX = true; QTextBlock blockIt = block(); + bool visualMovement = priv->defaultCursorMoveStyle == QTextCursor::Visual; if (!blockIt.isValid()) return false; - if (op >= QTextCursor::Left && op <= QTextCursor::WordRight - && blockIt.textDirection() == Qt::RightToLeft) { - if (op == QTextCursor::Left) - op = QTextCursor::NextCharacter; - else if (op == QTextCursor::Right) - op = QTextCursor::PreviousCharacter; - else if (op == QTextCursor::WordLeft) + if (blockIt.textDirection() == Qt::RightToLeft) { + if (op == QTextCursor::WordLeft) op = QTextCursor::NextWord; else if (op == QTextCursor::WordRight) op = QTextCursor::PreviousWord; + + if (!visualMovement) { + if (op == QTextCursor::Left) + op = QTextCursor::NextCharacter; + else if (op == QTextCursor::Right) + op = QTextCursor::PreviousCharacter; + } } const QTextLayout *layout = blockLayout(blockIt); @@ -418,9 +421,12 @@ bool QTextCursorPrivate::movePosition(QTextCursor::MoveOperation op, QTextCursor break; } case QTextCursor::PreviousCharacter: - case QTextCursor::Left: newPosition = priv->previousCursorPosition(position, QTextLayout::SkipCharacters); break; + case QTextCursor::Left: + newPosition = visualMovement ? priv->leftCursorPosition(position) + : priv->previousCursorPosition(position, QTextLayout::SkipCharacters); + break; case QTextCursor::StartOfWord: { if (relativePos == 0) break; @@ -529,9 +535,12 @@ bool QTextCursorPrivate::movePosition(QTextCursor::MoveOperation op, QTextCursor break; } case QTextCursor::NextCharacter: - case QTextCursor::Right: newPosition = priv->nextCursorPosition(position, QTextLayout::SkipCharacters); break; + case QTextCursor::Right: + newPosition = visualMovement ? priv->rightCursorPosition(position) + : priv->nextCursorPosition(position, QTextLayout::SkipCharacters); + break; case QTextCursor::NextWord: case QTextCursor::WordRight: newPosition = priv->nextCursorPosition(position, QTextLayout::SkipWords); @@ -2558,4 +2567,19 @@ QTextDocument *QTextCursor::document() const return 0; // document went away } +/*! + \enum QTextCursor::MoveStyle + + This enum describes the movement style available to QTextCursor. The options + are: + + \value Logical Within a left-to-right text block, increase cursor position + when pressing left arrow key, decrease cursor position when pressing the + right arrow key. If the text block is right-to-left, the opposite behavior + applies. + \value Visual Pressing the left arrow key will always cause the cursor to move + left, regardless of the text's writing direction. The same behavior applies to + right arrow key. +*/ + QT_END_NAMESPACE diff --git a/src/gui/text/qtextcursor.h b/src/gui/text/qtextcursor.h index 4eaeb41..9e4c0b8 100644 --- a/src/gui/text/qtextcursor.h +++ b/src/gui/text/qtextcursor.h @@ -86,6 +86,10 @@ public: MoveAnchor, KeepAnchor }; + enum MoveStyle { + Logical, + Visual + }; void setPosition(int pos, MoveMode mode = MoveAnchor); int position() const; diff --git a/src/gui/text/qtextdocument.cpp b/src/gui/text/qtextdocument.cpp index 6dbd755..36f3c6c 100644 --- a/src/gui/text/qtextdocument.cpp +++ b/src/gui/text/qtextdocument.cpp @@ -586,6 +586,29 @@ void QTextDocument::setDefaultTextOption(const QTextOption &option) } /*! + \since 4.8 + + The default cursor movement style is used by all QTextCursor objects + created from the document. The default is QTextCursor::Logical. +*/ +QTextCursor::MoveStyle QTextDocument::defaultCursorMoveStyle() const +{ + Q_D(const QTextDocument); + return d->defaultCursorMoveStyle; +} + +/*! + \since 4.8 + + Set the default cursor movement style. +*/ +void QTextDocument::setDefaultCursorMoveStyle(QTextCursor::MoveStyle style) +{ + Q_D(QTextDocument); + d->defaultCursorMoveStyle = style; +} + +/*! \fn void QTextDocument::markContentsDirty(int position, int length) Marks the contents specified by the given \a position and \a length diff --git a/src/gui/text/qtextdocument.h b/src/gui/text/qtextdocument.h index f87ccc9..e515b36 100644 --- a/src/gui/text/qtextdocument.h +++ b/src/gui/text/qtextdocument.h @@ -46,6 +46,7 @@ #include <QtCore/qsize.h> #include <QtCore/qrect.h> #include <QtGui/qfont.h> +#include <QtGui/qtextcursor.h> QT_BEGIN_HEADER @@ -60,7 +61,6 @@ class QPainter; class QPrinter; class QAbstractTextDocumentLayout; class QPoint; -class QTextCursor; class QTextObject; class QTextFormat; class QTextFrame; @@ -269,6 +269,9 @@ public: QTextOption defaultTextOption() const; void setDefaultTextOption(const QTextOption &option); + QTextCursor::MoveStyle defaultCursorMoveStyle() const; + void setDefaultCursorMoveStyle(QTextCursor::MoveStyle style); + Q_SIGNALS: void contentsChange(int from, int charsRemoves, int charsAdded); void contentsChanged(); diff --git a/src/gui/text/qtextdocument_p.cpp b/src/gui/text/qtextdocument_p.cpp index 2172f74..779b1ff 100644 --- a/src/gui/text/qtextdocument_p.cpp +++ b/src/gui/text/qtextdocument_p.cpp @@ -209,6 +209,7 @@ QTextDocumentPrivate::QTextDocumentPrivate() defaultTextOption.setTabStop(80); // same as in qtextengine.cpp defaultTextOption.setWrapMode(QTextOption::WrapAtWordBoundaryOrAnywhere); + defaultCursorMoveStyle = QTextCursor::Logical; indentWidth = 40; documentMargin = 4; @@ -1382,6 +1383,20 @@ int QTextDocumentPrivate::previousCursorPosition(int position, QTextLayout::Curs return it.layout()->previousCursorPosition(position-start, mode) + start; } +int QTextDocumentPrivate::leftCursorPosition(int position) const +{ + QTextBlock it = blocksFind(position); + int start = it.position(); + return it.layout()->leftCursorPosition(position-start) + start; +} + +int QTextDocumentPrivate::rightCursorPosition(int position) const +{ + QTextBlock it = blocksFind(position); + int start = it.position(); + return it.layout()->rightCursorPosition(position-start) + start; +} + void QTextDocumentPrivate::changeObjectFormat(QTextObject *obj, int format) { beginEditBlock(); @@ -1406,11 +1421,18 @@ void QTextDocumentPrivate::changeObjectFormat(QTextObject *obj, int format) static QTextFrame *findChildFrame(QTextFrame *f, int pos) { - // ##### use binary search - QList<QTextFrame *> children = f->childFrames(); - for (int i = 0; i < children.size(); ++i) { - QTextFrame *c = children.at(i); - if (pos >= c->firstPosition() && pos <= c->lastPosition()) + /* Binary search for frame at pos */ + const QList<QTextFrame *> children = f->childFrames(); + int first = 0; + int last = children.size() - 1; + while (first <= last) { + int mid = (first + last) / 2; + QTextFrame *c = children.at(mid); + if (pos > c->lastPosition()) + first = mid + 1; + else if (pos < c->firstPosition()) + last = mid - 1; + else return c; } return 0; diff --git a/src/gui/text/qtextdocument_p.h b/src/gui/text/qtextdocument_p.h index b464f2e..6563920 100644 --- a/src/gui/text/qtextdocument_p.h +++ b/src/gui/text/qtextdocument_p.h @@ -64,6 +64,7 @@ #include "private/qtextformat_p.h" #include "QtGui/qtextdocument.h" #include "QtGui/qtextobject.h" +#include "QtGui/qtextcursor.h" #include "QtCore/qmap.h" #include "QtCore/qvariant.h" #include "QtCore/qurl.h" @@ -244,6 +245,8 @@ public: int nextCursorPosition(int position, QTextLayout::CursorMode mode) const; int previousCursorPosition(int position, QTextLayout::CursorMode mode) const; + int leftCursorPosition(int position) const; + int rightCursorPosition(int position) const; void changeObjectFormat(QTextObject *group, int format); @@ -339,6 +342,7 @@ private: public: QTextOption defaultTextOption; + QTextCursor::MoveStyle defaultCursorMoveStyle; #ifndef QT_NO_CSSPARSER QCss::StyleSheet parsedDefaultStyleSheet; #endif diff --git a/src/gui/text/qtextdocumentlayout.cpp b/src/gui/text/qtextdocumentlayout.cpp index 69ea948..f3dc975 100644 --- a/src/gui/text/qtextdocumentlayout.cpp +++ b/src/gui/text/qtextdocumentlayout.cpp @@ -2996,10 +2996,19 @@ void QTextDocumentLayout::resizeInlineObject(QTextInlineObject item, int posInDo QSizeF inlineSize = (pos == QTextFrameFormat::InFlow ? intrinsic : QSizeF(0, 0)); item.setWidth(inlineSize.width()); - if (f.verticalAlignment() == QTextCharFormat::AlignMiddle) { + + QFontMetrics m(f.font()); + switch (f.verticalAlignment()) + { + case QTextCharFormat::AlignMiddle: item.setDescent(inlineSize.height() / 2); item.setAscent(inlineSize.height() / 2 - 1); - } else { + break; + case QTextCharFormat::AlignBaseline: + item.setDescent(m.descent()); + item.setAscent(inlineSize.height() - m.descent() - 1); + break; + default: item.setDescent(0); item.setAscent(inlineSize.height() - 1); } diff --git a/src/gui/text/qtextengine.cpp b/src/gui/text/qtextengine.cpp index 08d0eca..ff27bc6 100644 --- a/src/gui/text/qtextengine.cpp +++ b/src/gui/text/qtextengine.cpp @@ -856,6 +856,21 @@ void QTextEngine::shapeLine(const QScriptLine &line) } } +#if !defined(QT_ENABLE_HARFBUZZ_FOR_MAC) +static bool enableHarfBuzz() +{ + static enum { Yes, No, Unknown } status = Unknown; + + if (status == Unknown) { + QByteArray v = qgetenv("QT_ENABLE_HARFBUZZ"); + bool value = !v.isEmpty() && v != "0" && v != "false"; + if (value) status = Yes; + else status = No; + } + return status == Yes; +} +#endif + void QTextEngine::shapeText(int item) const { Q_ASSERT(item < layoutData->items.size()); @@ -865,7 +880,24 @@ void QTextEngine::shapeText(int item) const return; #if defined(Q_WS_MAC) - shapeTextMac(item); +#if !defined(QT_ENABLE_HARFBUZZ_FOR_MAC) + if (enableHarfBuzz()) { +#endif + QFontEngine *actualFontEngine = fontEngine(si, &si.ascent, &si.descent, &si.leading); + if (actualFontEngine->type() == QFontEngine::Multi) + actualFontEngine = static_cast<QFontEngineMulti *>(actualFontEngine)->engine(0); + + HB_Face face = actualFontEngine->harfbuzzFace(); + HB_Script script = (HB_Script) si.analysis.script; + if (face->supported_scripts[script]) + shapeTextWithHarfbuzz(item); + else + shapeTextMac(item); +#if !defined(QT_ENABLE_HARFBUZZ_FOR_MAC) + } else { + shapeTextMac(item); + } +#endif #elif defined(Q_WS_WINCE) shapeTextWithCE(item); #else @@ -1242,6 +1274,10 @@ void QTextEngine::shapeTextWithHarfbuzz(int item) const actualFontEngine = static_cast<QFontEngineMulti *>(font)->engine(engineIdx); } + si.ascent = qMax(actualFontEngine->ascent(), si.ascent); + si.descent = qMax(actualFontEngine->descent(), si.descent); + si.leading = qMax(actualFontEngine->leading(), si.leading); + shaper_item.font = actualFontEngine->harfbuzzFont(); shaper_item.face = actualFontEngine->harfbuzzFace(); @@ -1304,6 +1340,7 @@ static void init(QTextEngine *e) e->ignoreBidi = false; e->cacheGlyphs = false; e->forceJustification = false; + e->visualMovement = false; e->layoutData = 0; @@ -1565,6 +1602,8 @@ bool QTextEngine::isRightToLeft() const default: break; } + if (!layoutData) + itemize(); // this places the cursor in the right position depending on the keyboard layout if (layoutData->string.isEmpty()) return QApplication::keyboardInputDirection() == Qt::RightToLeft; @@ -2737,6 +2776,182 @@ QFixed QTextEngine::leadingSpaceWidth(const QScriptLine &line) return width(line.from + pos, line.length - pos); } +QFixed QTextEngine::alignLine(const QScriptLine &line) +{ + QFixed x = 0; + justify(line); + // if width is QFIXED_MAX that means we used setNumColumns() and that implicitly makes this line left aligned. + if (!line.justified && line.width != QFIXED_MAX) { + int align = option.alignment(); + if (align & Qt::AlignLeft) + x -= leadingSpaceWidth(line); + if (align & Qt::AlignJustify && isRightToLeft()) + align = Qt::AlignRight; + if (align & Qt::AlignRight) + x = line.width - (line.textAdvance + leadingSpaceWidth(line)); + else if (align & Qt::AlignHCenter) + x = (line.width - (line.textAdvance + leadingSpaceWidth(line)))/2; + } + return x; +} + +QFixed QTextEngine::offsetInLigature(const QScriptItem *si, int pos, int max, int glyph_pos) +{ + unsigned short *logClusters = this->logClusters(si); + const QGlyphLayout &glyphs = shapedGlyphs(si); + + int offsetInCluster = 0; + for (int i = pos - 1; i >= 0; i--) { + if (logClusters[i] == glyph_pos) + offsetInCluster++; + else + break; + } + + // in the case that the offset is inside a (multi-character) glyph, + // interpolate the position. + if (offsetInCluster > 0) { + int clusterLength = 0; + for (int i = pos - offsetInCluster; i < max; i++) { + if (logClusters[i] == glyph_pos) + clusterLength++; + else + break; + } + if (clusterLength) + return glyphs.advances_x[glyph_pos] * offsetInCluster / clusterLength; + } + + return 0; +} + +int QTextEngine::previousLogicalPosition(int oldPos) const +{ + const HB_CharAttributes *attrs = attributes(); + if (!attrs || oldPos < 0) + return oldPos; + + if (oldPos <= 0) + return 0; + oldPos--; + while (oldPos && !attrs[oldPos].charStop) + oldPos--; + return oldPos; +} + +int QTextEngine::nextLogicalPosition(int oldPos) const +{ + const HB_CharAttributes *attrs = attributes(); + int len = block.isValid() ? block.length() - 1 + : layoutData->string.length(); + Q_ASSERT(len <= layoutData->string.length()); + if (!attrs || oldPos < 0 || oldPos >= len) + return oldPos; + + oldPos++; + while (oldPos < len && !attrs[oldPos].charStop) + oldPos++; + return oldPos; +} + +int QTextEngine::lineNumberForTextPosition(int pos) +{ + if (!layoutData) + itemize(); + if (pos == layoutData->string.length() && lines.size()) + return lines.size() - 1; + for (int i = 0; i < lines.size(); ++i) { + const QScriptLine& line = lines[i]; + if (line.from + line.length > pos) + return i; + } + return -1; +} + +void QTextEngine::insertionPointsForLine(int lineNum, QVector<int> &insertionPoints) +{ + QTextLineItemIterator iterator(this, lineNum); + bool rtl = isRightToLeft(); + bool lastLine = lineNum >= lines.size() - 1; + + while (!iterator.atEnd()) { + iterator.next(); + const QScriptItem *si = &layoutData->items[iterator.item]; + if (si->analysis.bidiLevel % 2) { + int i = iterator.itemEnd - 1, min = iterator.itemStart; + if (lastLine && (rtl ? iterator.atBeginning() : iterator.atEnd())) + i++; + for (; i >= min; i--) + insertionPoints.push_back(i); + } else { + int i = iterator.itemStart, max = iterator.itemEnd; + if (lastLine && (rtl ? iterator.atBeginning() : iterator.atEnd())) + max++; + for (; i < max; i++) + insertionPoints.push_back(i); + } + } +} + +int QTextEngine::endOfLine(int lineNum) +{ + QVector<int> insertionPoints; + insertionPointsForLine(lineNum, insertionPoints); + + if (insertionPoints.size() > 0) + return insertionPoints.last(); + return 0; +} + +int QTextEngine::beginningOfLine(int lineNum) +{ + QVector<int> insertionPoints; + insertionPointsForLine(lineNum, insertionPoints); + + if (insertionPoints.size() > 0) + return insertionPoints.first(); + return 0; +} + +int QTextEngine::positionAfterVisualMovement(int pos, QTextCursor::MoveOperation op) +{ + if (!layoutData) + itemize(); + + bool moveRight = (op == QTextCursor::Right); + bool alignRight = isRightToLeft(); + if (!layoutData->hasBidi) + return moveRight ^ alignRight ? nextLogicalPosition(pos) : previousLogicalPosition(pos); + + int lineNum = lineNumberForTextPosition(pos); + Q_ASSERT(lineNum >= 0); + + QVector<int> insertionPoints; + insertionPointsForLine(lineNum, insertionPoints); + int i, max = insertionPoints.size(); + for (i = 0; i < max; i++) + if (pos == insertionPoints[i]) { + if (moveRight) { + if (i + 1 < max) + return insertionPoints[i + 1]; + } else { + if (i > 0) + return insertionPoints[i - 1]; + } + + if (moveRight ^ alignRight) { + if (lineNum + 1 < lines.size()) + return alignRight ? endOfLine(lineNum + 1) : beginningOfLine(lineNum + 1); + } + else { + if (lineNum > 0) + return alignRight ? beginningOfLine(lineNum - 1) : endOfLine(lineNum - 1); + } + } + + return pos; +} + QStackTextEngine::QStackTextEngine(const QString &string, const QFont &f) : QTextEngine(string, f), _layoutData(string, _memory, MemSize) @@ -2841,5 +3056,127 @@ glyph_metrics_t glyph_metrics_t::transformed(const QTransform &matrix) const return m; } +QTextLineItemIterator::QTextLineItemIterator(QTextEngine *_eng, int _lineNum, const QPointF &pos, + const QTextLayout::FormatRange *_selection) + : eng(_eng), + line(eng->lines[_lineNum]), + si(0), + lineNum(_lineNum), + lineEnd(line.from + line.length), + firstItem(eng->findItem(line.from)), + lastItem(eng->findItem(lineEnd - 1)), + nItems((firstItem >= 0 && lastItem >= firstItem)? (lastItem-firstItem+1) : 0), + logicalItem(-1), + item(-1), + visualOrder(nItems), + levels(nItems), + selection(_selection) +{ + pos_x = x = QFixed::fromReal(pos.x()); + + x += line.x; + + x += eng->alignLine(line); + + for (int i = 0; i < nItems; ++i) + levels[i] = eng->layoutData->items[i+firstItem].analysis.bidiLevel; + QTextEngine::bidiReorder(nItems, levels.data(), visualOrder.data()); + + eng->shapeLine(line); +} + +QScriptItem &QTextLineItemIterator::next() +{ + x += itemWidth; + + ++logicalItem; + item = visualOrder[logicalItem] + firstItem; + itemLength = eng->length(item); + si = &eng->layoutData->items[item]; + if (!si->num_glyphs) + eng->shape(item); + + if (si->analysis.flags >= QScriptAnalysis::TabOrObject) { + itemWidth = si->width; + return *si; + } + + unsigned short *logClusters = eng->logClusters(si); + QGlyphLayout glyphs = eng->shapedGlyphs(si); + + itemStart = qMax(line.from, si->position); + glyphsStart = logClusters[itemStart - si->position]; + if (lineEnd < si->position + itemLength) { + itemEnd = lineEnd; + glyphsEnd = logClusters[itemEnd-si->position]; + } else { + itemEnd = si->position + itemLength; + glyphsEnd = si->num_glyphs; + } + // show soft-hyphen at line-break + if (si->position + itemLength >= lineEnd + && eng->layoutData->string.at(lineEnd - 1) == 0x00ad) + glyphs.attributes[glyphsEnd - 1].dontPrint = false; + + itemWidth = 0; + for (int g = glyphsStart; g < glyphsEnd; ++g) + itemWidth += glyphs.effectiveAdvance(g); + + return *si; +} + +bool QTextLineItemIterator::getSelectionBounds(QFixed *selectionX, QFixed *selectionWidth) const +{ + *selectionX = *selectionWidth = 0; + + if (!selection) + return false; + + if (si->analysis.flags >= QScriptAnalysis::TabOrObject) { + if (si->position >= selection->start + selection->length + || si->position + itemLength <= selection->start) + return false; + + *selectionX = x; + *selectionWidth = itemWidth; + } else { + unsigned short *logClusters = eng->logClusters(si); + QGlyphLayout glyphs = eng->shapedGlyphs(si); + + int from = qMax(itemStart, selection->start) - si->position; + int to = qMin(itemEnd, selection->start + selection->length) - si->position; + if (from >= to) + return false; + + int start_glyph = logClusters[from]; + int end_glyph = (to == eng->length(item)) ? si->num_glyphs : logClusters[to]; + QFixed soff; + QFixed swidth; + if (si->analysis.bidiLevel %2) { + for (int g = glyphsEnd - 1; g >= end_glyph; --g) + soff += glyphs.effectiveAdvance(g); + for (int g = end_glyph - 1; g >= start_glyph; --g) + swidth += glyphs.effectiveAdvance(g); + } else { + for (int g = glyphsStart; g < start_glyph; ++g) + soff += glyphs.effectiveAdvance(g); + for (int g = start_glyph; g < end_glyph; ++g) + swidth += glyphs.effectiveAdvance(g); + } + + // If the starting character is in the middle of a ligature, + // selection should only contain the right part of that ligature + // glyph, so we need to get the width of the left part here and + // add it to *selectionX + QFixed leftOffsetInLigature = eng->offsetInLigature(si, from, to, start_glyph); + *selectionX = x + soff + leftOffsetInLigature; + *selectionWidth = swidth - leftOffsetInLigature; + // If the ending character is also part of a ligature, swidth does + // not contain that part yet, we also need to find out the width of + // that left part + *selectionWidth += eng->offsetInLigature(si, to, eng->length(item), end_glyph); + } + return true; +} QT_END_NAMESPACE diff --git a/src/gui/text/qtextengine_mac.cpp b/src/gui/text/qtextengine_mac.cpp index 97e8c5b..2c6e579 100644 --- a/src/gui/text/qtextengine_mac.cpp +++ b/src/gui/text/qtextengine_mac.cpp @@ -605,11 +605,11 @@ void QTextEngine::shapeTextMac(int item) const unsigned short *log_clusters = logClusters(&si); bool stringToCMapFailed = false; - if (!fe->stringToCMap(str, len, &g, &num_glyphs, flags, log_clusters, attributes())) { + if (!fe->stringToCMap(str, len, &g, &num_glyphs, flags, log_clusters, attributes(), &si)) { ensureSpace(num_glyphs); g = availableGlyphs(&si); stringToCMapFailed = !fe->stringToCMap(str, len, &g, &num_glyphs, flags, log_clusters, - attributes()); + attributes(), &si); } if (!stringToCMapFailed) { diff --git a/src/gui/text/qtextengine_p.h b/src/gui/text/qtextengine_p.h index 366c5c3..c476485 100644 --- a/src/gui/text/qtextengine_p.h +++ b/src/gui/text/qtextengine_p.h @@ -64,6 +64,7 @@ #include "QtGui/qpaintengine.h" #include "QtGui/qtextobject.h" #include "QtGui/qtextoption.h" +#include "QtGui/qtextcursor.h" #include "QtCore/qset.h" #include "QtCore/qdebug.h" #ifndef QT_BUILD_COMPAT_LIB @@ -471,6 +472,7 @@ public: void shape(int item) const; void justify(const QScriptLine &si); + QFixed alignLine(const QScriptLine &line); QFixed width(int charFrom, int numChars) const; glyph_metrics_t boundingBox(int from, int len) const; @@ -586,12 +588,18 @@ public: uint cacheGlyphs : 1; uint stackEngine : 1; uint forceJustification : 1; + uint visualMovement : 1; int *underlinePositions; mutable LayoutData *layoutData; inline bool hasFormats() const { return (block.docHandle() || specialData); } + inline bool visualCursorMovement() const + { + return (visualMovement || + (block.docHandle() ? block.docHandle()->defaultCursorMoveStyle == QTextCursor::Visual : false)); + } struct SpecialData { int preeditPosition; @@ -611,6 +619,13 @@ public: void shapeLine(const QScriptLine &line); QFixed leadingSpaceWidth(const QScriptLine &line); + QFixed offsetInLigature(const QScriptItem *si, int pos, int max, int glyph_pos); + int previousLogicalPosition(int oldPos) const; + int nextLogicalPosition(int oldPos) const; + int lineNumberForTextPosition(int pos); + int positionAfterVisualMovement(int oldPos, QTextCursor::MoveOperation op); + void insertionPointsForLine(int lineNum, QVector<int> &insertionPoints); + private: void setBoundary(int strPos) const; void addRequiredBoundaries() const; @@ -625,6 +640,8 @@ private: void splitItem(int item, int pos) const; void resolveAdditionalFormats() const; + int endOfLine(int lineNum); + int beginningOfLine(int lineNum); }; class QStackTextEngine : public QTextEngine { @@ -635,6 +652,49 @@ public: void *_memory[MemSize]; }; +struct QTextLineItemIterator +{ + QTextLineItemIterator(QTextEngine *eng, int lineNum, const QPointF &pos = QPointF(), + const QTextLayout::FormatRange *_selection = 0); + + inline bool atEnd() const { return logicalItem >= nItems - 1; } + inline bool atBeginning() const { return logicalItem <= 0; } + QScriptItem &next(); + + bool getSelectionBounds(QFixed *selectionX, QFixed *selectionWidth) const; + inline bool isOutsideSelection() const { + QFixed tmp1, tmp2; + return !getSelectionBounds(&tmp1, &tmp2); + } + + QTextEngine *eng; + + QFixed x; + QFixed pos_x; + const QScriptLine &line; + QScriptItem *si; + + int lineNum; + int lineEnd; + int firstItem; + int lastItem; + int nItems; + int logicalItem; + int item; + int itemLength; + + int glyphsStart; + int glyphsEnd; + int itemStart; + int itemEnd; + + QFixed itemWidth; + + QVarLengthArray<int> visualOrder; + QVarLengthArray<uchar> levels; + + const QTextLayout::FormatRange *selection; +}; Q_DECLARE_OPERATORS_FOR_FLAGS(QTextEngine::ShaperFlags) diff --git a/src/gui/text/qtextformat.h b/src/gui/text/qtextformat.h index ff28eaa..4f4752a 100644 --- a/src/gui/text/qtextformat.h +++ b/src/gui/text/qtextformat.h @@ -378,7 +378,8 @@ public: AlignSubScript, AlignMiddle, AlignTop, - AlignBottom + AlignBottom, + AlignBaseline }; enum UnderlineStyle { // keep in sync with Qt::PenStyle! NoUnderline, diff --git a/src/gui/text/qtextlayout.cpp b/src/gui/text/qtextlayout.cpp index df4ce97..8fdf4b2 100644 --- a/src/gui/text/qtextlayout.cpp +++ b/src/gui/text/qtextlayout.cpp @@ -72,23 +72,6 @@ QT_BEGIN_NAMESPACE #define SuppressText 0x5012 #define SuppressBackground 0x513 -static QFixed alignLine(QTextEngine *eng, const QScriptLine &line) -{ - QFixed x = 0; - eng->justify(line); - // if width is QFIXED_MAX that means we used setNumColumns() and that implicitly makes this line left aligned. - if (!line.justified && line.width != QFIXED_MAX) { - int align = eng->option.alignment(); - if (align & Qt::AlignJustify && eng->isRightToLeft()) - align = Qt::AlignRight; - if (align & Qt::AlignRight) - x = line.width - (line.textAdvance + eng->leadingSpaceWidth(line)); - else if (align & Qt::AlignHCenter) - x = (line.width - line.textAdvance)/2; - } - return x; -} - /*! \class QTextLayout::FormatRange \reentrant @@ -596,6 +579,30 @@ bool QTextLayout::cacheEnabled() const } /*! + Set the visual cursor movement style. If the QTextLayout is backed by + a document, you can ignore this and use the option in QTextDocument, + this option is for widgets like QLineEdit or custom widgets without + a QTextDocument. Default value is QTextCursor::Logical. + + \sa setCursorMoveStyle() +*/ +void QTextLayout::setCursorMoveStyle(QTextCursor::MoveStyle style) +{ + d->visualMovement = style == QTextCursor::Visual ? true : false; +} + +/*! + The cursor movement style of this QTextLayout. The default is + QTextCursor::Logical. + + \sa setCursorMoveStyle() +*/ +QTextCursor::MoveStyle QTextLayout::cursorMoveStyle() const +{ + return d->visualMovement ? QTextCursor::Visual : QTextCursor::Logical; +} + +/*! Begins the layout process. \sa endLayout() @@ -718,6 +725,34 @@ int QTextLayout::previousCursorPosition(int oldPos, CursorMode mode) const } /*! + Returns the cursor position to the right of \a oldPos, next to it. + It's dependent on the visual position of characters, after bi-directional + reordering. + + \sa leftCursorPosition(), nextCursorPosition() +*/ +int QTextLayout::rightCursorPosition(int oldPos) const +{ + int newPos = d->positionAfterVisualMovement(oldPos, QTextCursor::Right); +// qDebug("%d -> %d", oldPos, newPos); + return newPos; +} + +/*! + Returns the cursor position to the left of \a oldPos, next to it. + It's dependent on the visual position of characters, after bi-directional + reordering. + + \sa rightCursorPosition(), previousCursorPosition() +*/ +int QTextLayout::leftCursorPosition(int oldPos) const +{ + int newPos = d->positionAfterVisualMovement(oldPos, QTextCursor::Left); +// qDebug("%d -> %d", oldPos, newPos); + return newPos; +} + +/*!/ Returns true if position \a pos is a valid cursor position. In a Unicode context some positions in the text are not valid @@ -815,16 +850,8 @@ QTextLine QTextLayout::lineAt(int i) const */ QTextLine QTextLayout::lineForTextPosition(int pos) const { - for (int i = 0; i < d->lines.size(); ++i) { - const QScriptLine& line = d->lines[i]; - if (line.from + (int)line.length > pos) - return QTextLine(i, d); - } - if (!d->layoutData) - d->itemize(); - if (pos == d->layoutData->string.length() && d->lines.size()) - return QTextLine(d->lines.size()-1, d); - return QTextLine(); + int lineNum = d->lineNumberForTextPosition(pos); + return lineNum >= 0 ? lineAt(lineNum) : QTextLine(); } /*! @@ -919,201 +946,6 @@ void QTextLayout::setFlags(int flags) } } -struct QTextLineItemIterator -{ - QTextLineItemIterator(QTextEngine *eng, int lineNum, const QPointF &pos = QPointF(), - const QTextLayout::FormatRange *_selection = 0); - - inline bool atEnd() const { return logicalItem >= nItems - 1; } - QScriptItem &next(); - - bool getSelectionBounds(QFixed *selectionX, QFixed *selectionWidth) const; - inline bool isOutsideSelection() const { - QFixed tmp1, tmp2; - return !getSelectionBounds(&tmp1, &tmp2); - } - - QTextEngine *eng; - - QFixed x; - QFixed pos_x; - const QScriptLine &line; - QScriptItem *si; - - int lineEnd; - int firstItem; - int lastItem; - int nItems; - int logicalItem; - int item; - int itemLength; - - int glyphsStart; - int glyphsEnd; - int itemStart; - int itemEnd; - - QFixed itemWidth; - - QVarLengthArray<int> visualOrder; - QVarLengthArray<uchar> levels; - - const QTextLayout::FormatRange *selection; -}; - -QTextLineItemIterator::QTextLineItemIterator(QTextEngine *_eng, int lineNum, const QPointF &pos, - const QTextLayout::FormatRange *_selection) - : eng(_eng), - line(eng->lines[lineNum]), - si(0), - lineEnd(line.from + line.length), - firstItem(eng->findItem(line.from)), - lastItem(eng->findItem(lineEnd - 1)), - nItems((firstItem >= 0 && lastItem >= firstItem)? (lastItem-firstItem+1) : 0), - logicalItem(-1), - item(-1), - visualOrder(nItems), - levels(nItems), - selection(_selection) -{ - pos_x = x = QFixed::fromReal(pos.x()); - - x += line.x; - - x += alignLine(eng, line); - - for (int i = 0; i < nItems; ++i) - levels[i] = eng->layoutData->items[i+firstItem].analysis.bidiLevel; - QTextEngine::bidiReorder(nItems, levels.data(), visualOrder.data()); - - eng->shapeLine(line); -} - -QScriptItem &QTextLineItemIterator::next() -{ - x += itemWidth; - - ++logicalItem; - item = visualOrder[logicalItem] + firstItem; - itemLength = eng->length(item); - si = &eng->layoutData->items[item]; - if (!si->num_glyphs) - eng->shape(item); - - if (si->analysis.flags >= QScriptAnalysis::TabOrObject) { - itemWidth = si->width; - return *si; - } - - unsigned short *logClusters = eng->logClusters(si); - QGlyphLayout glyphs = eng->shapedGlyphs(si); - - itemStart = qMax(line.from, si->position); - glyphsStart = logClusters[itemStart - si->position]; - if (lineEnd < si->position + itemLength) { - itemEnd = lineEnd; - glyphsEnd = logClusters[itemEnd-si->position]; - } else { - itemEnd = si->position + itemLength; - glyphsEnd = si->num_glyphs; - } - // show soft-hyphen at line-break - if (si->position + itemLength >= lineEnd - && eng->layoutData->string.at(lineEnd - 1) == 0x00ad) - glyphs.attributes[glyphsEnd - 1].dontPrint = false; - - itemWidth = 0; - for (int g = glyphsStart; g < glyphsEnd; ++g) - itemWidth += glyphs.effectiveAdvance(g); - - return *si; -} - -static QFixed offsetInLigature(const unsigned short *logClusters, - const QGlyphLayout &glyphs, - int pos, int max, int glyph_pos) -{ - int offsetInCluster = 0; - for (int i = pos - 1; i >= 0; i--) { - if (logClusters[i] == glyph_pos) - offsetInCluster++; - else - break; - } - - // in the case that the offset is inside a (multi-character) glyph, - // interpolate the position. - if (offsetInCluster > 0) { - int clusterLength = 0; - for (int i = pos - offsetInCluster; i < max; i++) { - if (logClusters[i] == glyph_pos) - clusterLength++; - else - break; - } - if (clusterLength) - return glyphs.advances_x[glyph_pos] * offsetInCluster / clusterLength; - } - - return 0; -} - -bool QTextLineItemIterator::getSelectionBounds(QFixed *selectionX, QFixed *selectionWidth) const -{ - *selectionX = *selectionWidth = 0; - - if (!selection) - return false; - - if (si->analysis.flags >= QScriptAnalysis::TabOrObject) { - if (si->position >= selection->start + selection->length - || si->position + itemLength <= selection->start) - return false; - - *selectionX = x; - *selectionWidth = itemWidth; - } else { - unsigned short *logClusters = eng->logClusters(si); - QGlyphLayout glyphs = eng->shapedGlyphs(si); - - int from = qMax(itemStart, selection->start) - si->position; - int to = qMin(itemEnd, selection->start + selection->length) - si->position; - if (from >= to) - return false; - - int start_glyph = logClusters[from]; - int end_glyph = (to == eng->length(item)) ? si->num_glyphs : logClusters[to]; - QFixed soff; - QFixed swidth; - if (si->analysis.bidiLevel %2) { - for (int g = glyphsEnd - 1; g >= end_glyph; --g) - soff += glyphs.effectiveAdvance(g); - for (int g = end_glyph - 1; g >= start_glyph; --g) - swidth += glyphs.effectiveAdvance(g); - } else { - for (int g = glyphsStart; g < start_glyph; ++g) - soff += glyphs.effectiveAdvance(g); - for (int g = start_glyph; g < end_glyph; ++g) - swidth += glyphs.effectiveAdvance(g); - } - - // If the starting character is in the middle of a ligature, - // selection should only contain the right part of that ligature - // glyph, so we need to get the width of the left part here and - // add it to *selectionX - QFixed leftOffsetInLigature = offsetInLigature(logClusters, glyphs, from, - to, start_glyph); - *selectionX = x + soff + leftOffsetInLigature; - *selectionWidth = swidth - leftOffsetInLigature; - // If the ending character is also part of a ligature, swidth does - // not contain that part yet, we also need to find out the width of - // that left part - *selectionWidth += offsetInLigature(logClusters, glyphs, to, - eng->length(item), end_glyph); - } - return true; -} - static void addSelectedRegionsToPath(QTextEngine *eng, int lineNumber, const QPointF &pos, QTextLayout::FormatRange *selection, QPainterPath *region, QRectF boundingRect) { @@ -1228,6 +1060,7 @@ void QTextLayout::draw(QPainter *p, const QPointF &pos, const QVector<FormatRang QRectF lineRect(tl.naturalTextRect()); lineRect.translate(position); + lineRect.adjust(0, 0, d->leadingSpaceWidth(sl).toReal(), 0); bool isLastLineInBlock = (line == d->lines.size()-1); int sl_length = sl.length + (isLastLineInBlock? 1 : 0); // the infamous newline @@ -1380,18 +1213,9 @@ void QTextLayout::drawCursor(QPainter *p, const QPointF &pos, int cursorPosition QPointF position = pos + d->position; cursorPosition = qBound(0, cursorPosition, d->layoutData->string.length()); - int line = 0; - if (cursorPosition == d->layoutData->string.length()) { - line = d->lines.size() - 1; - } else { - // ### binary search - for (line = 0; line < d->lines.size(); line++) { - const QScriptLine &sl = d->lines[line]; - if (sl.from <= cursorPosition && sl.from + (int)sl.length > cursorPosition) - break; - } - } - + int line = d->lineNumberForTextPosition(cursorPosition); + if (line < 0) + line = 0; if (line >= d->lines.size()) return; @@ -1400,7 +1224,15 @@ void QTextLayout::drawCursor(QPainter *p, const QPointF &pos, int cursorPosition qreal x = position.x() + l.cursorToX(cursorPosition); - int itm = d->findItem(cursorPosition - 1); + int itm; + + if (d->visualCursorMovement()) { + if (cursorPosition == sl.from + sl.length) + cursorPosition--; + itm = d->findItem(cursorPosition); + } else + itm = d->findItem(cursorPosition - 1); + QFixed base = sl.base(); QFixed descent = sl.descent; bool rightToLeft = d->isRightToLeft(); @@ -1510,7 +1342,7 @@ QRectF QTextLine::rect() const QRectF QTextLine::naturalTextRect() const { const QScriptLine& sl = eng->lines[i]; - QFixed x = sl.x + alignLine(eng, sl); + QFixed x = sl.x + eng->alignLine(sl); QFixed width = sl.textWidth; if (sl.justified) @@ -2630,9 +2462,10 @@ qreal QTextLine::cursorToX(int *cursorPos, Edge edge) const eng->itemize(); const QScriptLine &line = eng->lines[i]; + bool lastLine = i >= eng->lines.size() - 1; QFixed x = line.x; - x += alignLine(eng, line); + x += eng->alignLine(line); if (!i && !eng->layoutData->items.size()) { *cursorPos = 0; @@ -2718,21 +2551,29 @@ qreal QTextLine::cursorToX(int *cursorPos, Edge edge) const logClusters = eng->logClusters(si); glyphs = eng->shapedGlyphs(si); if (si->analysis.flags >= QScriptAnalysis::TabOrObject) { - if(pos == l) + if (pos == (reverse ? 0 : l)) x += si->width; } else { + bool rtl = eng->isRightToLeft(); + bool visual = eng->visualCursorMovement(); if (reverse) { int end = qMin(lineEnd, si->position + l) - si->position; int glyph_end = end == l ? si->num_glyphs : logClusters[end]; - for (int i = glyph_end - 1; i >= glyph_pos; i--) + int glyph_start = glyph_pos; + if (visual && !rtl && !(lastLine && itm == (visualOrder[nItems - 1] + firstItem))) + glyph_start++; + for (int i = glyph_end - 1; i >= glyph_start; i--) x += glyphs.effectiveAdvance(i); } else { int start = qMax(line.from - si->position, 0); int glyph_start = logClusters[start]; - for (int i = glyph_start; i < glyph_pos; i++) + int glyph_end = glyph_pos; + if (!visual || !rtl || (lastLine && itm == visualOrder[0] + firstItem)) + glyph_end--; + for (int i = glyph_start; i <= glyph_end; i++) x += glyphs.effectiveAdvance(i); } - x += offsetInLigature(logClusters, glyphs, pos, line.length, glyph_pos); + x += eng->offsetInLigature(si, pos, line.length, glyph_pos); } *cursorPos = pos + si->position; @@ -2751,6 +2592,8 @@ int QTextLine::xToCursor(qreal _x, CursorPosition cpos) const { QFixed x = QFixed::fromReal(_x); const QScriptLine &line = eng->lines[i]; + bool lastLine = i >= eng->lines.size() - 1; + int lineNum = i; if (!eng->layoutData) eng->itemize(); @@ -2768,7 +2611,7 @@ int QTextLine::xToCursor(qreal _x, CursorPosition cpos) const return 0; x -= line.x; - x -= alignLine(eng, line); + x -= eng->alignLine(line); // qDebug("xToCursor: x=%f, cpos=%d", x.toReal(), cpos); QVarLengthArray<int> visualOrder(nItems); @@ -2777,6 +2620,7 @@ int QTextLine::xToCursor(qreal _x, CursorPosition cpos) const levels[i] = eng->layoutData->items[i+firstItem].analysis.bidiLevel; QTextEngine::bidiReorder(nItems, levels.data(), visualOrder.data()); + bool visual = eng->visualCursorMovement(); if (x <= 0) { // left of first item int item = visualOrder[0]+firstItem; @@ -2793,8 +2637,13 @@ int QTextLine::xToCursor(qreal _x, CursorPosition cpos) const || (line.justified && x < line.width)) { // has to be in one of the runs QFixed pos; + bool rtl = eng->isRightToLeft(); eng->shapeLine(line); + QVector<int> insertionPoints; + if (visual && rtl) + eng->insertionPointsForLine(lineNum, insertionPoints); + int nchars = 0; for (int i = 0; i < nItems; ++i) { int item = visualOrder[i]+firstItem; QScriptItem &si = eng->layoutData->items[item]; @@ -2824,6 +2673,7 @@ int QTextLine::xToCursor(qreal _x, CursorPosition cpos) const if (pos + item_width < x) { pos += item_width; + nchars += end; continue; } // qDebug(" inside run"); @@ -2868,27 +2718,60 @@ int QTextLine::xToCursor(qreal _x, CursorPosition cpos) const } else { QFixed dist = INT_MAX/256; if (si.analysis.bidiLevel % 2) { - pos += item_width; - while (gs <= ge) { - if (glyphs.attributes[gs].clusterStart && qAbs(x-pos) < dist) { - glyph_pos = gs; - dist = qAbs(x-pos); + if (!visual || rtl || (lastLine && i == nItems - 1)) { + pos += item_width; + while (gs <= ge) { + if (glyphs.attributes[gs].clusterStart && qAbs(x-pos) < dist) { + glyph_pos = gs; + dist = qAbs(x-pos); + } + pos -= glyphs.effectiveAdvance(gs); + ++gs; + } + } else { + while (ge >= gs) { + if (glyphs.attributes[ge].clusterStart && qAbs(x-pos) < dist) { + glyph_pos = ge; + dist = qAbs(x-pos); + } + pos += glyphs.effectiveAdvance(ge); + --ge; } - pos -= glyphs.effectiveAdvance(gs); - ++gs; } } else { - while (gs <= ge) { - if (glyphs.attributes[gs].clusterStart && qAbs(x-pos) < dist) { - glyph_pos = gs; - dist = qAbs(x-pos); + if (!visual || !rtl || (lastLine && i == 0)) { + while (gs <= ge) { + if (glyphs.attributes[gs].clusterStart && qAbs(x-pos) < dist) { + glyph_pos = gs; + dist = qAbs(x-pos); + } + pos += glyphs.effectiveAdvance(gs); + ++gs; } - pos += glyphs.effectiveAdvance(gs); - ++gs; + } else { + QFixed oldPos = pos; + while (gs <= ge) { + pos += glyphs.effectiveAdvance(gs); + if (glyphs.attributes[gs].clusterStart && qAbs(x-pos) < dist) { + glyph_pos = gs; + dist = qAbs(x-pos); + } + ++gs; + } + pos = oldPos; } } - if (qAbs(x-pos) < dist) + if (qAbs(x-pos) < dist) { + if (visual) { + if (!rtl && i < nItems - 1) { + nchars += end; + continue; + } + if (rtl && nchars > 0) + return insertionPoints[lastLine ? nchars : nchars - 1]; + } return si.position + end; + } } Q_ASSERT(glyph_pos != -1); int j; diff --git a/src/gui/text/qtextlayout.h b/src/gui/text/qtextlayout.h index 9dd8ebd..6aa81f9 100644 --- a/src/gui/text/qtextlayout.h +++ b/src/gui/text/qtextlayout.h @@ -50,6 +50,7 @@ #include <QtGui/qevent.h> #include <QtGui/qtextformat.h> #include <QtGui/qglyphs.h> +#include <QtGui/qtextcursor.h> QT_BEGIN_HEADER @@ -136,6 +137,9 @@ public: void setCacheEnabled(bool enable); bool cacheEnabled() const; + void setCursorMoveStyle(QTextCursor::MoveStyle style); + QTextCursor::MoveStyle cursorMoveStyle() const; + void beginLayout(); void endLayout(); void clearLayout(); @@ -153,6 +157,8 @@ public: bool isValidCursorPosition(int pos) const; int nextCursorPosition(int oldPos, CursorMode mode = SkipCharacters) const; int previousCursorPosition(int oldPos, CursorMode mode = SkipCharacters) const; + int leftCursorPosition(int oldPos) const; + int rightCursorPosition(int oldPos) const; void draw(QPainter *p, const QPointF &pos, const QVector<FormatRange> &selections = QVector<FormatRange>(), const QRectF &clip = QRectF()) const; diff --git a/src/gui/text/text.pri b/src/gui/text/text.pri index df9398c..e5d57d0 100644 --- a/src/gui/text/text.pri +++ b/src/gui/text/text.pri @@ -114,6 +114,9 @@ unix:x11 { OBJECTIVE_SOURCES += \ text/qfontengine_coretext.mm \ text/qfontengine_mac.mm + contains(QT_CONFIG, harfbuzz) { + DEFINES += QT_ENABLE_HARFBUZZ_FOR_MAC + } } embedded { @@ -136,7 +139,8 @@ qpa { SOURCES += \ text/qfont_qpa.cpp \ text/qfontengine_qpa.cpp \ - text/qplatformfontdatabase_qpa.cpp + text/qplatformfontdatabase_qpa.cpp \ + text/qrawfont_qpa.cpp HEADERS += \ text/qplatformfontdatabase_qpa.h diff --git a/src/gui/util/qdesktopservices_s60.cpp b/src/gui/util/qdesktopservices_s60.cpp index 96860df..8caeb74 100644 --- a/src/gui/util/qdesktopservices_s60.cpp +++ b/src/gui/util/qdesktopservices_s60.cpp @@ -314,7 +314,7 @@ static bool handleUrl(const QUrl &url) if (!url.isValid()) return false; - QString urlString(url.toString()); + QString urlString(url.toEncoded()); TPtrC urlPtr(qt_QString2TPtrC(urlString)); TRAPD( err, handleUrlL(urlPtr)); return err ? false : true; diff --git a/src/gui/widgets/qlinecontrol.cpp b/src/gui/widgets/qlinecontrol.cpp index 3eac64a..4fb0f0c 100644 --- a/src/gui/widgets/qlinecontrol.cpp +++ b/src/gui/widgets/qlinecontrol.cpp @@ -254,12 +254,20 @@ void QLineControl::setSelection(int start, int length) m_selstart = start; m_selend = qMin(start + length, (int)m_text.length()); m_cursor = m_selend; - } else { + } else if (length < 0){ if (start == m_selend && start + length == m_selstart) return; m_selstart = qMax(start + length, 0); m_selend = start; m_cursor = m_selstart; + } else if (m_selstart != m_selend) { + m_selstart = 0; + m_selend = 0; + m_cursor = start; + } else { + m_cursor = start; + emitCursorPositionChanged(); + return; } emit selectionChanged(); emitCursorPositionChanged(); @@ -435,7 +443,7 @@ void QLineControl::processInputMethodEvent(QInputMethodEvent *event) removeSelectedText(); } if (!event->commitString().isEmpty()) { - insert(event->commitString()); + internalInsert(event->commitString()); cursorPositionChanged = true; } @@ -643,7 +651,12 @@ void QLineControl::internalSetText(const QString &txt, int pos, bool edited) m_modifiedState = m_undoState = 0; m_cursor = (pos < 0 || pos > m_text.length()) ? m_text.length() : pos; m_textDirty = (oldText != m_text); - finishChange(-1, true, edited); + bool changed = finishChange(-1, true, edited); + +#ifndef QT_NO_ACCESSIBILITY + if (changed) + QAccessible::updateAccessibility(parent(), 0, QAccessible::TextUpdated); +#endif } @@ -1230,6 +1243,9 @@ void QLineControl::emitCursorPositionChanged() const int oldLast = m_lastCursorPos; m_lastCursorPos = m_cursor; cursorPositionChanged(oldLast, m_cursor); +#ifndef QT_NO_ACCESSIBILITY + QAccessible::updateAccessibility(parent(), 0, QAccessible::TextCaretMoved); +#endif } } @@ -1577,6 +1593,7 @@ void QLineControl::processKeyEvent(QKeyEvent* event) } bool unknown = false; + bool visual = cursorMoveStyle() == QTextCursor::Visual; if (false) { } @@ -1641,11 +1658,11 @@ void QLineControl::processKeyEvent(QKeyEvent* event) #endif moveCursor(selectionEnd(), false); } else { - cursorForward(0, layoutDirection() == Qt::LeftToRight ? 1 : -1); + cursorForward(0, visual ? 1 : (layoutDirection() == Qt::LeftToRight ? 1 : -1)); } } else if (event == QKeySequence::SelectNextChar) { - cursorForward(1, layoutDirection() == Qt::LeftToRight ? 1 : -1); + cursorForward(1, visual ? 1 : (layoutDirection() == Qt::LeftToRight ? 1 : -1)); } else if (event == QKeySequence::MoveToPreviousChar) { #if !defined(Q_WS_WIN) || defined(QT_NO_COMPLETER) @@ -1656,11 +1673,11 @@ void QLineControl::processKeyEvent(QKeyEvent* event) #endif moveCursor(selectionStart(), false); } else { - cursorForward(0, layoutDirection() == Qt::LeftToRight ? -1 : 1); + cursorForward(0, visual ? -1 : (layoutDirection() == Qt::LeftToRight ? -1 : 1)); } } else if (event == QKeySequence::SelectPreviousChar) { - cursorForward(1, layoutDirection() == Qt::LeftToRight ? -1 : 1); + cursorForward(1, visual ? -1 : (layoutDirection() == Qt::LeftToRight ? -1 : 1)); } else if (event == QKeySequence::MoveToNextWord) { if (echoMode() == QLineEdit::Normal) diff --git a/src/gui/widgets/qlinecontrol_p.h b/src/gui/widgets/qlinecontrol_p.h index 3c505c8..0655276 100644 --- a/src/gui/widgets/qlinecontrol_p.h +++ b/src/gui/widgets/qlinecontrol_p.h @@ -61,10 +61,10 @@ #include "QtGui/qtextlayout.h" #include "QtGui/qstyleoption.h" #include "QtCore/qpointer.h" -#include "QtGui/qlineedit.h" #include "QtGui/qclipboard.h" #include "QtCore/qpoint.h" #include "QtGui/qcompleter.h" +#include "QtGui/qaccessible.h" QT_BEGIN_HEADER @@ -160,6 +160,8 @@ public: int cursorWidth() const { return m_cursorWidth; } void setCursorWidth(int value) { m_cursorWidth = value; } + QTextCursor::MoveStyle cursorMoveStyle() const { return m_textLayout.cursorMoveStyle(); } + void setCursorMoveStyle(QTextCursor::MoveStyle style) { m_textLayout.setCursorMoveStyle(style); } void moveCursor(int pos, bool mark = false); void cursorForward(bool mark, int steps) @@ -167,10 +169,12 @@ public: int c = m_cursor; if (steps > 0) { while (steps--) - c = m_textLayout.nextCursorPosition(c); + c = cursorMoveStyle() == QTextCursor::Visual ? m_textLayout.rightCursorPosition(c) + : m_textLayout.nextCursorPosition(c); } else if (steps < 0) { while (steps++) - c = m_textLayout.previousCursorPosition(c); + c = cursorMoveStyle() == QTextCursor::Visual ? m_textLayout.leftCursorPosition(c) + : m_textLayout.previousCursorPosition(c); } moveCursor(c, mark); } diff --git a/src/gui/widgets/qlineedit.cpp b/src/gui/widgets/qlineedit.cpp index 07bd273..43c3f52 100644 --- a/src/gui/widgets/qlineedit.cpp +++ b/src/gui/widgets/qlineedit.cpp @@ -1112,6 +1112,34 @@ void QLineEdit::setDragEnabled(bool b) /*! + \property QLineEdit::cursorMoveStyle + \brief the movement style of cursor in this line edit + \since 4.8 + + When this property is set to QTextCursor::Visual, the line edit will use visual + movement style. Pressing the left arrow key will always cause the cursor to move + left, regardless of the text's writing direction. The same behavior applies to + right arrow key. + + When the property is QTextCursor::Logical (the default), within a LTR text block, + increase cursor position when pressing left arrow key, decrease cursor position + when pressing the right arrow key. If the text block is right to left, the opposite + behavior applies. +*/ + +QTextCursor::MoveStyle QLineEdit::cursorMoveStyle() const +{ + Q_D(const QLineEdit); + return d->control->cursorMoveStyle(); +} + +void QLineEdit::setCursorMoveStyle(QTextCursor::MoveStyle style) +{ + Q_D(QLineEdit); + d->control->setCursorMoveStyle(style); +} + +/*! \property QLineEdit::acceptableInput \brief whether the input satisfies the inputMask and the validator. diff --git a/src/gui/widgets/qlineedit.h b/src/gui/widgets/qlineedit.h index 636cee7..73a736c 100644 --- a/src/gui/widgets/qlineedit.h +++ b/src/gui/widgets/qlineedit.h @@ -43,6 +43,7 @@ #define QLINEEDIT_H #include <QtGui/qframe.h> +#include <QtGui/qtextcursor.h> #include <QtCore/qstring.h> #include <QtCore/qmargins.h> @@ -158,6 +159,9 @@ public: void setDragEnabled(bool b); bool dragEnabled() const; + void setCursorMoveStyle(QTextCursor::MoveStyle style); + QTextCursor::MoveStyle cursorMoveStyle() const; + QString inputMask() const; void setInputMask(const QString &inputMask); bool hasAcceptableInput() const; diff --git a/src/gui/widgets/qlineedit_p.cpp b/src/gui/widgets/qlineedit_p.cpp index 23ac613..03716d4 100644 --- a/src/gui/widgets/qlineedit_p.cpp +++ b/src/gui/widgets/qlineedit_p.cpp @@ -153,6 +153,7 @@ void QLineEditPrivate::init(const QString& txt) { Q_Q(QLineEdit); control = new QLineControl(txt); + control->setParent(q); control->setFont(q->font()); QObject::connect(control, SIGNAL(textChanged(QString)), q, SIGNAL(textChanged(QString))); diff --git a/src/gui/widgets/qlineedit_p.h b/src/gui/widgets/qlineedit_p.h index 32f6077..3169776 100644 --- a/src/gui/widgets/qlineedit_p.h +++ b/src/gui/widgets/qlineedit_p.h @@ -84,7 +84,6 @@ public: ~QLineEditPrivate() { - delete control; } QLineControl *control; diff --git a/src/gui/widgets/qmenu.cpp b/src/gui/widgets/qmenu.cpp index b12e5c5..b0ea00f 100644 --- a/src/gui/widgets/qmenu.cpp +++ b/src/gui/widgets/qmenu.cpp @@ -228,6 +228,12 @@ QList<QPointer<QWidget> > QMenuPrivate::calcCausedStack() const void QMenuPrivate::updateActionRects() const { Q_Q(const QMenu); + updateActionRects(popupGeometry(q)); +} + +void QMenuPrivate::updateActionRects(const QRect &screen) const +{ + Q_Q(const QMenu); if (!itemsDirty) return; @@ -237,20 +243,10 @@ void QMenuPrivate::updateActionRects() const actionRects.resize(actions.count()); actionRects.fill(QRect()); - //let's try to get the last visible action - int lastVisibleAction = actions.count() - 1; - for(;lastVisibleAction >= 0; --lastVisibleAction) { - const QAction *action = actions.at(lastVisibleAction); - if (action->isVisible()) { - //removing trailing separators - if (action->isSeparator() && collapsibleSeparators) - continue; - break; - } - } + int lastVisibleAction = getLastVisibleAction(); int max_column_width = 0, - dh = popupGeometry(q).height(), + dh = screen.height(), y = 0; QStyle *style = q->style(); QStyleOption opt; @@ -351,7 +347,6 @@ void QMenuPrivate::updateActionRects() const const int min_column_width = q->minimumWidth() - (sfcMargin + leftmargin + rightmargin + 2 * (fw + hmargin)); max_column_width = qMax(min_column_width, max_column_width); - //calculate position const int base_y = vmargin + fw + topmargin + (scroll ? scroll->scrollOffset : 0) + @@ -382,6 +377,34 @@ void QMenuPrivate::updateActionRects() const itemsDirty = 0; } +QSize QMenuPrivate::adjustMenuSizeForScreen(const QRect &screen) +{ + Q_Q(QMenu); + QSize ret = screen.size(); + itemsDirty = true; + updateActionRects(screen); + const int fw = q->style()->pixelMetric(QStyle::PM_MenuPanelWidth, 0, q); + ret.setWidth(actionRects.at(getLastVisibleAction()).right() + fw); + return ret; +} + +int QMenuPrivate::getLastVisibleAction() const +{ + //let's try to get the last visible action + int lastVisibleAction = actions.count() - 1; + for (;lastVisibleAction >= 0; --lastVisibleAction) { + const QAction *action = actions.at(lastVisibleAction); + if (action->isVisible()) { + //removing trailing separators + if (action->isSeparator() && collapsibleSeparators) + continue; + break; + } + } + return lastVisibleAction; +} + + QRect QMenuPrivate::actionRect(QAction *act) const { int index = actions.indexOf(act); @@ -1813,9 +1836,20 @@ void QMenu::popup(const QPoint &p, QAction *atAction) else #endif screen = d->popupGeometry(QApplication::desktop()->screenNumber(p)); - const int desktopFrame = style()->pixelMetric(QStyle::PM_MenuDesktopFrameWidth, 0, this); bool adjustToDesktop = !window()->testAttribute(Qt::WA_DontShowOnScreen); + + // if the screens have very different geometries and the menu is too big, we have to recalculate + if (size.height() > screen.height() || size.width() > screen.width()) { + size = d->adjustMenuSizeForScreen(screen); + adjustToDesktop = true; + } + // Layout is not right, we might be able to save horizontal space + if (d->ncols >1 && size.height() < screen.height()) { + size = d->adjustMenuSizeForScreen(screen); + adjustToDesktop = true; + } + #ifdef QT_KEYPAD_NAVIGATION if (!atAction && QApplication::keypadNavigationEnabled()) { // Try to have one item activated @@ -1909,6 +1943,27 @@ void QMenu::popup(const QPoint &p, QAction *atAction) } } } + const int subMenuOffset = style()->pixelMetric(QStyle::PM_SubMenuOverlap, 0, this); + const QSize menuSize(sizeHint()); + QMenu *caused = qobject_cast<QMenu*>(d_func()->causedPopup.widget); + if (caused && caused->geometry().width() + menuSize.width() + subMenuOffset < screen.width()) { + QRect parentActionRect(caused->d_func()->actionRect(caused->d_func()->currentAction)); + const QPoint actionTopLeft = caused->mapToGlobal(parentActionRect.topLeft()); + parentActionRect.moveTopLeft(actionTopLeft); + if (isRightToLeft()) { + if ((pos.x() + menuSize.width() > parentActionRect.left() - subMenuOffset) + && (pos.x() < parentActionRect.right())) + { + pos.rx() = parentActionRect.right(); + } + } else { + if ((pos.x() < parentActionRect.right() + subMenuOffset) + && (pos.x() + menuSize.width() > parentActionRect.left())) + { + pos.rx() = parentActionRect.left() - menuSize.width(); + } + } + } setGeometry(QRect(pos, size)); #ifndef QT_NO_EFFECTS int hGuess = isRightToLeft() ? QEffects::LeftScroll : QEffects::RightScroll; @@ -2941,28 +2996,8 @@ void QMenu::internalDelayedPopup() const QRect actionRect(d->actionRect(d->currentAction)); const QSize menuSize(d->activeMenu->sizeHint()); const QPoint rightPos(mapToGlobal(QPoint(actionRect.right() + subMenuOffset + 1, actionRect.top()))); - const QPoint leftPos(mapToGlobal(QPoint(actionRect.left() - subMenuOffset - menuSize.width(), actionRect.top()))); QPoint pos(rightPos); - QMenu *caused = qobject_cast<QMenu*>(d->activeMenu->d_func()->causedPopup.widget); - - const QRect availGeometry(d->popupGeometry(caused)); - if (isRightToLeft()) { - pos = leftPos; - if ((caused && caused->x() < x()) || pos.x() < availGeometry.left()) { - if(rightPos.x() + menuSize.width() < availGeometry.right()) - pos = rightPos; - else - pos.rx() = availGeometry.left(); - } - } else { - if ((caused && caused->x() > x()) || pos.x() + menuSize.width() > availGeometry.right()) { - if(leftPos.x() < availGeometry.left()) - pos.rx() = availGeometry.right() - menuSize.width(); - else - pos = leftPos; - } - } //calc sloppy focus buffer if (style()->styleHint(QStyle::SH_Menu_SloppySubMenus, 0, this)) { diff --git a/src/gui/widgets/qmenu_p.h b/src/gui/widgets/qmenu_p.h index b6efde3..005ce1d 100644 --- a/src/gui/widgets/qmenu_p.h +++ b/src/gui/widgets/qmenu_p.h @@ -194,10 +194,13 @@ public: mutable QVector<QRect> actionRects; mutable QHash<QAction *, QWidget *> widgetItems; void updateActionRects() const; + void updateActionRects(const QRect &screen) const; QRect popupGeometry(const QWidget *widget) const; QRect popupGeometry(int screen = -1) const; mutable uint ncols : 4; //4 bits is probably plenty uint collapsibleSeparators : 1; + QSize adjustMenuSizeForScreen(const QRect & screen); + int getLastVisibleAction() const; bool activationRecursionGuard; @@ -296,7 +299,6 @@ public: void updateLayoutDirection(); - //menu fading/scrolling effects bool doChildEffects; diff --git a/src/network/kernel/qhostinfo.cpp b/src/network/kernel/qhostinfo.cpp index 8569817..7509e2c 100644 --- a/src/network/kernel/qhostinfo.cpp +++ b/src/network/kernel/qhostinfo.cpp @@ -288,7 +288,7 @@ QHostInfo QHostInfoPrivate::fromName(const QString &name, QSharedPointer<QNetwor #ifndef Q_OS_SYMBIAN // This function has a special implementation for symbian right now in qhostinfo_symbian.cpp but not on other OS. -QHostInfo QHostInfoAgent::fromName(const QString &hostName, QSharedPointer<QNetworkSession> networkSession) +QHostInfo QHostInfoAgent::fromName(const QString &hostName, QSharedPointer<QNetworkSession>) { Q_UNUSED(networkSession); return QHostInfoAgent::fromName(hostName); diff --git a/src/opengl/gl2paintengineex/qglengineshadermanager.cpp b/src/opengl/gl2paintengineex/qglengineshadermanager.cpp index 8068aa8..207ab3d 100644 --- a/src/opengl/gl2paintengineex/qglengineshadermanager.cpp +++ b/src/opengl/gl2paintengineex/qglengineshadermanager.cpp @@ -495,6 +495,8 @@ GLuint QGLEngineShaderManager::getUniformLocation(Uniform id) "fmp", "fmp2_m_radius2", "inverse_2_fmp2_m_radius2", + "sqrfr", + "bradius", "invertedTextureSize", "brushTransform", "brushTexture", diff --git a/src/opengl/gl2paintengineex/qglengineshadermanager_p.h b/src/opengl/gl2paintengineex/qglengineshadermanager_p.h index 7cc9dc3..bf2fe42 100644 --- a/src/opengl/gl2paintengineex/qglengineshadermanager_p.h +++ b/src/opengl/gl2paintengineex/qglengineshadermanager_p.h @@ -442,6 +442,8 @@ public: Fmp, Fmp2MRadius2, Inverse2Fmp2MRadius2, + SqrFr, + BRadius, InvertedTextureSize, BrushTransform, BrushTexture, diff --git a/src/opengl/gl2paintengineex/qglengineshadersource_p.h b/src/opengl/gl2paintengineex/qglengineshadersource_p.h index fc8b9ef..9362c58 100644 --- a/src/opengl/gl2paintengineex/qglengineshadersource_p.h +++ b/src/opengl/gl2paintengineex/qglengineshadersource_p.h @@ -241,6 +241,7 @@ static const char* const qglslPositionWithRadialGradientBrushVertexShader = "\n\ uniform mediump vec2 halfViewportSize; \n\ uniform highp mat3 brushTransform; \n\ uniform highp vec2 fmp; \n\ + uniform highp vec3 bradius; \n\ varying highp float b; \n\ varying highp vec2 A; \n\ void setPosition(void) \n\ @@ -253,7 +254,7 @@ static const char* const qglslPositionWithRadialGradientBrushVertexShader = "\n\ mediump float invertedHTexCoordsZ = 1.0 / hTexCoords.z; \n\ gl_Position = vec4(gl_Position.xy * invertedHTexCoordsZ, 0.0, invertedHTexCoordsZ); \n\ A = hTexCoords.xy * invertedHTexCoordsZ; \n\ - b = 2.0 * dot(A, fmp); \n\ + b = bradius.x + 2.0 * dot(A, fmp); \n\ }\n"; static const char* const qglslAffinePositionWithRadialGradientBrushVertexShader @@ -263,13 +264,22 @@ static const char* const qglslRadialGradientBrushSrcFragmentShader = "\n\ uniform sampler2D brushTexture; \n\ uniform highp float fmp2_m_radius2; \n\ uniform highp float inverse_2_fmp2_m_radius2; \n\ + uniform highp float sqrfr; \n\ varying highp float b; \n\ varying highp vec2 A; \n\ + uniform highp vec3 bradius; \n\ lowp vec4 srcPixel() \n\ { \n\ - highp float c = -dot(A, A); \n\ - highp vec2 val = vec2((-b + sqrt(b*b - 4.0*fmp2_m_radius2*c)) * inverse_2_fmp2_m_radius2, 0.5); \n\ - return texture2D(brushTexture, val); \n\ + highp float c = sqrfr-dot(A, A); \n\ + highp float det = b*b - 4.0*fmp2_m_radius2*c; \n\ + lowp vec4 result = vec4(0.0); \n\ + if (det >= 0.0) { \n\ + highp float detSqrt = sqrt(det); \n\ + highp float w = max((-b - detSqrt) * inverse_2_fmp2_m_radius2, (-b + detSqrt) * inverse_2_fmp2_m_radius2); \n\ + if (bradius.y + w * bradius.z >= 0.0) \n\ + result = texture2D(brushTexture, vec2(w, 0.5)); \n\ + } \n\ + return result; \n\ }\n"; diff --git a/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp b/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp index 18c684f..a2707e0 100644 --- a/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp +++ b/src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp @@ -301,7 +301,7 @@ void QGL2PaintEngineExPrivate::updateBrushUniforms() const QRadialGradient *g = static_cast<const QRadialGradient *>(currentBrush.gradient()); QPointF realCenter = g->center(); QPointF realFocal = g->focalPoint(); - qreal realRadius = g->radius(); + qreal realRadius = g->centerRadius() - g->focalRadius(); translationPoint = realFocal; QPointF fmp = realCenter - realFocal; @@ -311,6 +311,12 @@ void QGL2PaintEngineExPrivate::updateBrushUniforms() shaderManager->currentProgram()->setUniformValue(location(QGLEngineShaderManager::Fmp2MRadius2), fmp2_m_radius2); shaderManager->currentProgram()->setUniformValue(location(QGLEngineShaderManager::Inverse2Fmp2MRadius2), GLfloat(1.0 / (2.0*fmp2_m_radius2))); + shaderManager->currentProgram()->setUniformValue(location(QGLEngineShaderManager::SqrFr), + GLfloat(g->focalRadius() * g->focalRadius())); + shaderManager->currentProgram()->setUniformValue(location(QGLEngineShaderManager::BRadius), + GLfloat(2 * (g->centerRadius() - g->focalRadius()) * g->focalRadius()), + g->focalRadius(), + g->centerRadius() - g->focalRadius()); QVector2D halfViewportSize(width*0.5, height*0.5); shaderManager->currentProgram()->setUniformValue(location(QGLEngineShaderManager::HalfViewportSize), halfViewportSize); diff --git a/src/opengl/qpaintengine_opengl.cpp b/src/opengl/qpaintengine_opengl.cpp index 9da811a..5fa9f32 100644 --- a/src/opengl/qpaintengine_opengl.cpp +++ b/src/opengl/qpaintengine_opengl.cpp @@ -2119,6 +2119,7 @@ void QOpenGLPaintEnginePrivate::fillPath(const QPainterPath &path) updateGLMatrix(); } +extern bool qt_isExtendedRadialGradient(const QBrush &brush); static inline bool needsEmulation(Qt::BrushStyle style) { @@ -2129,9 +2130,11 @@ static inline bool needsEmulation(Qt::BrushStyle style) void QOpenGLPaintEnginePrivate::updateUseEmulation() { - use_emulation = !use_fragment_programs - && ((has_pen && needsEmulation(pen_brush_style)) - || (has_brush && needsEmulation(brush_style))); + use_emulation = (!use_fragment_programs + && ((has_pen && needsEmulation(pen_brush_style)) + || (has_brush && needsEmulation(brush_style)))) + || (has_pen && qt_isExtendedRadialGradient(cpen.brush())) + || (has_brush && qt_isExtendedRadialGradient(cbrush)); } void QOpenGLPaintEngine::updatePen(const QPen &pen) @@ -5447,50 +5450,7 @@ void QOpenGLPaintEngine::transformChanged() updateMatrix(state()->matrix); } -static QPainterPath painterPathFromVectorPath(const QVectorPath &path) -{ - const qreal *points = path.points(); - const QPainterPath::ElementType *types = path.elements(); - - QPainterPath p; - if (types) { - int id = 0; - for (int i=0; i<path.elementCount(); ++i) { - switch(types[i]) { - case QPainterPath::MoveToElement: - p.moveTo(QPointF(points[id], points[id+1])); - id+=2; - break; - case QPainterPath::LineToElement: - p.lineTo(QPointF(points[id], points[id+1])); - id+=2; - break; - case QPainterPath::CurveToElement: { - QPointF p1(points[id], points[id+1]); - QPointF p2(points[id+2], points[id+3]); - QPointF p3(points[id+4], points[id+5]); - p.cubicTo(p1, p2, p3); - id+=6; - break; - } - case QPainterPath::CurveToDataElement: - ; - break; - } - } - } else { - p.moveTo(QPointF(points[0], points[1])); - int id = 2; - for (int i=1; i<path.elementCount(); ++i) { - p.lineTo(QPointF(points[id], points[id+1])); - id+=2; - } - } - if (path.hints() & QVectorPath::WindingFill) - p.setFillRule(Qt::WindingFill); - - return p; -} +extern QPainterPath qt_painterPathFromVectorPath(const QVectorPath &path); void QOpenGLPaintEngine::fill(const QVectorPath &path, const QBrush &brush) { @@ -5499,11 +5459,11 @@ void QOpenGLPaintEngine::fill(const QVectorPath &path, const QBrush &brush) if (brush.style() == Qt::NoBrush) return; - if (!d->use_fragment_programs && needsEmulation(brush.style())) { + if ((!d->use_fragment_programs && needsEmulation(brush.style())) || qt_isExtendedRadialGradient(brush)) { QPainter *p = painter(); QBrush oldBrush = p->brush(); p->setBrush(brush); - qt_draw_helper(p->d_ptr.data(), painterPathFromVectorPath(path), QPainterPrivate::FillDraw); + qt_draw_helper(p->d_ptr.data(), qt_painterPathFromVectorPath(path), QPainterPrivate::FillDraw); p->setBrush(oldBrush); return; } @@ -5520,7 +5480,7 @@ void QOpenGLPaintEngine::fill(const QVectorPath &path, const QBrush &brush) drawRects(&r, 1); updatePen(old_pen); } else { - d->fillPath(painterPathFromVectorPath(path)); + d->fillPath(qt_painterPathFromVectorPath(path)); } updateBrush(old_brush, state()->brushOrigin); diff --git a/src/opengl/qwindowsurface_gl.cpp b/src/opengl/qwindowsurface_gl.cpp index 70c1fde..8494283 100644 --- a/src/opengl/qwindowsurface_gl.cpp +++ b/src/opengl/qwindowsurface_gl.cpp @@ -610,6 +610,17 @@ void QGLWindowSurface::flush(QWidget *widget, const QRegion &rgn, const QPoint & if (!d_ptr->destructive_swap_buffers && !d_ptr->did_paint) return; +#ifdef Q_OS_SYMBIAN + if (window() != widget) { + // For performance reasons we don't support + // flushing native child widgets on Symbian. + // It breaks overlapping native child widget + // rendering in some cases but we prefer performance. + return; + } +#endif + + QWidget *parent = widget->internalWinId() ? widget : widget->nativeParentWidget(); Q_ASSERT(parent); @@ -717,7 +728,6 @@ void QGLWindowSurface::flush(QWidget *widget, const QRegion &rgn, const QPoint & } else { glFlush(); } - return; } @@ -874,8 +884,22 @@ void QGLWindowSurface::updateGeometry() { bool hijack(true); QWidgetPrivate *wd = window()->d_func(); - if (wd->extraData() && wd->extraData()->glContext) - hijack = false; // we already have gl context for widget + if (wd->extraData() && wd->extraData()->glContext) { +#ifdef Q_OS_SYMBIAN // Symbian needs to recreate the context when native window size changes + if (d_ptr->size != geometry().size()) { + if (window() != qt_gl_share_widget()) + --(_qt_gl_share_widget()->widgetRefCount); + + delete wd->extraData()->glContext; + wd->extraData()->glContext = 0; + d_ptr->ctx = 0; + } + else +#endif + { + hijack = false; // we already have gl context for widget + } + } if (hijack) hijackWindow(window()); @@ -896,35 +920,6 @@ void QGLWindowSurface::updateGeometry() { d_ptr->size = surfSize; -#ifdef Q_OS_SYMBIAN - if (!hijack) { // Symbian needs to recreate EGL surface when native window size changes - if (ctx->d_func()->eglSurface != EGL_NO_SURFACE) { - eglDestroySurface(ctx->d_func()->eglContext->display(), - ctx->d_func()->eglSurface); - } - - ctx->d_func()->eglSurface = QEgl::createSurface(ctx->device(), - ctx->d_func()->eglContext->config()); - - eglGetError(); // Clear error state. - if (!d_ptr->destructive_swap_buffers) { - eglSurfaceAttrib(ctx->d_func()->eglContext->display(), - ctx->d_func()->eglSurface, - EGL_SWAP_BEHAVIOR, EGL_BUFFER_PRESERVED); - - if (eglGetError() != EGL_SUCCESS) - qWarning("QGLWindowSurface: could not enable preserved swap behaviour"); - } else { - eglSurfaceAttrib(ctx->d_func()->eglContext->display(), - ctx->d_func()->eglSurface, - EGL_SWAP_BEHAVIOR, EGL_BUFFER_DESTROYED); - - if (eglGetError() != EGL_SUCCESS) - qWarning("QGLWindowSurface: could not enable destroyed swap behaviour"); - } - } -#endif - if (d_ptr->ctx) { #ifndef QT_OPENGL_ES_2 if (d_ptr->destructive_swap_buffers) diff --git a/src/openvg/qpaintengine_vg.cpp b/src/openvg/qpaintengine_vg.cpp index 3c2b5fd..68a6a0b 100644 --- a/src/openvg/qpaintengine_vg.cpp +++ b/src/openvg/qpaintengine_vg.cpp @@ -173,6 +173,9 @@ public: bool forcePenChange; // Force a pen change, even if the same. bool forceBrushChange; // Force a brush change, even if the same. + bool hasExtendedRadialGradientPen; // Current pen's brush is extended radial gradient. + bool hasExtendedRadialGradientBrush; // Current brush is extended radial gradient. + VGPaintType penType; // Type of the last pen that was set. VGPaintType brushType; // Type of the last brush that was set. @@ -275,6 +278,27 @@ public: } } + inline bool needsEmulation(const QBrush &brush) const + { + extern bool qt_isExtendedRadialGradient(const QBrush &brush); + return qt_isExtendedRadialGradient(brush); + } + + inline bool needsEmulation() const + { + return hasExtendedRadialGradientPen || hasExtendedRadialGradientBrush; + } + + inline bool needsPenEmulation() const + { + return hasExtendedRadialGradientPen; + } + + inline bool needsBrushEmulation() const + { + return hasExtendedRadialGradientBrush; + } + // Set various modes, but only if different. inline void setImageMode(VGImageMode mode); inline void setRenderingQuality(VGRenderingQuality mode); @@ -355,6 +379,10 @@ void QVGPaintEnginePrivate::init() forcePenChange = true; forceBrushChange = true; + + hasExtendedRadialGradientPen = false; + hasExtendedRadialGradientBrush = false; + penType = (VGPaintType)0; brushType = (VGPaintType)0; @@ -1021,9 +1049,11 @@ static VGImage toVGImage switch (img.format()) { case QImage::Format_Mono: img = image.convertToFormat(QImage::Format_MonoLSB, flags); + img.invertPixels(); format = VG_BW_1; break; case QImage::Format_MonoLSB: + img.invertPixels(); format = VG_BW_1; break; case QImage::Format_RGB32: @@ -1528,12 +1558,18 @@ bool QVGPaintEngine::begin(QPaintDevice *pdev) bool QVGPaintEngine::end() { + vgSeti(VG_SCISSORING, VG_FALSE); + vgSeti(VG_MASKING, VG_FALSE); return true; } void QVGPaintEngine::draw(const QVectorPath &path) { Q_D(QVGPaintEngine); + if (d->needsEmulation()) { + QPaintEngineEx::draw(path); + return; + } QVGPainterState *s = state(); VGPath vgpath = d->vectorPathToVGPath(path); if (!path.hasWindingFill()) @@ -1543,9 +1579,19 @@ void QVGPaintEngine::draw(const QVectorPath &path) vgDestroyPath(vgpath); } +extern QPainterPath qt_painterPathFromVectorPath(const QVectorPath &path); + void QVGPaintEngine::fill(const QVectorPath &path, const QBrush &brush) { Q_D(QVGPaintEngine); + if (d->needsEmulation(brush)) { + QPainter *p = painter(); + QBrush oldBrush = p->brush(); + p->setBrush(brush); + qt_draw_helper(p->d_ptr.data(), qt_painterPathFromVectorPath(path), QPainterPrivate::FillDraw); + p->setBrush(oldBrush); + return; + } VGPath vgpath = d->vectorPathToVGPath(path); if (!path.hasWindingFill()) d->fill(vgpath, brush, VG_EVEN_ODD); @@ -1557,6 +1603,10 @@ void QVGPaintEngine::fill(const QVectorPath &path, const QBrush &brush) void QVGPaintEngine::stroke(const QVectorPath &path, const QPen &pen) { Q_D(QVGPaintEngine); + if (d->needsEmulation(pen.brush())) { + QPaintEngineEx::stroke(path, pen); + return; + } VGPath vgpath = d->vectorPathToVGPath(path); d->stroke(vgpath, pen); vgDestroyPath(vgpath); @@ -2360,12 +2410,17 @@ void QVGPaintEngine::penChanged() { Q_D(QVGPaintEngine); d->dirty |= QPaintEngine::DirtyPen; + + d->hasExtendedRadialGradientPen = + state()->pen.style() != Qt::NoPen && d->needsEmulation(state()->pen.brush()); } void QVGPaintEngine::brushChanged() { Q_D(QVGPaintEngine); d->dirty |= QPaintEngine::DirtyBrush; + + d->hasExtendedRadialGradientPen = d->needsEmulation(state()->brush); } void QVGPaintEngine::brushOriginChanged() @@ -2544,6 +2599,11 @@ void QVGPaintEngine::fillRect(const QRectF &rect, const QBrush &brush) return; } + if (d->needsEmulation(brush)) { + QPaintEngineEx::fillRect(rect, brush); + return; + } + #if !defined(QVG_NO_MODIFY_PATH) VGfloat coords[8]; if (d->simpleTransform) { @@ -2621,6 +2681,10 @@ void QVGPaintEngine::fillRect(const QRectF &rect, const QColor &color) void QVGPaintEngine::drawRoundedRect(const QRectF &rect, qreal xrad, qreal yrad, Qt::SizeMode mode) { Q_D(QVGPaintEngine); + if (d->needsEmulation()) { + QPaintEngineEx::drawRoundedRect(rect, xrad, yrad, mode); + return; + } if (d->simpleTransform) { QVGPainterState *s = state(); VGPath vgpath = d->roundedRectPath(rect, xrad, yrad, mode); @@ -2637,6 +2701,10 @@ void QVGPaintEngine::drawRects(const QRect *rects, int rectCount) { #if !defined(QVG_NO_MODIFY_PATH) Q_D(QVGPaintEngine); + if (d->needsEmulation()) { + QPaintEngineEx::drawRects(rects, rectCount); + return; + } QVGPainterState *s = state(); for (int i = 0; i < rectCount; ++i, ++rects) { VGfloat coords[8]; @@ -2678,6 +2746,10 @@ void QVGPaintEngine::drawRects(const QRectF *rects, int rectCount) { #if !defined(QVG_NO_MODIFY_PATH) Q_D(QVGPaintEngine); + if (d->needsEmulation()) { + QPaintEngineEx::drawRects(rects, rectCount); + return; + } QVGPainterState *s = state(); for (int i = 0; i < rectCount; ++i, ++rects) { VGfloat coords[8]; @@ -2716,6 +2788,10 @@ void QVGPaintEngine::drawLines(const QLine *lines, int lineCount) { #if !defined(QVG_NO_MODIFY_PATH) Q_D(QVGPaintEngine); + if (d->needsEmulation()) { + QPaintEngineEx::drawLines(lines, lineCount); + return; + } QVGPainterState *s = state(); for (int i = 0; i < lineCount; ++i, ++lines) { VGfloat coords[4]; @@ -2744,6 +2820,10 @@ void QVGPaintEngine::drawLines(const QLineF *lines, int lineCount) { #if !defined(QVG_NO_MODIFY_PATH) Q_D(QVGPaintEngine); + if (d->needsEmulation()) { + QPaintEngineEx::drawLines(lines, lineCount); + return; + } QVGPainterState *s = state(); for (int i = 0; i < lineCount; ++i, ++lines) { VGfloat coords[4]; @@ -2773,6 +2853,10 @@ void QVGPaintEngine::drawEllipse(const QRectF &r) // Based on the description of vguEllipse() in the OpenVG specification. // We don't use vguEllipse(), to avoid unnecessary library dependencies. Q_D(QVGPaintEngine); + if (d->needsEmulation()) { + QPaintEngineEx::drawEllipse(r); + return; + } if (d->simpleTransform) { QVGPainterState *s = state(); VGPath path = vgCreatePath(VG_PATH_FORMAT_STANDARD, @@ -2823,6 +2907,10 @@ void QVGPaintEngine::drawPath(const QPainterPath &path) // Shortcut past the QPainterPath -> QVectorPath conversion, // converting the QPainterPath directly into a VGPath. Q_D(QVGPaintEngine); + if (d->needsEmulation()) { + QPaintEngineEx::drawPath(path); + return; + } QVGPainterState *s = state(); VGPath vgpath = d->painterPathToVGPath(path); if (path.fillRule() == Qt::OddEvenFill) @@ -2837,6 +2925,11 @@ void QVGPaintEngine::drawPoints(const QPointF *points, int pointCount) #if !defined(QVG_NO_MODIFY_PATH) Q_D(QVGPaintEngine); + if (d->needsPenEmulation()) { + QPaintEngineEx::drawPoints(points, pointCount); + return; + } + // Set up a new pen if necessary. QPen pen = state()->pen; if (pen.style() == Qt::NoPen) @@ -2871,6 +2964,11 @@ void QVGPaintEngine::drawPoints(const QPoint *points, int pointCount) #if !defined(QVG_NO_MODIFY_PATH) Q_D(QVGPaintEngine); + if (d->needsEmulation()) { + QPaintEngineEx::drawPoints(points, pointCount); + return; + } + // Set up a new pen if necessary. QPen pen = state()->pen; if (pen.style() == Qt::NoPen) @@ -2903,6 +3001,12 @@ void QVGPaintEngine::drawPoints(const QPoint *points, int pointCount) void QVGPaintEngine::drawPolygon(const QPointF *points, int pointCount, PolygonDrawMode mode) { Q_D(QVGPaintEngine); + + if (d->needsEmulation()) { + QPaintEngineEx::drawPolygon(points, pointCount, mode); + return; + } + QVGPainterState *s = state(); VGPath path = vgCreatePath(VG_PATH_FORMAT_STANDARD, VG_PATH_DATATYPE_F, @@ -2950,6 +3054,12 @@ void QVGPaintEngine::drawPolygon(const QPointF *points, int pointCount, PolygonD void QVGPaintEngine::drawPolygon(const QPoint *points, int pointCount, PolygonDrawMode mode) { Q_D(QVGPaintEngine); + + if (d->needsEmulation()) { + QPaintEngineEx::drawPolygon(points, pointCount, mode); + return; + } + QVGPainterState *s = state(); VGPath path = vgCreatePath(VG_PATH_FORMAT_STANDARD, VG_PATH_DATATYPE_F, @@ -3186,6 +3296,19 @@ void qt_vg_drawVGImageStencil bool QVGPaintEngine::canVgWritePixels(const QImage &image) const { Q_D(const QVGPaintEngine); + + // qt_vg_image_to_vg_format returns VG_sARGB_8888 as + // fallback case if no matching VG format is found. + // If given image format is not Format_ARGB32 and returned + // format is VG_sARGB_8888, it means that no match was + // found. In that case vgWritePixels cannot be used. + // Also 1-bit formats cannot be used directly either. + if ((image.format() != QImage::Format_ARGB32 + && qt_vg_image_to_vg_format(image.format()) == VG_sARGB_8888) + || image.depth() == 1) { + return false; + } + // vgWritePixels ignores masking, blending and xforms so we can only use it if // ALL of the following conditions are true: // - It is a simple translate, or a scale of -1 on the y-axis (inverted) @@ -3596,6 +3719,11 @@ void QVGPaintEngine::drawTextItem(const QPointF &p, const QTextItem &textItem) return; } + if (d->needsPenEmulation()) { + QPaintEngineEx::drawTextItem(p, textItem); + return; + } + // Get the glyphs and positions associated with the text item. QVarLengthArray<QFixedPoint> positions; QVarLengthArray<glyph_t> glyphs; @@ -3741,6 +3869,8 @@ void QVGPaintEngine::beginNativePainting() #if !defined(QVG_NO_DRAW_GLYPHS) d->setTransform(VG_MATRIX_GLYPH_USER_TO_SURFACE, d->pathTransform); #endif + vgSeti(VG_SCISSORING, VG_FALSE); + vgSeti(VG_MASKING, VG_FALSE); d->rawVG = true; } @@ -3801,6 +3931,7 @@ void QVGPaintEngine::restoreState(QPaintEngine::DirtyFlags dirty) if ((dirty & QPaintEngine::DirtyBrushOrigin) != 0) brushOriginChanged(); d->fillRule = 0; + d->clearColor = QColor(); if ((dirty & QPaintEngine::DirtyOpacity) != 0) opacityChanged(); if ((dirty & QPaintEngine::DirtyTransform) != 0) diff --git a/src/openvg/qpixmapdata_vg.cpp b/src/openvg/qpixmapdata_vg.cpp index ea93748..e52722d 100644 --- a/src/openvg/qpixmapdata_vg.cpp +++ b/src/openvg/qpixmapdata_vg.cpp @@ -378,7 +378,7 @@ VGImage QVGPixmapData::toVGImage() QVGImagePool::instance()->useImage(this); } - if (!source.isNull() && recreate) { + if (!source.isNull() && (recreate || source.paintingActive())) { source.beginDataAccess(); vgImageSubData (vgImage, diff --git a/src/openvg/qwindowsurface_vg.cpp b/src/openvg/qwindowsurface_vg.cpp index eedfea5..dcc5d6a 100644 --- a/src/openvg/qwindowsurface_vg.cpp +++ b/src/openvg/qwindowsurface_vg.cpp @@ -78,6 +78,17 @@ QPaintDevice *QVGWindowSurface::paintDevice() void QVGWindowSurface::flush(QWidget *widget, const QRegion ®ion, const QPoint &offset) { Q_UNUSED(offset); + +#ifdef Q_OS_SYMBIAN + if (window() != widget) { + // For performance reasons we don't support + // flushing native child widgets on Symbian. + // It breaks overlapping native child widget + // rendering in some cases but we prefer performance. + return; + } +#endif + QWidget *parent = widget->internalWinId() ? widget : widget->nativeParentWidget(); d_ptr->endPaint(parent, region); } diff --git a/src/openvg/qwindowsurface_vgegl.cpp b/src/openvg/qwindowsurface_vgegl.cpp index 866453f..3205a11 100644 --- a/src/openvg/qwindowsurface_vgegl.cpp +++ b/src/openvg/qwindowsurface_vgegl.cpp @@ -269,19 +269,20 @@ static QEglContext *createContext(QPaintDevice *device) configProps.setPixelFormat(QImage::Format_ARGB32); // XXX configProps.setValue(EGL_ALPHA_MASK_SIZE, 1); #ifdef EGL_VG_ALPHA_FORMAT_PRE_BIT - configProps.setValue(EGL_SURFACE_TYPE, EGL_WINDOW_BIT | - EGL_VG_ALPHA_FORMAT_PRE_BIT); + configProps.setValue(EGL_SURFACE_TYPE, EGL_WINDOW_BIT + | EGL_SWAP_BEHAVIOR_PRESERVED_BIT + | EGL_VG_ALPHA_FORMAT_PRE_BIT); configProps.setRenderableType(QEgl::OpenVG); if (!context->chooseConfig(configProps)) { // Try again without the "pre" bit. - configProps.setValue(EGL_SURFACE_TYPE, EGL_WINDOW_BIT); + configProps.setValue(EGL_SURFACE_TYPE, EGL_WINDOW_BIT | EGL_SWAP_BEHAVIOR_PRESERVED_BIT); if (!context->chooseConfig(configProps)) { delete context; return 0; } } #else - configProps.setValue(EGL_SURFACE_TYPE, EGL_WINDOW_BIT); + configProps.setValue(EGL_SURFACE_TYPE, EGL_WINDOW_BIT | EGL_SWAP_BEHAVIOR_PRESERVED_BIT); configProps.setRenderableType(QEgl::OpenVG); if (!context->chooseConfig(configProps)) { delete context; diff --git a/src/plugins/accessible/widgets/complexwidgets.cpp b/src/plugins/accessible/widgets/complexwidgets.cpp index e638413..85be0b0 100644 --- a/src/plugins/accessible/widgets/complexwidgets.cpp +++ b/src/plugins/accessible/widgets/complexwidgets.cpp @@ -971,7 +971,11 @@ QString QAccessibleItemView::text(Text t, int child) const return QAccessibleAbstractScrollArea::text(t, child); QAccessibleItemRow item(itemView(), childIndex(child)); - return item.text(t, 1); + if (item.isValid()) { + return item.text(t, 1); + } else { + return QString(); + } } else { return QAccessibleAbstractScrollArea::text(t, child); } diff --git a/src/plugins/accessible/widgets/qaccessiblewidgets.cpp b/src/plugins/accessible/widgets/qaccessiblewidgets.cpp index 09b5015..4402932 100644 --- a/src/plugins/accessible/widgets/qaccessiblewidgets.cpp +++ b/src/plugins/accessible/widgets/qaccessiblewidgets.cpp @@ -401,9 +401,14 @@ int QAccessibleStackedWidget::childCount() const int QAccessibleStackedWidget::indexOfChild(const QAccessibleInterface *child) const { - if (!child || (stackedWidget()->currentWidget() != child->object())) + if (!child) return -1; - return 1; + + QWidget* widget = qobject_cast<QWidget*>(child->object()); + int index = stackedWidget()->indexOf(widget); + if (index >= 0) // one based counting of children + return index + 1; + return -1; } int QAccessibleStackedWidget::navigate(RelationFlag relation, int entry, QAccessibleInterface **target) const @@ -413,9 +418,9 @@ int QAccessibleStackedWidget::navigate(RelationFlag relation, int entry, QAccess QObject *targetObject = 0; switch (relation) { case Child: - if (entry != 1) + if (entry < 1 || entry > stackedWidget()->count()) return -1; - targetObject = stackedWidget()->currentWidget(); + targetObject = stackedWidget()->widget(entry-1); break; default: return QAccessibleWidgetEx::navigate(relation, entry, target); @@ -1334,7 +1339,7 @@ QRect QAccessibleTextEdit::characterRect(int offset, CoordinateType coordType) QRect r = edit->cursorRect(cursor); if (cursor.movePosition(QTextCursor::NextCharacter)) { - r.setWidth(edit->cursorRect(cursor).y() - r.y()); + r.setWidth(edit->cursorRect(cursor).x() - r.x()); } else { // we don't know the width of the character - maybe because we're at document end // in that case, IAccessible2 tells us to return the width of a default character @@ -1603,7 +1608,7 @@ void QAccessibleTextEdit::setAttributes(int startOffset, int endOffset, const QS #ifndef QT_NO_MAINWINDOW QAccessibleMainWindow::QAccessibleMainWindow(QWidget *widget) - : QAccessibleWidgetEx(widget, Application) { } + : QAccessibleWidgetEx(widget, Window) { } QVariant QAccessibleMainWindow::invokeMethodEx(QAccessible::Method /*method*/, int /*child*/, const QVariantList & /*params*/) { diff --git a/src/plugins/accessible/widgets/simplewidgets.cpp b/src/plugins/accessible/widgets/simplewidgets.cpp index 21d2d67..aa64630 100644 --- a/src/plugins/accessible/widgets/simplewidgets.cpp +++ b/src/plugins/accessible/widgets/simplewidgets.cpp @@ -131,7 +131,7 @@ QString QAccessibleButton::actionText(int action, Text text, int child) const /*! \reimp */ bool QAccessibleButton::doAction(int action, int child, const QVariantList ¶ms) { - if (child || !widget()->isEnabled() || !widget()->isVisible()) + if (child || !widget()->isEnabled()) return false; switch (action) { @@ -155,9 +155,6 @@ bool QAccessibleButton::doAction(int action, int child, const QVariantList ¶ QString QAccessibleButton::text(Text t, int child) const { QString str; - if (!widget()->isVisible()) - return str; - switch (t) { case Accelerator: { @@ -227,6 +224,9 @@ QString QAccessibleButton::description(int actionIndex) { switch (actionIndex) { case 0: + if (button()->isCheckable()) { + return QLatin1String("Toggles the button."); + } return QLatin1String("Clicks the button."); default: return QString(); @@ -237,6 +237,13 @@ QString QAccessibleButton::name(int actionIndex) { switch (actionIndex) { case 0: + if (button()->isCheckable()) { + if (button()->isChecked()) { + return QLatin1String("Uncheck"); + } else { + return QLatin1String("Check"); + } + } return QLatin1String("Press"); default: return QString(); @@ -247,6 +254,13 @@ QString QAccessibleButton::localizedName(int actionIndex) { switch (actionIndex) { case 0: + if (button()->isCheckable()) { + if (button()->isChecked()) { + return tr("Uncheck"); + } else { + return tr("Check"); + } + } return tr("Press"); default: return QString(); @@ -380,9 +394,6 @@ QRect QAccessibleToolButton::rect(int child) const QString QAccessibleToolButton::text(Text t, int child) const { QString str; - if (!toolButton()->isVisible()) - return str; - switch (t) { case Name: str = toolButton()->text(); @@ -454,7 +465,7 @@ QString QAccessibleToolButton::actionText(int action, Text text, int child) cons */ bool QAccessibleToolButton::doAction(int action, int child, const QVariantList ¶ms) { - if (!widget()->isEnabled() || !widget()->isVisible()) + if (!widget()->isEnabled()) return false; if (action == 1 || child == ButtonDropMenu) { if(!child) @@ -513,8 +524,6 @@ QAccessible::Role QAccessibleDisplay::role(int child) const QString QAccessibleDisplay::text(Text t, int child) const { QString str; - if (!widget()->isVisible()) - return str; switch (t) { case Name: str = widget()->accessibleName(); @@ -674,8 +683,6 @@ QLineEdit *QAccessibleLineEdit::lineEdit() const QString QAccessibleLineEdit::text(Text t, int child) const { QString str; - if (!lineEdit()->isVisible()) - return str; switch (t) { case Value: if (lineEdit()->echoMode() == QLineEdit::Normal) @@ -692,8 +699,6 @@ QString QAccessibleLineEdit::text(Text t, int child) const /*! \reimp */ void QAccessibleLineEdit::setText(Text t, int control, const QString &text) { - if (!lineEdit()->isVisible()) - return; if (t != Value || control) { QAccessibleWidgetEx::setText(t, control, text); return; diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp index 3d8cf50..9a94c30 100644 --- a/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp +++ b/src/plugins/gfxdrivers/directfb/qdirectfbwindowsurface.cpp @@ -365,10 +365,12 @@ void QDirectFBWindowSurface::flush(QWidget *widget, const QRegion ®ion, if (!win) return; -#ifndef QT_NO_QWS_PROXYSCREEN +#if !defined(QT_NO_QWS_PROXYSCREEN) && !defined(QT_NO_GRAPHICSVIEW) QWExtra *extra = qt_widget_private(widget)->extraData(); if (extra && extra->proxyWidget) return; +#else + Q_UNUSED(widget); #endif const quint8 windowOpacity = quint8(win->windowOpacity() * 0xff); diff --git a/src/plugins/qmltooling/qmldbg_ost/qmldbg_ost.pro b/src/plugins/qmltooling/qmldbg_ost/qmldbg_ost.pro new file mode 100644 index 0000000..2748889 --- /dev/null +++ b/src/plugins/qmltooling/qmldbg_ost/qmldbg_ost.pro @@ -0,0 +1,21 @@ +TARGET = qmldbg_ost +QT += declarative network + +include(../../qpluginbase.pri) + +QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/qmltooling +QTDIR_build:REQUIRES += "contains(QT_CONFIG, declarative)" + +SOURCES += \ + qmlostplugin.cpp \ + qostdevice.cpp + +HEADERS += \ + qmlostplugin.h \ + qostdevice.h \ + usbostcomm.h + +target.path += $$[QT_INSTALL_PLUGINS]/qmltooling +INSTALLS += target + +symbian:TARGET.UID3=0x20031E92 diff --git a/src/plugins/qmltooling/qmldbg_ost/qmlostplugin.cpp b/src/plugins/qmltooling/qmldbg_ost/qmlostplugin.cpp new file mode 100644 index 0000000..1c91c34 --- /dev/null +++ b/src/plugins/qmltooling/qmldbg_ost/qmlostplugin.cpp @@ -0,0 +1,143 @@ +/**************************************************************************** +** +** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the QtDeclarative module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#include "qmlostplugin.h" +#include "qostdevice.h" + +#include <private/qdeclarativedebugserver_p.h> +#include <private/qpacketprotocol_p.h> + +QT_BEGIN_NAMESPACE + +static const TInt KQmlOstProtocolId = 0x94; + +class QmlOstPluginPrivate { +public: + QmlOstPluginPrivate(); + + QOstDevice *ost; + QPacketProtocol *protocol; + QDeclarativeDebugServer *debugServer; +}; + +QmlOstPluginPrivate::QmlOstPluginPrivate() : + ost(0), + protocol(0), + debugServer(0) +{ +} + +QmlOstPlugin::QmlOstPlugin() : + d_ptr(new QmlOstPluginPrivate) +{ +} + +QmlOstPlugin::~QmlOstPlugin() +{ + delete d_ptr; +} + +void QmlOstPlugin::setServer(QDeclarativeDebugServer *server) +{ + Q_D(QmlOstPlugin); + d->debugServer = server; +} + +bool QmlOstPlugin::isConnected() const +{ + Q_D(const QmlOstPlugin); + return d->ost && d->ost->isOpen(); +} + +void QmlOstPlugin::send(const QByteArray &message) +{ + Q_D(QmlOstPlugin); + + if (!isConnected()) + return; + + QPacket pack; + pack.writeRawData(message.data(), message.length()); + + d->protocol->send(pack); + //d->socket->flush(); +} + +void QmlOstPlugin::disconnect() +{ + Q_D(QmlOstPlugin); + + delete d->protocol; + d->protocol = 0; +} + +void QmlOstPlugin::setPort(int port, bool block) +{ + Q_UNUSED(port); + Q_UNUSED(block); + + Q_D(QmlOstPlugin); + + d->ost = new QOstDevice(this); + bool ok = d->ost->open(KQmlOstProtocolId); + if (!ok) { + if (d->ost->errorString().length()) + qDebug("Error from QOstDevice: %s", qPrintable(d->ost->errorString())); + qWarning("QDeclarativeDebugServer: Unable to listen on OST"); // This message is part of the signalling - do not change the format! + return; + } + d->protocol = new QPacketProtocol(d->ost, this); + QObject::connect(d->protocol, SIGNAL(readyRead()), this, SLOT(readyRead())); + qWarning("QDeclarativeDebugServer: Waiting for connection via OST"); // This message is part of the signalling - do not change the format! +} + +void QmlOstPlugin::readyRead() +{ + Q_D(QmlOstPlugin); + QPacket packet = d->protocol->read(); + + QByteArray content = packet.data(); + d->debugServer->receiveMessage(content); +} + +Q_EXPORT_PLUGIN2(qmlostplugin, QmlOstPlugin) + +QT_END_NAMESPACE diff --git a/src/plugins/qmltooling/qmldbg_ost/qmlostplugin.h b/src/plugins/qmltooling/qmldbg_ost/qmlostplugin.h new file mode 100644 index 0000000..eee6ee1 --- /dev/null +++ b/src/plugins/qmltooling/qmldbg_ost/qmlostplugin.h @@ -0,0 +1,81 @@ +/**************************************************************************** +** +** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the QtDeclarative module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#ifndef QMLOSTPLUGIN_H +#define QMLOSTPLUGIN_H + +#include <QtGui/QStylePlugin> +#include <QtDeclarative/private/qdeclarativedebugserverconnection_p.h> + +QT_BEGIN_NAMESPACE + +class QDeclarativeDebugServer; +class QmlOstPluginPrivate; + +class QmlOstPlugin : public QObject, public QDeclarativeDebugServerConnection +{ + Q_OBJECT + Q_DECLARE_PRIVATE(QmlOstPlugin) + Q_DISABLE_COPY(QmlOstPlugin) + Q_INTERFACES(QDeclarativeDebugServerConnection) + + +public: + QmlOstPlugin(); + ~QmlOstPlugin(); + + void setServer(QDeclarativeDebugServer *server); + void setPort(int port, bool bock); + + bool isConnected() const; + void send(const QByteArray &message); + void disconnect(); + +private Q_SLOTS: + void readyRead(); + +private: + QmlOstPluginPrivate *d_ptr; +}; + +QT_END_NAMESPACE + +#endif // QMLOSTPLUGIN_H diff --git a/src/plugins/qmltooling/qmldbg_ost/qostdevice.cpp b/src/plugins/qmltooling/qmldbg_ost/qostdevice.cpp new file mode 100644 index 0000000..21b0169 --- /dev/null +++ b/src/plugins/qmltooling/qmldbg_ost/qostdevice.cpp @@ -0,0 +1,180 @@ +/**************************************************************************** +** +** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the QtDeclarative module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#include "qostdevice.h" +#include <e32base.h> + +#include "usbostcomm.h" + +class QOstDevicePrivate : public CActive +{ + QOstDevice* q_ptr; + Q_DECLARE_PUBLIC(QOstDevice) + +public: + QOstDevicePrivate() : CActive(CActive::EPriorityStandard) { + CActiveScheduler::Add(this); + } + ~QOstDevicePrivate() { + Cancel(); + } + +private: + void RunL(); + void DoCancel(); + +private: + RUsbOstComm ost; + TBuf8<4096> readBuf; + QByteArray dataBuf; +}; + +QOstDevice::QOstDevice(QObject *parent) : + QIODevice(parent), d_ptr(new QOstDevicePrivate) +{ + d_ptr->q_ptr = this; +} + +QOstDevice::~QOstDevice() +{ + close(); + delete d_ptr; +} + +bool QOstDevice::open(int ostProtocolId) +{ + if (isOpen()) + return false; + + Q_D(QOstDevice); + TInt err = d->ost.Connect(); + if (!err) err = d->ost.Open(); + const TVersion KRequiredVersion(1,1,0); + TVersion version = d->ost.Version(); + if (version.iMajor < KRequiredVersion.iMajor || + (version.iMajor == KRequiredVersion.iMajor && version.iMinor < KRequiredVersion.iMinor)) { + setErrorString("CODA version too old. At least version 4.0.18 (without TRK) is required."); + return false; + } + + if (!err) err = d->ost.RegisterProtocolID((TOstProtIds)ostProtocolId, EFalse); + if (!err) { + d->ost.ReadMessage(d->iStatus, d->readBuf); + d->SetActive(); + return QIODevice::open(ReadWrite | Unbuffered); + } + return false; +} + +void QOstDevicePrivate::RunL() +{ + Q_Q(QOstDevice); + //qDebug("QOstDevice received %d bytes q=%x", readBuf.Size(), q); + if (iStatus == KErrNone) { + QByteArray data = QByteArray::fromRawData((const char*)readBuf.Ptr(), readBuf.Size()); + dataBuf.append(data); + + readBuf.Zero(); + ost.ReadMessage(iStatus, readBuf); + SetActive(); + + emit q->readyRead(); + } else { + q->setErrorString(QString("Error %1 from RUsbOstComm::ReadMessage()").arg(iStatus.Int())); + } + //qDebug("-QOstDevicePrivate RunL"); +} + +void QOstDevicePrivate::DoCancel() +{ + ost.ReadCancel(); +} + +void QOstDevice::close() +{ + Q_D(QOstDevice); + QIODevice::close(); + d->Cancel(); + // RDbgTrcComm::Close isn't safe to call when not open, sigh + if (d->ost.Handle()) { + d->ost.Close(); + } +} + +qint64 QOstDevice::readData(char *data, qint64 maxSize) +{ + Q_D(QOstDevice); + if (d->dataBuf.length() == 0 && !d->IsActive()) + return -1; + qint64 available = qMin(maxSize, (qint64)d->dataBuf.length()); + memcpy(data, d->dataBuf.constData(), available); + d->dataBuf.remove(0, available); + return available; +} + +static const TInt KMaxOstPacketLen = 4096; + +qint64 QOstDevice::writeData(const char *data, qint64 maxSize) +{ + Q_D(QOstDevice); + TPtrC8 ptr((const TUint8*)data, (TInt)maxSize); + while (ptr.Length()) { + TPtrC8 fragment = ptr.Left(qMin(ptr.Length(), KMaxOstPacketLen)); + //qDebug("QOstDevice writing %d bytes", fragment.Length()); + TRequestStatus stat; + d->ost.WriteMessage(stat, fragment); + User::WaitForRequest(stat); + if (stat.Int() != KErrNone) { + setErrorString(QString("Error %1 from RUsbOstComm::WriteMessage()").arg(stat.Int())); + return -1; + } + ptr.Set(ptr.Mid(fragment.Length())); + } + emit bytesWritten(maxSize); //TODO does it matter this is emitted synchronously? + //qDebug("QOstDevice wrote %d bytes", ptr.Size()); + return maxSize; +} + +qint64 QOstDevice::bytesAvailable() const +{ + Q_D(const QOstDevice); + return d->dataBuf.length(); +} diff --git a/src/plugins/qmltooling/qmldbg_ost/qostdevice.h b/src/plugins/qmltooling/qmldbg_ost/qostdevice.h new file mode 100644 index 0000000..2c26ff7 --- /dev/null +++ b/src/plugins/qmltooling/qmldbg_ost/qostdevice.h @@ -0,0 +1,75 @@ +/**************************************************************************** +** +** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the QtDeclarative module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#ifndef QOSTDEVICE_H +#define QOSTDEVICE_H + +#include <QtCore/QIODevice> + +QT_BEGIN_NAMESPACE + +class QOstDevicePrivate; + +class QOstDevice : public QIODevice +{ + Q_OBJECT + Q_DECLARE_PRIVATE(QOstDevice) + Q_DISABLE_COPY(QOstDevice) + +public: + explicit QOstDevice(QObject *parent=0); + ~QOstDevice(); + + bool open(int ostProtocolId); + void close(); + +protected: + qint64 readData(char *data, qint64 maxSize); + qint64 writeData(const char *data, qint64 maxSize); + qint64 bytesAvailable() const; + +private: + QOstDevicePrivate* d_ptr; +}; + +QT_END_NAMESPACE + +#endif // QOSTDEVICE_H diff --git a/src/plugins/qmltooling/qmldbg_ost/usbostcomm.h b/src/plugins/qmltooling/qmldbg_ost/usbostcomm.h new file mode 100644 index 0000000..48ff7bf --- /dev/null +++ b/src/plugins/qmltooling/qmldbg_ost/usbostcomm.h @@ -0,0 +1,191 @@ +/**************************************************************************** +** +** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the QtDeclarative module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +#ifndef USBHOSTCOMM_H +#define USBHOSTCOMM_H + +// Based on the official usbostrouter header, modified to remove dependancy on +// the client DLL + +#include <e32base.h> + +typedef int TOstProtIds; + +class RUsbOstComm : public RSessionBase +{ +public: + RUsbOstComm(); + TInt Connect(); + TInt Disconnect(); + TInt Open(); + TInt Close(); + TInt RegisterProtocolID(TOstProtIds aId, TBool aNeedHeader); + void ReadMessage(TRequestStatus& aStatus, TDes8& aDes); + TInt ReadCancel(); + void WriteMessage(TRequestStatus& aStatus, const TDesC8& aDes, TBool aHasHeader=EFalse); + TVersion Version() const; + +private: + enum TUsbOstCmdCode + { + EUsbOstCmdCodeFirst, + EUsbOstCmdConnect, + EUsbOstCmdDisconnect, + EUsbOstCmdCodeGetAcmConfig, + EUsbOstCmdCodeSetAcmConfig, + EUsbOstCmdCodeOpen, + EUsbOstCmdCodeClose, + EUsbOstCmdCodeRegisterId, + EUsbOstCmdCodeRegisterIds, + EUsbOstCmdCodeUnRegisterId, + EUsbOstCmdCodeUnRegisterIds, + EUsbOstCmdCodeReadMsg, + EUsbOstCmdCodeReadCancel, + EUsbOstCmdCodeWriteMsg, + EUsbOstCmdCodeWriteCancel, + EUsbOstCmdCodeLast + }; +}; + +RUsbOstComm::RUsbOstComm() +{ +} + +TInt RUsbOstComm::Connect() +{ + _LIT(KUsbOstServerName, "!UsbOstRouter"); + _LIT(KUsbOstServerImageName, "usbostrouter"); + const TUid KUsbOstServerUid = { 0x200170BE }; + TInt startupAttempts = 2; + for(;;) { + TInt ret = CreateSession(KUsbOstServerName, TVersion(1,0,0)); + if (ret != KErrNotFound && ret != KErrServerTerminated) { + return ret; + } + + if (startupAttempts-- == 0) { + return ret; + } + + RProcess server; + ret = server.Create(KUsbOstServerImageName, KNullDesC, KUsbOstServerUid); + if (ret != KErrNone) + return ret; + + TRequestStatus serverDiedRequestStatus; + server.Rendezvous(serverDiedRequestStatus); + + if (serverDiedRequestStatus != KRequestPending) { + // Abort startup + server.Kill(KErrNone); + } else { + // Logon OK - start the server + server.Resume(); + } + User::WaitForRequest(serverDiedRequestStatus); + ret = (server.ExitType() == EExitPanic) ? KErrGeneral : serverDiedRequestStatus.Int(); + server.Close(); + + if (ret != KErrNone && ret != KErrAlreadyExists) { + return ret; + } + } +} + +TInt RUsbOstComm::Disconnect() +{ + return SendReceive(EUsbOstCmdDisconnect); +} + +TInt RUsbOstComm::Open() +{ + return SendReceive(EUsbOstCmdCodeOpen); +} + +TInt RUsbOstComm::Close() +{ + TInt err = SendReceive(EUsbOstCmdCodeClose); + RHandleBase::Close(); + return err; +} + +TInt RUsbOstComm::RegisterProtocolID(const TOstProtIds aId, TBool aNeedHeader) +{ + TIpcArgs args(aId, aNeedHeader); + return SendReceive(EUsbOstCmdCodeRegisterId, args); +} + +void RUsbOstComm::ReadMessage(TRequestStatus& aStatus, TDes8& aDes) +{ + TIpcArgs args(aDes.MaxLength(), &aDes); + SendReceive(EUsbOstCmdCodeReadMsg, args, aStatus); +} + +TInt RUsbOstComm::ReadCancel() +{ + return SendReceive(EUsbOstCmdCodeReadCancel); +} + +void RUsbOstComm::WriteMessage(TRequestStatus& aStatus, const TDesC8& aDes, TBool aHasHeader) +{ + TIpcArgs args(aHasHeader, aDes.Length(), &aDes); + SendReceive(EUsbOstCmdCodeWriteMsg, args, aStatus); +} + +typedef TVersion (*TVersionFunction)(const RUsbOstComm*); +const TInt KVersionOrdinal = 17; + +TVersion RUsbOstComm::Version() const +{ + // This function has to go to the DLL, unfortunately + TVersion result; // Return 0.0.0 on any error + RLibrary lib; + TInt err = lib.Load(_L("usbostcomm")); + if (err) return result; + + TLibraryFunction fn = lib.Lookup(KVersionOrdinal); + if (fn) + result = ((TVersionFunction)fn)(this); + lib.Close(); + return result; +} + +#endif //USBHOSTCOMM_H diff --git a/src/plugins/qmltooling/tcpserver/tcpserver.pro b/src/plugins/qmltooling/qmldbg_tcp/qmldbg_tcp.pro index f4f2666..e8ab962 100644 --- a/src/plugins/qmltooling/tcpserver/tcpserver.pro +++ b/src/plugins/qmltooling/qmldbg_tcp/qmldbg_tcp.pro @@ -1,4 +1,4 @@ -TARGET = tcpserver +TARGET = qmldbg_tcp QT += declarative network include(../../qpluginbase.pri) @@ -15,4 +15,4 @@ HEADERS += \ target.path += $$[QT_INSTALL_PLUGINS]/qmltooling INSTALLS += target -symbian:TARGET.UID3=0x20031E90
\ No newline at end of file +symbian:TARGET.UID3=0x20031E90 diff --git a/src/plugins/qmltooling/tcpserver/qtcpserverconnection.cpp b/src/plugins/qmltooling/qmldbg_tcp/qtcpserverconnection.cpp index e1298e8..85c43e3 100644 --- a/src/plugins/qmltooling/tcpserver/qtcpserverconnection.cpp +++ b/src/plugins/qmltooling/qmldbg_tcp/qtcpserverconnection.cpp @@ -97,7 +97,8 @@ void QTcpServerConnection::send(const QByteArray &message) { Q_D(QTcpServerConnection); - if (!isConnected()) + if (!isConnected() + || !d->protocol || !d->socket) return; QPacket pack; @@ -111,9 +112,10 @@ void QTcpServerConnection::disconnect() { Q_D(QTcpServerConnection); - delete d->protocol; + // protocol might still be processing packages at this point + d->protocol->deleteLater(); d->protocol = 0; - delete d->socket; + d->socket->deleteLater(); d->socket = 0; } @@ -143,6 +145,9 @@ void QTcpServerConnection::listen() void QTcpServerConnection::readyRead() { Q_D(QTcpServerConnection); + if (!d->protocol) + return; + QPacket packet = d->protocol->read(); QByteArray content = packet.data(); diff --git a/src/plugins/qmltooling/tcpserver/qtcpserverconnection.h b/src/plugins/qmltooling/qmldbg_tcp/qtcpserverconnection.h index 66a10e1..66a10e1 100644 --- a/src/plugins/qmltooling/tcpserver/qtcpserverconnection.h +++ b/src/plugins/qmltooling/qmldbg_tcp/qtcpserverconnection.h diff --git a/src/plugins/qmltooling/qmltooling.pro b/src/plugins/qmltooling/qmltooling.pro index 01cf1a9..9b3346f 100644 --- a/src/plugins/qmltooling/qmltooling.pro +++ b/src/plugins/qmltooling/qmltooling.pro @@ -1,4 +1,4 @@ TEMPLATE = subdirs -SUBDIRS = tcpserver - +SUBDIRS = qmldbg_tcp +symbian:SUBDIRS += qmldbg_ost diff --git a/src/qt3support/text/q3richtext.cpp b/src/qt3support/text/q3richtext.cpp index 668a322..6c77405 100644 --- a/src/qt3support/text/q3richtext.cpp +++ b/src/qt3support/text/q3richtext.cpp @@ -63,6 +63,7 @@ #include "qstyleoption.h" #include "q3stylesheet.h" #include "qtextstream.h" +#include <private/qtextdocument_p.h> #include <private/qtextengine_p.h> #include <stdlib.h> diff --git a/src/sql/drivers/mysql/qsql_mysql.cpp b/src/sql/drivers/mysql/qsql_mysql.cpp index 49e7f13..4250b61 100644 --- a/src/sql/drivers/mysql/qsql_mysql.cpp +++ b/src/sql/drivers/mysql/qsql_mysql.cpp @@ -1374,12 +1374,16 @@ QStringList QMYSQLDriver::tables(QSql::TableType type) const } else { QSqlQuery q(createResult()); if(type & QSql::Tables) { - q.exec(QLatin1String("select table_name from information_schema.tables where table_type = 'BASE TABLE'")); + QString sql = QLatin1String("select table_name from information_schema.tables where table_schema = '") + QLatin1String(d->mysql->db) + QLatin1String("' and table_type = 'BASE TABLE'"); + q.exec(sql); + while(q.next()) tl.append(q.value(0).toString()); } if(type & QSql::Views) { - q.exec(QLatin1String("select table_name from information_schema.tables where table_type = 'VIEW'")); + QString sql = QLatin1String("select table_name from information_schema.tables where table_schema = '") + QLatin1String(d->mysql->db) + QLatin1String("' and table_type = 'VIEW'"); + q.exec(sql); + while(q.next()) tl.append(q.value(0).toString()); } diff --git a/src/svg/qsvghandler.cpp b/src/svg/qsvghandler.cpp index 9698860..3fbc08c 100644 --- a/src/svg/qsvghandler.cpp +++ b/src/svg/qsvghandler.cpp @@ -584,7 +584,7 @@ static qreal toDouble(const QChar *&str) ++str; } bool exponent = false; - if (*str == QLatin1Char('e') && pos < maxLen) { + if ((*str == QLatin1Char('e') || *str == QLatin1Char('E')) && pos < maxLen) { exponent = true; temp[pos++] = 'e'; ++str; diff --git a/tests/arthur/common/paintcommands.cpp b/tests/arthur/common/paintcommands.cpp index 7a018e3..9273142 100644 --- a/tests/arthur/common/paintcommands.cpp +++ b/tests/arthur/common/paintcommands.cpp @@ -346,8 +346,12 @@ void PaintCommands::staticInit() "gradient_setLinear 1.0 1.0 2.0 2.0"); DECL_PAINTCOMMAND("gradient_setRadial", command_gradient_setRadial, "^gradient_setRadial\\s+([\\w.]*)\\s+([\\w.]*)\\s+([\\w.]*)\\s?([\\w.]*)\\s?([\\w.]*)$", - "gradient_setRadial <cx> <cy> <rad> <fx> <fy>\n - C is the center\n - rad is the angle in degrees\n - F is the focal point", + "gradient_setRadial <cx> <cy> <rad> <fx> <fy>\n - C is the center\n - rad is the radius\n - F is the focal point", "gradient_setRadial 1.0 1.0 45.0 2.0 2.0"); + DECL_PAINTCOMMAND("gradient_setRadialExtended", command_gradient_setRadialExtended, + "^gradient_setRadialExtended\\s+([\\w.]*)\\s+([\\w.]*)\\s+([\\w.]*)\\s?([\\w.]*)\\s?([\\w.]*)\\s?([\\w.]*)$", + "gradient_setRadialExtended <cx> <cy> <rad> <fx> <fy> <frad>\n - C is the center\n - rad is the center radius\n - F is the focal point\n - frad is the focal radius", + "gradient_setRadialExtended 1.0 1.0 45.0 2.0 2.0 45.0"); DECL_PAINTCOMMAND("gradient_setLinearPen", command_gradient_setLinearPen, "^gradient_setLinearPen\\s+([\\w.]*)\\s+([\\w.]*)\\s+([\\w.]*)\\s+([\\w.]*)$", "gradient_setLinearPen <x1> <y1> <x2> <y2>", @@ -2400,7 +2404,7 @@ void PaintCommands::command_gradient_setRadial(QRegExp re) double fy = convertToDouble(caps.at(5)); if (m_verboseMode) - printf(" -(lance) gradient_setRadial center=(%.2f, %.2f), radius=%.2f focal=(%.2f, %.2f), " + printf(" -(lance) gradient_setRadial center=(%.2f, %.2f), radius=%.2f, focal=(%.2f, %.2f), " "spread=%d\n", cx, cy, rad, fx, fy, m_gradientSpread); @@ -2415,6 +2419,32 @@ void PaintCommands::command_gradient_setRadial(QRegExp re) } /***************************************************************************************************/ +void PaintCommands::command_gradient_setRadialExtended(QRegExp re) +{ + QStringList caps = re.capturedTexts(); + double cx = convertToDouble(caps.at(1)); + double cy = convertToDouble(caps.at(2)); + double rad = convertToDouble(caps.at(3)); + double fx = convertToDouble(caps.at(4)); + double fy = convertToDouble(caps.at(5)); + double frad = convertToDouble(caps.at(6)); + + if (m_verboseMode) + printf(" -(lance) gradient_setRadialExtended center=(%.2f, %.2f), radius=%.2f, focal=(%.2f, %.2f), " + "focal radius=%.2f, spread=%d\n", + cx, cy, rad, fx, fy, frad, m_gradientSpread); + + QRadialGradient rg(QPointF(cx, cy), rad, QPointF(fx, fy), frad); + rg.setStops(m_gradientStops); + rg.setSpread(m_gradientSpread); + rg.setCoordinateMode(m_gradientCoordinate); + QBrush brush(rg); + QTransform brush_matrix = m_painter->brush().transform(); + brush.setTransform(brush_matrix); + m_painter->setBrush(brush); +} + +/***************************************************************************************************/ void PaintCommands::command_gradient_setConical(QRegExp re) { QStringList caps = re.capturedTexts(); diff --git a/tests/arthur/common/paintcommands.h b/tests/arthur/common/paintcommands.h index 2740412..08c0e25 100644 --- a/tests/arthur/common/paintcommands.h +++ b/tests/arthur/common/paintcommands.h @@ -179,6 +179,7 @@ private: void command_gradient_setConical(QRegExp re); void command_gradient_setLinear(QRegExp re); void command_gradient_setRadial(QRegExp re); + void command_gradient_setRadialExtended(QRegExp re); void command_gradient_setLinearPen(QRegExp re); void command_gradient_setSpread(QRegExp re); void command_gradient_setCoordinateMode(QRegExp re); diff --git a/tests/arthur/data/qps/radial_gradients_extended.qps b/tests/arthur/data/qps/radial_gradients_extended.qps new file mode 100644 index 0000000..d80a149 --- /dev/null +++ b/tests/arthur/data/qps/radial_gradients_extended.qps @@ -0,0 +1,95 @@ +path_addRect path 400 0 80 80 +path_addEllipse path 440 40 60 60 + +setRenderHint Antialiasing + +setPen black + +begin_block gradients +gradient_clearStops +gradient_appendStop 0 red +gradient_appendStop 0.25 orange +gradient_appendStop 0.5 yellow +gradient_appendStop 0.8 green +gradient_appendStop 1 cyan + +gradient_setSpread PadSpread +gradient_setRadialExtended 0 0 20 40 40 10 +drawRect 0 0 100 100 + +gradient_setSpread ReflectSpread +gradient_setRadialExtended 120 20 20 140 40 10 +drawEllipse 100 0 100 100 + +gradient_setSpread RepeatSpread +gradient_setRadialExtended 240 20 20 260 40 10 +drawRoundRect 200 0 100 100 + +gradient_clearStops +gradient_appendStop 0 3f7f7fff +gradient_appendStop 0.5 dfdfffff +gradient_appendStop 1 7f00007f + +gradient_setSpread PadSpread +gradient_setRadialExtended 320 20 20 340 40 10 +drawPolygon [300 0 390 0 350 99] + +gradient_setSpread ReflectSpread +gradient_setRadialExtended 420 20 20 440 40 10 +drawPath path + +gradient_setSpread RepeatSpread +gradient_setRadialExtended 520 20 20 540 40 10 +drawPie 500 0 100 100 720 4320 +end_block + +translate 0 100 +scale 1 2 +repeat_block gradients + +resetMatrix +translate 0 300 +brushTranslate 30 0 +brushScale 0.9 0.9 +repeat_block gradients + +# Some helpful info perhaps? +resetMatrix +setPen black + +drawText 610 50 "No XForm" +drawText 610 200 "scale 1x2" +drawText 610 300 "brush transform" +drawText 10 450 "Pad" +drawText 110 450 "Reflect" +drawText 210 450 "Repeat" +drawText 310 450 "Pad w/alpha" +drawText 410 450 "Reflect w/alpha" +drawText 510 450 "Repeat w/alpha" + +# Radius and focal indicators +setPen 3f000000 +setBrush nobrush + +begin_block ellipse_draw +setClipRect 0 0 100 100 +drawEllipse -30 -30 100 100 +drawEllipse 35 35 11 11 +translate 100 0 +end_block + +repeat_block ellipse_draw +repeat_block ellipse_draw +repeat_block ellipse_draw +repeat_block ellipse_draw +repeat_block ellipse_draw + +resetMatrix +translate 0 100 +scale 1 2 +repeat_block ellipse_draw +repeat_block ellipse_draw +repeat_block ellipse_draw +repeat_block ellipse_draw +repeat_block ellipse_draw +repeat_block ellipse_draw diff --git a/tests/arthur/data/qps/radial_gradients_extended_qps.png b/tests/arthur/data/qps/radial_gradients_extended_qps.png Binary files differnew file mode 100644 index 0000000..45a3e60 --- /dev/null +++ b/tests/arthur/data/qps/radial_gradients_extended_qps.png diff --git a/tests/auto/declarative/qdeclarativeanimations/data/attached.qml b/tests/auto/declarative/qdeclarativeanimations/data/attached.qml index 5da4a69..c5d5535 100644 --- a/tests/auto/declarative/qdeclarativeanimations/data/attached.qml +++ b/tests/auto/declarative/qdeclarativeanimations/data/attached.qml @@ -17,7 +17,7 @@ Rectangle { transitions: Transition { PropertyAction { target: wrapper; property: "ListView.delayRemove"; value: true } - ScriptAction { script: console.log(ListView.delayRemove ? "on" : "off") } + ScriptAction { script: console.log(wrapper.ListView.delayRemove ? "on" : "off") } } Component.onCompleted: { diff --git a/tests/auto/declarative/qdeclarativebehaviors/data/delayedRegistration.qml b/tests/auto/declarative/qdeclarativebehaviors/data/delayedRegistration.qml new file mode 100644 index 0000000..aa384c3 --- /dev/null +++ b/tests/auto/declarative/qdeclarativebehaviors/data/delayedRegistration.qml @@ -0,0 +1,25 @@ +import QtQuick 1.0 + +Rectangle { + id: container + + width: 400; height: 400; + property Item myItem + + function doCreate() { + myItem = myComponent.createObject(container) + myItem.x = 100 + } + + Component { + id: myComponent + Rectangle { + width: 100 + height: 100 + color: "green" + Behavior on x { NumberAnimation { duration: 500 } } + } + } + + Component.onCompleted: doCreate() +} diff --git a/tests/auto/declarative/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp b/tests/auto/declarative/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp index 80ba907..4536d9e 100644 --- a/tests/auto/declarative/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp +++ b/tests/auto/declarative/qdeclarativebehaviors/tst_qdeclarativebehaviors.cpp @@ -81,6 +81,7 @@ private slots: void groupedPropertyCrash(); void runningTrue(); void sameValue(); + void delayedRegistration(); }; void tst_qdeclarativebehaviors::simpleBehavior() @@ -412,6 +413,23 @@ void tst_qdeclarativebehaviors::sameValue() QTRY_VERIFY(target->x() != qreal(0) && target->x() != qreal(100)); } +//QTBUG-18362 +void tst_qdeclarativebehaviors::delayedRegistration() +{ + QDeclarativeEngine engine; + + QDeclarativeComponent c(&engine, SRCDIR "/data/delayedRegistration.qml"); + QDeclarativeRectangle *rect = qobject_cast<QDeclarativeRectangle*>(c.create()); + QVERIFY(rect != 0); + + QDeclarativeItem *innerRect = rect->property("myItem").value<QDeclarativeItem*>(); + QVERIFY(innerRect != 0); + + QCOMPARE(innerRect->property("x").toInt(), int(0)); + + QTRY_COMPARE(innerRect->property("x").toInt(), int(100)); +} + QTEST_MAIN(tst_qdeclarativebehaviors) #include "tst_qdeclarativebehaviors.moc" diff --git a/tests/auto/declarative/qdeclarativedebug/tst_qdeclarativedebug.cpp b/tests/auto/declarative/qdeclarativedebug/tst_qdeclarativedebug.cpp index 6bcb4eb..de4ddcc 100644 --- a/tests/auto/declarative/qdeclarativedebug/tst_qdeclarativedebug.cpp +++ b/tests/auto/declarative/qdeclarativedebug/tst_qdeclarativedebug.cpp @@ -66,7 +66,6 @@ Q_DECLARE_METATYPE(QDeclarativeDebugWatch::State) - class tst_QDeclarativeDebug : public QObject { Q_OBJECT @@ -119,6 +118,18 @@ private slots: void setBindingInStates(); }; +class NonScriptProperty : public QObject { + Q_OBJECT + Q_PROPERTY(int nonScriptProp READ nonScriptProp WRITE setNonScriptProp NOTIFY nonScriptPropChanged SCRIPTABLE false) +public: + int nonScriptProp() const { return 0; } + void setNonScriptProp(int) {} +signals: + void nonScriptPropChanged(); +}; +QML_DECLARE_TYPE(NonScriptProperty) + + QDeclarativeDebugObjectReference tst_QDeclarativeDebug::findRootObject(int context, bool recursive) { QDeclarativeDebugEnginesQuery *q_engines = m_dbg->queryAvailableEngines(this); @@ -283,6 +294,7 @@ void tst_QDeclarativeDebug::compareProperties(const QDeclarativeDebugPropertyRef void tst_QDeclarativeDebug::initTestCase() { qRegisterMetaType<QDeclarativeDebugWatch::State>(); + qmlRegisterType<NonScriptProperty>("Test", 1, 0, "NonScriptPropertyElement"); QTest::ignoreMessage(QtWarningMsg, "Qml debugging is enabled. Only use this in a safe environment!"); QDeclarativeDebugHelper::enableDebugging(); @@ -292,7 +304,8 @@ void tst_QDeclarativeDebug::initTestCase() QList<QByteArray> qml; qml << "import QtQuick 1.0\n" - "Item {" + "import Test 1.0\n" + "Item {" "id: root\n" "width: 10; height: 20; scale: blueRect.scale;" "Rectangle { id: blueRect; width: 500; height: 600; color: \"blue\"; }" @@ -308,6 +321,8 @@ void tst_QDeclarativeDebug::initTestCase() "list[0] = blueRect;\n" "varObjList = list;\n" "}\n" + "NonScriptPropertyElement {\n" + "}\n" "}"; // add second component to test multiple root contexts @@ -726,7 +741,7 @@ void tst_QDeclarativeDebug::queryObject() // check source as defined in main() QDeclarativeDebugFileReference source = obj.source(); QCOMPARE(source.url(), QUrl::fromLocalFile("")); - QCOMPARE(source.lineNumber(), 2); + QCOMPARE(source.lineNumber(), 3); QCOMPARE(source.columnNumber(), 1); // generically test all properties, children and childrens' properties diff --git a/tests/auto/declarative/qdeclarativeecmascript/data/attachedProperty.2.qml b/tests/auto/declarative/qdeclarativeecmascript/data/attachedProperty.2.qml new file mode 100644 index 0000000..a7184c9 --- /dev/null +++ b/tests/auto/declarative/qdeclarativeecmascript/data/attachedProperty.2.qml @@ -0,0 +1,22 @@ +import Qt.test 1.0 +import Qt.test 1.0 as Namespace + +MyQmlObject { + property alias a: me.a + property alias b: me.a + property alias c: me.a + property alias d: me.a + + property MyQmlObject obj + obj: MyQmlObject { + MyQmlObject.value2: 13 + + id: me + property int a: MyQmlObject.value2 * 2 + property int b: Namespace.MyQmlObject.value2 * 2 + property int c: me.Namespace.MyQmlObject.value * 2 + property int d: me.Namespace.MyQmlObject.value * 2 + } +} + + diff --git a/tests/auto/declarative/qdeclarativeecmascript/testtypes.h b/tests/auto/declarative/qdeclarativeecmascript/testtypes.h index 94cec3f..ad38d27 100644 --- a/tests/auto/declarative/qdeclarativeecmascript/testtypes.h +++ b/tests/auto/declarative/qdeclarativeecmascript/testtypes.h @@ -60,17 +60,18 @@ class MyQmlAttachedObject : public QObject { Q_OBJECT Q_PROPERTY(int value READ value CONSTANT) - Q_PROPERTY(int value2 READ value2 WRITE setValue2) + Q_PROPERTY(int value2 READ value2 WRITE setValue2 NOTIFY value2Changed) public: MyQmlAttachedObject(QObject *parent) : QObject(parent), m_value2(0) {} int value() const { return 19; } int value2() const { return m_value2; } - void setValue2(int v) { m_value2 = v; } + void setValue2(int v) { if (m_value2 == v) return; m_value2 = v; emit value2Changed(); } void emitMySignal() { emit mySignal(); } signals: + void value2Changed(); void mySignal(); private: diff --git a/tests/auto/declarative/qdeclarativeecmascript/tst_qdeclarativeecmascript.cpp b/tests/auto/declarative/qdeclarativeecmascript/tst_qdeclarativeecmascript.cpp index 7876671..1ec12fe 100644 --- a/tests/auto/declarative/qdeclarativeecmascript/tst_qdeclarativeecmascript.cpp +++ b/tests/auto/declarative/qdeclarativeecmascript/tst_qdeclarativeecmascript.cpp @@ -650,6 +650,16 @@ void tst_qdeclarativeecmascript::attachedProperties() } { + QDeclarativeComponent component(&engine, TEST_FILE("attachedProperty.2.qml")); + QObject *object = component.create(); + QVERIFY(object != 0); + QCOMPARE(object->property("a").toInt(), 26); + QCOMPARE(object->property("b").toInt(), 26); + QCOMPARE(object->property("c").toInt(), 26); + QCOMPARE(object->property("d").toInt(), 26); + } + + { QDeclarativeComponent component(&engine, TEST_FILE("writeAttachedProperty.qml")); QObject *object = component.create(); QVERIFY(object != 0); diff --git a/tests/auto/declarative/qdeclarativegridview/tst_qdeclarativegridview.cpp b/tests/auto/declarative/qdeclarativegridview/tst_qdeclarativegridview.cpp index c183934..c8e7817 100644 --- a/tests/auto/declarative/qdeclarativegridview/tst_qdeclarativegridview.cpp +++ b/tests/auto/declarative/qdeclarativegridview/tst_qdeclarativegridview.cpp @@ -97,6 +97,7 @@ private slots: void onRemove_data(); void testQtQuick11Attributes(); void testQtQuick11Attributes_data(); + void contentPosJump(); private: QDeclarativeView *createView(); @@ -2077,6 +2078,56 @@ void tst_QDeclarativeGridView::testQtQuick11Attributes_data() << ""; } +void tst_QDeclarativeGridView::contentPosJump() +{ + QDeclarativeView *canvas = createView(); + + TestModel model; + for (int i = 0; i < 100; i++) + model.addItem("Item" + QString::number(i), ""); + + QDeclarativeContext *ctxt = canvas->rootContext(); + ctxt->setContextProperty("testModel", &model); + ctxt->setContextProperty("testRightToLeft", QVariant(false)); + ctxt->setContextProperty("testTopToBottom", QVariant(false)); + + canvas->setSource(QUrl::fromLocalFile(SRCDIR "/data/gridview1.qml")); + qApp->processEvents(); + + QDeclarativeGridView *gridview = findItem<QDeclarativeGridView>(canvas->rootObject(), "grid"); + QVERIFY(gridview != 0); + + QDeclarativeItem *contentItem = gridview->contentItem(); + QVERIFY(contentItem != 0); + + // Test jumping more than a page of items. + gridview->setContentY(500); + + // Confirm items positioned correctly + int itemCount = findItems<QDeclarativeItem>(contentItem, "wrapper").count(); + for (int i = 24; i < model.count() && i < itemCount; ++i) { + QDeclarativeItem *item = findItem<QDeclarativeItem>(contentItem, "wrapper", i); + if (!item) qWarning() << "Item" << i << "not found"; + QVERIFY(item); + QVERIFY(item->x() == (i%3)*80); + QVERIFY(item->y() == (i/3)*60); + } + + gridview->setContentY(-100); + itemCount = findItems<QDeclarativeItem>(contentItem, "wrapper").count(); + QVERIFY(itemCount < 15); + // Confirm items positioned correctly + for (int i = 0; i < model.count() && i < itemCount; ++i) { + QDeclarativeItem *item = findItem<QDeclarativeItem>(contentItem, "wrapper", i); + if (!item) qWarning() << "Item" << i << "not found"; + QVERIFY(item); + QVERIFY(item->x() == (i%3)*80); + QVERIFY(item->y() == (i/3)*60); + } + + delete canvas; +} + QDeclarativeView *tst_QDeclarativeGridView::createView() { QDeclarativeView *canvas = new QDeclarativeView(0); diff --git a/tests/auto/declarative/qdeclarativelistview/data/orientchange.qml b/tests/auto/declarative/qdeclarativelistview/data/orientchange.qml new file mode 100644 index 0000000..c7aa0cd --- /dev/null +++ b/tests/auto/declarative/qdeclarativelistview/data/orientchange.qml @@ -0,0 +1,7 @@ +import QtQuick 1.0 + +ListView { + width: 240; height: 320 + delegate: Rectangle { objectName: "wrapper"; width: 80; height: 80 } + model: 100 +} diff --git a/tests/auto/declarative/qdeclarativelistview/tst_qdeclarativelistview.cpp b/tests/auto/declarative/qdeclarativelistview/tst_qdeclarativelistview.cpp index 2267a89..0c96587 100644 --- a/tests/auto/declarative/qdeclarativelistview/tst_qdeclarativelistview.cpp +++ b/tests/auto/declarative/qdeclarativelistview/tst_qdeclarativelistview.cpp @@ -119,6 +119,8 @@ private slots: void testQtQuick11Attributes_data(); void rightToLeft(); void test_mirroring(); + void orientationChange(); + void contentPosJump(); private: template <class T> void items(); @@ -2583,6 +2585,107 @@ void tst_QDeclarativeListView::test_mirroring() delete canvasB; } +void tst_QDeclarativeListView::orientationChange() +{ + QDeclarativeView *canvas = createView(); + + canvas->setSource(QUrl::fromLocalFile(SRCDIR "/data/orientchange.qml")); + qApp->processEvents(); + + QDeclarativeListView *listview = qobject_cast<QDeclarativeListView*>(canvas->rootObject()); + QVERIFY(listview != 0); + + QDeclarativeItem *contentItem = listview->contentItem(); + QVERIFY(contentItem != 0); + + listview->positionViewAtIndex(50, QDeclarativeListView::Beginning); + + // Confirm items positioned correctly + for (int i = 50; i < 54; ++i) { + QDeclarativeItem *item = findItem<QDeclarativeItem>(contentItem, "wrapper", i); + QVERIFY(item); + QCOMPARE(item->y(), i*80.0); + } + + listview->setOrientation(QDeclarativeListView::Horizontal); + QCOMPARE(listview->contentY(), 0.); + + // Confirm items positioned correctly + for (int i = 0; i < 3; ++i) { + QDeclarativeItem *item = findItem<QDeclarativeItem>(contentItem, "wrapper", i); + QVERIFY(item); + QCOMPARE(item->x(), i*80.0); + } + + listview->positionViewAtIndex(50, QDeclarativeListView::Beginning); + listview->setOrientation(QDeclarativeListView::Vertical); + QCOMPARE(listview->contentX(), 0.); + // + // Confirm items positioned correctly + for (int i = 0; i < 4; ++i) { + QDeclarativeItem *item = findItem<QDeclarativeItem>(contentItem, "wrapper", i); + QVERIFY(item); + QCOMPARE(item->y(), i*80.0); + } + + delete canvas; +} + +void tst_QDeclarativeListView::contentPosJump() +{ + QDeclarativeView *canvas = createView(); + + TestModel model; + for (int i = 0; i < 50; i++) + model.addItem("Item" + QString::number(i), ""); + + QDeclarativeContext *ctxt = canvas->rootContext(); + ctxt->setContextProperty("testModel", &model); + + TestObject *testObject = new TestObject; + ctxt->setContextProperty("testObject", testObject); + + canvas->setSource(QUrl::fromLocalFile(SRCDIR "/data/listviewtest.qml")); + qApp->processEvents(); + + QDeclarativeListView *listview = findItem<QDeclarativeListView>(canvas->rootObject(), "list"); + QTRY_VERIFY(listview != 0); + + QDeclarativeItem *contentItem = listview->contentItem(); + QTRY_VERIFY(contentItem != 0); + + // Confirm items positioned correctly + int itemCount = findItems<QDeclarativeItem>(contentItem, "wrapper").count(); + for (int i = 0; i < model.count() && i < itemCount; ++i) { + QDeclarativeItem *item = findItem<QDeclarativeItem>(contentItem, "wrapper", i); + if (!item) qWarning() << "Item" << i << "not found"; + QTRY_VERIFY(item); + QTRY_VERIFY(item->y() == i*20); + } + + // Test jumping more than a page of items. + listview->setContentY(500); + itemCount = findItems<QDeclarativeItem>(contentItem, "wrapper").count(); + for (int i = 25; i < model.count() && i < itemCount; ++i) { + QDeclarativeItem *item = findItem<QDeclarativeItem>(contentItem, "wrapper", i); + if (!item) qWarning() << "Item" << i << "not found"; + QTRY_VERIFY(item); + QTRY_VERIFY(item->y() == i*20); + } + + listview->setContentY(-100); + itemCount = findItems<QDeclarativeItem>(contentItem, "wrapper").count(); + QVERIFY(itemCount < 20); + for (int i = 0; i < model.count() && i < itemCount; ++i) { + QDeclarativeItem *item = findItem<QDeclarativeItem>(contentItem, "wrapper", i); + if (!item) qWarning() << "Item" << i << "not found"; + QTRY_VERIFY(item); + QTRY_VERIFY(item->y() == i*20); + } + + delete canvas; +} + void tst_QDeclarativeListView::qListModelInterface_items() { items<TestModel>(); diff --git a/tests/auto/declarative/qdeclarativepathview/tst_qdeclarativepathview.cpp b/tests/auto/declarative/qdeclarativepathview/tst_qdeclarativepathview.cpp index 8000137..46c3519 100644 --- a/tests/auto/declarative/qdeclarativepathview/tst_qdeclarativepathview.cpp +++ b/tests/auto/declarative/qdeclarativepathview/tst_qdeclarativepathview.cpp @@ -458,6 +458,16 @@ void tst_QDeclarativePathView::dataModel() model.removeItem(model.count()-1); QCOMPARE(pathview->currentIndex(), model.count()-1); + // QTBUG-18825 + // Confirm that the target offset is adjusted when removing items + pathview->setCurrentIndex(model.count()-1); + QTRY_COMPARE(pathview->offset(), 1.); + pathview->setCurrentIndex(model.count()-5); + model.removeItem(model.count()-1); + model.removeItem(model.count()-1); + model.removeItem(model.count()-1); + QTRY_COMPARE(pathview->offset(), 2.); + delete canvas; } diff --git a/tests/auto/declarative/qdeclarativetext/data/elideimplicitwidth.qml b/tests/auto/declarative/qdeclarativetext/data/elideimplicitwidth.qml new file mode 100644 index 0000000..60ae15c --- /dev/null +++ b/tests/auto/declarative/qdeclarativetext/data/elideimplicitwidth.qml @@ -0,0 +1,7 @@ +import QtQuick 1.1 + +Text { + text: "Hello World" + elide: Text.ElideRight + width: 30 +} diff --git a/tests/auto/declarative/qdeclarativetext/tst_qdeclarativetext.cpp b/tests/auto/declarative/qdeclarativetext/tst_qdeclarativetext.cpp index 3d6641b..557603f 100644 --- a/tests/auto/declarative/qdeclarativetext/tst_qdeclarativetext.cpp +++ b/tests/auto/declarative/qdeclarativetext/tst_qdeclarativetext.cpp @@ -390,6 +390,13 @@ void tst_qdeclarativetext::elide() QCOMPARE(textObject->width(), 100.); } } + + // QTBUG-18627 + QUrl qmlfile = QUrl::fromLocalFile(SRCDIR "/data/elideimplicitwidth.qml"); + QDeclarativeComponent textComponent(&engine, qmlfile); + QDeclarativeItem *item = qobject_cast<QDeclarativeItem*>(textComponent.create()); + QVERIFY(item != 0); + QVERIFY(item->implicitWidth() > item->width()); } void tst_qdeclarativetext::textFormat() diff --git a/tests/auto/declarative/qdeclarativetextedit/data/cursorTest.qml b/tests/auto/declarative/qdeclarativetextedit/data/cursorTest.qml index c7c21fc..f7fb3e7 100644 --- a/tests/auto/declarative/qdeclarativetextedit/data/cursorTest.qml +++ b/tests/auto/declarative/qdeclarativetextedit/data/cursorTest.qml @@ -2,6 +2,7 @@ import QtQuick 1.0 Rectangle { width: 300; height: 300; color: "white" TextEdit { text: "Hello world!"; id: textEditObject; objectName: "textEditObject" + anchors.fill: parent resources: [ Component { id:cursor; Item { id:cursorInstance; objectName: "cursorInstance" } } ] cursorDelegate: cursor } diff --git a/tests/auto/declarative/qdeclarativetextedit/data/mouseselection_false_readonly.qml b/tests/auto/declarative/qdeclarativetextedit/data/mouseselection_false_readonly.qml new file mode 100644 index 0000000..4aea611 --- /dev/null +++ b/tests/auto/declarative/qdeclarativetextedit/data/mouseselection_false_readonly.qml @@ -0,0 +1,8 @@ +import QtQuick 1.0 + +TextEdit { + focus: true + text: "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" + selectByMouse: false + readOnly: true +} diff --git a/tests/auto/declarative/qdeclarativetextedit/data/mouseselection_true_readonly.qml b/tests/auto/declarative/qdeclarativetextedit/data/mouseselection_true_readonly.qml new file mode 100644 index 0000000..959e683 --- /dev/null +++ b/tests/auto/declarative/qdeclarativetextedit/data/mouseselection_true_readonly.qml @@ -0,0 +1,8 @@ +import QtQuick 1.0 + +TextEdit { + focus: true + text: "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" + selectByMouse: true + readOnly: true +} diff --git a/tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp b/tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp index 8f1be6f..2fad88d 100644 --- a/tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp +++ b/tests/auto/declarative/qdeclarativetextedit/tst_qdeclarativetextedit.cpp @@ -119,6 +119,10 @@ private slots: void moveCursorSelectionSequence(); void mouseSelection_data(); void mouseSelection(); + void deferEnableSelectByMouse_data(); + void deferEnableSelectByMouse(); + void deferDisableSelectByMouse_data(); + void deferDisableSelectByMouse(); void mouseSelectionMode_data(); void mouseSelectionMode(); void dragMouseSelection(); @@ -788,6 +792,14 @@ void tst_qdeclarativetextedit::selection() QCOMPARE(textEditObject->selectionEnd(), i); QVERIFY(textEditObject->selectedText().isNull()); } + //Test cursor follows selection + for(int i=0; i<= testStr.size(); i++) { + textEditObject->select(i,i); + QCOMPARE(textEditObject->cursorPosition(), i); + QCOMPARE(textEditObject->selectionStart(), i); + QCOMPARE(textEditObject->selectionEnd(), i); + } + textEditObject->setCursorPosition(0); QVERIFY(textEditObject->cursorPosition() == 0); @@ -812,10 +824,12 @@ void tst_qdeclarativetextedit::selection() for(int i=0; i<= testStr.size(); i++) { textEditObject->select(0,i); QCOMPARE(testStr.mid(0,i), textEditObject->selectedText()); + QCOMPARE(textEditObject->cursorPosition(), i); } for(int i=0; i<= testStr.size(); i++) { textEditObject->select(i,testStr.size()); QCOMPARE(testStr.mid(i,testStr.size()-i), textEditObject->selectedText()); + QCOMPARE(textEditObject->cursorPosition(), testStr.size()); } textEditObject->setCursorPosition(0); @@ -1350,6 +1364,86 @@ void tst_qdeclarativetextedit::mouseSelection() delete canvas; } +void tst_qdeclarativetextedit::deferEnableSelectByMouse_data() +{ + QTest::addColumn<QString>("qmlfile"); + + QTest::newRow("writable") << SRCDIR "/data/mouseselection_false.qml"; + QTest::newRow("read only") << SRCDIR "/data/mouseselection_false_readonly.qml"; +} + +void tst_qdeclarativetextedit::deferEnableSelectByMouse() +{ + // Verify text isn't selected if selectByMouse is enabled after the mouse button has been pressed. + QFETCH(QString, qmlfile); + + QDeclarativeView *canvas = createView(qmlfile); + + canvas->show(); + QApplication::setActiveWindow(canvas); + QTest::qWaitForWindowShown(canvas); + QTRY_COMPARE(QApplication::activeWindow(), static_cast<QWidget *>(canvas)); + + QVERIFY(canvas->rootObject() != 0); + QDeclarativeTextEdit *textEditObject = qobject_cast<QDeclarativeTextEdit *>(canvas->rootObject()); + QVERIFY(textEditObject != 0); + + // press-and-drag-and-release from x1 to x2 + int x1 = 10; + int x2 = 70; + int y = textEditObject->height()/2; + + QTest::mousePress(canvas->viewport(), Qt::LeftButton, 0, canvas->mapFromScene(QPoint(x1,y))); + textEditObject->setSelectByMouse(true); + //QTest::mouseMove(canvas->viewport(), canvas->mapFromScene(QPoint(x2,y))); // doesn't work + QMouseEvent mv(QEvent::MouseMove, canvas->mapFromScene(QPoint(x2,y)), Qt::LeftButton, Qt::LeftButton,Qt::NoModifier); + QApplication::sendEvent(canvas->viewport(), &mv); + QTest::mouseRelease(canvas->viewport(), Qt::LeftButton, 0, canvas->mapFromScene(QPoint(x2,y))); + QVERIFY(textEditObject->selectedText().isEmpty()); + + delete canvas; +} + +void tst_qdeclarativetextedit::deferDisableSelectByMouse_data() +{ + QTest::addColumn<QString>("qmlfile"); + + QTest::newRow("writable") << SRCDIR "/data/mouseselection_true.qml"; + QTest::newRow("read only") << SRCDIR "/data/mouseselection_true_readonly.qml"; +} + +void tst_qdeclarativetextedit::deferDisableSelectByMouse() +{ + // Verify text isn't selected if selectByMouse is enabled after the mouse button has been pressed. + QFETCH(QString, qmlfile); + + QDeclarativeView *canvas = createView(qmlfile); + + canvas->show(); + QApplication::setActiveWindow(canvas); + QTest::qWaitForWindowShown(canvas); + QTRY_COMPARE(QApplication::activeWindow(), static_cast<QWidget *>(canvas)); + + QVERIFY(canvas->rootObject() != 0); + QDeclarativeTextEdit *textEditObject = qobject_cast<QDeclarativeTextEdit *>(canvas->rootObject()); + QVERIFY(textEditObject != 0); + + // press-and-drag-and-release from x1 to x2 + int x1 = 10; + int x2 = 70; + int y = textEditObject->height()/2; + + QTest::mousePress(canvas->viewport(), Qt::LeftButton, 0, canvas->mapFromScene(QPoint(x1,y))); + textEditObject->setSelectByMouse(false); + //QTest::mouseMove(canvas->viewport(), canvas->mapFromScene(QPoint(x2,y))); // doesn't work + QMouseEvent mv(QEvent::MouseMove, canvas->mapFromScene(QPoint(x2,y)), Qt::LeftButton, Qt::LeftButton,Qt::NoModifier); + QApplication::sendEvent(canvas->viewport(), &mv); + QTest::mouseRelease(canvas->viewport(), Qt::LeftButton, 0, canvas->mapFromScene(QPoint(x2,y))); + QVERIFY(textEditObject->selectedText().length() > 3); + + delete canvas; +} + void tst_qdeclarativetextedit::dragMouseSelection() { QString qmlfile = SRCDIR "/data/mouseselection_true.qml"; @@ -1536,9 +1630,31 @@ void tst_qdeclarativetextedit::cursorDelegate() QCOMPARE(textEditObject->cursorRectangle().x(), qRound(delegateObject->x())); QCOMPARE(textEditObject->cursorRectangle().y(), qRound(delegateObject->y())); } + const QString preedit = "preedit"; + for (int i = 0; i <= preedit.length(); i++) { + QInputMethodEvent event(preedit, QList<QInputMethodEvent::Attribute>() + << QInputMethodEvent::Attribute(QInputMethodEvent::Cursor, i, 1, QVariant())); + QApplication::sendEvent(view, &event); + + QCOMPARE(textEditObject->cursorRectangle().x(), qRound(delegateObject->x())); + QCOMPARE(textEditObject->cursorRectangle().y(), qRound(delegateObject->y())); + } textEditObject->setCursorPosition(0); QCOMPARE(textEditObject->cursorRectangle().x(), qRound(delegateObject->x())); QCOMPARE(textEditObject->cursorRectangle().y(), qRound(delegateObject->y())); + QVERIFY(textEditObject->cursorRectangle().y() >= 0); + QVERIFY(textEditObject->cursorRectangle().y() < textEditObject->cursorRectangle().height()); + textEditObject->setVAlign(QDeclarativeTextEdit::AlignVCenter); + QCOMPARE(textEditObject->cursorRectangle().x(), qRound(delegateObject->x())); + QCOMPARE(textEditObject->cursorRectangle().y(), qRound(delegateObject->y())); + QVERIFY(textEditObject->cursorRectangle().y() > (textEditObject->height() / 2) - textEditObject->cursorRectangle().height()); + QVERIFY(textEditObject->cursorRectangle().y() < (textEditObject->height() / 2) + textEditObject->cursorRectangle().height()); + textEditObject->setVAlign(QDeclarativeTextEdit::AlignBottom); + QCOMPARE(textEditObject->cursorRectangle().x(), qRound(delegateObject->x())); + QCOMPARE(textEditObject->cursorRectangle().y(), qRound(delegateObject->y())); + QVERIFY(textEditObject->cursorRectangle().y() > textEditObject->height() - (textEditObject->cursorRectangle().height() * 2)); + QVERIFY(textEditObject->cursorRectangle().y() < textEditObject->height()); + //Test Delegate gets deleted textEditObject->setCursorDelegate(0); QVERIFY(!textEditObject->findChild<QDeclarativeItem*>("cursorInstance")); @@ -2227,6 +2343,8 @@ void tst_qdeclarativetextedit::preeditMicroFocus() QTest::qWaitForWindowShown(&view); QTRY_COMPARE(QApplication::activeWindow(), static_cast<QWidget *>(&view)); + QSignalSpy cursorRectangleSpy(&edit, SIGNAL(cursorRectangleChanged())); + QRect currentRect; QRect previousRect = edit.inputMethodQuery(Qt::ImMicroFocus).toRect(); @@ -2237,8 +2355,9 @@ void tst_qdeclarativetextedit::preeditMicroFocus() currentRect = edit.inputMethodQuery(Qt::ImMicroFocus).toRect(); QCOMPARE(currentRect, previousRect); #if defined(Q_WS_X11) || defined(Q_WS_QWS) || defined(Q_OS_SYMBIAN) - QCOMPARE(ic.updateReceived, true); + QCOMPARE(ic.updateReceived, false); // The cursor position hasn't changed. #endif + QCOMPARE(cursorRectangleSpy.count(), 0); // Verify that the micro focus rect moves to the left as the cursor position // is incremented. @@ -2250,6 +2369,8 @@ void tst_qdeclarativetextedit::preeditMicroFocus() #if defined(Q_WS_X11) || defined(Q_WS_QWS) || defined(Q_OS_SYMBIAN) QCOMPARE(ic.updateReceived, true); #endif + QVERIFY(cursorRectangleSpy.count() > 0); + cursorRectangleSpy.clear(); previousRect = currentRect; } @@ -2263,6 +2384,7 @@ void tst_qdeclarativetextedit::preeditMicroFocus() #if defined(Q_WS_X11) || defined(Q_WS_QWS) || defined(Q_OS_SYMBIAN) QCOMPARE(ic.updateReceived, true); #endif + QVERIFY(cursorRectangleSpy.count() > 0); } void tst_qdeclarativetextedit::inputContextMouseHandler() diff --git a/tests/auto/declarative/qdeclarativetextinput/data/mouseselection_default.qml b/tests/auto/declarative/qdeclarativetextinput/data/mouseselection_default.qml new file mode 100644 index 0000000..eea83ed --- /dev/null +++ b/tests/auto/declarative/qdeclarativetextinput/data/mouseselection_default.qml @@ -0,0 +1,7 @@ +import QtQuick 1.0 + +TextInput { + focus: true + text: "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" + selectByMouse: false +} diff --git a/tests/auto/declarative/qdeclarativetextinput/data/mouseselection_false.qml b/tests/auto/declarative/qdeclarativetextinput/data/mouseselection_false.qml new file mode 100644 index 0000000..eea83ed --- /dev/null +++ b/tests/auto/declarative/qdeclarativetextinput/data/mouseselection_false.qml @@ -0,0 +1,7 @@ +import QtQuick 1.0 + +TextInput { + focus: true + text: "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" + selectByMouse: false +} diff --git a/tests/auto/declarative/qdeclarativetextinput/data/mouseselection_false_readonly.qml b/tests/auto/declarative/qdeclarativetextinput/data/mouseselection_false_readonly.qml new file mode 100644 index 0000000..36a9563 --- /dev/null +++ b/tests/auto/declarative/qdeclarativetextinput/data/mouseselection_false_readonly.qml @@ -0,0 +1,8 @@ +import QtQuick 1.0 + +TextInput { + focus: true + text: "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" + selectByMouse: false + readOnly: true +} diff --git a/tests/auto/declarative/qdeclarativetextinput/data/mouseselection_false_words.qml b/tests/auto/declarative/qdeclarativetextinput/data/mouseselection_false_words.qml new file mode 100644 index 0000000..eea83ed --- /dev/null +++ b/tests/auto/declarative/qdeclarativetextinput/data/mouseselection_false_words.qml @@ -0,0 +1,7 @@ +import QtQuick 1.0 + +TextInput { + focus: true + text: "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" + selectByMouse: false +} diff --git a/tests/auto/declarative/qdeclarativetextinput/data/mouseselection_true_readonly.qml b/tests/auto/declarative/qdeclarativetextinput/data/mouseselection_true_readonly.qml new file mode 100644 index 0000000..678a89a --- /dev/null +++ b/tests/auto/declarative/qdeclarativetextinput/data/mouseselection_true_readonly.qml @@ -0,0 +1,8 @@ +import QtQuick 1.0 + +TextInput { + focus: true + text: "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" + selectByMouse: true + readOnly: true +} diff --git a/tests/auto/declarative/qdeclarativetextinput/data/mouseselection_true_words.qml b/tests/auto/declarative/qdeclarativetextinput/data/mouseselection_true_words.qml new file mode 100644 index 0000000..8115ba0 --- /dev/null +++ b/tests/auto/declarative/qdeclarativetextinput/data/mouseselection_true_words.qml @@ -0,0 +1,7 @@ +import QtQuick 1.0 + +TextInput { + focus: true + text: "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ" + selectByMouse: true +} diff --git a/tests/auto/declarative/qdeclarativetextinput/tst_qdeclarativetextinput.cpp b/tests/auto/declarative/qdeclarativetextinput/tst_qdeclarativetextinput.cpp index ef32ee3..a241241 100644 --- a/tests/auto/declarative/qdeclarativetextinput/tst_qdeclarativetextinput.cpp +++ b/tests/auto/declarative/qdeclarativetextinput/tst_qdeclarativetextinput.cpp @@ -95,6 +95,12 @@ private slots: void moveCursorSelection(); void moveCursorSelectionSequence_data(); void moveCursorSelectionSequence(); + void mouseSelection_data(); + void mouseSelection(); + void deferEnableSelectByMouse_data(); + void deferEnableSelectByMouse(); + void deferDisableSelectByMouse_data(); + void deferDisableSelectByMouse(); void dragMouseSelection(); void mouseSelectionMode_data(); void mouseSelectionMode(); @@ -375,6 +381,13 @@ void tst_qdeclarativetextinput::selection() QCOMPARE(textinputObject->selectionEnd(), i); QVERIFY(textinputObject->selectedText().isNull()); } + //Test cursor follows selection + for(int i=0; i<= testStr.size(); i++) { + textinputObject->select(i,i); + QCOMPARE(textinputObject->cursorPosition(), i); + QCOMPARE(textinputObject->selectionStart(), i); + QCOMPARE(textinputObject->selectionEnd(), i); + } textinputObject->setCursorPosition(0); QVERIFY(textinputObject->cursorPosition() == 0); @@ -399,10 +412,12 @@ void tst_qdeclarativetextinput::selection() for(int i=0; i<= testStr.size(); i++) { textinputObject->select(0,i); QCOMPARE(testStr.mid(0,i), textinputObject->selectedText()); + QCOMPARE(textinputObject->cursorPosition(), i); } for(int i=0; i<= testStr.size(); i++) { textinputObject->select(i,testStr.size()); QCOMPARE(testStr.mid(i,testStr.size()-i), textinputObject->selectedText()); + QCOMPARE(textinputObject->cursorPosition(), testStr.size()); } textinputObject->setCursorPosition(0); @@ -902,6 +917,141 @@ void tst_qdeclarativetextinput::moveCursorSelectionSequence() QCOMPARE(textinputObject->selectionEnd(), selection2End); } +void tst_qdeclarativetextinput::mouseSelection_data() +{ + QTest::addColumn<QString>("qmlfile"); + QTest::addColumn<bool>("expectSelection"); + + // import installed + QTest::newRow("on") << SRCDIR "/data/mouseselection_true.qml" << true; + QTest::newRow("off") << SRCDIR "/data/mouseselection_false.qml" << false; + QTest::newRow("default") << SRCDIR "/data/mouseselection_default.qml" << false; + QTest::newRow("on word selection") << SRCDIR "/data/mouseselection_true_words.qml" << true; + QTest::newRow("off word selection") << SRCDIR "/data/mouseselection_false_words.qml" << false; + QTest::newRow("on read only") << SRCDIR "/data/mouseselection_true_readonly.qml" << true; + QTest::newRow("off read only") << SRCDIR "/data/mouseselection_false_readonly.qml" << false; +} + +void tst_qdeclarativetextinput::mouseSelection() +{ + QFETCH(QString, qmlfile); + QFETCH(bool, expectSelection); + + QDeclarativeView *canvas = createView(qmlfile); + + canvas->show(); + QApplication::setActiveWindow(canvas); + QTest::qWaitForWindowShown(canvas); + QTRY_COMPARE(QApplication::activeWindow(), static_cast<QWidget *>(canvas)); + + QVERIFY(canvas->rootObject() != 0); + QDeclarativeTextInput *textInputObject = qobject_cast<QDeclarativeTextInput *>(canvas->rootObject()); + QVERIFY(textInputObject != 0); + + // press-and-drag-and-release from x1 to x2 + int x1 = 10; + int x2 = 70; + int y = textInputObject->height()/2; + QTest::mousePress(canvas->viewport(), Qt::LeftButton, 0, canvas->mapFromScene(QPoint(x1,y))); + //QTest::mouseMove(canvas->viewport(), canvas->mapFromScene(QPoint(x2,y))); // doesn't work + QMouseEvent mv(QEvent::MouseMove, canvas->mapFromScene(QPoint(x2,y)), Qt::LeftButton, Qt::LeftButton,Qt::NoModifier); + QApplication::sendEvent(canvas->viewport(), &mv); + QTest::mouseRelease(canvas->viewport(), Qt::LeftButton, 0, canvas->mapFromScene(QPoint(x2,y))); + QString str = textInputObject->selectedText(); + if (expectSelection) + QVERIFY(str.length() > 3); // don't reallly care *what* was selected (and it's too sensitive to platform) + else + QVERIFY(str.isEmpty()); + + // Clicking and shift to clicking between the same points should select the same text. + textInputObject->setCursorPosition(0); + QTest::mouseClick(canvas->viewport(), Qt::LeftButton, Qt::NoModifier, canvas->mapFromScene(QPoint(x1,y))); + QTest::mouseClick(canvas->viewport(), Qt::LeftButton, Qt::ShiftModifier, canvas->mapFromScene(QPoint(x2,y))); + QCOMPARE(textInputObject->selectedText(), str); + + delete canvas; +} + +void tst_qdeclarativetextinput::deferEnableSelectByMouse_data() +{ + QTest::addColumn<QString>("qmlfile"); + + QTest::newRow("writable") << SRCDIR "/data/mouseselection_false.qml"; + QTest::newRow("read only") << SRCDIR "/data/mouseselection_false_readonly.qml"; +} + +void tst_qdeclarativetextinput::deferEnableSelectByMouse() +{ + // Verify text isn't selected if selectByMouse is enabled after the mouse button has been pressed. + QFETCH(QString, qmlfile); + + QDeclarativeView *canvas = createView(qmlfile); + + canvas->show(); + QApplication::setActiveWindow(canvas); + QTest::qWaitForWindowShown(canvas); + QTRY_COMPARE(QApplication::activeWindow(), static_cast<QWidget *>(canvas)); + + QVERIFY(canvas->rootObject() != 0); + QDeclarativeTextInput *textInputObject = qobject_cast<QDeclarativeTextInput *>(canvas->rootObject()); + QVERIFY(textInputObject != 0); + + // press-and-drag-and-release from x1 to x2 + int x1 = 10; + int x2 = 70; + int y = textInputObject->height()/2; + + QTest::mousePress(canvas->viewport(), Qt::LeftButton, 0, canvas->mapFromScene(QPoint(x1,y))); + textInputObject->setSelectByMouse(true); + //QTest::mouseMove(canvas->viewport(), canvas->mapFromScene(QPoint(x2,y))); // doesn't work + QMouseEvent mv(QEvent::MouseMove, canvas->mapFromScene(QPoint(x2,y)), Qt::LeftButton, Qt::LeftButton,Qt::NoModifier); + QApplication::sendEvent(canvas->viewport(), &mv); + QTest::mouseRelease(canvas->viewport(), Qt::LeftButton, 0, canvas->mapFromScene(QPoint(x2,y))); + QVERIFY(textInputObject->selectedText().isEmpty()); + + delete canvas; +} + +void tst_qdeclarativetextinput::deferDisableSelectByMouse_data() +{ + QTest::addColumn<QString>("qmlfile"); + + QTest::newRow("writable") << SRCDIR "/data/mouseselection_true.qml"; + QTest::newRow("read only") << SRCDIR "/data/mouseselection_true_readonly.qml"; +} + +void tst_qdeclarativetextinput::deferDisableSelectByMouse() +{ + // Verify text isn't selected if selectByMouse is enabled after the mouse button has been pressed. + QFETCH(QString, qmlfile); + + QDeclarativeView *canvas = createView(qmlfile); + + canvas->show(); + QApplication::setActiveWindow(canvas); + QTest::qWaitForWindowShown(canvas); + QTRY_COMPARE(QApplication::activeWindow(), static_cast<QWidget *>(canvas)); + + QVERIFY(canvas->rootObject() != 0); + QDeclarativeTextInput *textInputObject = qobject_cast<QDeclarativeTextInput *>(canvas->rootObject()); + QVERIFY(textInputObject != 0); + + // press-and-drag-and-release from x1 to x2 + int x1 = 10; + int x2 = 70; + int y = textInputObject->height()/2; + + QTest::mousePress(canvas->viewport(), Qt::LeftButton, 0, canvas->mapFromScene(QPoint(x1,y))); + textInputObject->setSelectByMouse(false); + //QTest::mouseMove(canvas->viewport(), canvas->mapFromScene(QPoint(x2,y))); // doesn't work + QMouseEvent mv(QEvent::MouseMove, canvas->mapFromScene(QPoint(x2,y)), Qt::LeftButton, Qt::LeftButton,Qt::NoModifier); + QApplication::sendEvent(canvas->viewport(), &mv); + QTest::mouseRelease(canvas->viewport(), Qt::LeftButton, 0, canvas->mapFromScene(QPoint(x2,y))); + QVERIFY(textInputObject->selectedText().length() > 3); + + delete canvas; +} + void tst_qdeclarativetextinput::dragMouseSelection() { QString qmlfile = SRCDIR "/data/mouseselection_true.qml"; @@ -1364,8 +1514,10 @@ void tst_qdeclarativetextinput::inputMethods() QVERIFY(canvas->rootObject() != 0); QDeclarativeTextInput *input = qobject_cast<QDeclarativeTextInput *>(canvas->rootObject()); QVERIFY(input != 0); + QVERIFY(input->imHints() & Qt::ImhNoPredictiveText); QVERIFY(input->inputMethodHints() & Qt::ImhNoPredictiveText); - input->setInputMethodHints(Qt::ImhUppercaseOnly); + input->setIMHints(Qt::ImhUppercaseOnly); + QVERIFY(input->imHints() & Qt::ImhUppercaseOnly); QVERIFY(input->inputMethodHints() & Qt::ImhUppercaseOnly); QVERIFY(canvas->rootObject() != 0); @@ -1632,6 +1784,15 @@ void tst_qdeclarativetextinput::cursorDelegate() QCOMPARE(textInputObject->cursorRectangle().x(), qRound(delegateObject->x())); QCOMPARE(textInputObject->cursorRectangle().y(), qRound(delegateObject->y())); } + const QString preedit = "preedit"; + for (int i = 0; i <= preedit.length(); i++) { + QInputMethodEvent event(preedit, QList<QInputMethodEvent::Attribute>() + << QInputMethodEvent::Attribute(QInputMethodEvent::Cursor, i, 1, QVariant())); + QApplication::sendEvent(view, &event); + + QCOMPARE(textInputObject->cursorRectangle().x(), qRound(delegateObject->x())); + QCOMPARE(textInputObject->cursorRectangle().y(), qRound(delegateObject->y())); + } textInputObject->setCursorPosition(0); QCOMPARE(textInputObject->cursorRectangle().x(), qRound(delegateObject->x())); QCOMPARE(textInputObject->cursorRectangle().y(), qRound(delegateObject->y())); @@ -1805,6 +1966,7 @@ void tst_qdeclarativetextinput::echoMode() ref &= ~Qt::ImhHiddenText; ref &= ~(Qt::ImhNoAutoUppercase | Qt::ImhNoPredictiveText); QCOMPARE(input->inputMethodHints(), ref); + QCOMPARE(input->imHints(), Qt::ImhNone); input->setEchoMode(QDeclarativeTextInput::NoEcho); QCOMPARE(input->text(), initial); QCOMPARE(input->displayText(), QLatin1String("")); @@ -1813,6 +1975,7 @@ void tst_qdeclarativetextinput::echoMode() ref |= Qt::ImhHiddenText; ref |= (Qt::ImhNoAutoUppercase | Qt::ImhNoPredictiveText); QCOMPARE(input->inputMethodHints(), ref); + QCOMPARE(input->imHints(), Qt::ImhNone); input->setEchoMode(QDeclarativeTextInput::Password); //Password ref |= Qt::ImhHiddenText; @@ -1820,6 +1983,7 @@ void tst_qdeclarativetextinput::echoMode() QCOMPARE(input->text(), initial); QCOMPARE(input->displayText(), QLatin1String("********")); QCOMPARE(input->inputMethodHints(), ref); + QCOMPARE(input->imHints(), Qt::ImhNone); input->setPasswordCharacter(QChar('Q')); QCOMPARE(input->passwordCharacter(), QLatin1String("Q")); QCOMPARE(input->text(), initial); @@ -1829,6 +1993,7 @@ void tst_qdeclarativetextinput::echoMode() ref &= ~Qt::ImhHiddenText; ref |= (Qt::ImhNoAutoUppercase | Qt::ImhNoPredictiveText); QCOMPARE(input->inputMethodHints(), ref); + QCOMPARE(input->imHints(), Qt::ImhNone); QCOMPARE(input->text(), initial); QCOMPARE(input->displayText(), QLatin1String("QQQQQQQQ")); QCOMPARE(input->inputMethodQuery(Qt::ImSurroundingText).toString(), QLatin1String("QQQQQQQQ")); @@ -1849,6 +2014,40 @@ void tst_qdeclarativetextinput::echoMode() QCOMPARE(input->displayText(), initial); QCOMPARE(input->inputMethodQuery(Qt::ImSurroundingText).toString(), initial); + // Test echo mode doesn't override imHints. + input->setIMHints(Qt::ImhHiddenText | Qt::ImhDialableCharactersOnly); + ref |= Qt::ImhDialableCharactersOnly; + //Normal + input->setEchoMode(QDeclarativeTextInput::Normal); + ref |= Qt::ImhHiddenText; + ref &= ~(Qt::ImhNoAutoUppercase | Qt::ImhNoPredictiveText); + QCOMPARE(input->inputMethodHints(), ref); + QCOMPARE(input->imHints(), Qt::ImhHiddenText | Qt::ImhDialableCharactersOnly); + //NoEcho + input->setEchoMode(QDeclarativeTextInput::NoEcho); + ref |= Qt::ImhHiddenText; + ref |= (Qt::ImhNoAutoUppercase | Qt::ImhNoPredictiveText); + QCOMPARE(input->inputMethodHints(), ref); + QCOMPARE(input->imHints(), Qt::ImhHiddenText | Qt::ImhDialableCharactersOnly); + //Password + input->setEchoMode(QDeclarativeTextInput::Password); + ref |= Qt::ImhHiddenText; + ref |= (Qt::ImhNoAutoUppercase | Qt::ImhNoPredictiveText); + QCOMPARE(input->inputMethodHints(), ref); + QCOMPARE(input->imHints(), Qt::ImhHiddenText | Qt::ImhDialableCharactersOnly); + //PasswordEchoOnEdit + input->setEchoMode(QDeclarativeTextInput::PasswordEchoOnEdit); + ref &= ~Qt::ImhHiddenText; + ref |= (Qt::ImhNoAutoUppercase | Qt::ImhNoPredictiveText); + QCOMPARE(input->inputMethodHints(), ref); + QCOMPARE(input->imHints(), Qt::ImhHiddenText | Qt::ImhDialableCharactersOnly); + //Normal + input->setEchoMode(QDeclarativeTextInput::Normal); + ref |= Qt::ImhHiddenText; + ref &= ~(Qt::ImhNoAutoUppercase | Qt::ImhNoPredictiveText); + QCOMPARE(input->inputMethodHints(), ref); + QCOMPARE(input->imHints(), Qt::ImhHiddenText | Qt::ImhDialableCharactersOnly); + delete canvas; } @@ -2285,6 +2484,20 @@ void tst_qdeclarativetextinput::preeditAutoScroll() ic.sendPreeditText(preeditText.mid(0, 3), 1); QCOMPARE(input.positionAt(0), 0); QCOMPARE(input.positionAt(input.width()), 5); + + ic.sendEvent(QInputMethodEvent()); + input.setAutoScroll(true); + // Test committing pre-edit text at the start of the string. QTBUG-18789 + input.setCursorPosition(0); + ic.sendPreeditText(input.text(), 5); + QCOMPARE(input.positionAt(0), 0); + + QInputMethodEvent event; + event.setCommitString(input.text()); + ic.sendEvent(event); + + QCOMPARE(input.positionAt(0), 0); + QCOMPARE(input.positionAt(input.width()), 5); } void tst_qdeclarativetextinput::preeditMicroFocus() diff --git a/tests/auto/declarative/qdeclarativevisualdatamodel/tst_qdeclarativevisualdatamodel.cpp b/tests/auto/declarative/qdeclarativevisualdatamodel/tst_qdeclarativevisualdatamodel.cpp index 85d7876..7b384f8 100644 --- a/tests/auto/declarative/qdeclarativevisualdatamodel/tst_qdeclarativevisualdatamodel.cpp +++ b/tests/auto/declarative/qdeclarativevisualdatamodel/tst_qdeclarativevisualdatamodel.cpp @@ -190,6 +190,11 @@ void tst_qdeclarativevisualdatamodel::rootIndex() QMetaObject::invokeMethod(obj, "setRootToParent"); QVERIFY(qvariant_cast<QModelIndex>(obj->rootIndex()) == QModelIndex()); + QMetaObject::invokeMethod(obj, "setRoot"); + QVERIFY(qvariant_cast<QModelIndex>(obj->rootIndex()) == model.index(0,0)); + model.clear(); // will emit modelReset() + QVERIFY(qvariant_cast<QModelIndex>(obj->rootIndex()) == QModelIndex()); + delete obj; } diff --git a/tests/auto/gui.pro b/tests/auto/gui.pro index 0d77fff..22c5e51 100644 --- a/tests/auto/gui.pro +++ b/tests/auto/gui.pro @@ -84,6 +84,7 @@ SUBDIRS=\ qheaderview \ qicoimageformat \ qicon \ + qidentityproxymodel \ qimageiohandler \ qimagereader \ qimagewriter \ diff --git a/tests/auto/headers/tst_headers.cpp b/tests/auto/headers/tst_headers.cpp index b5c65ef..b6135d0 100644 --- a/tests/auto/headers/tst_headers.cpp +++ b/tests/auto/headers/tst_headers.cpp @@ -243,6 +243,10 @@ void tst_Headers::licenseCheck() QCOMPARE(content.at(i++), QString("**")); if (sourceFile.endsWith("/tests/auto/modeltest/dynamictreemodel.cpp") || sourceFile.endsWith("/tests/auto/modeltest/dynamictreemodel.h") + || sourceFile.endsWith("/src/gui/itemviews/qidentityproxymodel.h") + || sourceFile.endsWith("/src/gui/itemviews/qidentityproxymodel.cpp") + || sourceFile.endsWith("/doc/src/snippets/code/src_gui_itemviews_qidentityproxymodel.cpp") + || sourceFile.endsWith("/tests/auto/qidentityproxymodel/tst_qidentityproxymodel.cpp") || sourceFile.endsWith("/src/network/kernel/qnetworkproxy_p.h")) { // These files are not copyrighted by Nokia. diff --git a/tests/auto/qaccessibility/tst_qaccessibility.cpp b/tests/auto/qaccessibility/tst_qaccessibility.cpp index 8d9603b..7ff1a08 100644 --- a/tests/auto/qaccessibility/tst_qaccessibility.cpp +++ b/tests/auto/qaccessibility/tst_qaccessibility.cpp @@ -245,10 +245,13 @@ private slots: void actionText(); void doAction(); + void applicationTest(); + void mainWindowTest(); void buttonTest(); void sliderTest(); void scrollBarTest(); void tabTest(); + void tabWidgetTest(); void menuTest(); void spinBoxTest(); void doubleSpinBoxTest(); @@ -479,6 +482,11 @@ void tst_QAccessibility::eventTest() QVERIFY_EVENT(button, 0, QAccessible::StateChanged); QVERIFY_EVENT(button, 0, QAccessible::StateChanged); + button->setAccessibleName("Olaf the second"); + QVERIFY_EVENT(button, 0, QAccessible::NameChanged); + button->setAccessibleDescription("This is a button labeled Olaf"); + QVERIFY_EVENT(button, 0, QAccessible::DescriptionChanged); + button->hide(); QVERIFY_EVENT(button, 0, QAccessible::ObjectHide); @@ -1821,49 +1829,100 @@ void tst_QAccessibility::doAction() #endif } +void tst_QAccessibility::applicationTest() +{ +#ifdef QTEST_ACCESSIBILITY + QLatin1String name = QLatin1String("My Name"); + qApp->setApplicationName(name); + QAccessibleInterface *interface = QAccessible::queryAccessibleInterface(qApp); + QCOMPARE(interface->text(QAccessible::Name, 0), name); + QCOMPARE(interface->role(0), QAccessible::Application); + delete interface; +#else + QSKIP("Test needs accessibility support.", SkipAll); +#endif +} + +void tst_QAccessibility::mainWindowTest() +{ +#ifdef QTEST_ACCESSIBILITY + QMainWindow mw; + mw.resize(300, 200); + mw.show(); // triggers layout + + QLatin1String name = QLatin1String("I am the main window"); + mw.setWindowTitle(name); + QTest::qWaitForWindowShown(&mw); + + QAccessibleInterface *interface = QAccessible::queryAccessibleInterface(&mw); + QCOMPARE(interface->text(QAccessible::Name, 0), name); + QCOMPARE(interface->role(0), QAccessible::Window); + delete interface; + +#else + QSKIP("Test needs accessibility support.", SkipAll); +#endif +} + +class CounterButton : public QPushButton { + Q_OBJECT +public: + CounterButton(const QString& name, QWidget* parent) + : QPushButton(name, parent), clickCount(0) + { + connect(this, SIGNAL(clicked(bool)), SLOT(incClickCount())); + } + int clickCount; +public Q_SLOTS: + void incClickCount() { + ++clickCount; + } +}; + void tst_QAccessibility::buttonTest() { -//#ifdef QTEST_ACCESSIBILITY -#if 0 - QAccessibleInterface *test = 0; - Q3VBox vbox; +#ifdef QTEST_ACCESSIBILITY + QWidget window; + window.setLayout(new QVBoxLayout); // Standard push button - QPushButton pushButton("Ok", &vbox); + CounterButton pushButton("Ok", &window); - // toggle push button - QPushButton togglepush("Toggle", &vbox); - togglepush.setToggleButton(TRUE); - - // push button with a menu - QPushButton menuButton("Menu", &vbox); - Q3PopupMenu buttonMenu(&menuButton); - buttonMenu.insertItem("Some item"); - menuButton.setPopup(&buttonMenu); + // toggle button + QPushButton toggleButton("Toggle", &window); + toggleButton.setCheckable(true); // standard checkbox - QCheckBox checkBox("Check me!", &vbox); + QCheckBox checkBox("Check me!", &window); // tristate checkbox - QCheckBox tristate("Tristate!", &vbox); + QCheckBox tristate("Tristate!", &window); tristate.setTristate(TRUE); // radiobutton - QRadioButton radio("Radio me!", &vbox); + QRadioButton radio("Radio me!", &window); // standard toolbutton - QToolButton toolbutton(&vbox); + QToolButton toolbutton(&window); toolbutton.setText("Tool"); toolbutton.setMinimumSize(20,20); // standard toolbutton - QToolButton toggletool(&vbox); - toggletool.setToggleButton(TRUE); + QToolButton toggletool(&window); + toggletool.setCheckable(true); toggletool.setText("Toggle"); toggletool.setMinimumSize(20,20); +#if 0 + // QT3_SUPPORT + // push button with a menu + QPushButton menuButton("Menu", &window); + Q3PopupMenu buttonMenu(&menuButton); + buttonMenu.insertItem("Some item"); + menuButton.setPopup(&buttonMenu); + // menu toolbutton - QToolButton menuToolButton(&vbox); + QToolButton menuToolButton(&window); menuToolButton.setText("Menu Tool"); Q3PopupMenu toolMenu(&menuToolButton); toolMenu.insertItem("Some item"); @@ -1871,141 +1930,149 @@ void tst_QAccessibility::buttonTest() menuToolButton.setMinimumSize(20,20); // splitted menu toolbutton - QToolButton splitToolButton(&vbox); + QToolButton splitToolButton(&window); splitToolButton.setTextLabel("Split Tool"); Q3PopupMenu splitMenu(&splitToolButton); splitMenu.insertItem("Some item"); splitToolButton.setPopup(&splitMenu); splitToolButton.setPopupDelay(0); splitToolButton.setMinimumSize(20,20); +#endif // test push button - QVERIFY(QAccessible::queryAccessibleInterface(&pushButton, &test)); - QCOMPARE(test->role(0), QAccessible::PushButton); - QCOMPARE(test->defaultAction(0), QAccessible::Press); - QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Press")); - QCOMPARE(test->state(0), (int)QAccessible::Normal); - pushButton.setDown(TRUE); - QCOMPARE(test->state(0), (int)QAccessible::Pressed); - QVERIFY(test->doAction(QAccessible::Press, 0)); + QAccessibleInterface* interface = QAccessible::queryAccessibleInterface(&pushButton); + QAccessibleActionInterface* actionInterface = interface->actionInterface(); + QVERIFY(actionInterface != 0); + + QCOMPARE(interface->role(0), QAccessible::PushButton); + + // currently our buttons only have click as action, press and release are missing + QCOMPARE(actionInterface->actionCount(), 1); + QCOMPARE(actionInterface->name(0), QString("Press")); + QCOMPARE(pushButton.clickCount, 0); + actionInterface->doAction(0); QTest::qWait(500); - QCOMPARE(test->state(0), (int)QAccessible::Normal); - test->release(); - - // test toggle push button - QVERIFY(QAccessible::queryAccessibleInterface(&togglepush, &test)); - QCOMPARE(test->role(0), QAccessible::CheckBox); - QCOMPARE(test->defaultAction(0), QAccessible::Press); - QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Check")); - QCOMPARE(test->state(0), (int)QAccessible::Normal); - QVERIFY(test->doAction(QAccessible::Press, 0)); + QCOMPARE(pushButton.clickCount, 1); + delete interface; + + // test toggle button + interface = QAccessible::queryAccessibleInterface(&toggleButton); + actionInterface = interface->actionInterface(); + QCOMPARE(interface->role(0), QAccessible::CheckBox); + QCOMPARE(actionInterface->description(0), QString("Toggles the button.")); + QCOMPARE(actionInterface->name(0), QString("Check")); + QVERIFY(!toggleButton.isChecked()); + QVERIFY((interface->state(0) & QAccessible::Checked) == 0); + actionInterface->doAction(0); QTest::qWait(500); - QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Uncheck")); - QCOMPARE(test->state(0), (int)QAccessible::Checked); - test->release(); - - // test menu push button - QVERIFY(QAccessible::queryAccessibleInterface(&menuButton, &test)); - QCOMPARE(test->role(0), QAccessible::ButtonMenu); - QCOMPARE(test->defaultAction(0), QAccessible::Press); - QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Open")); - QCOMPARE(test->state(0), (int)QAccessible::HasPopup); - test->release(); + QCOMPARE(actionInterface->name(0), QString("Uncheck")); + QVERIFY(toggleButton.isChecked()); + QVERIFY((interface->state(0) & QAccessible::Checked)); + delete interface; + +// // test menu push button +// QVERIFY(QAccessible::queryAccessibleInterface(&menuButton, &test)); +// QCOMPARE(test->role(0), QAccessible::ButtonMenu); +// QCOMPARE(test->defaultAction(0), QAccessible::Press); +// QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Open")); +// QCOMPARE(test->state(0), (int)QAccessible::HasPopup); +// test->release(); // test check box - QVERIFY(QAccessible::queryAccessibleInterface(&checkBox, &test)); - QCOMPARE(test->role(0), QAccessible::CheckBox); - QCOMPARE(test->defaultAction(0), QAccessible::Press); - QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Check")); - QCOMPARE(test->state(0), (int)QAccessible::Normal); - QVERIFY(test->doAction(QAccessible::Press, 0)); + interface = QAccessible::queryAccessibleInterface(&checkBox); + actionInterface = interface->actionInterface(); + QCOMPARE(interface->role(0), QAccessible::CheckBox); + QCOMPARE(actionInterface->name(0), QString("Check")); + QVERIFY((interface->state(0) & QAccessible::Checked) == 0); + actionInterface->doAction(0); QTest::qWait(500); - QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Uncheck")); - QCOMPARE(test->state(0), (int)QAccessible::Checked); - test->release(); - - // test tristate check box - QVERIFY(QAccessible::queryAccessibleInterface(&tristate, &test)); - QCOMPARE(test->role(0), QAccessible::CheckBox); - QCOMPARE(test->defaultAction(0), QAccessible::Press); - QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Toggle")); - QCOMPARE(test->state(0), (int)QAccessible::Normal); - QVERIFY(test->doAction(QAccessible::Press, 0)); - QTest::qWait(500); - QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Check")); - QCOMPARE(test->state(0), (int)QAccessible::Mixed); - QVERIFY(test->doAction(QAccessible::Press, 0)); - QTest::qWait(500); - QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Uncheck")); - QCOMPARE(test->state(0), (int)QAccessible::Checked); - test->release(); + QCOMPARE(actionInterface->name(0), QString("Uncheck")); + QVERIFY(interface->state(0) & QAccessible::Checked); + QVERIFY(checkBox.isChecked()); + delete interface; + +// // test tristate check box +// QVERIFY(QAccessible::queryAccessibleInterface(&tristate, &test)); +// QCOMPARE(test->role(0), QAccessible::CheckBox); +// QCOMPARE(test->defaultAction(0), QAccessible::Press); +// QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Toggle")); +// QCOMPARE(test->state(0), (int)QAccessible::Normal); +// QVERIFY(test->doAction(QAccessible::Press, 0)); +// QTest::qWait(500); +// QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Check")); +// QCOMPARE(test->state(0), (int)QAccessible::Mixed); +// QVERIFY(test->doAction(QAccessible::Press, 0)); +// QTest::qWait(500); +// QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Uncheck")); +// QCOMPARE(test->state(0), (int)QAccessible::Checked); +// test->release(); // test radiobutton - QVERIFY(QAccessible::queryAccessibleInterface(&radio, &test)); - QCOMPARE(test->role(0), QAccessible::RadioButton); - QCOMPARE(test->defaultAction(0), QAccessible::Press); - QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Check")); - QCOMPARE(test->state(0), (int)QAccessible::Normal); - QVERIFY(test->doAction(QAccessible::Press, 0)); - QTest::qWait(500); - QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Check")); - QCOMPARE(test->state(0), (int)QAccessible::Checked); - test->release(); - - // test standard toolbutton - QVERIFY(QAccessible::queryAccessibleInterface(&toolbutton, &test)); - QCOMPARE(test->role(0), QAccessible::PushButton); - QCOMPARE(test->defaultAction(0), QAccessible::Press); - QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Press")); - QCOMPARE(test->state(0), (int)QAccessible::Normal); - test->release(); - - // toggle tool button - QVERIFY(QAccessible::queryAccessibleInterface(&toggletool, &test)); - QCOMPARE(test->role(0), QAccessible::CheckBox); - QCOMPARE(test->defaultAction(0), QAccessible::Press); - QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Check")); - QCOMPARE(test->state(0), (int)QAccessible::Normal); - QVERIFY(test->doAction(QAccessible::Press, 0)); + interface = QAccessible::queryAccessibleInterface(&radio); + actionInterface = interface->actionInterface(); + QCOMPARE(interface->role(0), QAccessible::RadioButton); + QCOMPARE(actionInterface->name(0), QString("Check")); + QVERIFY((interface->state(0) & QAccessible::Checked) == 0); + actionInterface->doAction(0); QTest::qWait(500); - QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Uncheck")); - QCOMPARE(test->state(0), (int)QAccessible::Checked); - test->release(); - - // test menu toolbutton - QVERIFY(QAccessible::queryAccessibleInterface(&menuToolButton, &test)); - QCOMPARE(test->role(0), QAccessible::ButtonMenu); - QCOMPARE(test->defaultAction(0), 1); - QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Open")); - QCOMPARE(test->state(0), (int)QAccessible::HasPopup); - QCOMPARE(test->actionCount(0), 1); - QCOMPARE(test->actionText(QAccessible::Press, QAccessible::Name, 0), QString("Press")); - test->release(); - - // test splitted menu toolbutton - QVERIFY(QAccessible::queryAccessibleInterface(&splitToolButton, &test)); - QCOMPARE(test->childCount(), 2); - QCOMPARE(test->role(0), QAccessible::ButtonDropDown); - QCOMPARE(test->role(1), QAccessible::PushButton); - QCOMPARE(test->role(2), QAccessible::ButtonMenu); - QCOMPARE(test->defaultAction(0), QAccessible::Press); - QCOMPARE(test->defaultAction(1), QAccessible::Press); - QCOMPARE(test->defaultAction(2), QAccessible::Press); - QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Press")); - QCOMPARE(test->state(0), (int)QAccessible::HasPopup); - QCOMPARE(test->actionCount(0), 1); - QCOMPARE(test->actionText(1, QAccessible::Name, 0), QString("Open")); - QCOMPARE(test->actionText(test->defaultAction(1), QAccessible::Name, 1), QString("Press")); - QCOMPARE(test->state(1), (int)QAccessible::Normal); - QCOMPARE(test->actionText(test->defaultAction(2), QAccessible::Name, 2), QString("Open")); - QCOMPARE(test->state(2), (int)QAccessible::HasPopup); - test->release(); + QCOMPARE(actionInterface->name(0), QString("Uncheck")); + QVERIFY(interface->state(0) & QAccessible::Checked); + QVERIFY(checkBox.isChecked()); + delete interface; + +// // test standard toolbutton +// QVERIFY(QAccessible::queryAccessibleInterface(&toolbutton, &test)); +// QCOMPARE(test->role(0), QAccessible::PushButton); +// QCOMPARE(test->defaultAction(0), QAccessible::Press); +// QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Press")); +// QCOMPARE(test->state(0), (int)QAccessible::Normal); +// test->release(); + +// // toggle tool button +// QVERIFY(QAccessible::queryAccessibleInterface(&toggletool, &test)); +// QCOMPARE(test->role(0), QAccessible::CheckBox); +// QCOMPARE(test->defaultAction(0), QAccessible::Press); +// QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Check")); +// QCOMPARE(test->state(0), (int)QAccessible::Normal); +// QVERIFY(test->doAction(QAccessible::Press, 0)); +// QTest::qWait(500); +// QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Uncheck")); +// QCOMPARE(test->state(0), (int)QAccessible::Checked); +// test->release(); + +// // test menu toolbutton +// QVERIFY(QAccessible::queryAccessibleInterface(&menuToolButton, &test)); +// QCOMPARE(test->role(0), QAccessible::ButtonMenu); +// QCOMPARE(test->defaultAction(0), 1); +// QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Open")); +// QCOMPARE(test->state(0), (int)QAccessible::HasPopup); +// QCOMPARE(test->actionCount(0), 1); +// QCOMPARE(test->actionText(QAccessible::Press, QAccessible::Name, 0), QString("Press")); +// test->release(); + +// // test splitted menu toolbutton +// QVERIFY(QAccessible::queryAccessibleInterface(&splitToolButton, &test)); +// QCOMPARE(test->childCount(), 2); +// QCOMPARE(test->role(0), QAccessible::ButtonDropDown); +// QCOMPARE(test->role(1), QAccessible::PushButton); +// QCOMPARE(test->role(2), QAccessible::ButtonMenu); +// QCOMPARE(test->defaultAction(0), QAccessible::Press); +// QCOMPARE(test->defaultAction(1), QAccessible::Press); +// QCOMPARE(test->defaultAction(2), QAccessible::Press); +// QCOMPARE(test->actionText(test->defaultAction(0), QAccessible::Name, 0), QString("Press")); +// QCOMPARE(test->state(0), (int)QAccessible::HasPopup); +// QCOMPARE(test->actionCount(0), 1); +// QCOMPARE(test->actionText(1, QAccessible::Name, 0), QString("Open")); +// QCOMPARE(test->actionText(test->defaultAction(1), QAccessible::Name, 1), QString("Press")); +// QCOMPARE(test->state(1), (int)QAccessible::Normal); +// QCOMPARE(test->actionText(test->defaultAction(2), QAccessible::Name, 2), QString("Open")); +// QCOMPARE(test->state(2), (int)QAccessible::HasPopup); +// test->release(); QTestAccessibility::clearEvents(); #else -// QSKIP("Test needs accessibility support.", SkipAll); - QSKIP("No action interface in Qt 4 yet.", SkipAll); + QSKIP("Test needs accessibility support.", SkipAll); #endif } @@ -2350,6 +2417,99 @@ void tst_QAccessibility::tabTest() #endif } +void tst_QAccessibility::tabWidgetTest() +{ +#ifdef QTEST_ACCESSIBILITY + QTabWidget *tabWidget = new QTabWidget(); + tabWidget->show(); + + // the interface for the tab is just a container for tabbar and stacked widget + QAccessibleInterface * const interface = QAccessible::queryAccessibleInterface(tabWidget); + QVERIFY(interface); + QCOMPARE(interface->childCount(), 2); + QCOMPARE(interface->role(0), QAccessible::Client); + + // Create pages, check navigation + QLabel *label1 = new QLabel("Page 1", tabWidget); + tabWidget->addTab(label1, "Tab 1"); + QLabel *label2 = new QLabel("Page 2", tabWidget); + tabWidget->addTab(label2, "Tab 2"); + + QCOMPARE(interface->childCount(), 2); + + QAccessibleInterface* tabBarInterface = 0; + // there is no special logic to sort the children, so the contents will be 1, the tab bar 2 + QCOMPARE(interface->navigate(QAccessible::Child, 2 , &tabBarInterface), 0); + QVERIFY(tabBarInterface); + QCOMPARE(tabBarInterface->childCount(), 4); + QCOMPARE(tabBarInterface->role(0), QAccessible::PageTabList); + + QAccessibleInterface* tabButton1Interface = 0; + QCOMPARE(tabBarInterface->navigate(QAccessible::Child, 1 , &tabButton1Interface), 1); + QVERIFY(tabButton1Interface == 0); + + QCOMPARE(tabBarInterface->role(1), QAccessible::PageTab); + QCOMPARE(tabBarInterface->text(QAccessible::Name, 1), QLatin1String("Tab 1")); + QCOMPARE(tabBarInterface->role(2), QAccessible::PageTab); + QCOMPARE(tabBarInterface->text(QAccessible::Name, 2), QLatin1String("Tab 2")); + QCOMPARE(tabBarInterface->role(3), QAccessible::PushButton); + QCOMPARE(tabBarInterface->text(QAccessible::Name, 3), QLatin1String("Scroll Left")); + QCOMPARE(tabBarInterface->role(4), QAccessible::PushButton); + QCOMPARE(tabBarInterface->text(QAccessible::Name, 4), QLatin1String("Scroll Right")); + + QAccessibleInterface* stackWidgetInterface = 0; + QCOMPARE(interface->navigate(QAccessible::Child, 1, &stackWidgetInterface), 0); + QVERIFY(stackWidgetInterface); + QCOMPARE(stackWidgetInterface->childCount(), 2); + QCOMPARE(stackWidgetInterface->role(0), QAccessible::LayeredPane); + + QAccessibleInterface* stackChild1Interface = 0; + QCOMPARE(stackWidgetInterface->navigate(QAccessible::Child, 1, &stackChild1Interface), 0); + QVERIFY(stackChild1Interface); +#ifndef Q_CC_INTEL + QCOMPARE(stackChild1Interface->childCount(), 0); +#endif + QCOMPARE(stackChild1Interface->role(0), QAccessible::StaticText); + QCOMPARE(stackChild1Interface->text(QAccessible::Name, 0), QLatin1String("Page 1")); + QCOMPARE(label1, stackChild1Interface->object()); + + // Navigation in stack widgets should be consistent + QAccessibleInterface* parent = 0; + QCOMPARE(stackChild1Interface->navigate(QAccessible::Ancestor, 1, &parent), 0); + QVERIFY(parent); +#ifndef Q_CC_INTEL + QCOMPARE(parent->childCount(), 2); +#endif + QCOMPARE(parent->role(0), QAccessible::LayeredPane); + delete parent; + + QAccessibleInterface* stackChild2Interface = 0; + QCOMPARE(stackWidgetInterface->navigate(QAccessible::Child, 2, &stackChild2Interface), 0); + QVERIFY(stackChild2Interface); + QCOMPARE(stackChild2Interface->childCount(), 0); + QCOMPARE(stackChild2Interface->role(0), QAccessible::StaticText); + QCOMPARE(label2, stackChild2Interface->object()); // the text will be empty since it is not visible + + QCOMPARE(stackChild2Interface->navigate(QAccessible::Ancestor, 1, &parent), 0); + QVERIFY(parent); +#ifndef Q_CC_INTEL + QCOMPARE(parent->childCount(), 2); +#endif + QCOMPARE(parent->role(0), QAccessible::LayeredPane); + delete parent; + + delete tabBarInterface; + delete stackChild1Interface; + delete stackChild2Interface; + delete stackWidgetInterface; + delete interface; + delete tabWidget; + QTestAccessibility::clearEvents(); +#else + QSKIP("Test needs accessibility support.", SkipAll); +#endif +} + void tst_QAccessibility::menuTest() { #ifdef QTEST_ACCESSIBILITY @@ -2679,6 +2839,11 @@ void tst_QAccessibility::textEditTest() QCOMPARE(iface->text(QAccessible::Value, 4), QString("hello world")); QCOMPARE(iface->text(QAccessible::Value, 5), QString("how are you today?")); QCOMPARE(iface->text(QAccessible::Value, 6), QString()); + QCOMPARE(iface->textInterface()->characterCount(), 31); + QFontMetrics fm(edit.font()); + QCOMPARE(iface->textInterface()->characterRect(0, QAccessible2::RelativeToParent).size(), QSize(fm.width("h"), fm.height())); + QCOMPARE(iface->textInterface()->characterRect(5, QAccessible2::RelativeToParent).size(), QSize(fm.width(" "), fm.height())); + QCOMPARE(iface->textInterface()->characterRect(6, QAccessible2::RelativeToParent).size(), QSize(fm.width("w"), fm.height())); } QTestAccessibility::clearEvents(); #else @@ -3883,10 +4048,10 @@ void tst_QAccessibility::pushButtonTest() QAccessibleInterface *acc; QAccessibleInterface *acc2; int entry = accToplevel->childAt(pt.x(), pt.y()); - int child = accToplevel->navigate(QAccessible::Child, entry, &acc); + accToplevel->navigate(QAccessible::Child, entry, &acc); if (acc) { entry = acc->childAt(pt.x(), pt.y()); - child = acc->navigate(QAccessible::Child, entry, &acc2); + acc->navigate(QAccessible::Child, entry, &acc2); delete acc; acc = acc2; } diff --git a/tests/auto/qcomplextext/tst_qcomplextext.cpp b/tests/auto/qcomplextext/tst_qcomplextext.cpp index 3d8e290..58b31b4 100644 --- a/tests/auto/qcomplextext/tst_qcomplextext.cpp +++ b/tests/auto/qcomplextext/tst_qcomplextext.cpp @@ -71,6 +71,10 @@ private slots: void bidiReorderString(); void bidiCursor_qtbug2795(); void bidiCursor_PDF(); + void bidiCursorMovement_data(); + void bidiCursorMovement(); + void bidiCursorLogicalMovement_data(); + void bidiCursorLogicalMovement(); }; tst_QComplexText::tst_QComplexText() @@ -185,6 +189,90 @@ void tst_QComplexText::bidiCursor_qtbug2795() QVERIFY(x1 == x2); } +void tst_QComplexText::bidiCursorMovement_data() +{ + QTest::addColumn<QString>("logical"); + QTest::addColumn<int>("basicDir"); + + const LV *data = logical_visual; + while ( data->name ) { + //next we fill it with data + QTest::newRow( data->name ) + << QString::fromUtf8( data->logical ) + << (int) data->basicDir; + data++; + } +} + +void tst_QComplexText::bidiCursorMovement() +{ + QFETCH(QString, logical); + QFETCH(int, basicDir); + + QTextLayout layout(logical); + + QTextOption option = layout.textOption(); + option.setTextDirection(basicDir == QChar::DirL ? Qt::LeftToRight : Qt::RightToLeft); + layout.setTextOption(option); + layout.setCursorMoveStyle(QTextCursor::Visual); + bool moved; + int oldPos, newPos = 0; + qreal x, newX; + + layout.beginLayout(); + QTextLine line = layout.createLine(); + layout.endLayout(); + + newX = line.cursorToX(0); + do { + oldPos = newPos; + x = newX; + newX = line.cursorToX(oldPos); + if (basicDir == QChar::DirL) { + QVERIFY(newX >= x); + newPos = layout.rightCursorPosition(oldPos); + } else + { + QVERIFY(newX <= x); + newPos = layout.leftCursorPosition(oldPos); + } + moved = (oldPos != newPos); + } while (moved); +} + +void tst_QComplexText::bidiCursorLogicalMovement_data() +{ + bidiCursorMovement_data(); +} + +void tst_QComplexText::bidiCursorLogicalMovement() +{ + QFETCH(QString, logical); + QFETCH(int, basicDir); + + QTextLayout layout(logical); + + QTextOption option = layout.textOption(); + option.setTextDirection(basicDir == QChar::DirL ? Qt::LeftToRight : Qt::RightToLeft); + layout.setTextOption(option); + bool moved; + int oldPos, newPos = 0; + + do { + oldPos = newPos; + newPos = layout.nextCursorPosition(oldPos); + QVERIFY(newPos >= oldPos); + moved = (oldPos != newPos); + } while (moved); + + do { + oldPos = newPos; + newPos = layout.previousCursorPosition(oldPos); + QVERIFY(newPos <= oldPos); + moved = (oldPos != newPos); + } while (moved); +} + void tst_QComplexText::bidiCursor_PDF() { QString str = QString::fromUtf8("\342\200\252hello\342\200\254"); diff --git a/tests/auto/qfilesystemmodel/tst_qfilesystemmodel.cpp b/tests/auto/qfilesystemmodel/tst_qfilesystemmodel.cpp index 53781c9..e8d0f57 100644 --- a/tests/auto/qfilesystemmodel/tst_qfilesystemmodel.cpp +++ b/tests/auto/qfilesystemmodel/tst_qfilesystemmodel.cpp @@ -632,7 +632,12 @@ void tst_QFileSystemModel::filters_data() QTest::addColumn<int>("rowCount"); #if !defined(Q_OS_WINCE) && !defined(Q_OS_SYMBIAN) QTest::newRow("no dirs") << (QStringList() << "a" << "b" << "c") << QStringList() << (int)(QDir::Dirs) << QStringList() << 2; - QTest::newRow("one dir - dotdot") << (QStringList() << "a" << "b" << "c") << (QStringList() << "Z") << (int)(QDir::Dirs | QDir::NoDotAndDotDot) << QStringList() << 1; + QTest::newRow("no dirs - dot") << (QStringList() << "a" << "b" << "c") << QStringList() << (int)(QDir::Dirs | QDir::NoDot) << QStringList() << 1; + QTest::newRow("no dirs - dotdot") << (QStringList() << "a" << "b" << "c") << QStringList() << (int)(QDir::Dirs | QDir::NoDotDot) << QStringList() << 1; + QTest::newRow("no dirs - dotanddotdot") << (QStringList() << "a" << "b" << "c") << QStringList() << (int)(QDir::Dirs | QDir::NoDotAndDotDot) << QStringList() << 0; + QTest::newRow("one dir - dot") << (QStringList() << "a" << "b" << "c") << (QStringList() << "Z") << (int)(QDir::Dirs | QDir::NoDot) << QStringList() << 2; + QTest::newRow("one dir - dotdot") << (QStringList() << "a" << "b" << "c") << (QStringList() << "Z") << (int)(QDir::Dirs | QDir::NoDotDot) << QStringList() << 2; + QTest::newRow("one dir - dotanddotdot") << (QStringList() << "a" << "b" << "c") << (QStringList() << "Z") << (int)(QDir::Dirs | QDir::NoDotAndDotDot) << QStringList() << 1; QTest::newRow("one dir") << (QStringList() << "a" << "b" << "c") << (QStringList() << "Z") << (int)(QDir::Dirs) << QStringList() << 3; QTest::newRow("no dir + hidden") << (QStringList() << "a" << "b" << "c") << QStringList() << (int)(QDir::Dirs | QDir::Hidden) << QStringList() << 2; QTest::newRow("dir+hid+files") << (QStringList() << "a" << "b" << "c") << QStringList() << @@ -650,7 +655,12 @@ void tst_QFileSystemModel::filters_data() #else QTest::qWait(3000); // We need to calm down a bit... QTest::newRow("no dirs") << (QStringList() << "a" << "b" << "c") << QStringList() << (int)(QDir::Dirs) << QStringList() << 0; - QTest::newRow("one dir - dotdot") << (QStringList() << "a" << "b" << "c") << (QStringList() << "Z") << (int)(QDir::Dirs | QDir::NoDotAndDotDot) << QStringList() << 1; + QTest::newRow("no dirs - dot") << (QStringList() << "a" << "b" << "c") << QStringList() << (int)(QDir::Dirs | QDir::NoDot) << QStringList() << 1; + QTest::newRow("no dirs - dotdot") << (QStringList() << "a" << "b" << "c") << QStringList() << (int)(QDir::Dirs | QDir::NoDotDot) << QStringList() << 1; + QTest::newRow("no dirs - dotanddotdot") << (QStringList() << "a" << "b" << "c") << QStringList() << (int)(QDir::Dirs | QDir::NoDotAndDotDot) << QStringList() << 0; + QTest::newRow("one dir - dot") << (QStringList() << "a" << "b" << "c") << (QStringList() << "Z") << (int)(QDir::Dirs | QDir::NoDot) << QStringList() << 2; + QTest::newRow("one dir - dotdot") << (QStringList() << "a" << "b" << "c") << (QStringList() << "Z") << (int)(QDir::Dirs | QDir::NoDotDot) << QStringList() << 2; + QTest::newRow("one dir - dotanddotdot") << (QStringList() << "a" << "b" << "c") << (QStringList() << "Z") << (int)(QDir::Dirs | QDir::NoDotAndDotDot) << QStringList() << 1; QTest::newRow("one dir") << (QStringList() << "a" << "b" << "c") << (QStringList() << "Z") << (int)(QDir::Dirs) << QStringList() << 1; QTest::newRow("no dir + hidden") << (QStringList() << "a" << "b" << "c") << QStringList() << (int)(QDir::Dirs | QDir::Hidden) << QStringList() << 0; QTest::newRow("dir+hid+files") << (QStringList() << "a" << "b" << "c") << QStringList() << @@ -699,10 +709,23 @@ void tst_QFileSystemModel::filters() // Make sure that we do what QDir does QDir xFactor(tmp); QDir::Filters filters = (QDir::Filters)dirFilters; + QStringList dirEntries; + if (nameFilters.count() > 0) - QCOMPARE(xFactor.entryList(nameFilters, filters).count(), rowCount); + dirEntries = xFactor.entryList(nameFilters, filters); else - QVERIFY(xFactor.entryList(filters).count() == rowCount); + dirEntries = xFactor.entryList(filters); + + QCOMPARE(dirEntries.count(), rowCount); + + QStringList modelEntries; + + for (int i = 0; i < rowCount; ++i) + modelEntries.append(model->data(model->index(i, 0, root), QFileSystemModel::FileNameRole).toString()); + + qSort(dirEntries); + qSort(modelEntries); + QCOMPARE(dirEntries, modelEntries); #ifdef Q_OS_LINUX if (files.count() >= 3 && rowCount >= 3 && rowCount != 5) { diff --git a/tests/auto/qidentityproxymodel/qidentityproxymodel.pro b/tests/auto/qidentityproxymodel/qidentityproxymodel.pro new file mode 100644 index 0000000..f529e20 --- /dev/null +++ b/tests/auto/qidentityproxymodel/qidentityproxymodel.pro @@ -0,0 +1,6 @@ +load(qttest_p4) + +INCLUDEPATH += $$PWD/../modeltest + +SOURCES += tst_qidentityproxymodel.cpp ../modeltest/dynamictreemodel.cpp ../modeltest/modeltest.cpp +HEADERS += ../modeltest/dynamictreemodel.h ../modeltest/modeltest.h diff --git a/tests/auto/qidentityproxymodel/tst_qidentityproxymodel.cpp b/tests/auto/qidentityproxymodel/tst_qidentityproxymodel.cpp new file mode 100644 index 0000000..cfc3f1a --- /dev/null +++ b/tests/auto/qidentityproxymodel/tst_qidentityproxymodel.cpp @@ -0,0 +1,334 @@ +/**************************************************************************** +** +** Copyright (C) 2011 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Stephen Kelly <stephen.kelly@kdab.com> +** All rights reserved. +** Contact: Nokia Corporation (qt-info@nokia.com) +** +** This file is part of the QtGui module of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:LGPL$ +** No Commercial Usage +** This file contains pre-release code and may not be distributed. +** You may use this file in accordance with the terms and conditions +** contained in the Technology Preview License Agreement accompanying +** this package. +** +** GNU Lesser General Public License Usage +** Alternatively, this file may be used under the terms of the GNU Lesser +** General Public License version 2.1 as published by the Free Software +** Foundation and appearing in the file LICENSE.LGPL included in the +** packaging of this file. Please review the following information to +** ensure the GNU Lesser General Public License version 2.1 requirements +** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** If you have questions regarding the use of this file, please contact +** Nokia at qt-info@nokia.com. +** +** +** +** +** +** +** +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + + +#include <QtTest/QtTest> +#include "../../shared/util.h" + +#include <QtCore> +#include <QtGui> + +#include "dynamictreemodel.h" +#include "qidentityproxymodel.h" + +//TESTED CLASS= +//TESTED_FILES= + +Q_DECLARE_METATYPE(QModelIndex) + +class tst_QIdentityProxyModel : public QObject +{ + Q_OBJECT + +public: + + tst_QIdentityProxyModel(); + virtual ~tst_QIdentityProxyModel(); + +public slots: + void initTestCase(); + void cleanupTestCase(); + void init(); + void cleanup(); + +private slots: + void insertRows(); + void removeRows(); + void moveRows(); + void reset(); + +protected: + void verifyIdentity(QAbstractItemModel *model, const QModelIndex &parent = QModelIndex()); + +private: + QStandardItemModel *m_model; + QIdentityProxyModel *m_proxy; +}; + +tst_QIdentityProxyModel::tst_QIdentityProxyModel() + : m_model(0), m_proxy(0) +{ + +} + +tst_QIdentityProxyModel::~tst_QIdentityProxyModel() +{ + +} + +void tst_QIdentityProxyModel::initTestCase() +{ + qRegisterMetaType<QModelIndex>("QModelIndex"); + + m_model = new QStandardItemModel(0, 1); + m_proxy = new QIdentityProxyModel(); +} + +void tst_QIdentityProxyModel::cleanupTestCase() +{ + delete m_proxy; + delete m_model; +} + +void tst_QIdentityProxyModel::init() +{ +} + +void tst_QIdentityProxyModel::cleanup() +{ + m_model->clear(); + m_model->insertColumns(0, 1); +} + +void tst_QIdentityProxyModel::verifyIdentity(QAbstractItemModel *model, const QModelIndex &parent) +{ + const int rows = model->rowCount(parent); + const int columns = model->columnCount(parent); + const QModelIndex proxyParent = m_proxy->mapFromSource(parent); + + QVERIFY(m_proxy->mapToSource(proxyParent) == parent); + QVERIFY(rows == m_proxy->rowCount(proxyParent)); + QVERIFY(columns == m_proxy->columnCount(proxyParent)); + + for (int row = 0; row < rows; ++row) { + for (int column = 0; column < columns; ++column) { + const QModelIndex idx = model->index(row, column, parent); + const QModelIndex proxyIdx = m_proxy->mapFromSource(idx); + QVERIFY(proxyIdx.model() == m_proxy); + QVERIFY(m_proxy->mapToSource(proxyIdx) == idx); + QVERIFY(proxyIdx.isValid()); + QVERIFY(proxyIdx.row() == row); + QVERIFY(proxyIdx.column() == column); + QVERIFY(proxyIdx.parent() == proxyParent); + QVERIFY(proxyIdx.data() == idx.data()); + QVERIFY(proxyIdx.flags() == idx.flags()); + const int childCount = m_proxy->rowCount(proxyIdx); + const bool hasChildren = m_proxy->hasChildren(proxyIdx); + QVERIFY(model->hasChildren(idx) == hasChildren); + QVERIFY((childCount > 0) == hasChildren); + + if (hasChildren) + verifyIdentity(model, idx); + } + } +} + +/* + tests +*/ + +void tst_QIdentityProxyModel::insertRows() +{ + QStandardItem *parentItem = m_model->invisibleRootItem(); + for (int i = 0; i < 4; ++i) { + QStandardItem *item = new QStandardItem(QString("item %0").arg(i)); + parentItem->appendRow(item); + parentItem = item; + } + + m_proxy->setSourceModel(m_model); + + verifyIdentity(m_model); + + QSignalSpy modelBeforeSpy(m_model, SIGNAL(rowsAboutToBeInserted(QModelIndex,int,int))); + QSignalSpy modelAfterSpy(m_model, SIGNAL(rowsInserted(QModelIndex,int,int))); + QSignalSpy proxyBeforeSpy(m_proxy, SIGNAL(rowsAboutToBeInserted(QModelIndex,int,int))); + QSignalSpy proxyAfterSpy(m_proxy, SIGNAL(rowsInserted(QModelIndex,int,int))); + + QStandardItem *item = new QStandardItem(QString("new item")); + parentItem->appendRow(item); + + QVERIFY(modelBeforeSpy.size() == 1 && 1 == proxyBeforeSpy.size()); + QVERIFY(modelAfterSpy.size() == 1 && 1 == proxyAfterSpy.size()); + + QVERIFY(modelBeforeSpy.first().first().value<QModelIndex>() == m_proxy->mapToSource(proxyBeforeSpy.first().first().value<QModelIndex>())); + QVERIFY(modelBeforeSpy.first().at(1) == proxyBeforeSpy.first().at(1)); + QVERIFY(modelBeforeSpy.first().at(2) == proxyBeforeSpy.first().at(2)); + + QVERIFY(modelAfterSpy.first().first().value<QModelIndex>() == m_proxy->mapToSource(proxyAfterSpy.first().first().value<QModelIndex>())); + QVERIFY(modelAfterSpy.first().at(1) == proxyAfterSpy.first().at(1)); + QVERIFY(modelAfterSpy.first().at(2) == proxyAfterSpy.first().at(2)); + + verifyIdentity(m_model); + +} + +void tst_QIdentityProxyModel::removeRows() +{ + QStandardItem *parentItem = m_model->invisibleRootItem(); + for (int i = 0; i < 4; ++i) { + QStandardItem *item = new QStandardItem(QString("item %0").arg(i)); + parentItem->appendRow(item); + parentItem = item; + } + + m_proxy->setSourceModel(m_model); + + verifyIdentity(m_model); + + QSignalSpy modelBeforeSpy(m_model, SIGNAL(rowsAboutToBeRemoved(QModelIndex,int,int))); + QSignalSpy modelAfterSpy(m_model, SIGNAL(rowsRemoved(QModelIndex,int,int))); + QSignalSpy proxyBeforeSpy(m_proxy, SIGNAL(rowsAboutToBeRemoved(QModelIndex,int,int))); + QSignalSpy proxyAfterSpy(m_proxy, SIGNAL(rowsRemoved(QModelIndex,int,int))); + + const QModelIndex topLevel = m_model->index(0, 0, QModelIndex()); + const QModelIndex secondLevel = m_model->index(0, 0, topLevel); + const QModelIndex thirdLevel = m_model->index(0, 0, secondLevel); + + QVERIFY(thirdLevel.isValid()); + + m_model->removeRow(0, secondLevel); + + QVERIFY(modelBeforeSpy.size() == 1 && 1 == proxyBeforeSpy.size()); + QVERIFY(modelAfterSpy.size() == 1 && 1 == proxyAfterSpy.size()); + + QVERIFY(modelBeforeSpy.first().first().value<QModelIndex>() == m_proxy->mapToSource(proxyBeforeSpy.first().first().value<QModelIndex>())); + QVERIFY(modelBeforeSpy.first().at(1) == proxyBeforeSpy.first().at(1)); + QVERIFY(modelBeforeSpy.first().at(2) == proxyBeforeSpy.first().at(2)); + + QVERIFY(modelAfterSpy.first().first().value<QModelIndex>() == m_proxy->mapToSource(proxyAfterSpy.first().first().value<QModelIndex>())); + QVERIFY(modelAfterSpy.first().at(1) == proxyAfterSpy.first().at(1)); + QVERIFY(modelAfterSpy.first().at(2) == proxyAfterSpy.first().at(2)); + + verifyIdentity(m_model); +} + +void tst_QIdentityProxyModel::moveRows() +{ + DynamicTreeModel model; + + { + ModelInsertCommand insertCommand(&model); + insertCommand.setStartRow(0); + insertCommand.setEndRow(9); + insertCommand.doCommand(); + } + { + ModelInsertCommand insertCommand(&model); + insertCommand.setAncestorRowNumbers(QList<int>() << 5); + insertCommand.setStartRow(0); + insertCommand.setEndRow(9); + insertCommand.doCommand(); + } + + m_proxy->setSourceModel(&model); + + verifyIdentity(&model); + + QSignalSpy modelBeforeSpy(&model, SIGNAL(rowsAboutToBeMoved(QModelIndex,int,int,QModelIndex,int))); + QSignalSpy modelAfterSpy(&model, SIGNAL(rowsMoved(QModelIndex,int,int,QModelIndex,int))); + QSignalSpy proxyBeforeSpy(m_proxy, SIGNAL(rowsAboutToBeMoved(QModelIndex,int,int,QModelIndex,int))); + QSignalSpy proxyAfterSpy(m_proxy, SIGNAL(rowsMoved(QModelIndex,int,int,QModelIndex,int))); + + { + ModelMoveCommand moveCommand(&model, 0); + moveCommand.setAncestorRowNumbers(QList<int>() << 5); + moveCommand.setStartRow(3); + moveCommand.setEndRow(4); + moveCommand.setDestRow(1); + moveCommand.doCommand(); + } + + QVERIFY(modelBeforeSpy.size() == 1 && 1 == proxyBeforeSpy.size()); + QVERIFY(modelAfterSpy.size() == 1 && 1 == proxyAfterSpy.size()); + + QVERIFY(modelBeforeSpy.first().first().value<QModelIndex>() == m_proxy->mapToSource(proxyBeforeSpy.first().first().value<QModelIndex>())); + QVERIFY(modelBeforeSpy.first().at(1) == proxyBeforeSpy.first().at(1)); + QVERIFY(modelBeforeSpy.first().at(2) == proxyBeforeSpy.first().at(2)); + QVERIFY(modelBeforeSpy.first().at(3).value<QModelIndex>() == m_proxy->mapToSource(proxyBeforeSpy.first().at(3).value<QModelIndex>())); + QVERIFY(modelBeforeSpy.first().at(4) == proxyBeforeSpy.first().at(4)); + + QVERIFY(modelAfterSpy.first().first().value<QModelIndex>() == m_proxy->mapToSource(proxyAfterSpy.first().first().value<QModelIndex>())); + QVERIFY(modelAfterSpy.first().at(1) == proxyAfterSpy.first().at(1)); + QVERIFY(modelAfterSpy.first().at(2) == proxyAfterSpy.first().at(2)); + QVERIFY(modelAfterSpy.first().at(3).value<QModelIndex>() == m_proxy->mapToSource(proxyAfterSpy.first().at(3).value<QModelIndex>())); + QVERIFY(modelAfterSpy.first().at(4) == proxyAfterSpy.first().at(4)); + + verifyIdentity(&model); + + m_proxy->setSourceModel(0); +} + +void tst_QIdentityProxyModel::reset() +{ + DynamicTreeModel model; + + { + ModelInsertCommand insertCommand(&model); + insertCommand.setStartRow(0); + insertCommand.setEndRow(9); + insertCommand.doCommand(); + } + { + ModelInsertCommand insertCommand(&model); + insertCommand.setAncestorRowNumbers(QList<int>() << 5); + insertCommand.setStartRow(0); + insertCommand.setEndRow(9); + insertCommand.doCommand(); + } + + m_proxy->setSourceModel(&model); + + verifyIdentity(&model); + + QSignalSpy modelBeforeSpy(&model, SIGNAL(modelAboutToBeReset())); + QSignalSpy modelAfterSpy(&model, SIGNAL(modelReset())); + QSignalSpy proxyBeforeSpy(m_proxy, SIGNAL(modelAboutToBeReset())); + QSignalSpy proxyAfterSpy(m_proxy, SIGNAL(modelReset())); + + { + ModelResetCommandFixed resetCommand(&model, 0); + resetCommand.setAncestorRowNumbers(QList<int>() << 5); + resetCommand.setStartRow(3); + resetCommand.setEndRow(4); + resetCommand.setDestRow(1); + resetCommand.doCommand(); + } + + QVERIFY(modelBeforeSpy.size() == 1 && 1 == proxyBeforeSpy.size()); + QVERIFY(modelAfterSpy.size() == 1 && 1 == proxyAfterSpy.size()); + + verifyIdentity(&model); + m_proxy->setSourceModel(0); +} + +QTEST_MAIN(tst_QIdentityProxyModel) +#include "tst_qidentityproxymodel.moc" diff --git a/tests/auto/qitemselectionmodel/tst_qitemselectionmodel.cpp b/tests/auto/qitemselectionmodel/tst_qitemselectionmodel.cpp index 6e20fb2..d91b068 100644 --- a/tests/auto/qitemselectionmodel/tst_qitemselectionmodel.cpp +++ b/tests/auto/qitemselectionmodel/tst_qitemselectionmodel.cpp @@ -101,6 +101,7 @@ private slots: void testDifferentModels(); void testValidRangesInSelectionsAfterReset(); + void testChainedSelectionClear(); private: QAbstractItemModel *model; @@ -2655,5 +2656,58 @@ void tst_QItemSelectionModel::testValidRangesInSelectionsAfterReset() model.setStringList(strings); } +class DuplicateItemSelectionModel : public QItemSelectionModel +{ + Q_OBJECT +public: + DuplicateItemSelectionModel(QItemSelectionModel *target, QAbstractItemModel *model, QObject *parent = 0) + : QItemSelectionModel(model, parent), m_target(target) + { + + } + + void select(const QItemSelection &selection, QItemSelectionModel::SelectionFlags command) + { + QItemSelectionModel::select(selection, command); + m_target->select(selection, command); + } + + using QItemSelectionModel::select; + +private: + QItemSelectionModel *m_target; + +}; + +void tst_QItemSelectionModel::testChainedSelectionClear() +{ + QStringListModel model(QStringList() << "Apples" << "Pears"); + + QItemSelectionModel selectionModel(&model, 0); + DuplicateItemSelectionModel duplicate(&selectionModel, &model, 0); + + duplicate.select(model.index(0, 0), QItemSelectionModel::Select); + + { + QModelIndexList selectedIndexes = selectionModel.selection().indexes(); + QModelIndexList duplicatedIndexes = duplicate.selection().indexes(); + + QVERIFY(selectedIndexes.size() == duplicatedIndexes.size()); + QVERIFY(selectedIndexes.size() == 1); + QVERIFY(selectedIndexes.first() == model.index(0, 0)); + } + + duplicate.clearSelection(); + + { + QModelIndexList selectedIndexes = selectionModel.selection().indexes(); + QModelIndexList duplicatedIndexes = duplicate.selection().indexes(); + + QVERIFY(selectedIndexes.size() == duplicatedIndexes.size()); + QVERIFY(selectedIndexes.size() == 0); + } + +} + QTEST_MAIN(tst_QItemSelectionModel) #include "tst_qitemselectionmodel.moc" diff --git a/tests/auto/qlineedit/tst_qlineedit.cpp b/tests/auto/qlineedit/tst_qlineedit.cpp index 9176174..f45481c 100644 --- a/tests/auto/qlineedit/tst_qlineedit.cpp +++ b/tests/auto/qlineedit/tst_qlineedit.cpp @@ -282,6 +282,12 @@ private slots: void validateAndSet(); #endif + void bidiVisualMovement_data(); + void bidiVisualMovement(); + + void bidiLogicalMovement_data(); + void bidiLogicalMovement(); + protected slots: #ifdef QT3_SUPPORT void lostFocus(); @@ -3760,5 +3766,135 @@ void tst_QLineEdit::QTBUG13520_textNotVisible() } +void tst_QLineEdit::bidiVisualMovement_data() +{ + QTest::addColumn<QString>("logical"); + QTest::addColumn<int>("basicDir"); + QTest::addColumn<IntList>("positionList"); + + QTest::newRow("Latin text") + << QString::fromUtf8("abc") + << (int) QChar::DirL + << (IntList() << 0 << 1 << 2 << 3); + QTest::newRow("Hebrew text, one item") + << QString::fromUtf8("\327\220\327\221\327\222") + << (int) QChar::DirR + << (QList<int>() << 0 << 1 << 2 << 3); + QTest::newRow("Hebrew text after Latin text") + << QString::fromUtf8("abc\327\220\327\221\327\222") + << (int) QChar::DirL + << (QList<int>() << 0 << 1 << 2 << 6 << 5 << 4 << 3); + QTest::newRow("Latin text after Hebrew text") + << QString::fromUtf8("\327\220\327\221\327\222abc") + << (int) QChar::DirR + << (QList<int>() << 0 << 1 << 2 << 6 << 5 << 4 << 3); + QTest::newRow("LTR, 3 items") + << QString::fromUtf8("abc\327\220\327\221\327\222abc") + << (int) QChar::DirL + << (QList<int>() << 0 << 1 << 2 << 5 << 4 << 3 << 6 << 7 << 8 << 9); + QTest::newRow("RTL, 3 items") + << QString::fromUtf8("\327\220\327\221\327\222abc\327\220\327\221\327\222") + << (int) QChar::DirR + << (QList<int>() << 0 << 1 << 2 << 5 << 4 << 3 << 6 << 7 << 8 << 9); + QTest::newRow("LTR, 4 items") + << QString::fromUtf8("abc\327\220\327\221\327\222abc\327\220\327\221\327\222") + << (int) QChar::DirL + << (QList<int>() << 0 << 1 << 2 << 5 << 4 << 3 << 6 << 7 << 8 << 12 << 11 << 10 << 9); + QTest::newRow("RTL, 4 items") + << QString::fromUtf8("\327\220\327\221\327\222abc\327\220\327\221\327\222abc") + << (int) QChar::DirR + << (QList<int>() << 0 << 1 << 2 << 5 << 4 << 3 << 6 << 7 << 8 << 12 << 11 << 10 << 9); +} + +void tst_QLineEdit::bidiVisualMovement() +{ + QFETCH(QString, logical); + QFETCH(int, basicDir); + QFETCH(IntList, positionList); + + QLineEdit le; + le.setText(logical); + + le.setCursorMoveStyle(QTextCursor::Visual); + le.setCursorPosition(0); + + bool moved; + int i = 0, oldPos, newPos = 0; + + do { + oldPos = newPos; + QVERIFY(oldPos == positionList[i]); + if (basicDir == QChar::DirL) { + QTest::keyClick(&le, Qt::Key_Right); + } else + QTest::keyClick(&le, Qt::Key_Left); + newPos = le.cursorPosition(); + moved = (oldPos != newPos); + i++; + } while (moved); + + QVERIFY(i == positionList.size()); + + do { + i--; + oldPos = newPos; + QVERIFY(oldPos == positionList[i]); + if (basicDir == QChar::DirL) { + QTest::keyClick(&le, Qt::Key_Left); + } else + { + QTest::keyClick(&le, Qt::Key_Right); + } + newPos = le.cursorPosition(); + moved = (oldPos != newPos); + } while (moved && i >= 0); +} + +void tst_QLineEdit::bidiLogicalMovement_data() +{ + bidiVisualMovement_data(); +} + +void tst_QLineEdit::bidiLogicalMovement() +{ + QFETCH(QString, logical); + QFETCH(int, basicDir); + + QLineEdit le; + le.setText(logical); + + le.setCursorMoveStyle(QTextCursor::Logical); + le.setCursorPosition(0); + + bool moved; + int i = 0, oldPos, newPos = 0; + + do { + oldPos = newPos; + QVERIFY(oldPos == i); + if (basicDir == QChar::DirL) { + QTest::keyClick(&le, Qt::Key_Right); + } else + QTest::keyClick(&le, Qt::Key_Left); + newPos = le.cursorPosition(); + moved = (oldPos != newPos); + i++; + } while (moved); + + do { + i--; + oldPos = newPos; + QVERIFY(oldPos == i); + if (basicDir == QChar::DirL) { + QTest::keyClick(&le, Qt::Key_Left); + } else + { + QTest::keyClick(&le, Qt::Key_Right); + } + newPos = le.cursorPosition(); + moved = (oldPos != newPos); + } while (moved && i >= 0); +} + QTEST_MAIN(tst_QLineEdit) #include "tst_qlineedit.moc" diff --git a/tests/auto/qlistview/tst_qlistview.cpp b/tests/auto/qlistview/tst_qlistview.cpp index b6e69a0..ee03386 100644 --- a/tests/auto/qlistview/tst_qlistview.cpp +++ b/tests/auto/qlistview/tst_qlistview.cpp @@ -1893,7 +1893,8 @@ void tst_QListView::taskQTBUG_435_deselectOnViewportClick() QCOMPARE(view.selectionModel()->selectedIndexes().count(), model.rowCount()); - QPoint p = view.visualRect(model.index(model.rowCount() - 1)).center() + QPoint(0, 20); + const QRect itemRect = view.visualRect(model.index(model.rowCount() - 1)); + QPoint p = view.visualRect(model.index(model.rowCount() - 1)).center() + QPoint(0, itemRect.height()); //first the left button QTest::mouseClick(view.viewport(), Qt::LeftButton, 0, p); QVERIFY(!view.selectionModel()->hasSelection()); diff --git a/tests/auto/qpainter/tst_qpainter.cpp b/tests/auto/qpainter/tst_qpainter.cpp index c21514b..76bc5d63 100644 --- a/tests/auto/qpainter/tst_qpainter.cpp +++ b/tests/auto/qpainter/tst_qpainter.cpp @@ -77,6 +77,7 @@ # define SRCDIR "." #endif +Q_DECLARE_METATYPE(QGradientStops) Q_DECLARE_METATYPE(QLine) Q_DECLARE_METATYPE(QRect) Q_DECLARE_METATYPE(QSize) @@ -189,6 +190,7 @@ private slots: void fillRect_stretchToDeviceMode(); void monoImages(); + void linearGradientSymmetry_data(); void linearGradientSymmetry(); void gradientInterpolation(); @@ -3983,8 +3985,42 @@ static QLinearGradient inverseGradient(QLinearGradient g) return g2; } +void tst_QPainter::linearGradientSymmetry_data() +{ + QTest::addColumn<QGradientStops>("stops"); + + if (sizeof(qreal) != sizeof(float)) { + QGradientStops stops; + stops << qMakePair(qreal(0.0), QColor(Qt::blue)); + stops << qMakePair(qreal(0.2), QColor(220, 220, 220, 0)); + stops << qMakePair(qreal(0.6), QColor(Qt::red)); + stops << qMakePair(qreal(0.9), QColor(220, 220, 220, 255)); + stops << qMakePair(qreal(1.0), QColor(Qt::black)); + QTest::newRow("multiple stops") << stops; + } + + { + QGradientStops stops; + stops << qMakePair(qreal(0.0), QColor(Qt::blue)); + stops << qMakePair(qreal(1.0), QColor(Qt::black)); + QTest::newRow("two stops") << stops; + } + + if (sizeof(qreal) != sizeof(float)) { + QGradientStops stops; + stops << qMakePair(qreal(0.3), QColor(Qt::blue)); + stops << qMakePair(qreal(0.6), QColor(Qt::black)); + QTest::newRow("two stops 2") << stops; + } +} + void tst_QPainter::linearGradientSymmetry() { +#ifdef Q_WS_QWS + QSKIP("QWS has limited resolution in the gradient color table", SkipAll); +#else + QFETCH(QGradientStops, stops); + QImage a(64, 8, QImage::Format_ARGB32_Premultiplied); QImage b(64, 8, QImage::Format_ARGB32_Premultiplied); @@ -3992,11 +4028,7 @@ void tst_QPainter::linearGradientSymmetry() b.fill(0); QLinearGradient gradient(QRectF(b.rect()).topLeft(), QRectF(b.rect()).topRight()); - gradient.setColorAt(0.0, Qt::blue); - gradient.setColorAt(0.2, QColor(220, 220, 220, 0)); - gradient.setColorAt(0.6, Qt::red); - gradient.setColorAt(0.9, QColor(220, 220, 220, 255)); - gradient.setColorAt(1.0, Qt::black); + gradient.setStops(stops); QPainter pa(&a); pa.fillRect(a.rect(), gradient); @@ -4008,6 +4040,7 @@ void tst_QPainter::linearGradientSymmetry() b = b.mirrored(true); QCOMPARE(a, b); +#endif } void tst_QPainter::gradientInterpolation() diff --git a/tests/auto/qpixmap/tst_qpixmap.cpp b/tests/auto/qpixmap/tst_qpixmap.cpp index 4d032e8..98f7839 100644 --- a/tests/auto/qpixmap/tst_qpixmap.cpp +++ b/tests/auto/qpixmap/tst_qpixmap.cpp @@ -196,6 +196,8 @@ private slots: #if defined(Q_OS_SYMBIAN) && !defined(QT_NO_OPENVG) void vgImageReadBack(); #endif + + void drawPixmapWhilePainterOpen(); }; static bool lenientCompare(const QPixmap &actual, const QPixmap &expected) @@ -1337,7 +1339,7 @@ void tst_QPixmap::toSymbianCFbsBitmap() void tst_QPixmap::onlyNullPixmapsOutsideGuiThread() { -#if !defined(Q_WS_WIN) +#if !defined(Q_WS_WIN) && !defined(Q_WS_MAC) class Thread : public QThread { public: @@ -1370,7 +1372,7 @@ void tst_QPixmap::onlyNullPixmapsOutsideGuiThread() thread.wait(); #endif -#endif // !defined(Q_WS_WIN) +#endif // !defined(Q_WS_WIN) && !defined(Q_WS_MAC) } void tst_QPixmap::refUnref() @@ -1897,5 +1899,64 @@ void tst_QPixmap::vgImageReadBack() } #endif // Symbian & OpenVG +class PixmapWidget : public QWidget +{ +public: + PixmapWidget(QPixmap &pixmap) : QWidget(0), m_pixmap(pixmap) + { + resize(pixmap.width(), pixmap.height()); + } + +protected: + void paintEvent(QPaintEvent *) + { + QPainter p(this); + p.drawPixmap(0, 0, m_pixmap); + } + +private: + QPixmap &m_pixmap; +}; + +void tst_QPixmap::drawPixmapWhilePainterOpen() +{ + const int delay = 1000; + const int size = 100; + const QColor colors[] = { Qt::red, Qt::blue, Qt::green }; + + QPixmap pix(size, size); + pix.fill(colors[0]); + + PixmapWidget w(pix); + w.show(); + QTest::qWaitForWindowShown(&w); + QTest::qWait(delay); + + QPainter p(&pix); + p.fillRect(0, 0, size, size, colors[1]); + w.update(); + QTest::qWait(delay); + + p.fillRect(0, 0, size, size, colors[2]); + w.update(); + QTest::qWait(delay); + + QPixmap actual = QPixmap::grabWindow(w.effectiveWinId(), 0, 0, size, size); + + // If we captured some bogus content with grabWindow(), the comparison makes no sense + // because it cannot prove the feature is broken. + QPixmap guard(size, size); + bool matchesColors = false; + for (size_t i = 0; i < sizeof(colors) / sizeof(const QColor); ++i) { + guard.fill(colors[i]); + matchesColors |= lenientCompare(actual, guard); + } + if (!matchesColors) { + QSKIP("Skipping verification due to grabWindow() issue", SkipSingle); + } else { + QVERIFY(lenientCompare(actual, pix)); + } +} + QTEST_MAIN(tst_QPixmap) #include "tst_qpixmap.moc" diff --git a/tests/auto/qsortfilterproxymodel/tst_qsortfilterproxymodel.cpp b/tests/auto/qsortfilterproxymodel/tst_qsortfilterproxymodel.cpp index d26f0cd..8e7f393 100644 --- a/tests/auto/qsortfilterproxymodel/tst_qsortfilterproxymodel.cpp +++ b/tests/auto/qsortfilterproxymodel/tst_qsortfilterproxymodel.cpp @@ -149,7 +149,6 @@ private slots: void testMultipleProxiesWithSelection(); void mapSelectionFromSource(); - void testResetInternalData(); void filteredColumns(); protected: @@ -3183,142 +3182,6 @@ void tst_QSortFilterProxyModel::taskQTBUG_10287_unnecessaryMapCreation() // No assert failure, it passes. } -/** - * A proxy which changes the background color for items ending in 'y' or 'r' - */ -class CustomDataProxy : public QSortFilterProxyModel -{ - Q_OBJECT - -public: - CustomDataProxy(QObject *parent = 0) - : QSortFilterProxyModel(parent) - { - setDynamicSortFilter(true); - } - - void setSourceModel(QAbstractItemModel *sourceModel) - { - // It would be possible to use only the modelReset signal of the source model to clear - // the data in *this, however, this requires that the slot is connected - // before QSortFilterProxyModel::setSourceModel is called, and even then depends - // on the order of invokation of slots being the same as the order of connection. - // ie, not reliable. -// connect(sourceModel, SIGNAL(modelReset()), SLOT(resetInternalData())); - QSortFilterProxyModel::setSourceModel(sourceModel); - // Making the connect after the setSourceModel call clears the data too late. -// connect(sourceModel, SIGNAL(modelReset()), SLOT(resetInternalData())); - - // This could be done in data(), but the point is to need to cache something in the proxy - // which needs to be cleared on reset. - for (int i = 0; i < sourceModel->rowCount(); ++i) - { - if (sourceModel->index(i, 0).data().toString().endsWith(QLatin1Char('y'))) - { - m_backgroundColours.insert(i, Qt::blue); - } else if (sourceModel->index(i, 0).data().toString().endsWith(QLatin1Char('r'))) - { - m_backgroundColours.insert(i, Qt::red); - } - } - } - - QVariant data(const QModelIndex &index, int role) const - { - if (role != Qt::BackgroundRole) - return QSortFilterProxyModel::data(index, role); - return m_backgroundColours.value(index.row()); - } - -private slots: - void resetInternalData() - { - m_backgroundColours.clear(); - } - -private: - QHash<int, QColor> m_backgroundColours; -}; - -class ModelObserver : public QObject -{ - Q_OBJECT -public: - ModelObserver(QAbstractItemModel *model, QObject *parent = 0) - : QObject(parent), m_model(model) - { - connect(m_model, SIGNAL(modelAboutToBeReset()), SLOT(modelAboutToBeReset())); - connect(m_model, SIGNAL(modelReset()), SLOT(modelReset())); - } - -public slots: - void modelAboutToBeReset() - { - int reds = 0, blues = 0; - for (int i = 0; i < m_model->rowCount(); ++i) - { - QColor color = m_model->index(i, 0).data(Qt::BackgroundRole).value<QColor>(); - if (color == Qt::blue) - ++blues; - if (color == Qt::red) - ++reds; - } - QCOMPARE(blues, 11); - QCOMPARE(reds, 4); - } - - void modelReset() - { - int reds = 0, blues = 0; - for (int i = 0; i < m_model->rowCount(); ++i) - { - QColor color = m_model->index(i, 0).data(Qt::BackgroundRole).value<QColor>(); - if (color == Qt::blue) - ++blues; - if (color == Qt::red) - ++reds; - } - QCOMPARE(reds, 0); - QCOMPARE(blues, 0); - } - -private: - QAbstractItemModel * const m_model; - -}; - -void tst_QSortFilterProxyModel::testResetInternalData() -{ - - QStringListModel model(QStringList() << "Monday" - << "Tuesday" - << "Wednesday" - << "Thursday" - << "Friday" - << "January" - << "February" - << "March" - << "April" - << "May" - << "Saturday" - << "June" - << "Sunday" - << "July" - << "August" - << "September" - << "October" - << "November" - << "December"); - - CustomDataProxy proxy; - proxy.setSourceModel(&model); - - ModelObserver observer(&proxy); - - // Cause the source model to reset. - model.setStringList(QStringList() << "Spam" << "Eggs"); -} - class FilteredColumnProxyModel : public QSortFilterProxyModel { Q_OBJECT diff --git a/tests/auto/qstyle/tst_qstyle.cpp b/tests/auto/qstyle/tst_qstyle.cpp index ad5d7ff..5c319f0 100644 --- a/tests/auto/qstyle/tst_qstyle.cpp +++ b/tests/auto/qstyle/tst_qstyle.cpp @@ -272,6 +272,18 @@ void tst_QStyle::drawItemPixmap() QPixmap p(QString(SRCDIR) + "/task_25863.png", "PNG"); QPixmap actualPix = QPixmap::grabWidget(testWidget); + +#ifdef Q_OS_SYMBIAN + // QPixmap cannot be assumed to be exactly same, unless it is created from exactly same content. + // In Symbian, pixmap format might get "optimized" depending on how QPixmap is created. + // Therefore, force the content to specific format and compare QImages. + // Then re-create the QPixmaps and compare those. + QImage i1 = p.toImage().convertToFormat(QImage::Format_ARGB32_Premultiplied); + p = QPixmap::fromImage(i1); + QImage i2 = actualPix.toImage().convertToFormat(QImage::Format_ARGB32_Premultiplied); + actualPix = QPixmap::fromImage(i2); + QVERIFY(i1 == i2); +#endif QVERIFY(pixmapsAreEqual(&actualPix,&p)); testWidget->hide(); } diff --git a/tests/auto/qtablewidget/tst_qtablewidget.cpp b/tests/auto/qtablewidget/tst_qtablewidget.cpp index d17e064..40aece4 100644 --- a/tests/auto/qtablewidget/tst_qtablewidget.cpp +++ b/tests/auto/qtablewidget/tst_qtablewidget.cpp @@ -41,6 +41,7 @@ #include <QtTest/QtTest> +#include "../../shared/util.h" #include <qeventloop.h> #include <qlist.h> #include <qpair.h> @@ -1472,7 +1473,7 @@ void tst_QTableWidget::task219380_removeLastRow() testWidget->removeRow(19); //we remove the last row //we make sure the editor is at the cell position - QCOMPARE(testWidget->cellWidget(18, 0)->geometry(), testWidget->visualItemRect(&item)); + QTRY_COMPARE(testWidget->cellWidget(18, 0)->geometry(), testWidget->visualItemRect(&item)); } void tst_QTableWidget::task262056_sortDuplicate() diff --git a/tests/auto/qtextedit/tst_qtextedit.cpp b/tests/auto/qtextedit/tst_qtextedit.cpp index 9ca17b9..5a64593 100644 --- a/tests/auto/qtextedit/tst_qtextedit.cpp +++ b/tests/auto/qtextedit/tst_qtextedit.cpp @@ -42,7 +42,6 @@ #include <QtTest/QtTest> - #include <qtextedit.h> #include <qtextcursor.h> #include <qtextlist.h> @@ -69,6 +68,7 @@ typedef QList<keyPairType> pairListType; Q_DECLARE_METATYPE(pairListType); Q_DECLARE_METATYPE(keyPairType); Q_DECLARE_METATYPE(QList<bool>); +Q_DECLARE_METATYPE(QList<int>); #ifdef Q_WS_MAC #include <Carbon/Carbon.h> @@ -205,6 +205,11 @@ private slots: #ifndef QT_NO_CONTEXTMENU void taskQTBUG_7902_contextMenuCrash(); #endif + void bidiVisualMovement_data(); + void bidiVisualMovement(); + + void bidiLogicalMovement_data(); + void bidiLogicalMovement(); private: void createSelection(); @@ -2235,5 +2240,147 @@ void tst_QTextEdit::taskQTBUG_7902_contextMenuCrash() } #endif +void tst_QTextEdit::bidiVisualMovement_data() +{ + QTest::addColumn<QString>("logical"); + QTest::addColumn<int>("basicDir"); + QTest::addColumn<QList<int> >("positionList"); + + QTest::newRow("Latin text") + << QString::fromUtf8("abc") + << (int) QChar::DirL + << (QList<int>() << 0 << 1 << 2 << 3); + QTest::newRow("Hebrew text, one item") + << QString::fromUtf8("\327\220\327\221\327\222") + << (int) QChar::DirR + << (QList<int>() << 0 << 1 << 2 << 3); + QTest::newRow("Hebrew text after Latin text") + << QString::fromUtf8("abc\327\220\327\221\327\222") + << (int) QChar::DirL + << (QList<int>() << 0 << 1 << 2 << 6 << 5 << 4 << 3); + QTest::newRow("Latin text after Hebrew text") + << QString::fromUtf8("\327\220\327\221\327\222abc") + << (int) QChar::DirR + << (QList<int>() << 0 << 1 << 2 << 6 << 5 << 4 << 3); + QTest::newRow("LTR, 3 items") + << QString::fromUtf8("abc\327\220\327\221\327\222abc") + << (int) QChar::DirL + << (QList<int>() << 0 << 1 << 2 << 5 << 4 << 3 << 6 << 7 << 8 << 9); + QTest::newRow("RTL, 3 items") + << QString::fromUtf8("\327\220\327\221\327\222abc\327\220\327\221\327\222") + << (int) QChar::DirR + << (QList<int>() << 0 << 1 << 2 << 5 << 4 << 3 << 6 << 7 << 8 << 9); + QTest::newRow("LTR, 4 items") + << QString::fromUtf8("abc\327\220\327\221\327\222abc\327\220\327\221\327\222") + << (int) QChar::DirL + << (QList<int>() << 0 << 1 << 2 << 5 << 4 << 3 << 6 << 7 << 8 << 12 << 11 << 10 << 9); + QTest::newRow("RTL, 4 items") + << QString::fromUtf8("\327\220\327\221\327\222abc\327\220\327\221\327\222abc") + << (int) QChar::DirR + << (QList<int>() << 0 << 1 << 2 << 5 << 4 << 3 << 6 << 7 << 8 << 12 << 11 << 10 << 9); +} + +void tst_QTextEdit::bidiVisualMovement() +{ + QFETCH(QString, logical); + QFETCH(int, basicDir); + QFETCH(QList<int>, positionList); + + ed->setText(logical); + + QTextOption option = ed->document()->defaultTextOption(); + option.setTextDirection(basicDir == QChar::DirL ? Qt::LeftToRight : Qt::RightToLeft); + ed->document()->setDefaultTextOption(option); + + ed->document()->setDefaultCursorMoveStyle(QTextCursor::Visual); + ed->moveCursor(QTextCursor::Start); + ed->show(); + + bool moved; + int i = 0, oldPos, newPos = 0; + + do { + oldPos = newPos; + QVERIFY(oldPos == positionList[i]); + if (basicDir == QChar::DirL) { + ed->moveCursor(QTextCursor::Right); + } else + { + ed->moveCursor(QTextCursor::Left); + } + newPos = ed->textCursor().position(); + moved = (oldPos != newPos); + i++; + } while (moved); + + QVERIFY(i == positionList.size()); + + do { + i--; + oldPos = newPos; + QVERIFY(oldPos == positionList[i]); + if (basicDir == QChar::DirL) { + ed->moveCursor(QTextCursor::Left); + } else + { + ed->moveCursor(QTextCursor::Right); + } + newPos = ed->textCursor().position(); + moved = (oldPos != newPos); + } while (moved && i >= 0); +} + +void tst_QTextEdit::bidiLogicalMovement_data() +{ + bidiVisualMovement_data(); +} + +void tst_QTextEdit::bidiLogicalMovement() +{ + QFETCH(QString, logical); + QFETCH(int, basicDir); + + ed->setText(logical); + + QTextOption option = ed->document()->defaultTextOption(); + option.setTextDirection(basicDir == QChar::DirL ? Qt::LeftToRight : Qt::RightToLeft); + ed->document()->setDefaultTextOption(option); + + ed->document()->setDefaultCursorMoveStyle(QTextCursor::Logical); + ed->moveCursor(QTextCursor::Start); + ed->show(); + + bool moved; + int i = 0, oldPos, newPos = 0; + + do { + oldPos = newPos; + QVERIFY(oldPos == i); + if (basicDir == QChar::DirL) { + ed->moveCursor(QTextCursor::Right); + } else + { + ed->moveCursor(QTextCursor::Left); + } + newPos = ed->textCursor().position(); + moved = (oldPos != newPos); + i++; + } while (moved); + + do { + i--; + oldPos = newPos; + QVERIFY(oldPos == i); + if (basicDir == QChar::DirL) { + ed->moveCursor(QTextCursor::Left); + } else + { + ed->moveCursor(QTextCursor::Right); + } + newPos = ed->textCursor().position(); + moved = (oldPos != newPos); + } while (moved && i >= 0); +} + QTEST_MAIN(tst_QTextEdit) #include "tst_qtextedit.moc" diff --git a/tests/auto/qwizard/tst_qwizard.cpp b/tests/auto/qwizard/tst_qwizard.cpp index a813727..5667d40 100644 --- a/tests/auto/qwizard/tst_qwizard.cpp +++ b/tests/auto/qwizard/tst_qwizard.cpp @@ -1770,8 +1770,11 @@ public: ~TestWizard() { - foreach (int id, pageIds) - delete page(id); + foreach (int id, pageIds) { + QWizardPage *page_to_delete = page(id); + removePage(id); + delete page_to_delete; + } } void applyOperations(const QList<Operation *> &operations) @@ -2548,8 +2551,8 @@ void tst_QWizard::task177022_setFixedSize() QWizard wiz; QWizardPage page1; QWizardPage page2; - wiz.addPage(&page1); - wiz.addPage(&page2); + int page1_id = wiz.addPage(&page1); + int page2_id = wiz.addPage(&page2); wiz.setFixedSize(width, height); if (wiz.wizardStyle() == QWizard::AeroStyle) QEXPECT_FAIL("", "this probably relates to non-client area hack for AeroStyle titlebar " @@ -2576,6 +2579,8 @@ void tst_QWizard::task177022_setFixedSize() QCOMPARE(wiz.maximumWidth(), width); QCOMPARE(wiz.maximumHeight(), height); + wiz.removePage(page1_id); + wiz.removePage(page2_id); } void tst_QWizard::task248107_backButton() diff --git a/tests/benchmarks/corelib/io/qdir/qdir.pro b/tests/benchmarks/corelib/io/qdir/qdir.pro index c572566..2c18e75 100644 --- a/tests/benchmarks/corelib/io/qdir/qdir.pro +++ b/tests/benchmarks/corelib/io/qdir/qdir.pro @@ -1,2 +1,4 @@ TEMPLATE = subdirs -SUBDIRS = 10000 +SUBDIRS = \ + 10000 \ + tree diff --git a/tests/benchmarks/script/script.pro b/tests/benchmarks/script/script.pro index 80278d0..5da05e7 100644 --- a/tests/benchmarks/script/script.pro +++ b/tests/benchmarks/script/script.pro @@ -14,7 +14,6 @@ TRUSTED_BENCHMARKS += \ qscriptclass \ qscriptvalue \ qscriptengine \ - qscriptobject \ - context2d + qscriptqobject include(../trusted-benchmarks.pri) diff --git a/tools/linguist/shared/ts.cpp b/tools/linguist/shared/ts.cpp index 85be5c6..4523bc5 100644 --- a/tools/linguist/shared/ts.cpp +++ b/tools/linguist/shared/ts.cpp @@ -264,6 +264,7 @@ bool TSReader::read(Translator &translator) //qDebug() << "TS " << attributes(); QHash<QString, int> currentLine; QString currentFile; + bool maybeRelative = false, maybeAbsolute = false; QXmlStreamAttributes atts = attributes(); //QString version = atts.value(strversion).toString(); @@ -342,10 +343,12 @@ bool TSReader::read(Translator &translator) msg.setTranslatorComment(readContents()); } else if (elementStarts(strlocation)) { // <location/> + maybeAbsolute = true; QXmlStreamAttributes atts = attributes(); QString fileName = atts.value(strfilename).toString(); if (fileName.isEmpty()) { fileName = currentMsgFile; + maybeRelative = true; } else { if (refs.isEmpty()) currentFile = fileName; @@ -353,7 +356,6 @@ bool TSReader::read(Translator &translator) } const QString lin = atts.value(strline).toString(); if (lin.isEmpty()) { - translator.setLocationsType(Translator::RelativeLocations); refs.append(TranslatorMessage::Reference(fileName, -1)); } else { bool bOK; @@ -361,9 +363,7 @@ bool TSReader::read(Translator &translator) if (bOK) { if (lin.startsWith(QLatin1Char('+')) || lin.startsWith(QLatin1Char('-'))) { lineNo = (currentLine[fileName] += lineNo); - translator.setLocationsType(Translator::RelativeLocations); - } else { - translator.setLocationsType(Translator::AbsoluteLocations); + maybeRelative = true; } refs.append(TranslatorMessage::Reference(fileName, lineNo)); } @@ -422,6 +422,9 @@ bool TSReader::read(Translator &translator) } else { handleError(); } + translator.setLocationsType(maybeRelative ? Translator::RelativeLocations : + maybeAbsolute ? Translator::AbsoluteLocations : + Translator::NoLocations); } // </TS> } else { handleError(); @@ -727,7 +730,6 @@ bool saveTS(const Translator &translator, QIODevice &dev, ConversionData &cd, in bool loadTS(Translator &translator, QIODevice &dev, ConversionData &cd) { - translator.setLocationsType(Translator::NoLocations); TSReader reader(dev, cd); return reader.read(translator); } diff --git a/tools/qml/qml.pro b/tools/qml/qml.pro index b1d56ea..84ebba8 100644 --- a/tools/qml/qml.pro +++ b/tools/qml/qml.pro @@ -39,7 +39,7 @@ symbian { TARGET.CAPABILITY = NetworkServices ReadUserData # Deploy plugin for remote debugging - qmldebuggingplugin.sources = $$QT_BUILD_TREE/plugins/qmltooling/tcpserver$${QT_LIBINFIX}.dll + qmldebuggingplugin.sources = $$QT_BUILD_TREE/plugins/qmltooling/qmldbg_tcp$${QT_LIBINFIX}.dll $$QT_BUILD_TREE/plugins/qmltooling/qmldbg_ost$${QT_LIBINFIX}.dll qmldebuggingplugin.path = c:$$QT_PLUGINS_BASE_DIR/qmltooling DEPLOYMENT += qmldebuggingplugin } diff --git a/tools/qml/startup/startup.qml b/tools/qml/startup/startup.qml index fae7401..a216ac6 100644 --- a/tools/qml/startup/startup.qml +++ b/tools/qml/startup/startup.qml @@ -90,7 +90,7 @@ Rectangle { NumberAnimation on rotation { from: 0 to: 360 - loops: NumberAnimation.Infinite + loops: 3 running: true duration: 2000 } diff --git a/translations/assistant_cs.ts b/translations/assistant_cs.ts index be54f86..be54f86 100755..100644 --- a/translations/assistant_cs.ts +++ b/translations/assistant_cs.ts diff --git a/translations/assistant_ko.ts b/translations/assistant_ko.ts new file mode 100644 index 0000000..1dbdf4f --- /dev/null +++ b/translations/assistant_ko.ts @@ -0,0 +1,1551 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="ko_KR"> +<context> + <name>AboutDialog</name> + <message> + <source>&Close</source> + <translation>닫기(&C)</translation> + </message> +</context> +<context> + <name>AboutLabel</name> + <message> + <source>Warning</source> + <translation>경고</translation> + </message> + <message> + <source>Unable to launch external application. +</source> + <translation>외부 프로그램을 시작할 수 없습니다. +</translation> + </message> + <message> + <source>OK</source> + <translation>확인</translation> + </message> +</context> +<context> + <name>Assistant</name> + <message> + <source>Error registering documentation file '%1': %2</source> + <translation>문서 파일 '%1'을(를) 등록하는 중 오류 발생: %2</translation> + </message> + <message> + <source>Error: %1</source> + <translation>오류: %1</translation> + </message> + <message> + <source>Could not register documentation file +%1 + +Reason: +%2</source> + <translation>다음 문서 파일을 등록할 수 없음: +%1 + +이유: +%2</translation> + </message> + <message> + <source>Documentation successfully registered.</source> + <translation>문서를 성공적으로 등록하였습니다.</translation> + </message> + <message> + <source>Could not unregister documentation file +%1 + +Reason: +%2</source> + <translation>다음 문서 파일의 등록을 해제할 수 없음: +%1 + +이유: +%2</translation> + </message> + <message> + <source>Documentation successfully unregistered.</source> + <translation>문서 파일의 등록을 해제하였습니다.</translation> + </message> + <message> + <source>Error reading collection file '%1': %2.</source> + <translation>모음집 파일 '%1'을(를) 읽는 중 오류 발생: %2.</translation> + </message> + <message> + <source>Error creating collection file '%1': %2.</source> + <translation>모음집 파일 '%1'을(를) 만드는 중 오류 발생: %2.</translation> + </message> + <message> + <source>Cannot load sqlite database driver!</source> + <translation>SQLite 데이터베이스 드라이버를 불러올 수 없습니다!</translation> + </message> +</context> +<context> + <name>BookmarkDialog</name> + <message> + <source>Add Bookmark</source> + <translation>책갈피 추가</translation> + </message> + <message> + <source>Bookmark:</source> + <translation>책갈피:</translation> + </message> + <message> + <source>Add in Folder:</source> + <translation>추가할 폴더:</translation> + </message> + <message> + <source>+</source> + <translation>+</translation> + </message> + <message> + <source>New Folder</source> + <translation>새 폴더</translation> + </message> + <message> + <source>Rename Folder</source> + <translation>폴더 이름 바꾸기</translation> + </message> +</context> +<context> + <name>BookmarkItem</name> + <message> + <source>New Folder</source> + <translation>새 폴더</translation> + </message> + <message> + <source>Untitled</source> + <translation>제목 없음</translation> + </message> +</context> +<context> + <name>BookmarkManager</name> + <message> + <source>Untitled</source> + <translation>제목 없음</translation> + </message> + <message> + <source>Remove</source> + <translation>삭제</translation> + </message> + <message> + <source>You are going to delete a Folder, this will also<br>remove it's content. Are you sure to continue?</source> + <translation>폴더를 삭제하면 내용도 제거됩니다.<br>계속 진행하시겠습니까?</translation> + </message> + <message> + <source>Manage Bookmarks...</source> + <translation>책갈피 관리...</translation> + </message> + <message> + <source>Add Bookmark...</source> + <translation>책갈피 추가...</translation> + </message> + <message> + <source>Ctrl+D</source> + <translation>Ctrl+D</translation> + </message> + <message> + <source>Delete Folder</source> + <translation>폴더 삭제</translation> + </message> + <message> + <source>Rename Folder</source> + <translation>폴더 이름 바꾸기</translation> + </message> + <message> + <source>Show Bookmark</source> + <translation>책갈피 열기</translation> + </message> + <message> + <source>Show Bookmark in New Tab</source> + <translation>새 탭으로 책갈피 열기</translation> + </message> + <message> + <source>Delete Bookmark</source> + <translation>책갈피 삭제</translation> + </message> + <message> + <source>Rename Bookmark</source> + <translation>책갈피 이름 바꾸기</translation> + </message> +</context> +<context> + <name>BookmarkManagerWidget</name> + <message> + <source>Manage Bookmarks</source> + <translation>책갈피 관리</translation> + </message> + <message> + <source>Search:</source> + <translation>찾기:</translation> + </message> + <message> + <source>Remove</source> + <translation>삭제</translation> + </message> + <message> + <source>Import and Backup</source> + <translation>가져오기 및 백업</translation> + </message> + <message> + <source>OK</source> + <translation>확인</translation> + </message> + <message> + <source>Import...</source> + <translation>가져오기...</translation> + </message> + <message> + <source>Export...</source> + <translation>내보내기...</translation> + </message> + <message> + <source>Open File</source> + <translation>열기</translation> + </message> + <message> + <source>Files (*.xbel)</source> + <translation>파일 (*.xbel)</translation> + </message> + <message> + <source>Save File</source> + <translation>파일 저장</translation> + </message> + <message> + <source>Qt Assistant</source> + <translation>Qt Assistant</translation> + </message> + <message> + <source>Unable to save bookmarks.</source> + <translation>책갈피를 저장할 수 없습니다.</translation> + </message> + <message> + <source>You are goingto delete a Folder, this will also<br> remove it's content. Are you sure to continue?</source> + <translation>폴더를 삭제하면 내용도 제거됩니다.<br>계속 진행하시겠습니까?</translation> + </message> + <message> + <source>Delete Folder</source> + <translation>폴더 삭제</translation> + </message> + <message> + <source>Rename Folder</source> + <translation>폴더 이름 바꾸기</translation> + </message> + <message> + <source>Show Bookmark</source> + <translation>책갈피 열기</translation> + </message> + <message> + <source>Show Bookmark in New Tab</source> + <translation>새 탭으로 책갈피 열기</translation> + </message> + <message> + <source>Delete Bookmark</source> + <translation>책갈피 삭제</translation> + </message> + <message> + <source>Rename Bookmark</source> + <translation>책갈피 이름 바꾸기</translation> + </message> +</context> +<context> + <name>BookmarkModel</name> + <message> + <source>Name</source> + <translation>이름</translation> + </message> + <message> + <source>Address</source> + <translation>주소</translation> + </message> + <message> + <source>Bookmarks Menu</source> + <translation>책갈피 메뉴</translation> + </message> +</context> +<context> + <name>BookmarkWidget</name> + <message> + <source>Bookmarks</source> + <translation>책갈피</translation> + </message> + <message> + <source>Filter:</source> + <translation>필터:</translation> + </message> + <message> + <source>Add</source> + <translation>추가</translation> + </message> + <message> + <source>Remove</source> + <translation>삭제</translation> + </message> +</context> +<context> + <name>CentralWidget</name> + <message> + <source>Add new page</source> + <translation>새 쪽 추가</translation> + </message> + <message> + <source>Close current page</source> + <translation>현재 쪽 닫기</translation> + </message> + <message> + <source>Print Document</source> + <translation>문서 인쇄</translation> + </message> + <message> + <source>unknown</source> + <translation>알 수 없음</translation> + </message> + <message> + <source>Add New Page</source> + <translation>새 쪽 추가</translation> + </message> + <message> + <source>Close This Page</source> + <translation>이 쪽 닫기</translation> + </message> + <message> + <source>Close Other Pages</source> + <translation>다른 쪽 닫기</translation> + </message> + <message> + <source>Add Bookmark for this Page...</source> + <translation>이 쪽을 책갈피에 추가...</translation> + </message> + <message> + <source>Search</source> + <translation>찾기</translation> + </message> +</context> +<context> + <name>CmdLineParser</name> + <message> + <source>Usage: assistant [Options] + +-collectionFile file Uses the specified collection + file instead of the default one +-showUrl url Shows the document with the + url. +-enableRemoteControl Enables Assistant to be + remotely controlled. +-show widget Shows the specified dockwidget + which can be "contents", "index", + "bookmarks" or "search". +-activate widget Activates the specified dockwidget + which can be "contents", "index", + "bookmarks" or "search". +-hide widget Hides the specified dockwidget + which can be "contents", "index" + "bookmarks" or "search". +-register helpFile Registers the specified help file + (.qch) in the given collection + file. +-unregister helpFile Unregisters the specified help file + (.qch) from the give collection + file. +-setCurrentFilter filter Set the filter as the active filter. +-remove-search-index Removes the full text search index. +-rebuild-search-index Re-builds the full text search index (potentially slow). +-quiet Does not display any error or + status message. +-help Displays this help. +</source> + <translation>사용 방법: assistant [옵션] + +-collectionFile file 기본 모음집 파일 대신 + 지정한 모음집 파일을 사용합니다. +-showUrl url 'url'에 있는 문서를 엽니다. +-enableRemoteControl Assistant 원격 제어를 사용합니다. +-show widget 지정한 도킹 가능한 위젯을 표시합니다. + 사용 가능한 값: "contents", "index", + "bookmarks" 및 "search". +-activate widget 지정한 도킹 가능한 위젯을 활성화합니다. + 사용 가능한 값: "contents", "index", + "bookmarks" 및 "search". +-hide widget 지정한 도킹 가능한 위젯을 숨깁니다. + 사용 가능한 값: "contents", "index" + "bookmarks" 및 "search". +-register helpFile 지정한 모음집 파일에 + 지정한 도움말 파일 (.qch)을 + 등록합니다. +-unregister helpFile 지정한 모음집 파일에서 + 지정한 도움말 파일 (.qch)의 + 등록을 해제합니다. +-setCurrentFilter filter 지정한 필터를 활성 필터로 지정합니다. +-remove-search-index 전문 검색 인덱스를 삭제합니다. +-rebuild-search-index 전문 검색 인덱스를 다시 생성합니다 (느릴 수도 있음). +-quiet 오류 및 상태 메시지를 + 표시하지 않습니다. +-help 이 도움말을 표시합니다. +</translation> + </message> + <message> + <source>Unknown option: %1</source> + <translation>알 수 없는 옵션: %1</translation> + </message> + <message> + <source>The collection file '%1' does not exist.</source> + <translation>모음집 파일 '%1'이(가) 존재하지 않습니다.</translation> + </message> + <message> + <source>Missing collection file.</source> + <translation>모음집 파일이 존재하지 않습니다.</translation> + </message> + <message> + <source>Invalid URL '%1'.</source> + <translation>잘못된 URL '%1'.</translation> + </message> + <message> + <source>Missing URL.</source> + <translation>URL이 존재하지 않습니다.</translation> + </message> + <message> + <source>Unknown widget: %1</source> + <translation>알 수 없는 위젯: %1</translation> + </message> + <message> + <source>Missing widget.</source> + <translation>위젯이 존재하지 않습니다.</translation> + </message> + <message> + <source>The Qt help file '%1' does not exist.</source> + <translation>Qt 도움말 파일 '%1'이(가) 존재하지 않습니다.</translation> + </message> + <message> + <source>Missing help file.</source> + <translation>도움말 파일이 없습니다.</translation> + </message> + <message> + <source>Missing filter argument.</source> + <translation>필터 인자가 없습니다.</translation> + </message> + <message> + <source>Error</source> + <translation>오류</translation> + </message> + <message> + <source>Notice</source> + <translation>알림</translation> + </message> +</context> +<context> + <name>ContentWindow</name> + <message> + <source>Open Link</source> + <translation>링크 열기</translation> + </message> + <message> + <source>Open Link in New Tab</source> + <translation>새 탭으로 링크 열기</translation> + </message> +</context> +<context> + <name>ConversionWizard</name> + <message> + <source>Help Conversion Wizard</source> + <translation>도움말 변환 마법사</translation> + </message> + <message> + <source>Converting %1...</source> + <translation>%1 변환 중...</translation> + </message> + <message> + <source>Writing help collection file...</source> + <translation>도움말 모음집 파일에 쓰는 중...</translation> + </message> + <message> + <source>Done.</source> + <translation>완료.</translation> + </message> +</context> +<context> + <name>FilesPage</name> + <message> + <source>Form</source> + <translation>폼</translation> + </message> + <message> + <source>Files:</source> + <translation>파일:</translation> + </message> + <message> + <source>Remove</source> + <translation>삭제</translation> + </message> + <message> + <source>Remove All</source> + <translation>모두 삭제</translation> + </message> + <message> + <source>Unreferenced Files</source> + <translation>참조되지 않은 파일</translation> + </message> + <message> + <source>Remove files which are neither referenced by a keyword nor by the TOC.</source> + <translation>키워드나 목차에서 참조하지 않는 파일을 삭제합니다.</translation> + </message> + <message> + <source><p><b>Warning:</b> When removing images or stylesheets, be aware that those files are not directly referenced by the .adp or .dcf file.</p></source> + <translation><p><b>경고:</b> 그림이나 스타일 시트를 삭제한다면, .adp 파일이나 .dcf 파일에서 직접 참조하는지 여부를 확인하십시오.</p></translation> + </message> +</context> +<context> + <name>FilterNameDialogClass</name> + <message> + <source>Add Filter Name</source> + <translation>필터 이름 추가</translation> + </message> + <message> + <source>Filter Name:</source> + <translation>필터 이름:</translation> + </message> +</context> +<context> + <name>FilterPage</name> + <message> + <source>Form</source> + <translation>폼</translation> + </message> + <message> + <source>Filter attributes for current documentation (comma separated list):</source> + <translation>현재 문서의 필터 속성 (쉼표로 구분된 목록):</translation> + </message> + <message> + <source>Custom Filters</source> + <translation>사용자 정의 필터</translation> + </message> + <message> + <source>1</source> + <translation>1</translation> + </message> + <message> + <source>2</source> + <translation>2</translation> + </message> + <message> + <source>Add</source> + <translation>추가</translation> + </message> + <message> + <source>Remove</source> + <translation>삭제</translation> + </message> + <message> + <source>Filter Settings</source> + <translation>필터 설정</translation> + </message> + <message> + <source>Specify the filter attributes for the documentation. If filter attributes are used, also define a custom filter for it. Both the filter attributes and the custom filters are optional.</source> + <translation>문서의 필터 속성을 지정합니다. 필터 속성이 사용된다면 연관된 사용자 정의 필터도 정의해야 합니다. 필터 속성과 사용자 정의 필터는 선택 사항입니다.</translation> + </message> + <message> + <source>Filter Name</source> + <translation>필터 이름</translation> + </message> + <message> + <source>Filter Attributes</source> + <translation>필터 속성</translation> + </message> + <message> + <source>The custom filter '%1' is defined multiple times.</source> + <translation>사용자 정의 필터 '%1'이(가) 여러 번 정의되었습니다.</translation> + </message> + <message> + <source>The attributes for custom filter '%1' are defined multiple times.</source> + <translation>사용자 정의 필터의 속성 '%1'이(가) 여러 번 정의되었습니다.</translation> + </message> + <message> + <source>unfiltered</source> + <comment>list of available documentation</comment> + <translation>필터되지 않음</translation> + </message> +</context> +<context> + <name>FindWidget</name> + <message> + <source>Previous</source> + <translation>이전</translation> + </message> + <message> + <source>Next</source> + <translation>다음</translation> + </message> + <message> + <source>Case Sensitive</source> + <translation>대소문자 구분</translation> + </message> + <message> + <source><img src=":/trolltech/assistant/images/wrap.png">&nbsp;Search wrapped</source> + <translation><img src=":/trolltech/assistant/images/wrap.png">&nbsp;검색 다시 시작됨</translation> + </message> +</context> +<context> + <name>FinishPage</name> + <message> + <source>Converting File</source> + <translation>파일 변환 중</translation> + </message> + <message> + <source>Creating the new Qt help files from the old ADP file.</source> + <translation>이전 ADP 파일에서 새 Qt 도움말 파일을 만들고 있습니다.</translation> + </message> +</context> +<context> + <name>FontPanel</name> + <message> + <source>Font</source> + <translation>글꼴</translation> + </message> + <message> + <source>&Writing system</source> + <translation>문자 체계(&W)</translation> + </message> + <message> + <source>&Family</source> + <translation>글꼴 종류(&F)</translation> + </message> + <message> + <source>&Style</source> + <translation>스타일(&S)</translation> + </message> + <message> + <source>&Point size</source> + <translation>글꼴 크기(&P)</translation> + </message> +</context> +<context> + <name>GeneralPage</name> + <message> + <source>Form</source> + <translation>폼</translation> + </message> + <message> + <source>Namespace:</source> + <translation>네임스페이스:</translation> + </message> + <message> + <source>Virtual Folder:</source> + <translation>가상 폴더:</translation> + </message> + <message> + <source>General Settings</source> + <translation>일반 설정</translation> + </message> + <message> + <source>Specify the namespace and the virtual folder for the documentation.</source> + <translation>문서의 네임스페이스와 가상 폴더를 설정합니다.</translation> + </message> + <message> + <source>Namespace Error</source> + <translation>네임스페이스 오류</translation> + </message> + <message> + <source>The namespace contains some invalid characters.</source> + <translation>네임스페이스 이름에 올바르지 않은 문자가 포함되어 있습니다.</translation> + </message> + <message> + <source>Virtual Folder Error</source> + <translation>가상 폴더 에러</translation> + </message> + <message> + <source>The virtual folder contains some invalid characters.</source> + <translation>가상 폴더 이름에 올바르지 않은 문자가 포함되어 있습니다.</translation> + </message> +</context> +<context> + <name>HelpEngineWrapper</name> + <message> + <source>Unfiltered</source> + <translation>필터되지 않음</translation> + </message> +</context> +<context> + <name>HelpGenerator</name> + <message> + <source>Warning: %1</source> + <translation>경고: %1</translation> + </message> +</context> +<context> + <name>HelpViewer</name> + <message> + <source><title>about:blank</title></source> + <translation><title>about:blank</title></translation> + </message> + <message> + <source><title>Error 404...</title><div align="center"><br><br><h1>The page could not be found</h1><br><h3>'%1'</h3></div></source> + <translation><title>404 오류...</title><div align="center"><br><br><h1>페이지를 찾을 수 없음</h1><br><h3>'%1'</h3></div></translation> + </message> + <message> + <source>Copy &Link Location</source> + <translation>링크 주소 복사(&L)</translation> + </message> + <message> + <source>Open Link in New Tab Ctrl+LMB</source> + <translation>새 탭으로 링크 열기 Ctrl+LMB</translation> + </message> + <message> + <source>Open Link in New Tab</source> + <translation>새 탭으로 링크 열기</translation> + </message> +</context> +<context> + <name>HelpWindow</name> + <message> + <source><center><b>Wizard Assistant</b></center></source> + <translation><center><b>마법사 도우미</b></center></translation> + </message> +</context> +<context> + <name>IdentifierPage</name> + <message> + <source>Form</source> + <translation>폼</translation> + </message> + <message> + <source>Create identifiers</source> + <translation>식별자 만들기</translation> + </message> + <message> + <source>Global prefix:</source> + <translation>전역 접두사:</translation> + </message> + <message> + <source>Inherit prefix from file names</source> + <translation>파일 이름에서 접두사 상속받기</translation> + </message> + <message> + <source>Identifiers</source> + <translation>식별자</translation> + </message> + <message> + <source>This page allows you to create identifiers from the keywords found in the .adp or .dcf file.</source> + <translation>이 페이지에서는 .adp 및 .dcf 파일에서 찾은 키워드에서 식별자를 만들 수 있습니다.</translation> + </message> +</context> +<context> + <name>IndexWindow</name> + <message> + <source>&Look for:</source> + <translation>찾을 문자열(&L):</translation> + </message> + <message> + <source>Open Link</source> + <translation>링크 열기</translation> + </message> + <message> + <source>Open Link in New Tab</source> + <translation>새 탭으로 링크 열기</translation> + </message> +</context> +<context> + <name>InputPage</name> + <message> + <source>Form</source> + <translation>폼</translation> + </message> + <message> + <source>File name:</source> + <translation>파일 이름:</translation> + </message> + <message> + <source>...</source> + <translation>...</translation> + </message> + <message> + <source>Input File</source> + <translation>입력 파일</translation> + </message> + <message> + <source>Specify the .adp or .dcf file you want to convert to the new Qt help project format and/or collection format.</source> + <translation>새로운 Qt 도움말 프로젝트 및 모음집 형식으로 변환할 .adp나 .dcp 파일을 지정하십시오.</translation> + </message> + <message> + <source>Open file</source> + <translation>파일 열기</translation> + </message> + <message> + <source>Qt Help Files (*.adp *.dcf)</source> + <translation>Qt 도움말 파일 (*.adp *.dcf)</translation> + </message> + <message> + <source>File Open Error</source> + <translation>파일 열기 오류</translation> + </message> + <message> + <source>The specified file could not be opened!</source> + <translation>지정한 파일을 열 수 없습니다!</translation> + </message> + <message> + <source>File Parsing Error</source> + <translation>파일 처리 오류</translation> + </message> + <message> + <source>Parsing error in line %1!</source> + <translation>%1번째 줄에서 처리 오류 발생!</translation> + </message> +</context> +<context> + <name>InstallDialog</name> + <message> + <source>Install Documentation</source> + <translation>문서 설치</translation> + </message> + <message> + <source>Available Documentation:</source> + <translation>사용 가능한 문서:</translation> + </message> + <message> + <source>Install</source> + <translation>설치</translation> + </message> + <message> + <source>Cancel</source> + <translation>취소</translation> + </message> + <message> + <source>Close</source> + <translation>닫기</translation> + </message> + <message> + <source>Installation Path:</source> + <translation>설치 경로:</translation> + </message> + <message> + <source>...</source> + <translation>...</translation> + </message> + <message> + <source>Downloading documentation info...</source> + <translation>문서 정보 다운로드 중...</translation> + </message> + <message> + <source>Download canceled.</source> + <translation>다운로드가 취소되었습니다.</translation> + </message> + <message> + <source>Done.</source> + <translation>완료.</translation> + </message> + <message> + <source>The file %1 already exists. Do you want to overwrite it?</source> + <translation>파일 %1이(가) 이미 존재합니다. 겹쳐 쓰시겠습니까?</translation> + </message> + <message> + <source>Unable to save the file %1: %2.</source> + <translation>파일 %1을(를) 저장할 수 없음: %2.</translation> + </message> + <message> + <source>Downloading %1...</source> + <translation>%1 다운로드 중...</translation> + </message> + <message> + <source>Download failed: %1.</source> + <translation>다운로드 실패: %1.</translation> + </message> + <message> + <source>Documentation info file is corrupt!</source> + <translation>문서 정보 파일이 손상되었습니다!</translation> + </message> + <message> + <source>Download failed: Downloaded file is corrupted.</source> + <translation>다운로드 실패: 다운로드 받은 파일이 손상되었습니다.</translation> + </message> + <message> + <source>Installing documentation %1...</source> + <translation>문서 %1 설치 중...</translation> + </message> + <message> + <source>Error while installing documentation: +%1</source> + <translation>문서를 설치하는 중 오류 발생: +%1</translation> + </message> +</context> +<context> + <name>MainWindow</name> + <message> + <source>Index</source> + <translation>색인</translation> + </message> + <message> + <source>Contents</source> + <translation>내용</translation> + </message> + <message> + <source>Bookmarks</source> + <translation>책갈피</translation> + </message> + <message> + <source>Qt Assistant</source> + <translation>Qt Assistant</translation> + </message> + <message> + <source>Looking for Qt Documentation...</source> + <translation>Qt 문서 찾는 중...</translation> + </message> + <message> + <source>&File</source> + <translation>파일(&F)</translation> + </message> + <message> + <source>New &Tab</source> + <translation>새 탭(&T)</translation> + </message> + <message> + <source>Page Set&up...</source> + <translation>쪽 설정(&U)...</translation> + </message> + <message> + <source>Print Preview...</source> + <translation>인쇄 미리 보기...</translation> + </message> + <message> + <source>&Print...</source> + <translation>인쇄(&P)...</translation> + </message> + <message> + <source>&Close Tab</source> + <translation>탭 닫기(&C)</translation> + </message> + <message> + <source>&Quit</source> + <translation>끝내기(&Q)</translation> + </message> + <message> + <source>CTRL+Q</source> + <translation>CTRL+Q</translation> + </message> + <message> + <source>&Edit</source> + <translation>편집(&E)</translation> + </message> + <message> + <source>&Copy selected Text</source> + <translation>선택한 텍스트 복사(&C)</translation> + </message> + <message> + <source>&Find in Text...</source> + <translation>텍스트에서 찾기(&F)...</translation> + </message> + <message> + <source>&Find</source> + <translation>찾기(&F)</translation> + </message> + <message> + <source>Find &Next</source> + <translation>다음 찾기(&N)</translation> + </message> + <message> + <source>Find &Previous</source> + <translation>이전 찾기(&P)</translation> + </message> + <message> + <source>Preferences...</source> + <translation>환경 설정...</translation> + </message> + <message> + <source>&View</source> + <translation>보기(&V)</translation> + </message> + <message> + <source>Zoom &in</source> + <translation>확대(&I)</translation> + </message> + <message> + <source>Zoom &out</source> + <translation>축소(&O)</translation> + </message> + <message> + <source>Normal &Size</source> + <translation>원래 크기(&S)</translation> + </message> + <message> + <source>Ctrl+0</source> + <translation>Ctrl+0</translation> + </message> + <message> + <source>ALT+C</source> + <translation>ALT+C</translation> + </message> + <message> + <source>ALT+I</source> + <translation>ALT+I</translation> + </message> + <message> + <source>ALT+O</source> + <translation>ALT+O</translation> + </message> + <message> + <source>Search</source> + <translation>찾기</translation> + </message> + <message> + <source>ALT+S</source> + <translation>ALT+S</translation> + </message> + <message> + <source>&Go</source> + <translation>이동(&G)</translation> + </message> + <message> + <source>&Home</source> + <translation>홈 페이지(&H)</translation> + </message> + <message> + <source>ALT+Home</source> + <translation>ALT+Home</translation> + </message> + <message> + <source>&Back</source> + <translation>뒤로(&B)</translation> + </message> + <message> + <source>&Forward</source> + <translation>앞으로(&F)</translation> + </message> + <message> + <source>Sync with Table of Contents</source> + <translation>목차와 동기화</translation> + </message> + <message> + <source>Sync</source> + <translation>동기화</translation> + </message> + <message> + <source>Next Page</source> + <translation>다음 쪽</translation> + </message> + <message> + <source>Ctrl+Alt+Right</source> + <translation>Ctrl+Alt+Right</translation> + </message> + <message> + <source>Previous Page</source> + <translation>이전 쪽</translation> + </message> + <message> + <source>Ctrl+Alt+Left</source> + <translation>Ctrl+Alt+Left</translation> + </message> + <message> + <source>&Bookmarks</source> + <translation>책갈피(&B)</translation> + </message> + <message> + <source>&Help</source> + <translation>도움말(&H)</translation> + </message> + <message> + <source>About...</source> + <translation>정보...</translation> + </message> + <message> + <source>Navigation Toolbar</source> + <translation>탐색 도구 모음</translation> + </message> + <message> + <source>&Window</source> + <translation>창(&W)</translation> + </message> + <message> + <source>Zoom</source> + <translation>확대/축소</translation> + </message> + <message> + <source>Minimize</source> + <translation>최소화</translation> + </message> + <message> + <source>Ctrl+M</source> + <translation>Ctrl+M</translation> + </message> + <message> + <source>Toolbars</source> + <translation>도구 모음</translation> + </message> + <message> + <source>Filter Toolbar</source> + <translation>필터 도구 모음</translation> + </message> + <message> + <source>Filtered by:</source> + <translation>필터 기준:</translation> + </message> + <message> + <source>Address Toolbar</source> + <translation>주소 도구 모음</translation> + </message> + <message> + <source>Address:</source> + <translation>주소:</translation> + </message> + <message> + <source>Could not find the associated content item.</source> + <translation>연결된 내용을 찾을 수 없습니다.</translation> + </message> + <message> + <source><center><h3>%1</h3><p>Version %2</p></center><p>Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).</p></source> + <translation><center><h3>%1</h3><p>버전 %2</p></center><p>저작권자 (C) 2010 Nokia Corporation and/or its subsidiary(-ies).</p></translation> + </message> + <message> + <source>About %1</source> + <translation>%1 정보</translation> + </message> + <message> + <source>Updating search index</source> + <translation>검색 인덱스 업데이트 중</translation> + </message> + <message> + <source>Could not register file '%1': %2</source> + <translation>파일 '%1'을(를) 등록할 수 없음: %2</translation> + </message> +</context> +<context> + <name>OutputPage</name> + <message> + <source>Form</source> + <translation>폼</translation> + </message> + <message> + <source>Project file name:</source> + <translation>프로젝트 파일 이름:</translation> + </message> + <message> + <source>Collection file name:</source> + <translation>모음집 파일 이름:</translation> + </message> + <message> + <source>Output File Names</source> + <translation>출력 파일 이름</translation> + </message> + <message> + <source>Specify the file names for the output files.</source> + <translation>출력 파일의 이름을 지정합니다.</translation> + </message> + <message> + <source>Convert...</source> + <translation>변환...</translation> + </message> + <message> + <source>Qt Help Project File</source> + <translation>Qt 도움말 프로젝트 파일</translation> + </message> + <message> + <source>Qt Help Collection Project File</source> + <translation>Qt 도움말 모음집 프로젝트 파일</translation> + </message> + <message> + <source>The specified file %1 already exist. + +Do you want to remove it?</source> + <translation>지정한 파일 %1이(가) 이미 존재합니다. + +삭제하시겠습니까?</translation> + </message> + <message> + <source>Remove</source> + <translation>삭제</translation> + </message> + <message> + <source>Cancel</source> + <translation>취소</translation> + </message> +</context> +<context> + <name>PathPage</name> + <message> + <source>Form</source> + <translation>폼</translation> + </message> + <message> + <source>File filters:</source> + <translation>파일 필터:</translation> + </message> + <message> + <source>Documentation source file paths:</source> + <translation>문서 원본 파일 경로:</translation> + </message> + <message> + <source>Add</source> + <translation>추가</translation> + </message> + <message> + <source>Remove</source> + <translation>삭제</translation> + </message> + <message> + <source>Source File Paths</source> + <translation>원본 파일 경로</translation> + </message> + <message> + <source>Specify the paths where the sources files are located. By default, all files in those directories matched by the file filter will be included.</source> + <translation>원본 파일이 있는 경로를 지정하십시오. 기본적으로 필터와 일치하는 디렉터리에 있는 모든 파일이 포함됩니다.</translation> + </message> + <message> + <source>Source File Path</source> + <translation>원본 파일 경로</translation> + </message> +</context> +<context> + <name>PreferencesDialog</name> + <message> + <source>Add Documentation</source> + <translation>문서 추가</translation> + </message> + <message> + <source>Qt Compressed Help Files (*.qch)</source> + <translation>압축된 Qt 도움말 파일 (*.qch)</translation> + </message> + <message> + <source>The namespace %1 is already registered!</source> + <translation>네임스페이스 %1이(가) 이미 등록되어 있습니다!</translation> + </message> + <message> + <source>The specified file is not a valid Qt Help File!</source> + <translation>지정한 파일은 올바른 Qt 도움말 파일이 아닙니다!</translation> + </message> + <message> + <source>Remove Documentation</source> + <translation>문서 삭제</translation> + </message> + <message> + <source>Some documents currently opened in Assistant reference the documentation you are attempting to remove. Removing the documentation will close those documents.</source> + <translation>삭제하려고 하는 문서 중 일부는 현재 Assistant에 열려 있습니다. 문서를 삭제하면 삭제한 문서를 닫을 것입니다.</translation> + </message> + <message> + <source>Cancel</source> + <translation>취소</translation> + </message> + <message> + <source>OK</source> + <translation>확인</translation> + </message> + <message> + <source>Use custom settings</source> + <translation>사용자 정의 설정 사용</translation> + </message> +</context> +<context> + <name>PreferencesDialogClass</name> + <message> + <source>Preferences</source> + <translation>환경 설정</translation> + </message> + <message> + <source>Fonts</source> + <translation>글꼴</translation> + </message> + <message> + <source>Font settings:</source> + <translation>글꼴 설정:</translation> + </message> + <message> + <source>Browser</source> + <translation>브라우저</translation> + </message> + <message> + <source>Application</source> + <translation>프로그램</translation> + </message> + <message> + <source>Filters</source> + <translation>필터</translation> + </message> + <message> + <source>Filter:</source> + <translation>필터:</translation> + </message> + <message> + <source>Attributes:</source> + <translation>속성:</translation> + </message> + <message> + <source>1</source> + <translation>1</translation> + </message> + <message> + <source>Add</source> + <translation>추가</translation> + </message> + <message> + <source>Remove</source> + <translation>삭제</translation> + </message> + <message> + <source>Documentation</source> + <translation>문서</translation> + </message> + <message> + <source>Registered Documentation:</source> + <translation>등록된 문서:</translation> + </message> + <message> + <source>Add...</source> + <translation>추가...</translation> + </message> + <message> + <source>Options</source> + <translation>옵션</translation> + </message> + <message> + <source>On help start:</source> + <translation>도움말을 시작할 때:</translation> + </message> + <message> + <source>Show my home page</source> + <translation>내 홈 페이지 보이기</translation> + </message> + <message> + <source>Show a blank page</source> + <translation>빈 페이지 보이기</translation> + </message> + <message> + <source>Show my tabs from last session</source> + <translation>마지막 세션에서 연 탭 보이기</translation> + </message> + <message> + <source>Homepage</source> + <translation>홈 페이지</translation> + </message> + <message> + <source>Current Page</source> + <translation>현재 페이지</translation> + </message> + <message> + <source>Blank Page</source> + <translation>빈 페이지</translation> + </message> + <message> + <source>Restore to default</source> + <translation>기본값으로 복원</translation> + </message> +</context> +<context> + <name>QCollectionGenerator</name> + <message> + <source>Unknown token at line %1.</source> + <translation>%1번째 줄에 알 수 없는 토큰이 있습니다.</translation> + </message> + <message> + <source>Unknown token at line %1. Expected "QtHelpCollectionProject".</source> + <translation>%1번째 줄에 알 수 없는 토큰이 있습니다. 예상한 토큰: "QtHelpCollectionProject".</translation> + </message> + <message> + <source>Missing end tags.</source> + <translation>끝맺는 태그가 없습니다.</translation> + </message> + <message> + <source>Missing input or output file for help file generation.</source> + <translation>도움말 파일을 생성하기 위한 입력 및 출력 파일이 없습니다.</translation> + </message> + <message> + <source>Missing output file name.</source> + <translation>출력 파일 이름이 없습니다.</translation> + </message> + <message> + <source>Qt Collection Generator version 1.0 (Qt %1) +</source> + <translation>Qt 모음집 생성기 버전 1.0 (Qt %1) +</translation> + </message> + <message> + <source>Missing collection config file.</source> + <translation>모음집 설정 파일이 없습니다.</translation> + </message> + <message> + <source> +Usage: + +qcollectiongenerator <collection-config-file> [options] + + -o <collection-file> Generates a collection file + called <collection-file>. If + this option is not specified + a default name will be used. + -v Displays the version of + qcollectiongenerator. + +</source> + <translation> +사용 방법: + +qcollectiongenerator <collection-config-file> [옵션] + + -o <collection-file> 모음집 파일 <collection-file>을 + 생성합니다. 이 옵션이 지정되지 + 않으면 기본 이름을 사용합니다. + -v qcollectiongenerator의 + 버전을 표시합니다. + +</translation> + </message> + <message> + <source>Could not open %1. +</source> + <translation>%1을(를) 열 수 없습니다. +</translation> + </message> + <message> + <source>Reading collection config file... +</source> + <translation>모음집 설정 파일을 읽는 중... +</translation> + </message> + <message> + <source>Collection config file error: %1 +</source> + <translation>모음집 설정 파일 오류: %1 +</translation> + </message> + <message> + <source>Generating help for %1... +</source> + <translation>%1의 도움말 생성 중... +</translation> + </message> + <message> + <source>Creating collection file... +</source> + <translation>모음집 파일 생성 중... +</translation> + </message> + <message> + <source>The file %1 cannot be overwritten. +</source> + <translation>파일 %1에 겹쳐 쓸 수 없습니다. +</translation> + </message> + <message> + <source>Cannot open %1. +</source> + <translation>%1을(를) 열 수 없습니다. +</translation> + </message> + <message> + <source>Cannot open referenced image file %1. +</source> + <translation>참조하는 그림 파일 %1을(를) 열 수 없습니다. +</translation> + </message> +</context> +<context> + <name>QHelpGenerator</name> + <message> + <source>Missing output file name.</source> + <translation>출력 파일 이름이 없습니다.</translation> + </message> + <message> + <source>Qt Help Generator version 1.0 (Qt %1) +</source> + <translation>Qt 도움말 생성기 버전 1.0 (Qt %1) +</translation> + </message> + <message> + <source>Missing Qt help project file.</source> + <translation>Qt 도움말 프로젝트 파일이 없습니다.</translation> + </message> + <message> + <source> +Usage: + +qhelpgenerator <help-project-file> [options] + + -o <compressed-file> Generates a Qt compressed help + file called <compressed-file>. + If this option is not specified + a default name will be used. + -c Checks whether all links in HTML files + point to files in this help project. + -v Displays the version of + qhelpgenerator. + +</source> + <translation> +사용 방법: + +qhelpgenerator <help-project-file> [옵션] + + -o <compressed-file> Qt 압축된 도움말 파일 + <compressed-file>을 생성합니다. + 이 옵션을 지정하지 않으면 + 기본 이름을 사용합니다. + -c HTML 파일에 있는 모든 링크가 + 이 프로젝트에 있는 파일을 + 가리키는지 확인합니다. + -v qhelpgenerator의 버전을 + 표시합니다. + +</translation> + </message> + <message> + <source>Could not open %1. +</source> + <translation>%1을(를) 열 수 없습니다. +</translation> + </message> + <message> + <source>Could not create output directory: %1 +</source> + <translation>출력 디렉터리를 만들 수 없습니다: %1 +</translation> + </message> +</context> +<context> + <name>RemoteControl</name> + <message> + <source>Debugging Remote Control</source> + <translation>원격 제어 디버그</translation> + </message> + <message> + <source>Received Command: %1 %2</source> + <translation>받은 명령: %1 %2</translation> + </message> +</context> +<context> + <name>SearchWidget</name> + <message> + <source>&Copy</source> + <translation>복사(&C)</translation> + </message> + <message> + <source>Copy &Link Location</source> + <translation>링크 주소 복사(&L)</translation> + </message> + <message> + <source>Open Link in New Tab</source> + <translation>새 탭으로 링크 열기</translation> + </message> + <message> + <source>Select All</source> + <translation>모두 선택</translation> + </message> +</context> +<context> + <name>TopicChooser</name> + <message> + <source>Choose Topic</source> + <translation>주제 선택</translation> + </message> + <message> + <source>&Topics</source> + <translation>주제(&T)</translation> + </message> + <message> + <source>&Display</source> + <translation>표시(&D)</translation> + </message> + <message> + <source>&Close</source> + <translation>닫기(&C)</translation> + </message> + <message> + <source>Choose a topic for <b>%1</b>:</source> + <translation><b>%1</b>의 주제를 선택하십시오:</translation> + </message> +</context> +</TS> diff --git a/translations/assistant_ru.ts b/translations/assistant_ru.ts index 6743986..b16f940 100644 --- a/translations/assistant_ru.ts +++ b/translations/assistant_ru.ts @@ -372,14 +372,14 @@ Reason: вместо стандартного -showUrl ссылка Отобразить документ по ссылке. -enableRemoteControl Включение удалённого управления Assistant. --show виджет Отображение указанного прикрепляемого виджета, - который может быть "contents", "index", +-show панель Отображение указанной панели, + которая может быть "contents", "index", "bookmarks" или "search". --activate виджет Включение указанного прикрепляемого виджета, - который может быть "contents", "index", +-activate панель Включение указанной панели, + которая может быть "contents", "index", "bookmarks" или "search". --hide виджет Скрытие указанного прикрепляемого виджета, - который может быть "contents", "index", +-hide панель Скрытие указанной панели, + которая может быть "contents", "index", "bookmarks" или "search". -register файлСправки Регистрация указанного файла справки (.qch) в данном файле коллекции. diff --git a/translations/designer_cs.ts b/translations/designer_cs.ts index 3db20bd..3db20bd 100755..100644 --- a/translations/designer_cs.ts +++ b/translations/designer_cs.ts diff --git a/translations/designer_ko.ts b/translations/designer_ko.ts new file mode 100644 index 0000000..b14273f --- /dev/null +++ b/translations/designer_ko.ts @@ -0,0 +1,5817 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="ko_KR"> +<context> + <name>AbstractFindWidget</name> + <message> + <source>&Previous</source> + <translation>이전 찾기(&P)</translation> + </message> + <message> + <source>&Next</source> + <translation>다음 찾기(&N)</translation> + </message> + <message> + <source>&Case sensitive</source> + <translation>대소문자 구분(&C)</translation> + </message> + <message> + <source>Whole &words</source> + <translation>단어 단위로(&W)</translation> + </message> + <message> + <source><img src=":/trolltech/shared/images/wrap.png">&nbsp;Search wrapped</source> + <translation><img src=":/trolltech/shared/images/wrap.png">&nbsp;검색 다시 시작됨</translation> + </message> +</context> +<context> + <name>AbstractItemEditor</name> + <message> + <source>Selectable</source> + <translation>선택가능</translation> + </message> + <message> + <source>Editable</source> + <translation>편집가능</translation> + </message> + <message> + <source>DragEnabled</source> + <translation>드래그가능</translation> + </message> + <message> + <source>DropEnabled</source> + <translation>드롭가능</translation> + </message> + <message> + <source>UserCheckable</source> + <translation>사용자선택가능</translation> + </message> + <message> + <source>Enabled</source> + <translation>활성화됨</translation> + </message> + <message> + <source>Tristate</source> + <translation>삼중상태</translation> + </message> + <message> + <source>Unchecked</source> + <translation>선택안됨</translation> + </message> + <message> + <source>PartiallyChecked</source> + <translation>부분선택됨</translation> + </message> + <message> + <source>Checked</source> + <translation>선택됨</translation> + </message> +</context> +<context> + <name>AddLinkDialog</name> + <message> + <source>Insert Link</source> + <translation>링크 삽입</translation> + </message> + <message> + <source>Title:</source> + <translation>제목:</translation> + </message> + <message> + <source>URL:</source> + <translation>URL:</translation> + </message> +</context> +<context> + <name>AppFontDialog</name> + <message> + <source>Additional Fonts</source> + <translation>추가 글꼴</translation> + </message> +</context> +<context> + <name>AppFontManager</name> + <message> + <source>'%1' is not a file.</source> + <translation>'%1'은(는) 파일이 아닙니다.</translation> + </message> + <message> + <source>The font file '%1' does not have read permissions.</source> + <translation>글꼴 파일 '%1'을(를) 읽을 수 있는 권한이 없습니다.</translation> + </message> + <message> + <source>The font file '%1' is already loaded.</source> + <translation>글꼴 파일 '%1'을(를) 이미 불러왔습니다.</translation> + </message> + <message> + <source>The font file '%1' could not be loaded.</source> + <translation>글꼴 파일 '%1'을(를) 불러올 수 없습니다.</translation> + </message> + <message> + <source>'%1' is not a valid font id.</source> + <translation>'%1'은(는) 올바른 글꼴 ID가 아닙니다.</translation> + </message> + <message> + <source>There is no loaded font matching the id '%1'.</source> + <translation>불러온 글꼴 중 ID '%1'인 글꼴이 없습니다.</translation> + </message> + <message> + <source>The font '%1' (%2) could not be unloaded.</source> + <translation>글꼴 '%1' (%2)을(를) 닫을 수 없습니다.</translation> + </message> +</context> +<context> + <name>AppFontWidget</name> + <message> + <source>Fonts</source> + <translation>글꼴</translation> + </message> + <message> + <source>Add font files</source> + <translation>글꼴 파일 추가</translation> + </message> + <message> + <source>Remove current font file</source> + <translation>현재 글꼴 파일 삭제</translation> + </message> + <message> + <source>Remove all font files</source> + <translation>모든 글꼴 파일 삭제</translation> + </message> + <message> + <source>Add Font Files</source> + <translation>글꼴 파일 추가</translation> + </message> + <message> + <source>Font files (*.ttf)</source> + <translation>글꼴 파일 (*.ttf)</translation> + </message> + <message> + <source>Error Adding Fonts</source> + <translation>글꼴 추가 오류</translation> + </message> + <message> + <source>Error Removing Fonts</source> + <translation>글꼴 삭제 오류</translation> + </message> + <message> + <source>Remove Fonts</source> + <translation>글꼴 삭제</translation> + </message> + <message> + <source>Would you like to remove all fonts?</source> + <translation>모든 글꼴을 삭제하시겠습니까?</translation> + </message> +</context> +<context> + <name>AppearanceOptionsWidget</name> + <message> + <source>Form</source> + <translation>폼</translation> + </message> + <message> + <source>User Interface Mode</source> + <translation>사용자 인터페이스 모드</translation> + </message> +</context> +<context> + <name>AssistantClient</name> + <message> + <source>Unable to send request: Assistant is not responding.</source> + <translation>요청을 보낼 수 없음: Assistant가 응답하지 않습니다.</translation> + </message> + <message> + <source>The binary '%1' does not exist.</source> + <translation>실행 파일 '%1'이(가) 존재하지 않습니다.</translation> + </message> + <message> + <source>Unable to launch assistant (%1).</source> + <translation>Assistant(%1)를 시작할 수 없습니다.</translation> + </message> +</context> +<context> + <name>BrushPropertyManager</name> + <message> + <source>No brush</source> + <translation>브러시 없음</translation> + </message> + <message> + <source>Solid</source> + <translation>단색</translation> + </message> + <message> + <source>Dense 1</source> + <translation>점무늬 1</translation> + </message> + <message> + <source>Dense 2</source> + <translation>점무늬 2</translation> + </message> + <message> + <source>Dense 3</source> + <translation>점무늬 3</translation> + </message> + <message> + <source>Dense 4</source> + <translation>점무늬 4</translation> + </message> + <message> + <source>Dense 5</source> + <translation>점무늬 5</translation> + </message> + <message> + <source>Dense 6</source> + <translation>점무늬 6</translation> + </message> + <message> + <source>Dense 7</source> + <translation>점무늬 7</translation> + </message> + <message> + <source>Horizontal</source> + <translation>수평선</translation> + </message> + <message> + <source>Vertical</source> + <translation>수직선</translation> + </message> + <message> + <source>Cross</source> + <translation>교차하는 가로 및 세로선</translation> + </message> + <message> + <source>Backward diagonal</source> + <translation>대각선 (오른쪽 아래로)</translation> + </message> + <message> + <source>Forward diagonal</source> + <translation>대각선 (오른쪽 위로)</translation> + </message> + <message> + <source>Crossing diagonal</source> + <translation>교차하는 대각선</translation> + </message> + <message> + <source>Style</source> + <translation>스타일</translation> + </message> + <message> + <source>Color</source> + <translation>색상</translation> + </message> + <message> + <source>[%1, %2]</source> + <translation>[%1, %2]</translation> + </message> +</context> +<context> + <name>Command</name> + <message> + <source>Add connection</source> + <translation>연결 추가</translation> + </message> + <message> + <source>Adjust connection</source> + <translation>연결 수정</translation> + </message> + <message> + <source>Delete connections</source> + <translation>연결 삭제</translation> + </message> + <message> + <source>Change source</source> + <translation>원본 변경</translation> + </message> + <message> + <source>Change target</source> + <translation>대상 변경</translation> + </message> + <message> + <source>Add '%1' to '%2'</source> + <extracomment>Command description for adding buttons to a QButtonGroup</extracomment> + <translation>'%1'을(를) '%2'에 추가</translation> + </message> + <message> + <source>Morph %1/'%2' into %3</source> + <extracomment>MorphWidgetCommand description</extracomment> + <translation>%1/'%2'을(를) %3(으)로 변형</translation> + </message> + <message> + <source>Insert '%1'</source> + <translation>'%1' 삽입</translation> + </message> + <message> + <source>Change Z-order of '%1'</source> + <translation>'%1'의 Z 순서 변경</translation> + </message> + <message> + <source>Raise '%1'</source> + <translation>'%1' 위로 올림</translation> + </message> + <message> + <source>Lower '%1'</source> + <translation>'%1' 아래로 내림</translation> + </message> + <message> + <source>Delete '%1'</source> + <translation>'%1' 삭제</translation> + </message> + <message> + <source>Reparent '%1'</source> + <translation>'%1' 부모 변경</translation> + </message> + <message> + <source>Promote to custom widget</source> + <translation>사용자 정의 위젯으로 승격</translation> + </message> + <message> + <source>Demote from custom widget</source> + <translation>사용자 정의 위젯에서 승격 해제</translation> + </message> + <message> + <source>Lay out using grid</source> + <translation>격자형으로 배치</translation> + </message> + <message> + <source>Lay out vertically</source> + <translation>수직으로 배치</translation> + </message> + <message> + <source>Lay out horizontally</source> + <translation>수평으로 배치</translation> + </message> + <message> + <source>Break layout</source> + <translation>레이아웃 풀기</translation> + </message> + <message> + <source>Simplify Grid Layout</source> + <translation>격자 레이아웃 간단하게 하기</translation> + </message> + <message> + <source>Move Page</source> + <translation>쪽 이동</translation> + </message> + <message> + <source>Delete Page</source> + <translation>쪽 삭제</translation> + </message> + <message> + <source>Page</source> + <translation>쪽</translation> + </message> + <message> + <source>Insert Page</source> + <translation>쪽 삽입</translation> + </message> + <message> + <source>Change Tab order</source> + <translation>탭 순서 변경</translation> + </message> + <message> + <source>Create Menu Bar</source> + <translation>메뉴 표시줄 생성</translation> + </message> + <message> + <source>Delete Menu Bar</source> + <translation>메뉴 표시줄 삭제</translation> + </message> + <message> + <source>Create Status Bar</source> + <translation>상태 표시줄 생성</translation> + </message> + <message> + <source>Delete Status Bar</source> + <translation>상태 표시줄 삭제</translation> + </message> + <message> + <source>Add Tool Bar</source> + <translation>도구 모음 추가</translation> + </message> + <message> + <source>Add Dock Window</source> + <translation>독 창 추가</translation> + </message> + <message> + <source>Adjust Size of '%1'</source> + <translation>'%1'의 크기 조정</translation> + </message> + <message> + <source>Change Form Layout Item Geometry</source> + <translation>폼 레이아웃 항목 크기 변경</translation> + </message> + <message> + <source>Change Layout Item Geometry</source> + <translation>레이아웃 항목 크기 변경</translation> + </message> + <message> + <source>Delete Subwindow</source> + <translation>하위 창 삭제</translation> + </message> + <message> + <source>page</source> + <translation>쪽</translation> + </message> + <message> + <source>Insert Subwindow</source> + <translation>하위 창 삽입</translation> + </message> + <message> + <source>subwindow</source> + <translation>subwindow</translation> + </message> + <message> + <source>Subwindow</source> + <translation>하위 창</translation> + </message> + <message> + <source>Change Table Contents</source> + <translation>표 내용 변경</translation> + </message> + <message> + <source>Change Tree Contents</source> + <translation>트리 내용 변경</translation> + </message> + <message> + <source>Add action</source> + <translation>동작 추가</translation> + </message> + <message> + <source>Remove action</source> + <translation>동작 삭제</translation> + </message> + <message> + <source>Add menu</source> + <translation>메뉴 추가</translation> + </message> + <message> + <source>Remove menu</source> + <translation>메뉴 삭제</translation> + </message> + <message> + <source>Create submenu</source> + <translation>하위 메뉴 생성</translation> + </message> + <message> + <source>Delete Tool Bar</source> + <translation>도구 모음 삭제</translation> + </message> + <message> + <source>Change layout of '%1' from %2 to %3</source> + <translation>'%1'의 레이아웃을 %2에서 %3(으)로 변경</translation> + </message> + <message> + <source>Set action text</source> + <translation>동작 텍스트 설정</translation> + </message> + <message> + <source>Insert action</source> + <translation>동작 삽입</translation> + </message> + <message> + <source>Move action</source> + <translation>동작 이동</translation> + </message> + <message> + <source>Change Title</source> + <translation>제목 변경</translation> + </message> + <message> + <source>Insert Menu</source> + <translation>메뉴 추가</translation> + </message> + <message> + <source>Changed '%1' of '%2'</source> + <translation>'%2'의 '%1' 변경</translation> + </message> + <message numerus="yes"> + <source>Changed '%1' of %n objects</source> + <translation> + <numerusform>객체 %n개의 '%1' 변경</numerusform> + </translation> + </message> + <message> + <source>Reset '%1' of '%2'</source> + <translation>'%2'의 '%1' 초기화</translation> + </message> + <message numerus="yes"> + <source>Reset '%1' of %n objects</source> + <translation> + <numerusform>객체 %n개의 '%1' 초기화</numerusform> + </translation> + </message> + <message> + <source>Add dynamic property '%1' to '%2'</source> + <translation>동적 속성 '%1'을(를) '%2'에 추가</translation> + </message> + <message numerus="yes"> + <source>Add dynamic property '%1' to %n objects</source> + <translation> + <numerusform>동적 속성 %1을(를) 객체 %n개에 추가</numerusform> + </translation> + </message> + <message> + <source>Remove dynamic property '%1' from '%2'</source> + <translation>동적 속성 '%1'을(를) '%2'에서 삭제</translation> + </message> + <message numerus="yes"> + <source>Remove dynamic property '%1' from %n objects</source> + <translation> + <numerusform>동적 속성 '%1'을(를) 객체 %n개에서 삭제</numerusform> + </translation> + </message> + <message> + <source>Change script</source> + <translation>스크립트 변경</translation> + </message> + <message> + <source>Change signals/slots</source> + <translation>시그널/슬롯 변경</translation> + </message> + <message> + <source>Change signal</source> + <translation>시그널 변경</translation> + </message> + <message> + <source>Change slot</source> + <translation>슬롯 변경</translation> + </message> + <message> + <source>Change signal-slot connection</source> + <translation>시그널-슬롯 연결 변경</translation> + </message> + <message> + <source>Change sender</source> + <translation>송신자 변경</translation> + </message> + <message> + <source>Change receiver</source> + <translation>수신자 변경</translation> + </message> + <message> + <source>Create button group</source> + <translation>단추 그룹 생성</translation> + </message> + <message> + <source>Break button group</source> + <translation>단추 그룹 풀기</translation> + </message> + <message> + <source>Break button group '%1'</source> + <translation>단추 그룹 '%1' 풀기</translation> + </message> + <message> + <source>Add buttons to group</source> + <translation>단추를 그룹에 추가</translation> + </message> + <message> + <source>Remove buttons from group</source> + <translation>단추를 그룹에서 삭제</translation> + </message> + <message> + <source>Remove '%1' from '%2'</source> + <extracomment>Command description for removing buttons from a QButtonGroup</extracomment> + <translation>'%2'에서 '%1' 삭제</translation> + </message> +</context> +<context> + <name>ConnectDialog</name> + <message> + <source>Configure Connection</source> + <translation>연결 설정</translation> + </message> + <message> + <source>GroupBox</source> + <translation>그룹상자</translation> + </message> + <message> + <source>Edit...</source> + <translation>편집...</translation> + </message> + <message> + <source>Show signals and slots inherited from QWidget</source> + <translation>QWidget에서 상속받은 시그널과 슬롯 보이기</translation> + </message> +</context> +<context> + <name>ConnectionDelegate</name> + <message> + <source><object></source> + <translation><객체></translation> + </message> + <message> + <source><signal></source> + <translation><시그널></translation> + </message> + <message> + <source><slot></source> + <translation><슬롯></translation> + </message> +</context> +<context> + <name>DPI_Chooser</name> + <message> + <source>Standard (96 x 96)</source> + <extracomment>Embedded device standard screen resolution</extracomment> + <translation>표준 (96 x 96)</translation> + </message> + <message> + <source>Greenphone (179 x 185)</source> + <extracomment>Embedded device screen resolution</extracomment> + <translation>Greenphone (179 x 185)</translation> + </message> + <message> + <source>High (192 x 192)</source> + <extracomment>Embedded device high definition screen resolution</extracomment> + <translation>고해상도 (192 x 192)</translation> + </message> +</context> +<context> + <name>Designer</name> + <message> + <source>Unable to launch %1.</source> + <translation>%1을(를) 실행할 수 없습니다.</translation> + </message> + <message> + <source>%1 timed out.</source> + <translation>%1의 시간이 초과되었습니다.</translation> + </message> + <message> + <source>Custom Widgets</source> + <translation>사용자 정의 위젯</translation> + </message> + <message> + <source>Promoted Widgets</source> + <translation>승격된 위젯</translation> + </message> + <message> + <source>Qt Designer</source> + <translation>Qt Designer</translation> + </message> + <message> + <source>This file contains top level spacers.<br>They have <b>NOT</b> been saved into the form.</source> + <translation>이 파일에는 최상위 단계 스페이서가 포함되어 있습니다.<br>이들은 폼에 저장되지 <b>않았습니다</b>.</translation> + </message> + <message> + <source>Perhaps you forgot to create a layout?</source> + <translation>레이아웃을 만들지 않았습니까?</translation> + </message> + <message> + <source>Invalid UI file: The root element <ui> is missing.</source> + <translation>잘못된 UI 파일: 최상위 원소 <ui>가 없습니다.</translation> + </message> + <message> + <source>An error has occurred while reading the UI file at line %1, column %2: %3</source> + <translation>UI 파일의 %1번째 줄, %2번째 칸을 읽는 중 오류가 발생하였습니다: %3</translation> + </message> + <message> + <source>This file cannot be read because it was created using %1.</source> + <translation>이 파일은 %1을(를) 사용하여 만들었기 때문에 읽을 수 없습니다.</translation> + </message> + <message> + <source>This file was created using Designer from Qt-%1 and cannot be read.</source> + <translation>이 파일은 Qt %1의 Designer로 만들었기 때문에 읽을 수 없습니다.</translation> + </message> + <message> + <source>The converted file could not be read.</source> + <translation>변환된 파일을 읽을 수 없습니다.</translation> + </message> + <message> + <source>This file was created using Designer from Qt-%1 and will be converted to a new form by Qt Designer.</source> + <translation>이 파일은 Qt %1의 Designer로 만들었으며, Qt Designer에서 새로운 폼으로 변환할 것입니다.</translation> + </message> + <message> + <source>The old form has not been touched, but you will have to save the form under a new name.</source> + <translation>이전 폼 파일은 변경되지 않았습니다. 새로운 폼을 저장하려면 다른 이름으로 저장하십시오.</translation> + </message> + <message> + <source>This file was created using Designer from Qt-%1 and could not be read: +%2</source> + <translation>이 파일은 Qt %1의 Designer로 만들어졌으며 읽을 수 없습니다: +%2</translation> + </message> + <message> + <source>Please run it through <b>uic3&nbsp;-convert</b> to convert it to Qt-4's ui format.</source> + <translation><b>uic3&nbsp;-convert</b> 명령을 실행하여 Qt 4의 UI 형식으로 변환하십시오.</translation> + </message> + <message> + <source>This file cannot be read because the extra info extension failed to load.</source> + <translation>추가 정보 확장을 불러올 수 없으므로 이 파일을 읽을 수 없습니다.</translation> + </message> +</context> +<context> + <name>DesignerMetaEnum</name> + <message> + <source>%1 is not a valid enumeration value of '%2'.</source> + <translation>%1은(는) 열거형 '%2'의 올바른 값이 아닙니다.</translation> + </message> + <message> + <source>'%1' could not be converted to an enumeration value of type '%2'.</source> + <translation>'%1'을(를) 열거형 '%2'의 값으로 변환할 수 없습니다.</translation> + </message> +</context> +<context> + <name>DesignerMetaFlags</name> + <message> + <source>'%1' could not be converted to a flag value of type '%2'.</source> + <translation>'%1'을(를) 플래그 형식 '%2'의 값으로 변환할 수 없습니다.</translation> + </message> +</context> +<context> + <name>DeviceProfile</name> + <message> + <source>'%1' is not a number.</source> + <extracomment>Reading a number for an embedded device profile</extracomment> + <translation>'%1'은(는) 숫자가 아닙니다.</translation> + </message> + <message> + <source>An invalid tag <%1> was encountered.</source> + <translation>잘못된 태그 <%1>이(가) 있습니다.</translation> + </message> +</context> +<context> + <name>DeviceProfileDialog</name> + <message> + <source>&Family</source> + <translation>종류(&F)</translation> + </message> + <message> + <source>&Point Size</source> + <translation>포인트 크기(&P)</translation> + </message> + <message> + <source>Style</source> + <translation>스타일</translation> + </message> + <message> + <source>Device DPI</source> + <translation>장치 DPI</translation> + </message> + <message> + <source>Name</source> + <translation>이름</translation> + </message> +</context> +<context> + <name>DeviceSkin</name> + <message> + <source>The image file '%1' could not be loaded.</source> + <translation>그림 파일 '%1'을(를) 불러올 수 없습니다.</translation> + </message> + <message> + <source>The skin directory '%1' does not contain a configuration file.</source> + <translation>스킨 디렉터리 '%1'에 설정 파일이 없습니다.</translation> + </message> + <message> + <source>The skin configuration file '%1' could not be opened.</source> + <translation>스킨 설정 파일 '%1'을(를) 열 수 없습니다.</translation> + </message> + <message> + <source>The skin configuration file '%1' could not be read: %2</source> + <translation>스킨 설정 파일 '%1'을(를) 읽을 수 없습니다: %2</translation> + </message> + <message> + <source>Syntax error: %1</source> + <translation>문법 오류: %1</translation> + </message> + <message> + <source>The skin "up" image file '%1' does not exist.</source> + <translation>스킨 "up" 그림 파일 '%1'이(가) 존재하지 않습니다.</translation> + </message> + <message> + <source>The skin "down" image file '%1' does not exist.</source> + <translation>스킨 "down" 그림 파일 '%1'이(가) 존재하지 않습니다.</translation> + </message> + <message> + <source>The skin "closed" image file '%1' does not exist.</source> + <translation>스킨 "closed" 그림 파일 '%1'이(가) 존재하지 않습니다.</translation> + </message> + <message> + <source>The skin cursor image file '%1' does not exist.</source> + <translation>스킨 커서 그림 파일 '%1'이(가) 존재하지 않습니다.</translation> + </message> + <message> + <source>Syntax error in area definition: %1</source> + <translation>영역 지정 문법 오류: %1</translation> + </message> + <message> + <source>Mismatch in number of areas, expected %1, got %2.</source> + <translation>영역 개수가 일치하지 않습니다: %1개를 예상하였지만 %2개 정의되었습니다.</translation> + </message> +</context> +<context> + <name>EmbeddedOptionsControl</name> + <message> + <source><html><table><tr><td><b>Font</b></td><td>%1, %2</td></tr><tr><td><b>Style</b></td><td>%3</td></tr><tr><td><b>Resolution</b></td><td>%4 x %5</td></tr></table></html></source> + <extracomment>Format embedded device profile description</extracomment> + <translation><html><table><tr><td><b>글꼴</b></td><td>%1, %2</td></tr><tr><td><b>스타일</b></td><td>%3</td></tr><tr><td><b>해상도</b></td><td>%4 x %5</td></tr></table></html></translation> + </message> +</context> +<context> + <name>EmbeddedOptionsPage</name> + <message> + <source>Embedded Design</source> + <extracomment>Tab in preferences dialog</extracomment> + <translation>임베디드 디자인</translation> + </message> + <message> + <source>Device Profiles</source> + <extracomment>EmbeddedOptionsControl group box"</extracomment> + <translation>장치 프로필</translation> + </message> +</context> +<context> + <name>FontPanel</name> + <message> + <source>Font</source> + <translation>글꼴</translation> + </message> + <message> + <source>&Writing system</source> + <translation>문자 체계(&W)</translation> + </message> + <message> + <source>&Family</source> + <translation>글꼴 종류(&F)</translation> + </message> + <message> + <source>&Style</source> + <translation>스타일(&S)</translation> + </message> + <message> + <source>&Point size</source> + <translation>포인트 크기(&P)</translation> + </message> +</context> +<context> + <name>FontPropertyManager</name> + <message> + <source>PreferDefault</source> + <translation>기본값우선</translation> + </message> + <message> + <source>NoAntialias</source> + <translation>앤티에일리어싱없음</translation> + </message> + <message> + <source>PreferAntialias</source> + <translation>앤티에일리어싱선호</translation> + </message> + <message> + <source>Antialiasing</source> + <translation>앤티에일리어싱</translation> + </message> +</context> +<context> + <name>FormBuilder</name> + <message> + <source>Invalid stretch value for '%1': '%2'</source> + <extracomment>Parsing layout stretch values +---------- +Parsing layout stretch values +---------- +Parsing layout stretch values</extracomment> + <translation>'%1'의 stretch 값이 잘못됨: '%2'</translation> + </message> + <message> + <source>Invalid minimum size for '%1': '%2'</source> + <extracomment>Parsing grid layout minimum size values +---------- +Parsing grid layout minimum size values +---------- +Parsing grid layout minimum size values</extracomment> + <translation>'%1'의 최소 크기가 잘못됨: '%2'</translation> + </message> +</context> +<context> + <name>FormEditorOptionsPage</name> + <message> + <source>%1 %</source> + <extracomment>Zoom percentage</extracomment> + <translation>%1 %</translation> + </message> + <message> + <source>Preview Zoom</source> + <translation>크기 미리 보기</translation> + </message> + <message> + <source>Default Zoom</source> + <translation>기본 크기</translation> + </message> + <message> + <source>Forms</source> + <extracomment>Tab in preferences dialog</extracomment> + <translation>폼</translation> + </message> + <message> + <source>Default Grid</source> + <translation>기본 격자</translation> + </message> +</context> +<context> + <name>FormLayoutRowDialog</name> + <message> + <source>Add Form Layout Row</source> + <translation>폼 레이아웃 행 추가하기</translation> + </message> + <message> + <source>&Label text:</source> + <translation>레이블 텍스트(&L):</translation> + </message> + <message> + <source>Field &type:</source> + <translation>필드 형식(&T):</translation> + </message> + <message> + <source>&Field name:</source> + <translation>필드 이름(&F):</translation> + </message> + <message> + <source>&Buddy:</source> + <translation>친구(&B):</translation> + </message> + <message> + <source>&Row:</source> + <translation>행(&R):</translation> + </message> + <message> + <source>Label &name:</source> + <translation>레이블 이름(&N):</translation> + </message> +</context> +<context> + <name>FormWindow</name> + <message> + <source>Unexpected element <%1></source> + <translation>예상하지 못한 원소 <%1></translation> + </message> + <message> + <source>Error while pasting clipboard contents at line %1, column %2: %3</source> + <translation>클립보드 내용을 붙여넣는 중 %1번째 줄 %2번째 칸에서 오류 발생: %3</translation> + </message> +</context> +<context> + <name>FormWindowSettings</name> + <message> + <source>Form Settings</source> + <translation>폼 설정</translation> + </message> + <message> + <source>Layout &Default</source> + <translation>레이아웃 기본값(&D)</translation> + </message> + <message> + <source>&Spacing:</source> + <translation>간격(&S):</translation> + </message> + <message> + <source>&Margin:</source> + <translation>여백(&M):</translation> + </message> + <message> + <source>&Layout Function</source> + <translation>레이아웃 함수(&L)</translation> + </message> + <message> + <source>Ma&rgin:</source> + <translation>여백(&R):</translation> + </message> + <message> + <source>Spa&cing:</source> + <translation>간격(&C):</translation> + </message> + <message> + <source>&Pixmap Function</source> + <translation>픽스맵 함수(&P)</translation> + </message> + <message> + <source>&Include Hints</source> + <translation>힌트 포함(&I)</translation> + </message> + <message> + <source>Grid</source> + <translation>격자</translation> + </message> + <message> + <source>Embedded Design</source> + <translation>임베디드 디자인</translation> + </message> + <message> + <source>&Author</source> + <translation>작성자(&A)</translation> + </message> +</context> +<context> + <name>IconSelector</name> + <message> + <source>All Pixmaps (</source> + <translation>모든 픽스맵 (</translation> + </message> +</context> +<context> + <name>ItemPropertyBrowser</name> + <message> + <source>XX Icon Selected off</source> + <extracomment>Sample string to determinate the width for the first column of the list item property browser</extracomment> + <translation>XX 아이콘 선택 해제됨</translation> + </message> +</context> +<context> + <name>MainWindowBase</name> + <message> + <source>Main</source> + <extracomment>Not currently used (main tool bar)</extracomment> + <translation>주</translation> + </message> + <message> + <source>File</source> + <translation>파일</translation> + </message> + <message> + <source>Edit</source> + <translation>편집</translation> + </message> + <message> + <source>Tools</source> + <translation>도구</translation> + </message> + <message> + <source>Form</source> + <translation>폼</translation> + </message> + <message> + <source>Qt Designer</source> + <translation>Qt Designer</translation> + </message> +</context> +<context> + <name>NewForm</name> + <message> + <source>Show this Dialog on Startup</source> + <translation>시작할 때 이 대화상자 보이기</translation> + </message> + <message> + <source>C&reate</source> + <translation>생성(&R)</translation> + </message> + <message> + <source>Recent</source> + <translation>최근 항목</translation> + </message> + <message> + <source>New Form</source> + <translation>새 폼</translation> + </message> + <message> + <source>&Close</source> + <translation>닫기(&C)</translation> + </message> + <message> + <source>&Open...</source> + <translation>열기(&O)...</translation> + </message> + <message> + <source>&Recent Forms</source> + <translation>최근 폼(&R)</translation> + </message> + <message> + <source>Read error</source> + <translation>읽기 오류</translation> + </message> + <message> + <source>A temporary form file could not be created in %1.</source> + <translation>%1에 임시 폼 파일을 만들 수 없습니다.</translation> + </message> + <message> + <source>The temporary form file %1 could not be written.</source> + <translation>임시 폼 파일 %1에 쓸 수 없습니다.</translation> + </message> +</context> +<context> + <name>ObjectInspectorModel</name> + <message> + <source>Object</source> + <translation>객체</translation> + </message> + <message> + <source>Class</source> + <translation>클래스</translation> + </message> + <message> + <source>separator</source> + <translation>구분자</translation> + </message> + <message> + <source><noname></source> + <translation><이름없음></translation> + </message> +</context> +<context> + <name>ObjectNameDialog</name> + <message> + <source>Change Object Name</source> + <translation>객체 이름 바꾸기</translation> + </message> + <message> + <source>Object Name</source> + <translation>객체 이름</translation> + </message> +</context> +<context> + <name>PluginDialog</name> + <message> + <source>Plugin Information</source> + <translation>플러그인 정보</translation> + </message> + <message> + <source>1</source> + <translation>1</translation> + </message> +</context> +<context> + <name>PreferencesDialog</name> + <message> + <source>Preferences</source> + <translation>환경 설정</translation> + </message> +</context> +<context> + <name>PreviewConfigurationWidget</name> + <message> + <source>Form</source> + <translation>폼</translation> + </message> + <message> + <source>Print/Preview Configuration</source> + <translation>인쇄/미리보기 설정</translation> + </message> + <message> + <source>Style</source> + <translation>스타일</translation> + </message> + <message> + <source>Style sheet</source> + <translation>스타일시트</translation> + </message> + <message> + <source>...</source> + <translation>...</translation> + </message> + <message> + <source>Device skin</source> + <translation>장치 스킨</translation> + </message> +</context> +<context> + <name>PromotionModel</name> + <message> + <source>Not used</source> + <extracomment>Usage of promoted widgets</extracomment> + <translation>사용되지 않음</translation> + </message> +</context> +<context> + <name>Q3WizardContainer</name> + <message> + <source>Page</source> + <translation>쪽</translation> + </message> +</context> +<context> + <name>QAbstractFormBuilder</name> + <message> + <source>Unexpected element <%1></source> + <translation>예상하지 못한 원소 <%1></translation> + </message> + <message> + <source>An error has occurred while reading the UI file at line %1, column %2: %3</source> + <translation>UI 파일의 %1번째 줄, %2번째 칸을 읽는 중 오류가 발생하였습니다: %3</translation> + </message> + <message> + <source>Invalid UI file: The root element <ui> is missing.</source> + <translation>잘못된 UI 파일: root 원소 <ui>가 없습니다.</translation> + </message> + <message> + <source>The creation of a widget of the class '%1' failed.</source> + <translation>클래스 '%1'을(를) 사용하는 위젯을 만들 수 없습니다.</translation> + </message> + <message> + <source>Attempt to add child that is not of class QWizardPage to QWizard.</source> + <translation>QWizardPage에서 상속받지 않은 클래스를 QWizard에 추가할 수 없습니다.</translation> + </message> + <message> + <source>Attempt to add a layout to a widget '%1' (%2) which already has a layout of non-box type %3. +This indicates an inconsistency in the ui-file.</source> + <translation>상자 형식이 아닌 레이아웃 %3을(를) 가지고 있는 객체 '%1' (%2)에 레이아웃을 추가할 수 없습니다. +UI 파일의 일관성이 깨졌을 수도 있습니다.</translation> + </message> + <message> + <source>Empty widget item in %1 '%2'.</source> + <translation>%1 '%2'에 빈 위젯 항목이 있습니다.</translation> + </message> + <message> + <source>Flags property are not supported yet.</source> + <translation>플래그 속성은 지원하지 않습니다.</translation> + </message> + <message> + <source>While applying tab stops: The widget '%1' could not be found.</source> + <translation>탭 멈춤을 적용하는 중: 위젯 '%1'을(를) 찾을 수 없습니다.</translation> + </message> + <message> + <source>Invalid QButtonGroup reference '%1' referenced by '%2'.</source> + <translation>'%2'에서 잘못된 QButtonGroup 참조 '%1'을(를) 참조하고 있습니다.</translation> + </message> + <message> + <source>This version of the uitools library is linked without script support.</source> + <translation>이 버전의 uitools 라이브러리는 스크립트를 지원하지 않습니다.</translation> + </message> +</context> +<context> + <name>QAxWidgetPlugin</name> + <message> + <source>ActiveX control</source> + <translation>ActiveX 컨트롤</translation> + </message> + <message> + <source>ActiveX control widget</source> + <translation>ActiveX 컨트롤 위젯</translation> + </message> +</context> +<context> + <name>QAxWidgetTaskMenu</name> + <message> + <source>Set Control</source> + <translation>컨트롤 설정</translation> + </message> + <message> + <source>Reset Control</source> + <translation>컨트롤 초기화</translation> + </message> + <message> + <source>Licensed Control</source> + <translation>라이선스된 컨트롤</translation> + </message> + <message> + <source>The control requires a design-time license</source> + <translation>이 컨트롤을 사용하려면 라이선스가 필요합니다</translation> + </message> +</context> +<context> + <name>QCoreApplication</name> + <message> + <source>Exception at line %1: %2</source> + <translation>%1번째 줄에서 예외 발생: %2</translation> + </message> + <message> + <source>Unknown error</source> + <translation>알 수 없는 오류</translation> + </message> + <message> + <source>An error occurred while running the script for %1: %2 +Script: %3</source> + <translation>%1의 스크립트를 실행하는 중 오류 발생: %2 +스크립트: %3</translation> + </message> + <message> + <source>%1 is not a promoted class.</source> + <translation>%1은(는) 승격된 클래스가 아닙니다.</translation> + </message> + <message> + <source>The base class %1 is invalid.</source> + <translation>기본 클래스 %1이(가) 잘못되었습니다.</translation> + </message> + <message> + <source>The class %1 already exists.</source> + <translation>클래스 %1이(가) 이미 존재합니다.</translation> + </message> + <message> + <source>Promoted Widgets</source> + <translation>승격된 위젯</translation> + </message> + <message> + <source>The class %1 cannot be removed</source> + <translation>클래스 %1을(를) 삭제할 수 없음</translation> + </message> + <message> + <source>The class %1 cannot be removed because it is still referenced.</source> + <translation>클래스 %1이(가) 참조되고 있기 때문에 삭제할 수 없습니다.</translation> + </message> + <message> + <source>The class %1 cannot be renamed</source> + <translation>클래스 %1의 이름을 바꿀 수 없음</translation> + </message> + <message> + <source>The class %1 cannot be renamed to an empty name.</source> + <translation>클래스 %1의 이름을 빈 이름으로 바꿀 수 없습니다.</translation> + </message> + <message> + <source>There is already a class named %1.</source> + <translation>클래스 %1이(가) 이미 존재합니다.</translation> + </message> + <message> + <source>Cannot set an empty include file.</source> + <translation>빈 포함 파일을 설정할 수 없습니다.</translation> + </message> +</context> +<context> + <name>QDesigner</name> + <message> + <source>%1 - warning</source> + <translation>%1 - 경고</translation> + </message> + <message> + <source>Qt Designer</source> + <translation>Qt Designer</translation> + </message> + <message> + <source>This application cannot be used for the Console edition of Qt</source> + <translation>이 프로그램은 Qt 콘솔 에디션에서 사용할 수 없습니다</translation> + </message> +</context> +<context> + <name>QDesignerActions</name> + <message> + <source>Saved %1.</source> + <translation>%1을(를) 저장하였습니다.</translation> + </message> + <message> + <source>%1 already exists. +Do you want to replace it?</source> + <translation>%1이(가) 이미 존재합니다. +겹쳐 쓰시겠습니까?</translation> + </message> + <message> + <source>Edit Widgets</source> + <translation>위젯 편집</translation> + </message> + <message> + <source>&New...</source> + <translation>새 폼(&N)...</translation> + </message> + <message> + <source>&Open...</source> + <translation>열기(&O)...</translation> + </message> + <message> + <source>&Save</source> + <translation>저장(&S)</translation> + </message> + <message> + <source>Save &As...</source> + <translation>다른 이름으로 저장(&A)...</translation> + </message> + <message> + <source>Save A&ll</source> + <translation>모두 저장(&L)</translation> + </message> + <message> + <source>Save As &Template...</source> + <translation>템플릿으로 저장(&T)...</translation> + </message> + <message> + <source>&Close</source> + <translation>닫기(&C)</translation> + </message> + <message> + <source>Save &Image...</source> + <translation>그림 저장(&I)...</translation> + </message> + <message> + <source>&Print...</source> + <translation>인쇄(&P)...</translation> + </message> + <message> + <source>&Quit</source> + <translation>끝내기(&Q)</translation> + </message> + <message> + <source>View &Code...</source> + <translation>코드 보기(&C)...</translation> + </message> + <message> + <source>&Minimize</source> + <translation>최소화(&M)</translation> + </message> + <message> + <source>Bring All to Front</source> + <translation>모두 앞으로 가져오기</translation> + </message> + <message> + <source>Preferences...</source> + <translation>환경 설정...</translation> + </message> + <message> + <source>Additional Fonts...</source> + <translation>추가 글꼴...</translation> + </message> + <message> + <source>ALT+CTRL+S</source> + <translation>ALT+CTRL+S</translation> + </message> + <message> + <source>CTRL+SHIFT+S</source> + <translation>CTRL+SHIFT+S</translation> + </message> + <message> + <source>CTRL+R</source> + <translation>CTRL+R</translation> + </message> + <message> + <source>CTRL+M</source> + <translation>CTRL+M</translation> + </message> + <message> + <source>Qt Designer &Help</source> + <translation>Qt Designer 도움말(&H)</translation> + </message> + <message> + <source>Current Widget Help</source> + <translation>현재 위젯 도움말</translation> + </message> + <message> + <source>What's New in Qt Designer?</source> + <translation>Qt Designer의 새로운 기능</translation> + </message> + <message> + <source>About Plugins</source> + <translation>플러그인 정보</translation> + </message> + <message> + <source>About Qt Designer</source> + <translation>Qt Designer 정보</translation> + </message> + <message> + <source>About Qt</source> + <translation>Qt 정보</translation> + </message> + <message> + <source>Clear &Menu</source> + <translation>메뉴 비우기(&M)</translation> + </message> + <message> + <source>&Recent Forms</source> + <translation>최근 폼(&R)</translation> + </message> + <message> + <source>Open Form</source> + <translation>폼 열기</translation> + </message> + <message> + <source>Designer UI files (*.%1);;All Files (*)</source> + <translation>Designer UI 파일 (*.%1);;모든 파일 (*)</translation> + </message> + <message> + <source>Save Form As</source> + <translation>다른 이름으로 폼 저장</translation> + </message> + <message> + <source>Designer</source> + <translation>Designer</translation> + </message> + <message> + <source>Feature not implemented yet!</source> + <translation>기능이 구현되지 않았습니다!</translation> + </message> + <message> + <source>Code generation failed</source> + <translation>코드 생성 실패</translation> + </message> + <message> + <source>Read error</source> + <translation>읽기 오류</translation> + </message> + <message> + <source>%1 +Do you want to update the file location or generate a new form?</source> + <translation>%1 +파일 위치를 업데이트하거나 새 폼을 생성하시겠습니까?</translation> + </message> + <message> + <source>&Update</source> + <translation>업데이트(&U)</translation> + </message> + <message> + <source>&New Form</source> + <translation>새 폼 생성(&N)</translation> + </message> + <message> + <source>Save Form?</source> + <translation>폼을 저장하시겠습니까?</translation> + </message> + <message> + <source>Could not open file</source> + <translation>파일을 열 수 없음</translation> + </message> + <message> + <source>The file %1 could not be opened. +Reason: %2 +Would you like to retry or select a different file?</source> + <translation>파일 %1을(를) 열 수 없습니다. +이유: %2 +다시 시도하거나 새 파일을 선택하시겠습니까?</translation> + </message> + <message> + <source>Select New File</source> + <translation>새 파일 선택</translation> + </message> + <message> + <source>Could not write file</source> + <translation>파일에 쓸 수 없음</translation> + </message> + <message> + <source>It was not possible to write the entire file %1 to disk. +Reason:%2 +Would you like to retry?</source> + <translation>파일 %1을(를) 디스크에 완전히 기록할 수 없었습니다. +이유: %2 +다시 시도하시겠습니까?</translation> + </message> + <message> + <source>Assistant</source> + <translation>Assistant</translation> + </message> + <message> + <source>&Close Preview</source> + <translation>미리 보기 닫기(&C)</translation> + </message> + <message> + <source>The backup file %1 could not be written.</source> + <translation>백업 파일 %1에 쓸 수 없습니다.</translation> + </message> + <message> + <source>The backup directory %1 could not be created.</source> + <translation>백업 디렉터리 %1을(를) 만들 수 없습니다.</translation> + </message> + <message> + <source>The temporary backup directory %1 could not be created.</source> + <translation>임시 백업 디렉터리 %1을(를) 만들 수 없습니다.</translation> + </message> + <message> + <source>Preview failed</source> + <translation>미리 보기 실패</translation> + </message> + <message> + <source>Image files (*.%1)</source> + <translation>그림 파일 (*.%1)</translation> + </message> + <message> + <source>Save Image</source> + <translation>그림 저장</translation> + </message> + <message> + <source>Saved image %1.</source> + <translation>그림 %1을(를) 저장하였습니다.</translation> + </message> + <message> + <source>The file %1 could not be written.</source> + <translation>파일 %1에 쓸 수 없습니다.</translation> + </message> + <message> + <source>Please close all forms to enable the loading of additional fonts.</source> + <translation>추가 글꼴을 불러오려면 모든 폼을 닫아야 합니다.</translation> + </message> + <message> + <source>Printed %1.</source> + <translation>%1을(를) 인쇄하였습니다.</translation> + </message> +</context> +<context> + <name>QDesignerAppearanceOptionsPage</name> + <message> + <source>Appearance</source> + <extracomment>Tab in preferences dialog</extracomment> + <translation>모양</translation> + </message> +</context> +<context> + <name>QDesignerAppearanceOptionsWidget</name> + <message> + <source>Docked Window</source> + <translation>도킹된 창</translation> + </message> + <message> + <source>Multiple Top-Level Windows</source> + <translation>여러 최상위 창</translation> + </message> + <message> + <source>Toolwindow Font</source> + <translation>도구 창 글꼴</translation> + </message> +</context> +<context> + <name>QDesignerAxWidget</name> + <message> + <source>Reset control</source> + <translation>컨트롤 초기화</translation> + </message> + <message> + <source>Set control</source> + <translation>컨트롤 설정</translation> + </message> + <message> + <source>Control loaded</source> + <translation>컨트롤 불러옴</translation> + </message> + <message> + <source>A COM exception occurred when executing a meta call of type %1, index %2 of "%3".</source> + <translation>"%3"의 메타 호출(형식 %1, 인덱스 %2)을 실행하는 중 COM 오류가 발생하였습니다.</translation> + </message> +</context> +<context> + <name>QDesignerFormBuilder</name> + <message> + <source>Script errors occurred:</source> + <translation>발생한 스크립트 오류:</translation> + </message> + <message> + <source>The preview failed to build.</source> + <translation>미리 보기를 빌드할 수 없습니다.</translation> + </message> + <message> + <source>Designer</source> + <translation>Designer</translation> + </message> +</context> +<context> + <name>QDesignerFormWindow</name> + <message> + <source>%1 - %2[*]</source> + <translation>%1 - %2[*]</translation> + </message> + <message> + <source>Save Form?</source> + <translation>폼을 저장하시겠습니까?</translation> + </message> + <message> + <source>Do you want to save the changes to this document before closing?</source> + <translation>닫기 전에 이 문서의 변경 사항을 저장하시겠습니까?</translation> + </message> + <message> + <source>If you don't save, your changes will be lost.</source> + <translation>저장하지 않은 변경 사항은 손실될 것입니다.</translation> + </message> +</context> +<context> + <name>QDesignerMenu</name> + <message> + <source>Type Here</source> + <translation>여기에 입력하십시오</translation> + </message> + <message> + <source>Add Separator</source> + <translation>구분자 추가</translation> + </message> + <message> + <source>Insert separator</source> + <translation>구분자 삽입</translation> + </message> + <message> + <source>Remove separator</source> + <translation>구분자 삭제</translation> + </message> + <message> + <source>Remove action '%1'</source> + <translation>동작 '%1' 삭제</translation> + </message> + <message> + <source>Add separator</source> + <translation>구분자 추가</translation> + </message> + <message> + <source>Insert action</source> + <translation>동작 삽입</translation> + </message> +</context> +<context> + <name>QDesignerMenuBar</name> + <message> + <source>Type Here</source> + <translation>여기에 입력하십시오</translation> + </message> + <message> + <source>Remove Menu '%1'</source> + <translation>'%1' 메뉴 삭제</translation> + </message> + <message> + <source>Remove Menu Bar</source> + <translation>메뉴 표시줄 삭제</translation> + </message> + <message> + <source>Menu</source> + <translation>메뉴</translation> + </message> +</context> +<context> + <name>QDesignerPluginManager</name> + <message> + <source>An XML error was encountered when parsing the XML of the custom widget %1: %2</source> + <translation>사용자 정의 위젯 %1의 XML을 처리하는 중 XML 오류가 발생하였습니다: %2</translation> + </message> + <message> + <source>A required attribute ('%1') is missing.</source> + <translation>필요한 속성 '%1'이(가) 없습니다.</translation> + </message> + <message> + <source>An invalid property specification ('%1') was encountered. Supported types: %2</source> + <translation>잘못된 속성 정의 '%1이(가) 존재합니다. 지원하는 형식: %2</translation> + </message> + <message> + <source>'%1' is not a valid string property specification.</source> + <translation>'%1'은(는) 올바른 문자열 속성 정의가 아닙니다.</translation> + </message> + <message> + <source>The XML of the custom widget %1 does not contain any of the elements <widget> or <ui>.</source> + <translation>사용자 정의 위젯 %1의 XML 파일에 <widget>이나 <ui> 원소가 존재하지 않습니다.</translation> + </message> + <message> + <source>The class attribute for the class %1 is missing.</source> + <translation>클래스 %1의 class 속성이 없습니다.</translation> + </message> + <message> + <source>The class attribute for the class %1 does not match the class name %2.</source> + <translation>클래스 %1의 class 속성이 클래스 이름 %2와(과) 일치하지 않습니다.</translation> + </message> +</context> +<context> + <name>QDesignerPropertySheet</name> + <message> + <source>Dynamic Properties</source> + <translation>동적 속성</translation> + </message> +</context> +<context> + <name>QDesignerResource</name> + <message> + <source>The layout type '%1' is not supported, defaulting to grid.</source> + <translation>레이아웃 형식 '%1'은(는) 지원하지 않습니다. 기본값으로 격자 레이아웃을 사용합니다.</translation> + </message> + <message> + <source>The container extension of the widget '%1' (%2) returned a widget not managed by Designer '%3' (%4) when queried for page #%5. +Container pages should only be added by specifying them in XML returned by the domXml() method of the custom widget.</source> + <translation>위젯 '%1' (%2)의 컨테이너 확장에 쪽 #%5을(를) 조회하였을 때 Designer에서 관리되지 않는 위젯 '%3'(%4)을(를) 반환하였습니다. +컨테이너 쪽은 사용자 정의 위젯의 domXml() 메서드에서 반환하는 XML에 정의하여야 합니다.</translation> + </message> + <message> + <source>Unexpected element <%1></source> + <extracomment>Parsing clipboard contents</extracomment> + <translation>예상하지 못한 원소 <%1></translation> + </message> + <message> + <source>Error while pasting clipboard contents at line %1, column %2: %3</source> + <extracomment>Parsing clipboard contents</extracomment> + <translation>클립보드 내용을 붙여넣는 중 %1번째 줄 %2번째 칸에서 오류 발생: %3</translation> + </message> + <message> + <source>Error while pasting clipboard contents: The root element <ui> is missing.</source> + <extracomment>Parsing clipboard contents</extracomment> + <translation>클립보드 내용을 붙여넣는 중 오류 발생: 루트 원소 <ui>가 없습니다.</translation> + </message> +</context> +<context> + <name>QDesignerSharedSettings</name> + <message> + <source>The template path %1 could not be created.</source> + <translation>템플릿 경로 %1을(를) 생성할 수 없습니다.</translation> + </message> + <message> + <source>An error has been encountered while parsing device profile XML: %1</source> + <translation>장치 프로필 XML을 처리하는 중 오류 발생: %1</translation> + </message> +</context> +<context> + <name>QDesignerToolWindow</name> + <message> + <source>Property Editor</source> + <translation>속성 편집기</translation> + </message> + <message> + <source>Action Editor</source> + <translation>동작 편집기</translation> + </message> + <message> + <source>Object Inspector</source> + <translation>객체 탐색기</translation> + </message> + <message> + <source>Resource Browser</source> + <translation>리소스 탐색기</translation> + </message> + <message> + <source>Signal/Slot Editor</source> + <translation>시그널/슬롯 편집기</translation> + </message> + <message> + <source>Widget Box</source> + <translation>위젯 상자</translation> + </message> +</context> +<context> + <name>QDesignerWorkbench</name> + <message> + <source>&File</source> + <translation>파일(&F)</translation> + </message> + <message> + <source>Edit</source> + <translation>편집</translation> + </message> + <message> + <source>F&orm</source> + <translation>폼(&O)</translation> + </message> + <message> + <source>Preview in</source> + <translation>다음으로 미리 보기</translation> + </message> + <message> + <source>&View</source> + <translation>보기(&V)</translation> + </message> + <message> + <source>&Settings</source> + <translation>설정(&S)</translation> + </message> + <message> + <source>&Window</source> + <translation>창(&W)</translation> + </message> + <message> + <source>&Help</source> + <translation>도움말(&H)</translation> + </message> + <message> + <source>Toolbars</source> + <translation>도구 모음</translation> + </message> + <message> + <source>Widget Box</source> + <translation>위젯 상자</translation> + </message> + <message> + <source>Save Forms?</source> + <translation>폼을 저장하시겠습니까?</translation> + </message> + <message numerus="yes"> + <source>There are %n forms with unsaved changes. Do you want to review these changes before quitting?</source> + <translation> + <numerusform>저장하지 않은 변경 사항이 있는 폼이 %n개 있습니다. 끝내기 전에 변경 사항을 검토하시겠습니까?</numerusform> + </translation> + </message> + <message> + <source>If you do not review your documents, all your changes will be lost.</source> + <translation>변경 사항을 검토하지 않으면 손실될 것입니다.</translation> + </message> + <message> + <source>Discard Changes</source> + <translation>변경 사항 무시</translation> + </message> + <message> + <source>Review Changes</source> + <translation>변경 사항 검토</translation> + </message> + <message> + <source>Backup Information</source> + <translation>백업 정보</translation> + </message> + <message> + <source>The last session of Designer was not terminated correctly. Backup files were left behind. Do you want to load them?</source> + <translation>Designer가 마지막으로 실행되었을 때 올바르게 종료되지 않았으며, 백업 파일이 생성되었습니다. 백업 파일을 불러오시겠습니까?</translation> + </message> + <message> + <source>The file <b>%1</b> could not be opened.</source> + <translation>파일 <b>%1</b>을(를) 열 수 없습니다.</translation> + </message> + <message> + <source>The file <b>%1</b> is not a valid Designer UI file.</source> + <translation>파일 <b>%1</b>은(는) 올바른 Designer UI 파일이 아닙니다.</translation> + </message> +</context> +<context> + <name>QFormBuilder</name> + <message> + <source>An empty class name was passed on to %1 (object name: '%2').</source> + <extracomment>Empty class name passed to widget factory method +---------- +Empty class name passed to widget factory method +---------- +Empty class name passed to widget factory method</extracomment> + <translation>%1(객체 이름: '%2')에 빈 클래스 이름이 전달되었습니다.</translation> + </message> + <message> + <source>QFormBuilder was unable to create a custom widget of the class '%1'; defaulting to base class '%2'.</source> + <translation>QFormBuilder에서 클래스 '%1'인 사용자 정의 위젯을 만들 수 없습니다. 기본 클래스 '%2'을(를) 사용합니다.</translation> + </message> + <message> + <source>QFormBuilder was unable to create a widget of the class '%1'.</source> + <translation>QFormBuilder에서 클래스 '%1'인 위젯을 만들 수 없습니다.</translation> + </message> + <message> + <source>The layout type `%1' is not supported.</source> + <translation>레이아웃 형식 '%1'은(는) 지원하지 않습니다.</translation> + </message> + <message> + <source>The set-type property %1 could not be read.</source> + <translation>set 형식 속성 %1을(를) 읽을 수 없습니다.</translation> + </message> + <message> + <source>The enumeration-type property %1 could not be read.</source> + <translation>열거형 속성 %1을(를) 읽을 수 없습니다.</translation> + </message> + <message> + <source>Reading properties of the type %1 is not supported yet.</source> + <translation>형식이 %1인 속성에서 읽기는 지원하지 않습니다.</translation> + </message> + <message> + <source>The property %1 could not be written. The type %2 is not supported yet.</source> + <translation>속성 %1에 쓸 수 없습니다. 형식 %2은(는) 지원하지 않습니다.</translation> + </message> + <message> + <source>The enumeration-value '%1' is invalid. The default value '%2' will be used instead.</source> + <translation>열거형 값 '%1'이(가) 잘못되었습니다. 기본값 '%2'을(를) 사용합니다.</translation> + </message> + <message> + <source>The flag-value '%1' is invalid. Zero will be used instead.</source> + <translation>플래그 값 '%1'이(가) 잘못되었습니다. 0을 사용합니다.</translation> + </message> +</context> +<context> + <name>QStackedWidgetEventFilter</name> + <message> + <source>Previous Page</source> + <translation>이전 쪽</translation> + </message> + <message> + <source>Next Page</source> + <translation>다음 쪽</translation> + </message> + <message> + <source>Delete</source> + <translation>삭제</translation> + </message> + <message> + <source>Before Current Page</source> + <translation>현재 쪽 앞에</translation> + </message> + <message> + <source>After Current Page</source> + <translation>현재 쪽 뒤에</translation> + </message> + <message> + <source>Change Page Order...</source> + <translation>쪽 순서 변경...</translation> + </message> + <message> + <source>Change Page Order</source> + <translation>쪽 순서 변경</translation> + </message> + <message> + <source>Page %1 of %2</source> + <translation>%2 중 %1쪽</translation> + </message> + <message> + <source>Insert Page</source> + <translation>쪽 삽입</translation> + </message> +</context> +<context> + <name>QStackedWidgetPreviewEventFilter</name> + <message> + <source>Go to previous page of %1 '%2' (%3/%4).</source> + <translation>%1 '%2'의 이전 쪽으로 이동합니다 (%3/%4).</translation> + </message> + <message> + <source>Go to next page of %1 '%2' (%3/%4).</source> + <translation>%1 '%2'의 다음 쪽으로 이동합니다 (%3/%4).</translation> + </message> +</context> +<context> + <name>QTabWidgetEventFilter</name> + <message> + <source>Delete</source> + <translation>삭제</translation> + </message> + <message> + <source>Before Current Page</source> + <translation>현재 쪽 앞에</translation> + </message> + <message> + <source>After Current Page</source> + <translation>현재 쪽 다음에</translation> + </message> + <message> + <source>Page %1 of %2</source> + <translation>%2 중 %1쪽</translation> + </message> + <message> + <source>Insert Page</source> + <translation>쪽 삽입</translation> + </message> +</context> +<context> + <name>QToolBoxHelper</name> + <message> + <source>Delete Page</source> + <translation>쪽 삭제</translation> + </message> + <message> + <source>Before Current Page</source> + <translation>현재 쪽 앞에</translation> + </message> + <message> + <source>After Current Page</source> + <translation>현재 쪽 뒤에</translation> + </message> + <message> + <source>Change Page Order...</source> + <translation>쪽 순서 변경...</translation> + </message> + <message> + <source>Change Page Order</source> + <translation>쪽 순서 변경</translation> + </message> + <message> + <source>Page %1 of %2</source> + <translation>%2 중 %1쪽</translation> + </message> + <message> + <source>Insert Page</source> + <translation>쪽 삽입</translation> + </message> +</context> +<context> + <name>QtBoolEdit</name> + <message> + <source>True</source> + <translation>참</translation> + </message> + <message> + <source>False</source> + <translation>거짓</translation> + </message> +</context> +<context> + <name>QtBoolPropertyManager</name> + <message> + <source>True</source> + <translation>참</translation> + </message> + <message> + <source>False</source> + <translation>거짓</translation> + </message> +</context> +<context> + <name>QtCharEdit</name> + <message> + <source>Clear Char</source> + <translation>문자 삭제</translation> + </message> +</context> +<context> + <name>QtColorEditWidget</name> + <message> + <source>...</source> + <translation>...</translation> + </message> +</context> +<context> + <name>QtColorPropertyManager</name> + <message> + <source>Red</source> + <translation>빨강</translation> + </message> + <message> + <source>Green</source> + <translation>녹색</translation> + </message> + <message> + <source>Blue</source> + <translation>파랑</translation> + </message> + <message> + <source>Alpha</source> + <translation>투명도</translation> + </message> +</context> +<context> + <name>QtCursorDatabase</name> + <message> + <source>Arrow</source> + <translation>화살표</translation> + </message> + <message> + <source>Up Arrow</source> + <translation>위쪽 화살표</translation> + </message> + <message> + <source>Cross</source> + <translation>십자가</translation> + </message> + <message> + <source>Wait</source> + <translation>대기</translation> + </message> + <message> + <source>IBeam</source> + <translation>I빔</translation> + </message> + <message> + <source>Size Vertical</source> + <translation>수직 크기 조정</translation> + </message> + <message> + <source>Size Horizontal</source> + <translation>수평 크기 조정</translation> + </message> + <message> + <source>Size Backslash</source> + <translation>역슬래시 크기 조정</translation> + </message> + <message> + <source>Size Slash</source> + <translation>슬래시 크기 조정</translation> + </message> + <message> + <source>Size All</source> + <translation>모든 방향 크기 조정</translation> + </message> + <message> + <source>Blank</source> + <translation>비어 있음</translation> + </message> + <message> + <source>Split Vertical</source> + <translation>수직 나누기</translation> + </message> + <message> + <source>Split Horizontal</source> + <translation>수평 나누기</translation> + </message> + <message> + <source>Pointing Hand</source> + <translation>가리키는 손</translation> + </message> + <message> + <source>Forbidden</source> + <translation>금지됨</translation> + </message> + <message> + <source>Open Hand</source> + <translation>열린 손</translation> + </message> + <message> + <source>Closed Hand</source> + <translation>닫힌 손</translation> + </message> + <message> + <source>What's This</source> + <translation>도움말 항목</translation> + </message> + <message> + <source>Busy</source> + <translation>바쁨</translation> + </message> +</context> +<context> + <name>QtFontEditWidget</name> + <message> + <source>...</source> + <translation>...</translation> + </message> + <message> + <source>Select Font</source> + <translation>글꼴 선택</translation> + </message> +</context> +<context> + <name>QtFontPropertyManager</name> + <message> + <source>Family</source> + <translation>종류</translation> + </message> + <message> + <source>Point Size</source> + <translation>포인트 크기</translation> + </message> + <message> + <source>Bold</source> + <translation>굵게</translation> + </message> + <message> + <source>Italic</source> + <translation>기울임꼴</translation> + </message> + <message> + <source>Underline</source> + <translation>밑줄</translation> + </message> + <message> + <source>Strikeout</source> + <translation>취소선</translation> + </message> + <message> + <source>Kerning</source> + <translation>커닝</translation> + </message> +</context> +<context> + <name>QtGradientDialog</name> + <message> + <source>Edit Gradient</source> + <translation>그라데이션 편집</translation> + </message> +</context> +<context> + <name>QtGradientEditor</name> + <message> + <source>Form</source> + <translation>폼</translation> + </message> + <message> + <source>Gradient Editor</source> + <translation>그라데이션 편집기</translation> + </message> + <message> + <source>This area shows a preview of the gradient being edited. It also allows you to edit parameters specific to the gradient's type such as start and final point, radius, etc. by drag & drop.</source> + <translation>현재 편집하고 있는 그라데이션을 미리 보여 줍니다. 그라데이션의 시작과 끝점, 반지름 등을 끌어다 놓기로 편집할 수 있습니다.</translation> + </message> + <message> + <source>1</source> + <translation>1</translation> + </message> + <message> + <source>2</source> + <translation>2</translation> + </message> + <message> + <source>3</source> + <translation>3</translation> + </message> + <message> + <source>4</source> + <translation>4</translation> + </message> + <message> + <source>5</source> + <translation>5</translation> + </message> + <message> + <source>Gradient Stops Editor</source> + <translation>그라데이션 지점 편집기</translation> + </message> + <message> + <source>This area allows you to edit gradient stops. Double click on the existing stop handle to duplicate it. Double click outside of the existing stop handles to create a new stop. Drag & drop the handle to reposition it. Use right mouse button to popup context menu with extra actions.</source> + <translation>그라데이션 지점을 편집할 수 있습니다. 존재하는 지점을 두 번 누르면 복제됩니다. 존재하는 지점 밖을 두 번 누르면 새 지점을 만들 수 있습니다. 지점의 위치를 바꾸려면 끌어다 놓으십시오. 마우스 오른쪽 단추를 누르면 추가 동작이 있는 팝업 메뉴가 표시됩니다.</translation> + </message> + <message> + <source>Zoom</source> + <translation>확대/축소</translation> + </message> + <message> + <source>Reset Zoom</source> + <translation>원래 크기로</translation> + </message> + <message> + <source>Position</source> + <translation>위치</translation> + </message> + <message> + <source>Hue</source> + <translation>명도</translation> + </message> + <message> + <source>H</source> + <translation>H</translation> + </message> + <message> + <source>Saturation</source> + <translation>채도</translation> + </message> + <message> + <source>S</source> + <translation>S</translation> + </message> + <message> + <source>Sat</source> + <translation>채도</translation> + </message> + <message> + <source>Value</source> + <translation>휘도</translation> + </message> + <message> + <source>V</source> + <translation>V</translation> + </message> + <message> + <source>Val</source> + <translation>휘도</translation> + </message> + <message> + <source>Alpha</source> + <translation>투명도</translation> + </message> + <message> + <source>A</source> + <translation>A</translation> + </message> + <message> + <source>Type</source> + <translation>종류</translation> + </message> + <message> + <source>Spread</source> + <translation>펼침</translation> + </message> + <message> + <source>Color</source> + <translation>색상</translation> + </message> + <message> + <source>Current stop's color</source> + <translation>현재 지점의 색상</translation> + </message> + <message> + <source>Show HSV specification</source> + <translation>HSV로 색상 표시</translation> + </message> + <message> + <source>HSV</source> + <translation>HSV</translation> + </message> + <message> + <source>Show RGB specification</source> + <translation>RGB로 색상 표시</translation> + </message> + <message> + <source>RGB</source> + <translation>RGB</translation> + </message> + <message> + <source>Current stop's position</source> + <translation>현재 지점의 위치</translation> + </message> + <message> + <source>%</source> + <translation>%</translation> + </message> + <message> + <source>Zoom In</source> + <translation>확대</translation> + </message> + <message> + <source>Zoom Out</source> + <translation>축소</translation> + </message> + <message> + <source>Toggle details extension</source> + <translation>자세한 정보 보이기/숨기기</translation> + </message> + <message> + <source>></source> + <translation>></translation> + </message> + <message> + <source>Linear Type</source> + <translation>선형</translation> + </message> + <message> + <source>...</source> + <translation>...</translation> + </message> + <message> + <source>Radial Type</source> + <translation>원형</translation> + </message> + <message> + <source>Conical Type</source> + <translation>원뿔형</translation> + </message> + <message> + <source>Pad Spread</source> + <translation>패딩</translation> + </message> + <message> + <source>Repeat Spread</source> + <translation>반복</translation> + </message> + <message> + <source>Reflect Spread</source> + <translation>반사</translation> + </message> + <message> + <source>Start X</source> + <translation>시작 X</translation> + </message> + <message> + <source>Start Y</source> + <translation>시작 Y</translation> + </message> + <message> + <source>Final X</source> + <translation>끝 X</translation> + </message> + <message> + <source>Final Y</source> + <translation>끝 Y</translation> + </message> + <message> + <source>Central X</source> + <translation>중간 X</translation> + </message> + <message> + <source>Central Y</source> + <translation>중간 Y</translation> + </message> + <message> + <source>Focal X</source> + <translation>초점 X</translation> + </message> + <message> + <source>Focal Y</source> + <translation>초점 Y</translation> + </message> + <message> + <source>Radius</source> + <translation>반지름</translation> + </message> + <message> + <source>Angle</source> + <translation>각도</translation> + </message> + <message> + <source>Linear</source> + <translation>선형</translation> + </message> + <message> + <source>Radial</source> + <translation>원형</translation> + </message> + <message> + <source>Conical</source> + <translation>원뿔형</translation> + </message> + <message> + <source>Pad</source> + <translation>패딩</translation> + </message> + <message> + <source>Repeat</source> + <translation>반복</translation> + </message> + <message> + <source>Reflect</source> + <translation>반사</translation> + </message> +</context> +<context> + <name>QtGradientStopsWidget</name> + <message> + <source>New Stop</source> + <translation>새 지점</translation> + </message> + <message> + <source>Delete</source> + <translation>삭제</translation> + </message> + <message> + <source>Flip All</source> + <translation>모두 뒤집기</translation> + </message> + <message> + <source>Select All</source> + <translation>모두 선택</translation> + </message> + <message> + <source>Zoom In</source> + <translation>확대</translation> + </message> + <message> + <source>Zoom Out</source> + <translation>축소</translation> + </message> + <message> + <source>Reset Zoom</source> + <translation>원래 크기로</translation> + </message> +</context> +<context> + <name>QtGradientView</name> + <message> + <source>Gradient View</source> + <translation>그라데이션 보기</translation> + </message> + <message> + <source>New...</source> + <translation>새로 만들기...</translation> + </message> + <message> + <source>Edit...</source> + <translation>편집...</translation> + </message> + <message> + <source>Rename</source> + <translation>이름 바꾸기</translation> + </message> + <message> + <source>Remove</source> + <translation>삭제</translation> + </message> + <message> + <source>Grad</source> + <translation>그라데이션</translation> + </message> + <message> + <source>Remove Gradient</source> + <translation>그라데이션 삭제</translation> + </message> + <message> + <source>Are you sure you want to remove the selected gradient?</source> + <translation>선택한 그라데이션을 삭제하시겠습니까?</translation> + </message> +</context> +<context> + <name>QtGradientViewDialog</name> + <message> + <source>Select Gradient</source> + <translation>그라데이션 선택</translation> + </message> +</context> +<context> + <name>QtKeySequenceEdit</name> + <message> + <source>Clear Shortcut</source> + <translation>단축키 삭제</translation> + </message> +</context> +<context> + <name>QtLocalePropertyManager</name> + <message> + <source><Invalid></source> + <translation><잘못됨></translation> + </message> + <message> + <source>%1, %2</source> + <translation>%1, %2</translation> + </message> + <message> + <source>Language</source> + <translation>언어</translation> + </message> + <message> + <source>Country</source> + <translation>국가</translation> + </message> +</context> +<context> + <name>QtPointFPropertyManager</name> + <message> + <source>(%1, %2)</source> + <translation>(%1, %2)</translation> + </message> + <message> + <source>X</source> + <translation>X</translation> + </message> + <message> + <source>Y</source> + <translation>Y</translation> + </message> +</context> +<context> + <name>QtPointPropertyManager</name> + <message> + <source>(%1, %2)</source> + <translation>(%1, %2)</translation> + </message> + <message> + <source>X</source> + <translation>X</translation> + </message> + <message> + <source>Y</source> + <translation>Y</translation> + </message> +</context> +<context> + <name>QtPropertyBrowserUtils</name> + <message> + <source>[%1, %2, %3] (%4)</source> + <translation>[%1, %2, %3] (%4)</translation> + </message> + <message> + <source>[%1, %2]</source> + <translation>[%1, %2]</translation> + </message> +</context> +<context> + <name>QtRectFPropertyManager</name> + <message> + <source>[(%1, %2), %3 x %4]</source> + <translation>[(%1, %2), %3 x %4]</translation> + </message> + <message> + <source>X</source> + <translation>X</translation> + </message> + <message> + <source>Y</source> + <translation>Y</translation> + </message> + <message> + <source>Width</source> + <translation>너비</translation> + </message> + <message> + <source>Height</source> + <translation>높이</translation> + </message> +</context> +<context> + <name>QtRectPropertyManager</name> + <message> + <source>[(%1, %2), %3 x %4]</source> + <translation>[(%1, %2), %3 x %4]</translation> + </message> + <message> + <source>X</source> + <translation>X</translation> + </message> + <message> + <source>Y</source> + <translation>Y</translation> + </message> + <message> + <source>Width</source> + <translation>너비</translation> + </message> + <message> + <source>Height</source> + <translation>높이</translation> + </message> +</context> +<context> + <name>QtResourceEditorDialog</name> + <message> + <source>Dialog</source> + <translation>대화 상자</translation> + </message> + <message> + <source>New File</source> + <translation>새 파일</translation> + </message> + <message> + <source>N</source> + <translation>N</translation> + </message> + <message> + <source>Remove File</source> + <translation>파일 삭제</translation> + </message> + <message> + <source>R</source> + <translation>R</translation> + </message> + <message> + <source>I</source> + <translation>I</translation> + </message> + <message> + <source>New Resource</source> + <translation>새 리소스</translation> + </message> + <message> + <source>A</source> + <translation>A</translation> + </message> + <message> + <source>Remove Resource or File</source> + <translation>리소스나 파일 삭제</translation> + </message> + <message> + <source>%1 already exists. +Do you want to replace it?</source> + <translation>%1이(가) 이미 존재합니다. +변경하시겠습니까?</translation> + </message> + <message> + <source>The file does not appear to be a resource file; element '%1' was found where '%2' was expected.</source> + <translation>이 파일은 리소스 파일이 아닌 것 같습니다. 원소 '%2'을(를) 예상하였지만 '%1'이(가) 나왔습니다.</translation> + </message> + <message> + <source>%1 [read-only]</source> + <translation>%1 [읽기 전용]</translation> + </message> + <message> + <source>%1 [missing]</source> + <translation>%1 [없음]</translation> + </message> + <message> + <source><no prefix></source> + <translation><접두사 없음></translation> + </message> + <message> + <source>New Resource File</source> + <translation>새 리소스 파일</translation> + </message> + <message> + <source>Resource files (*.qrc)</source> + <translation>리소스 파일 (*.qrc)</translation> + </message> + <message> + <source>Import Resource File</source> + <translation>리소스 파일 가져오기</translation> + </message> + <message> + <source>newPrefix</source> + <translation>newPrefix</translation> + </message> + <message> + <source><p><b>Warning:</b> The file</p><p>%1</p><p>is outside of the current resource file's parent directory.</p></source> + <translation><p><b>경고:</b> 파일</p><p>%1</p><p>이(가) 현재 리소스 파일의 부모 디렉터리 밖에 있습니다.</p></translation> + </message> + <message> + <source><p>To resolve the issue, press:</p><table><tr><th align="left">Copy</th><td>to copy the file to the resource file's parent directory.</td></tr><tr><th align="left">Copy As...</th><td>to copy the file into a subdirectory of the resource file's parent directory.</td></tr><tr><th align="left">Keep</th><td>to use its current location.</td></tr></table></source> + <translation><p>이 문제를 해결하려면 다음 중에서 선택하십시오:</p><table><tr><th align="left">복사</th><td>리소스 파일의 부모 디렉터리로 파일을 복사합니다.</td></tr><tr><th align="left">다른 이름으로 복사...</th><tr>리소스 파일의 부모 디렉터리의 하위 디렉터리로 파일을 복사합니다.</td></tr><tr><th align="left">유지</th><td>현재 위치를 유지합니다.</td></tr></table></translation> + </message> + <message> + <source>Add Files</source> + <translation>파일 추가</translation> + </message> + <message> + <source>Incorrect Path</source> + <translation>경로 잘못됨</translation> + </message> + <message> + <source>Copy</source> + <translation>복사</translation> + </message> + <message> + <source>Copy As...</source> + <translation>다른 이름으로 복사...</translation> + </message> + <message> + <source>Keep</source> + <translation>유지</translation> + </message> + <message> + <source>Skip</source> + <translation>건너뛰기</translation> + </message> + <message> + <source>Clone Prefix</source> + <translation>접두사 복제</translation> + </message> + <message> + <source>Enter the suffix which you want to add to the names of the cloned files. +This could for example be a language extension like "_de".</source> + <translation>복제된 파일의 끝에 추가할 접미사를 입력하십시오. +예를 들어 언어 코드 "_ko" 등을 사용할 수 있습니다.</translation> + </message> + <message> + <source>Copy As</source> + <translation>다른 이름으로 복사</translation> + </message> + <message> + <source><p>The selected file:</p><p>%1</p><p>is outside of the current resource file's directory:</p><p>%2</p><p>Please select another path within this directory.<p></source> + <translation><p>선택한 파일</p><p>%1</p>이(가) 현재 리소스 파일의 디렉터리</p><p>%2</p><p>밖에 있습니다. 이 디렉터리 안에 있는 다른 경로를 선택하십시오.</p></translation> + </message> + <message> + <source>Could not overwrite %1.</source> + <translation>%1에 겹쳐쓸 수 없습니다.</translation> + </message> + <message> + <source>Could not copy +%1 +to +%2</source> + <translation>%1 +을(를) +%2 +(으)로 복사할 수 없습니다</translation> + </message> + <message> + <source>A parse error occurred at line %1, column %2 of %3: +%4</source> + <translation>%3의 %1번째 줄, %2번째 칸에서 처리 오류가 발생하였습니다: +%4</translation> + </message> + <message> + <source>Save Resource File</source> + <translation>리소스 파일 저장</translation> + </message> + <message> + <source>Could not write %1: %2</source> + <translation>%1에 쓸 수 없음: %2</translation> + </message> + <message> + <source>Edit Resources</source> + <translation>리소스 편집</translation> + </message> + <message> + <source>New...</source> + <translation>새로 만들기...</translation> + </message> + <message> + <source>Open...</source> + <translation>열기...</translation> + </message> + <message> + <source>Open Resource File</source> + <translation>리소스 파일 열기</translation> + </message> + <message> + <source>Remove</source> + <translation>삭제</translation> + </message> + <message> + <source>Move Up</source> + <translation>위로 이동</translation> + </message> + <message> + <source>Move Down</source> + <translation>아래로 이동</translation> + </message> + <message> + <source>Add Prefix</source> + <translation>접두사 추가</translation> + </message> + <message> + <source>Add Files...</source> + <translation>파일 추가...</translation> + </message> + <message> + <source>Change Prefix</source> + <translation>접두사 변경</translation> + </message> + <message> + <source>Change Language</source> + <translation>언어 변경</translation> + </message> + <message> + <source>Change Alias</source> + <translation>별명 변경</translation> + </message> + <message> + <source>Clone Prefix...</source> + <translation>접두사 복제...</translation> + </message> + <message> + <source>Prefix / Path</source> + <translation>접두사 / 경로</translation> + </message> + <message> + <source>Language / Alias</source> + <translation>언어 / 별명</translation> + </message> + <message> + <source><html><p><b>Warning:</b> There have been problems while reloading the resources:</p><pre>%1</pre></html></source> + <translation><html><p><b>경고:</b> 다음 리소스을 다시 불러오는 중 오류가 발생하였습니다:</p><pre>%1</pre></html></translation> + </message> + <message> + <source>Resource Warning</source> + <translation>리소스 경고</translation> + </message> +</context> +<context> + <name>QtResourceView</name> + <message> + <source>Size: %1 x %2 +%3</source> + <translation>크기: %1 x %2 +%3</translation> + </message> + <message> + <source>Edit Resources...</source> + <translation>리소스 편집...</translation> + </message> + <message> + <source>Reload</source> + <translation>새로 고침</translation> + </message> + <message> + <source>Copy Path</source> + <translation>경로 복사</translation> + </message> +</context> +<context> + <name>QtResourceViewDialog</name> + <message> + <source>Select Resource</source> + <translation>리소스 선택</translation> + </message> +</context> +<context> + <name>QtSizeFPropertyManager</name> + <message> + <source>%1 x %2</source> + <translation>%1 x %2</translation> + </message> + <message> + <source>Width</source> + <translation>너비</translation> + </message> + <message> + <source>Height</source> + <translation>높이</translation> + </message> +</context> +<context> + <name>QtSizePolicyPropertyManager</name> + <message> + <source><Invalid></source> + <translation><잘못됨></translation> + </message> + <message> + <source>[%1, %2, %3, %4]</source> + <translation>[%1, %2, %3, %4]</translation> + </message> + <message> + <source>Horizontal Policy</source> + <translation>수평 정책</translation> + </message> + <message> + <source>Vertical Policy</source> + <translation>수직 정책</translation> + </message> + <message> + <source>Horizontal Stretch</source> + <translation>수평 확장</translation> + </message> + <message> + <source>Vertical Stretch</source> + <translation>수직 확장</translation> + </message> +</context> +<context> + <name>QtSizePropertyManager</name> + <message> + <source>%1 x %2</source> + <translation>%1 x %2</translation> + </message> + <message> + <source>Width</source> + <translation>너비</translation> + </message> + <message> + <source>Height</source> + <translation>높이</translation> + </message> +</context> +<context> + <name>QtToolBarDialog</name> + <message> + <source>Customize Toolbars</source> + <translation>도구 모음 사용자 정의</translation> + </message> + <message> + <source>1</source> + <translation>1</translation> + </message> + <message> + <source>Actions</source> + <translation>동작</translation> + </message> + <message> + <source>Toolbars</source> + <translation>도구 모음</translation> + </message> + <message> + <source>Add new toolbar</source> + <translation>새 도구 모음 추가</translation> + </message> + <message> + <source>New</source> + <translation>새로 만들기</translation> + </message> + <message> + <source>Remove selected toolbar</source> + <translation>선택한 도구 모음 삭제</translation> + </message> + <message> + <source>Remove</source> + <translation>삭제</translation> + </message> + <message> + <source>Rename toolbar</source> + <translation>도구 모음 이름 바꾸기</translation> + </message> + <message> + <source>Rename</source> + <translation>이름 바꾸기</translation> + </message> + <message> + <source>Move action up</source> + <translation>동작 위로 이동</translation> + </message> + <message> + <source>Up</source> + <translation>위로</translation> + </message> + <message> + <source>Remove action from toolbar</source> + <translation>도구 모음에서 동작 삭제</translation> + </message> + <message> + <source><-</source> + <translation><-</translation> + </message> + <message> + <source>Add action to toolbar</source> + <translation>도구 모음에 동작 추가</translation> + </message> + <message> + <source>-></source> + <translation>-></translation> + </message> + <message> + <source>Move action down</source> + <translation>동작 아래로 이동</translation> + </message> + <message> + <source>Down</source> + <translation>아래로</translation> + </message> + <message> + <source>Current Toolbar Actions</source> + <translation>현재 도구 모음의 동작</translation> + </message> + <message> + <source>Custom Toolbar</source> + <translation>사용자 정의 도구 모음</translation> + </message> + <message> + <source>< S E P A R A T O R ></source> + <translation>< 구 분 자 ></translation> + </message> +</context> +<context> + <name>QtTreePropertyBrowser</name> + <message> + <source>Property</source> + <translation>속성</translation> + </message> + <message> + <source>Value</source> + <translation>값</translation> + </message> +</context> +<context> + <name>SaveFormAsTemplate</name> + <message> + <source>Save Form As Template</source> + <translation>폼을 템플릿으로 저장</translation> + </message> + <message> + <source>&Name:</source> + <translation>이름(&N):</translation> + </message> + <message> + <source>&Category:</source> + <translation>분류(&C):</translation> + </message> + <message> + <source>Add path...</source> + <translation>경로 추가...</translation> + </message> + <message> + <source>Template Exists</source> + <translation>템플릿이 존재함</translation> + </message> + <message> + <source>A template with the name %1 already exists. +Do you want overwrite the template?</source> + <translation>이름이 %1인 템플릿이 이미 존재합니다. +템플릿을 겹쳐 쓰시겠습니까?</translation> + </message> + <message> + <source>Overwrite Template</source> + <translation>템플릿 겹쳐 쓰기</translation> + </message> + <message> + <source>Open Error</source> + <translation>열기 오류</translation> + </message> + <message> + <source>There was an error opening template %1 for writing. Reason: %2</source> + <translation>템플릿 %1에 쓰기 위해 열 수 없습니다. 이유: %2</translation> + </message> + <message> + <source>Write Error</source> + <translation>쓰기 오류</translation> + </message> + <message> + <source>There was an error writing the template %1 to disk. Reason: %2</source> + <translation>템플릿 %1을(를) 디스크에 쓰는 중 오류가 발생하였습니다. 이유: %2</translation> + </message> + <message> + <source>Pick a directory to save templates in</source> + <translation>템플릿 저장 디렉터리 선택</translation> + </message> +</context> +<context> + <name>ScriptErrorDialog</name> + <message> + <source>An error occurred while running the scripts for "%1": +</source> + <translation>"%1"의 스크립트를 실행하는 중 오류 발생: +</translation> + </message> +</context> +<context> + <name>SelectSignalDialog</name> + <message> + <source>Go to slot</source> + <translation>슬롯으로 이동</translation> + </message> + <message> + <source>Select signal</source> + <translation>시그널 선택</translation> + </message> + <message> + <source>signal</source> + <translation>시그널</translation> + </message> + <message> + <source>class</source> + <translation>클래스</translation> + </message> +</context> +<context> + <name>SignalSlotConnection</name> + <message> + <source>SENDER(%1), SIGNAL(%2), RECEIVER(%3), SLOT(%4)</source> + <translation>SENDER(%1), SIGNAL(%2), RECEIVER(%3), SLOT(%4)</translation> + </message> +</context> +<context> + <name>SignalSlotDialogClass</name> + <message> + <source>Signals and slots</source> + <translation>시그널과 슬롯</translation> + </message> + <message> + <source>Slots</source> + <translation>슬롯</translation> + </message> + <message> + <source>Add</source> + <translation>추가</translation> + </message> + <message> + <source>...</source> + <translation>...</translation> + </message> + <message> + <source>Delete</source> + <translation>삭제</translation> + </message> + <message> + <source>Signals</source> + <translation>시그널</translation> + </message> +</context> +<context> + <name>Spacer</name> + <message> + <source>Horizontal Spacer '%1', %2 x %3</source> + <translation>수평 스페이서 '%1', %2 x %3</translation> + </message> + <message> + <source>Vertical Spacer '%1', %2 x %3</source> + <translation>수직 스페이서 '%1', %2 x %3</translation> + </message> +</context> +<context> + <name>TemplateOptionsPage</name> + <message> + <source>Template Paths</source> + <extracomment>Tab in preferences dialog</extracomment> + <translation>템플릿 경로</translation> + </message> +</context> +<context> + <name>ToolBarManager</name> + <message> + <source>Configure Toolbars...</source> + <translation>도구 모음 설정...</translation> + </message> + <message> + <source>Window</source> + <translation>창</translation> + </message> + <message> + <source>Help</source> + <translation>도움말</translation> + </message> + <message> + <source>Style</source> + <translation>스타일</translation> + </message> + <message> + <source>Dock views</source> + <translation>보기 도킹</translation> + </message> + <message> + <source>File</source> + <translation>파일</translation> + </message> + <message> + <source>Edit</source> + <translation>편집</translation> + </message> + <message> + <source>Tools</source> + <translation>도구</translation> + </message> + <message> + <source>Form</source> + <translation>폼</translation> + </message> + <message> + <source>Toolbars</source> + <translation>도구 모음</translation> + </message> +</context> +<context> + <name>VersionDialog</name> + <message> + <source><h3>%1</h3><br/><br/>Version %2</source> + <translation><h3>%1</h3><br/><br/>버전 %2</translation> + </message> + <message> + <source>Qt Designer</source> + <translation>Qt Designer</translation> + </message> + <message> + <source><br/>Qt Designer is a graphical user interface designer for Qt applications.<br/></source> + <translation><br/>Qt Designer는 Qt 프로그램의 그래픽 사용자 인터페이스 디자이너입니다.<br/></translation> + </message> + <message> + <source>%1<br/>Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).</source> + <translation>%1<br/>저작권자 (C) 2010 Nokia Corporation and/or its subsidiary(-ies).</translation> + </message> +</context> +<context> + <name>VideoPlayerTaskMenu</name> + <message> + <source>Available Mime Types</source> + <translation>사용 가능한 MIME 형식</translation> + </message> + <message> + <source>Display supported mime types...</source> + <translation>지원하는 MIME 형식 표시...</translation> + </message> + <message> + <source>Load...</source> + <translation>불러오기...</translation> + </message> + <message> + <source>Play</source> + <translation>재생</translation> + </message> + <message> + <source>Pause</source> + <translation>일시 정지</translation> + </message> + <message> + <source>Stop</source> + <translation>정지</translation> + </message> + <message> + <source>Choose Video Player Media Source</source> + <translation>비디오 재생기 미디어 원본 선택</translation> + </message> + <message> + <source>An error has occurred in '%1': %2</source> + <translation>'%1'에서 오류 발생: %2</translation> + </message> + <message> + <source>Video Player Error</source> + <translation>비디오 재생기 오류</translation> + </message> +</context> +<context> + <name>WidgetDataBase</name> + <message> + <source>The file contains a custom widget '%1' whose base class (%2) differs from the current entry in the widget database (%3). The widget database is left unchanged.</source> + <translation>이 파일에는 사용자 정의 위젯 '%1'이(가) 포함되어 있으며, 정의된 기본 클래스(%2)가 위젯 데이터베이스의 항목(%3)에 정의된 것과 다릅니다. 위젯 데이터베이스는 변경되지 않았습니다.</translation> + </message> +</context> +<context> + <name>qdesigner_internal::ActionEditor</name> + <message> + <source>New...</source> + <translation>새로 만들기...</translation> + </message> + <message> + <source>Edit...</source> + <translation>편집...</translation> + </message> + <message> + <source>Go to slot...</source> + <translation>슬롯으로 이동...</translation> + </message> + <message> + <source>Copy</source> + <translation>복사</translation> + </message> + <message> + <source>Cut</source> + <translation>잘라내기</translation> + </message> + <message> + <source>Paste</source> + <translation>붙여넣기</translation> + </message> + <message> + <source>Select all</source> + <translation>모두 선택</translation> + </message> + <message> + <source>Delete</source> + <translation>삭제</translation> + </message> + <message> + <source>Actions</source> + <translation>동작</translation> + </message> + <message> + <source>Configure Action Editor</source> + <translation>동작 편집기 설정</translation> + </message> + <message> + <source>Icon View</source> + <translation>아이콘 보기</translation> + </message> + <message> + <source>Detailed View</source> + <translation>자세히 보기</translation> + </message> + <message> + <source>New action</source> + <translation>새 동작</translation> + </message> + <message> + <source>Edit action</source> + <translation>동작 편집</translation> + </message> + <message> + <source>Remove action '%1'</source> + <translation>동작 '%1' 삭제</translation> + </message> + <message> + <source>Remove actions</source> + <translation>동작 삭제</translation> + </message> + <message> + <source>Used In</source> + <translation>다음에 사용됨</translation> + </message> +</context> +<context> + <name>qdesigner_internal::ActionModel</name> + <message> + <source>Name</source> + <translation>이름</translation> + </message> + <message> + <source>Used</source> + <translation>사용됨</translation> + </message> + <message> + <source>Text</source> + <translation>텍스트</translation> + </message> + <message> + <source>Shortcut</source> + <translation>단축키</translation> + </message> + <message> + <source>Checkable</source> + <translation>선택 가능</translation> + </message> + <message> + <source>ToolTip</source> + <translation>풍선 도움말</translation> + </message> +</context> +<context> + <name>qdesigner_internal::BrushManagerProxy</name> + <message> + <source>The element '%1' is missing the required attribute '%2'.</source> + <translation>원소 '%1'에 필요한 속성 '%2'이(가) 없습니다.</translation> + </message> + <message> + <source>Empty brush name encountered.</source> + <translation>브러시 이름이 비어 있습니다.</translation> + </message> + <message> + <source>An unexpected element '%1' was encountered.</source> + <translation>예상하지 못한 원소 '%1'이(가) 있습니다.</translation> + </message> + <message> + <source>An error occurred when reading the brush definition file '%1' at line line %2, column %3: %4</source> + <translation>브러시 정의 파일 '%1'의 %2번째 줄, %3번째 칸을 읽는 중 오류 발생: %4</translation> + </message> + <message> + <source>An error occurred when reading the resource file '%1' at line %2, column %3: %4</source> + <translation>리소스 파일 '%1'의 %2번째 줄, %3번째 칸을 읽는 중 오류 발생: %4</translation> + </message> +</context> +<context> + <name>qdesigner_internal::BuddyEditor</name> + <message> + <source>Add buddy</source> + <translation>친구 추가</translation> + </message> + <message> + <source>Remove buddies</source> + <translation>친구 삭제</translation> + </message> + <message numerus="yes"> + <source>Remove %n buddies</source> + <translation> + <numerusform>친구 %n개 삭제</numerusform> + </translation> + </message> + <message numerus="yes"> + <source>Add %n buddies</source> + <translation> + <numerusform>친구 %n개 추가</numerusform> + </translation> + </message> + <message> + <source>Set automatically</source> + <translation>자동으로 설정</translation> + </message> +</context> +<context> + <name>qdesigner_internal::BuddyEditorPlugin</name> + <message> + <source>Edit Buddies</source> + <translation>친구 편집</translation> + </message> +</context> +<context> + <name>qdesigner_internal::BuddyEditorTool</name> + <message> + <source>Edit Buddies</source> + <translation>친구 편집</translation> + </message> +</context> +<context> + <name>qdesigner_internal::ButtonGroupMenu</name> + <message> + <source>Select members</source> + <translation>구성원 선택</translation> + </message> + <message> + <source>Break</source> + <translation>풀기</translation> + </message> +</context> +<context> + <name>qdesigner_internal::ButtonTaskMenu</name> + <message> + <source>Assign to button group</source> + <translation>단추 그룹에 할당</translation> + </message> + <message> + <source>Button group</source> + <translation>단추 그룹</translation> + </message> + <message> + <source>New button group</source> + <translation>새 단추 그룹</translation> + </message> + <message> + <source>Change text...</source> + <translation>텍스트 바꾸기...</translation> + </message> + <message> + <source>None</source> + <translation>없음</translation> + </message> + <message> + <source>Button group '%1'</source> + <translation>단추 그룹 '%1'</translation> + </message> +</context> +<context> + <name>qdesigner_internal::CodeDialog</name> + <message> + <source>Save...</source> + <translation>저장...</translation> + </message> + <message> + <source>Copy All</source> + <translation>모두 복사</translation> + </message> + <message> + <source>&Find in Text...</source> + <translation>텍스트에서 찾기(&F)...</translation> + </message> + <message> + <source>A temporary form file could not be created in %1.</source> + <translation>%1에 임시 폼 파일을 만들 수 없습니다.</translation> + </message> + <message> + <source>The temporary form file %1 could not be written.</source> + <translation>임시 폼 파일 %1에 쓸 수 없습니다.</translation> + </message> + <message> + <source>%1 - [Code]</source> + <translation>%1 - [코드]</translation> + </message> + <message> + <source>Save Code</source> + <translation>코드 저장</translation> + </message> + <message> + <source>Header Files (*.%1)</source> + <translation>헤더 파일 (*.%1)</translation> + </message> + <message> + <source>The file %1 could not be opened: %2</source> + <translation>파일 %1을(를) 열 수 없습니다: %2</translation> + </message> + <message> + <source>The file %1 could not be written: %2</source> + <translation>파일 %1에 쓸 수 없습니다: %2</translation> + </message> + <message> + <source>%1 - Error</source> + <translation>%1 - 오류</translation> + </message> +</context> +<context> + <name>qdesigner_internal::ColorAction</name> + <message> + <source>Text Color</source> + <translation>글자 색</translation> + </message> +</context> +<context> + <name>qdesigner_internal::ComboBoxTaskMenu</name> + <message> + <source>Edit Items...</source> + <translation>항목 편집...</translation> + </message> + <message> + <source>Change Combobox Contents</source> + <translation>콤보 상자 내용 변경</translation> + </message> +</context> +<context> + <name>qdesigner_internal::CommandLinkButtonTaskMenu</name> + <message> + <source>Change description...</source> + <translation>설명 변경...</translation> + </message> +</context> +<context> + <name>qdesigner_internal::ConnectionEdit</name> + <message> + <source>Select All</source> + <translation>모두 선택</translation> + </message> + <message> + <source>Deselect All</source> + <translation>모두 선택 해제</translation> + </message> + <message> + <source>Delete</source> + <translation>삭제</translation> + </message> +</context> +<context> + <name>qdesigner_internal::ConnectionModel</name> + <message> + <source>Sender</source> + <translation>송신자</translation> + </message> + <message> + <source>Signal</source> + <translation>시그널</translation> + </message> + <message> + <source>Receiver</source> + <translation>수신자</translation> + </message> + <message> + <source>Slot</source> + <translation>슬롯</translation> + </message> + <message> + <source><sender></source> + <translation><송신자></translation> + </message> + <message> + <source><signal></source> + <translation><시그널></translation> + </message> + <message> + <source><receiver></source> + <translation><수신자></translation> + </message> + <message> + <source><slot></source> + <translation><슬롯></translation> + </message> + <message> + <source>The connection already exists!<br>%1</source> + <translation>이미 연결되어 있습니다!<br>%1</translation> + </message> + <message> + <source>Signal and Slot Editor</source> + <translation>시그널/슬롯 편집기</translation> + </message> +</context> +<context> + <name>qdesigner_internal::ContainerWidgetTaskMenu</name> + <message> + <source>Delete</source> + <translation>삭제</translation> + </message> + <message> + <source>Insert</source> + <translation>삽입</translation> + </message> + <message> + <source>Insert Page Before Current Page</source> + <translation>현재 쪽 앞에 쪽 삽입</translation> + </message> + <message> + <source>Insert Page After Current Page</source> + <translation>현재 쪽 다음에 쪽 삽입</translation> + </message> + <message> + <source>Add Subwindow</source> + <translation>하위 창 추가</translation> + </message> + <message> + <source>Subwindow</source> + <translation>하위 창</translation> + </message> + <message> + <source>Page</source> + <translation>쪽</translation> + </message> + <message> + <source>Page %1 of %2</source> + <translation>%2 중 %1쪽</translation> + </message> +</context> +<context> + <name>qdesigner_internal::DPI_Chooser</name> + <message> + <source>System (%1 x %2)</source> + <extracomment>System resolution</extracomment> + <translation>시스템 (%1 x %2)</translation> + </message> + <message> + <source>User defined</source> + <translation>사용자 정의</translation> + </message> + <message> + <source> x </source> + <extracomment>DPI X/Y separator</extracomment> + <translation> x </translation> + </message> +</context> +<context> + <name>qdesigner_internal::DesignerPropertyManager</name> + <message> + <source>AlignLeft</source> + <translation>왼쪽정렬</translation> + </message> + <message> + <source>AlignHCenter</source> + <translation>수평가운데정렬</translation> + </message> + <message> + <source>AlignRight</source> + <translation>오른쪽정렬</translation> + </message> + <message> + <source>AlignJustify</source> + <translation>양쪽맞춤</translation> + </message> + <message> + <source>AlignTop</source> + <translation>위로정렬</translation> + </message> + <message> + <source>AlignVCenter</source> + <translation>수직가운데정렬</translation> + </message> + <message> + <source>AlignBottom</source> + <translation>아래로정렬</translation> + </message> + <message> + <source>%1, %2</source> + <translation>%1, %2</translation> + </message> + <message numerus="yes"> + <source>Customized (%n roles)</source> + <translation> + <numerusform>사용자 정의 (역할 %n개)</numerusform> + </translation> + </message> + <message> + <source>Inherited</source> + <translation>상속됨</translation> + </message> + <message> + <source>Horizontal</source> + <translation>수평</translation> + </message> + <message> + <source>Vertical</source> + <translation>수직</translation> + </message> + <message> + <source>Normal Off</source> + <translation>일반 꺼짐</translation> + </message> + <message> + <source>Normal On</source> + <translation>일반 켜짐</translation> + </message> + <message> + <source>Disabled Off</source> + <translation>사용 불가능 꺼짐</translation> + </message> + <message> + <source>Disabled On</source> + <translation>사용 불가능 켜짐</translation> + </message> + <message> + <source>Active Off</source> + <translation>활성 꺼짐</translation> + </message> + <message> + <source>Active On</source> + <translation>활성 켜짐</translation> + </message> + <message> + <source>Selected Off</source> + <translation>선택 꺼짐</translation> + </message> + <message> + <source>Selected On</source> + <translation>선택 켜짐</translation> + </message> + <message> + <source>translatable</source> + <translation>번역가능</translation> + </message> + <message> + <source>disambiguation</source> + <translation>동음이의</translation> + </message> + <message> + <source>comment</source> + <translation>설명</translation> + </message> +</context> +<context> + <name>qdesigner_internal::DeviceProfileDialog</name> + <message> + <source>Device Profiles (*.%1)</source> + <translation>장치 프로필 (*.%1)</translation> + </message> + <message> + <source>Default</source> + <translation>기본값</translation> + </message> + <message> + <source>Save Profile</source> + <translation>프로필 저장</translation> + </message> + <message> + <source>Save Profile - Error</source> + <translation>프로필 저장 - 오류</translation> + </message> + <message> + <source>Unable to open the file '%1' for writing: %2</source> + <translation>파일 %1에 쓰기 위해 열 수 없습니다: %2</translation> + </message> + <message> + <source>Open profile</source> + <translation>프로필 열기</translation> + </message> + <message> + <source>Open Profile - Error</source> + <translation>프로필 열기 - 오류</translation> + </message> + <message> + <source>Unable to open the file '%1' for reading: %2</source> + <translation>파일 %1에서 읽기 위해 열 수 없습니다: %2</translation> + </message> + <message> + <source>'%1' is not a valid profile: %2</source> + <translation>'%1'은(는) 올바른 프로필이 아닙니다: %2</translation> + </message> +</context> +<context> + <name>qdesigner_internal::Dialog</name> + <message> + <source>Dialog</source> + <translation>대화 상자</translation> + </message> + <message> + <source>StringList</source> + <translation>문자열 목록</translation> + </message> + <message> + <source>New String</source> + <translation>새 문자열</translation> + </message> + <message> + <source>&New</source> + <translation>새로 만들기(&N)</translation> + </message> + <message> + <source>Delete String</source> + <translation>문자열 삭제</translation> + </message> + <message> + <source>&Delete</source> + <translation>삭제(&D)</translation> + </message> + <message> + <source>&Value:</source> + <translation>값(&V):</translation> + </message> + <message> + <source>Move String Up</source> + <translation>문자열 위로 이동</translation> + </message> + <message> + <source>Up</source> + <translation>위로</translation> + </message> + <message> + <source>Move String Down</source> + <translation>문자열 아래로 이동</translation> + </message> + <message> + <source>Down</source> + <translation>아래로</translation> + </message> +</context> +<context> + <name>qdesigner_internal::EmbeddedOptionsControl</name> + <message> + <source>None</source> + <translation>없음</translation> + </message> + <message> + <source>Add a profile</source> + <translation>프로필 추가</translation> + </message> + <message> + <source>Edit the selected profile</source> + <translation>선택한 프로필 편집</translation> + </message> + <message> + <source>Delete the selected profile</source> + <translation>선택한 프로필 삭제</translation> + </message> + <message> + <source>Add Profile</source> + <translation>프로필 추가</translation> + </message> + <message> + <source>New profile</source> + <translation>새 프로필</translation> + </message> + <message> + <source>Edit Profile</source> + <translation>프로필 편집</translation> + </message> + <message> + <source>Delete Profile</source> + <translation>프로필 삭제</translation> + </message> + <message> + <source>Would you like to delete the profile '%1'?</source> + <translation>프로필 '%1'을(를) 삭제하시겠습니까?</translation> + </message> + <message> + <source>Default</source> + <translation>기본값</translation> + </message> +</context> +<context> + <name>qdesigner_internal::FilterWidget</name> + <message> + <source>Filter</source> + <translation>필터</translation> + </message> + <message> + <source>Clear text</source> + <translation>텍스트 삭제</translation> + </message> +</context> +<context> + <name>qdesigner_internal::FormEditor</name> + <message> + <source>Resource File Changed</source> + <translation>리소스 파일 변경됨</translation> + </message> + <message> + <source>The file "%1" has changed outside Designer. Do you want to reload it?</source> + <translation>파일 "%1"이(가) Designer 밖에서 편집되었습니다. 다시 불러오시겠습니까?</translation> + </message> +</context> +<context> + <name>qdesigner_internal::FormLayoutMenu</name> + <message> + <source>Add form layout row...</source> + <translation>폼 레이아웃 행 추가...</translation> + </message> +</context> +<context> + <name>qdesigner_internal::FormWindow</name> + <message> + <source>Edit contents</source> + <translation>내용 편집</translation> + </message> + <message> + <source>F2</source> + <translation>F2</translation> + </message> + <message> + <source>Insert widget '%1'</source> + <translation>위젯 '%1' 삽입</translation> + </message> + <message> + <source>Resize</source> + <translation>크기 조정</translation> + </message> + <message> + <source>Key Resize</source> + <translation>키 크기 조정</translation> + </message> + <message> + <source>Key Move</source> + <translation>키 이동</translation> + </message> + <message numerus="yes"> + <source>Paste %n action(s)</source> + <translation> + <numerusform>동작 %n개 붙여넣기</numerusform> + </translation> + </message> + <message numerus="yes"> + <source>Paste %n widget(s)</source> + <translation> + <numerusform>위젯 %n개 붙여넣기</numerusform> + </translation> + </message> + <message> + <source>Paste (%1 widgets, %2 actions)</source> + <translation>붙여넣기 (위젯 %1개, 동작 %2개)</translation> + </message> + <message> + <source>Cannot paste widgets. Designer could not find a container without a layout to paste into.</source> + <translation>위젯을 붙여넣을 수 없습니다. Designer에서 레이아웃이 없는 위젯을 붙여넣을 컨테이너를 찾을 수 없습니다.</translation> + </message> + <message> + <source>Break the layout of the container you want to paste into, select this container and then paste again.</source> + <translation>붙여넣을 컨테이너의 레이아웃을 푼 다음, 이 컨테이너를 다시 선택하고 붙여넣으십시오.</translation> + </message> + <message> + <source>Paste error</source> + <translation>붙여넣기 오류</translation> + </message> + <message> + <source>Raise widgets</source> + <translation>위젯 올리기</translation> + </message> + <message> + <source>Lower widgets</source> + <translation>위젯 내리기</translation> + </message> + <message> + <source>Select Ancestor</source> + <translation>조상 선택</translation> + </message> + <message> + <source>Lay out</source> + <translation>배치</translation> + </message> + <message> + <source>Drop widget</source> + <translation>위젯 추가하기</translation> + </message> + <message> + <source>A QMainWindow-based form does not contain a central widget.</source> + <translation>QMainWindow 기반 폼은 중심 위젯을 포함하지 않습니다.</translation> + </message> +</context> +<context> + <name>qdesigner_internal::FormWindowBase</name> + <message> + <source>Delete '%1'</source> + <translation>'%1' 삭제</translation> + </message> + <message> + <source>Delete</source> + <translation>삭제</translation> + </message> +</context> +<context> + <name>qdesigner_internal::FormWindowManager</name> + <message> + <source>Cu&t</source> + <translation>잘라내기(&T)</translation> + </message> + <message> + <source>Cuts the selected widgets and puts them on the clipboard</source> + <translation>선택한 위젯을 잘라내고 클립보드에 붙여 넣습니다</translation> + </message> + <message> + <source>&Copy</source> + <translation>복사(&C)</translation> + </message> + <message> + <source>Copies the selected widgets to the clipboard</source> + <translation>선택한 위젯을 클립보드로 복사합니다</translation> + </message> + <message> + <source>&Paste</source> + <translation>붙여넣기(&P)</translation> + </message> + <message> + <source>Pastes the clipboard's contents</source> + <translation>클립보드의 내용을 붙여 넣습니다</translation> + </message> + <message> + <source>&Delete</source> + <translation>삭제(&D)</translation> + </message> + <message> + <source>Deletes the selected widgets</source> + <translation>선택한 위젯을 삭제합니다</translation> + </message> + <message> + <source>Select &All</source> + <translation>모두 선택(&A)</translation> + </message> + <message> + <source>Selects all widgets</source> + <translation>모든 위젯을 선택합니다</translation> + </message> + <message> + <source>Bring to &Front</source> + <translation>앞으로 가져오기(&F)</translation> + </message> + <message> + <source>Raises the selected widgets</source> + <translation>선택한 위젯을 앞으로 가져옵니다</translation> + </message> + <message> + <source>Send to &Back</source> + <translation>뒤로 보내기(&B)</translation> + </message> + <message> + <source>Lowers the selected widgets</source> + <translation>선택한 위젯을 뒤로 보냅니다</translation> + </message> + <message> + <source>Adjust &Size</source> + <translation>크기 조정(&S)</translation> + </message> + <message> + <source>Adjusts the size of the selected widget</source> + <translation>선택한 위젯의 크기를 조정합니다</translation> + </message> + <message> + <source>Lay Out &Horizontally</source> + <translation>수평으로 배치(&H)</translation> + </message> + <message> + <source>Lays out the selected widgets horizontally</source> + <translation>선택한 위젯을 수평으로 배치합니다</translation> + </message> + <message> + <source>Lay Out &Vertically</source> + <translation>수직으로 배치(&V)</translation> + </message> + <message> + <source>Lays out the selected widgets vertically</source> + <translation>선택한 위젯을 수직으로 배치합니다</translation> + </message> + <message> + <source>Lay Out in a &Form Layout</source> + <translation>폼 레이아웃으로 배치(&F)</translation> + </message> + <message> + <source>Lays out the selected widgets in a form layout</source> + <translation>선택한 위젯을 폼 레이아웃으로 배치합니다</translation> + </message> + <message> + <source>Lay Out in a &Grid</source> + <translation>격자형으로 배치(&G)</translation> + </message> + <message> + <source>Lays out the selected widgets in a grid</source> + <translation>선택한 위젯을 격자형으로 배치합니다</translation> + </message> + <message> + <source>Lay Out Horizontally in S&plitter</source> + <translation>구분자를 사용하여 수평으로 배치(&P)</translation> + </message> + <message> + <source>Lays out the selected widgets horizontally in a splitter</source> + <translation>선택한 위젯을 구분자를 사용하여 수평으로 배치합니다</translation> + </message> + <message> + <source>Lay Out Vertically in Sp&litter</source> + <translation>구분자를 사용하여 수직으로 배치(&L)</translation> + </message> + <message> + <source>Lays out the selected widgets vertically in a splitter</source> + <translation>선택한 위젯을 구분자를 사용하여 수직으로 배치합니다</translation> + </message> + <message> + <source>&Break Layout</source> + <translation>레이아웃 풀기(&B)</translation> + </message> + <message> + <source>Breaks the selected layout</source> + <translation>선택한 레이아웃을 풉니다</translation> + </message> + <message> + <source>Si&mplify Grid Layout</source> + <translation>격자 레이아웃 간단하게 하기(&M)</translation> + </message> + <message> + <source>Removes empty columns and rows</source> + <translation>비어 있는 행과 열을 삭제합니다</translation> + </message> + <message> + <source>&Preview...</source> + <translation>미리 보기(&P)...</translation> + </message> + <message> + <source>Preview current form</source> + <translation>현재 폼을 미리 봅니다</translation> + </message> + <message> + <source>Form &Settings...</source> + <translation>폼 설정(&S)...</translation> + </message> + <message> + <source>Break Layout</source> + <translation>레이아웃 풀기</translation> + </message> + <message> + <source>Adjust Size</source> + <translation>크기 조정</translation> + </message> + <message> + <source>Could not create form preview</source> + <comment>Title of warning message box</comment> + <translation>폼을 미리볼 수 없음</translation> + </message> + <message> + <source>Form Settings - %1</source> + <translation>폼 설정 - %1</translation> + </message> +</context> +<context> + <name>qdesigner_internal::FormWindowSettings</name> + <message> + <source>None</source> + <translation>없음</translation> + </message> + <message> + <source>Device Profile: %1</source> + <translation>장치 프로필: %1</translation> + </message> +</context> +<context> + <name>qdesigner_internal::GridPanel</name> + <message> + <source>Form</source> + <translation>폼</translation> + </message> + <message> + <source>Grid</source> + <translation>격자</translation> + </message> + <message> + <source>Visible</source> + <translation>보이기</translation> + </message> + <message> + <source>Grid &X</source> + <translation>격자 X 간격(&X)</translation> + </message> + <message> + <source>Snap</source> + <translation>맞춤</translation> + </message> + <message> + <source>Reset</source> + <translation>초기화</translation> + </message> + <message> + <source>Grid &Y</source> + <translation>격자 Y 간격(&Y)</translation> + </message> +</context> +<context> + <name>qdesigner_internal::GroupBoxTaskMenu</name> + <message> + <source>Change title...</source> + <translation>제목 변경...</translation> + </message> +</context> +<context> + <name>qdesigner_internal::HtmlTextEdit</name> + <message> + <source>Insert HTML entity</source> + <translation>HTML 엔티티 삽입</translation> + </message> +</context> +<context> + <name>qdesigner_internal::IconSelector</name> + <message> + <source>The pixmap file '%1' cannot be read.</source> + <translation>픽스맵 파일 '%1'을(를) 읽을 수 없습니다.</translation> + </message> + <message> + <source>The file '%1' does not appear to be a valid pixmap file: %2</source> + <translation>파일 '%1'은(는) 올바른 픽스맵 파일 같지 않습니다: %2</translation> + </message> + <message> + <source>The file '%1' could not be read: %2</source> + <translation>파일 '%1'을(를) 읽을 수 없습니다: %2</translation> + </message> + <message> + <source>Choose a Pixmap</source> + <translation>픽스맵 선택</translation> + </message> + <message> + <source>Pixmap Read Error</source> + <translation>픽스맵 읽기 오류</translation> + </message> + <message> + <source>...</source> + <translation>...</translation> + </message> + <message> + <source>Normal Off</source> + <translation>일반 꺼짐</translation> + </message> + <message> + <source>Normal On</source> + <translation>일반 켜짐</translation> + </message> + <message> + <source>Disabled Off</source> + <translation>사용 불가능 꺼짐</translation> + </message> + <message> + <source>Disabled On</source> + <translation>사용 불가능 켜짐</translation> + </message> + <message> + <source>Active Off</source> + <translation>활성 꺼짐</translation> + </message> + <message> + <source>Active On</source> + <translation>활성 켜짐</translation> + </message> + <message> + <source>Selected Off</source> + <translation>선택 꺼짐</translation> + </message> + <message> + <source>Selected On</source> + <translation>선택 켜짐</translation> + </message> + <message> + <source>Choose Resource...</source> + <translation>리소스 선택...</translation> + </message> + <message> + <source>Choose File...</source> + <translation>파일 선택...</translation> + </message> + <message> + <source>Reset</source> + <translation>초기화</translation> + </message> + <message> + <source>Reset All</source> + <translation>모두 초기화</translation> + </message> +</context> +<context> + <name>qdesigner_internal::ItemListEditor</name> + <message> + <source>Items List</source> + <translation>항목 목록</translation> + </message> + <message> + <source>New Item</source> + <translation>새 항목</translation> + </message> + <message> + <source>&New</source> + <translation>새로 만들기(&N)</translation> + </message> + <message> + <source>Delete Item</source> + <translation>항목 삭제</translation> + </message> + <message> + <source>&Delete</source> + <translation>삭제(&D)</translation> + </message> + <message> + <source>Move Item Up</source> + <translation>항목 위로 이동</translation> + </message> + <message> + <source>U</source> + <translation>U</translation> + </message> + <message> + <source>Move Item Down</source> + <translation>항목 아래로 이동</translation> + </message> + <message> + <source>D</source> + <translation>D</translation> + </message> + <message> + <source>Properties &>></source> + <translation>속성 &>></translation> + </message> + <message> + <source>Properties &<<</source> + <translation>속성 &<<</translation> + </message> +</context> +<context> + <name>qdesigner_internal::LabelTaskMenu</name> + <message> + <source>Change rich text...</source> + <translation>서식있는 텍스트 바꾸기...</translation> + </message> + <message> + <source>Change plain text...</source> + <translation>일반 텍스트 바꾸기...</translation> + </message> +</context> +<context> + <name>qdesigner_internal::LanguageResourceDialog</name> + <message> + <source>Choose Resource</source> + <translation>리소스 선택</translation> + </message> +</context> +<context> + <name>qdesigner_internal::LineEditTaskMenu</name> + <message> + <source>Change text...</source> + <translation>텍스트 선택...</translation> + </message> +</context> +<context> + <name>qdesigner_internal::ListWidgetEditor</name> + <message> + <source>New Item</source> + <translation>새 항목</translation> + </message> + <message> + <source>Edit List Widget</source> + <translation>목록 위젯 편집</translation> + </message> + <message> + <source>Edit Combobox</source> + <translation>콤보 상자 편집</translation> + </message> +</context> +<context> + <name>qdesigner_internal::ListWidgetTaskMenu</name> + <message> + <source>Edit Items...</source> + <translation>항목 편집...</translation> + </message> + <message> + <source>Change List Contents</source> + <translation>목록 내용 변경</translation> + </message> +</context> +<context> + <name>qdesigner_internal::MdiContainerWidgetTaskMenu</name> + <message> + <source>Next Subwindow</source> + <translation>다음 하위 창</translation> + </message> + <message> + <source>Previous Subwindow</source> + <translation>이전 하위 창</translation> + </message> + <message> + <source>Tile</source> + <translation>바둑판식 배열</translation> + </message> + <message> + <source>Cascade</source> + <translation>계단식 배열</translation> + </message> +</context> +<context> + <name>qdesigner_internal::MenuTaskMenu</name> + <message> + <source>Remove</source> + <translation>삭제</translation> + </message> +</context> +<context> + <name>qdesigner_internal::MorphMenu</name> + <message> + <source>Morph into</source> + <translation>다음으로 변형</translation> + </message> +</context> +<context> + <name>qdesigner_internal::NewActionDialog</name> + <message> + <source>New Action...</source> + <translation>새 동작...</translation> + </message> + <message> + <source>&Text:</source> + <translation>텍스트(&T):</translation> + </message> + <message> + <source>Object &name:</source> + <translation>객체 이름(&N):</translation> + </message> + <message> + <source>&Icon:</source> + <translation>아이콘(&I):</translation> + </message> + <message> + <source>Shortcut:</source> + <translation>단축키:</translation> + </message> + <message> + <source>Checkable:</source> + <translation>선택 가능:</translation> + </message> + <message> + <source>ToolTip:</source> + <translation>풍선 도움말:</translation> + </message> + <message> + <source>...</source> + <translation>...</translation> + </message> +</context> +<context> + <name>qdesigner_internal::NewDynamicPropertyDialog</name> + <message> + <source>Create Dynamic Property</source> + <translation>동적 속성 만들기</translation> + </message> + <message> + <source>Property Name</source> + <translation>속성 이름</translation> + </message> + <message> + <source>horizontalSpacer</source> + <translation>horizontalSpacer</translation> + </message> + <message> + <source>Property Type</source> + <translation>속성 형식</translation> + </message> + <message> + <source>Set Property Name</source> + <translation>속성 이름 설정</translation> + </message> + <message> + <source>The current object already has a property named '%1'. +Please select another, unique one.</source> + <translation>현재 객체에 속성 '%1'이(가) 있습니다. +다른 이름을 지정하십시오.</translation> + </message> + <message> + <source>The '_q_' prefix is reserved for the Qt library. +Please select another name.</source> + <translation>'_q_' 접두사는 Qt 라이브러리에서 사용하기 위해 예약되어 있습니다. +다른 이름을 사용하십시오.</translation> + </message> +</context> +<context> + <name>qdesigner_internal::NewFormWidget</name> + <message> + <source>0</source> + <translation>0</translation> + </message> + <message> + <source>Choose a template for a preview</source> + <translation>미리 볼 템플릿 선택</translation> + </message> + <message> + <source>Embedded Design</source> + <translation>임베디드 디자인</translation> + </message> + <message> + <source>Device:</source> + <translation>장치:</translation> + </message> + <message> + <source>Screen Size:</source> + <translation>화면 크기:</translation> + </message> + <message> + <source>Default size</source> + <translation>기본 크기</translation> + </message> + <message> + <source>QVGA portrait (240x320)</source> + <translation>QVGA 세로 (240x320)</translation> + </message> + <message> + <source>QVGA landscape (320x240)</source> + <translation>QVGA 가로 (320x240)</translation> + </message> + <message> + <source>VGA portrait (480x640)</source> + <translation>VGA 세로 (480x640)</translation> + </message> + <message> + <source>VGA landscape (640x480)</source> + <translation>VGA 가로 (640x480)</translation> + </message> + <message> + <source>Widgets</source> + <extracomment>New Form Dialog Categories</extracomment> + <translation>위젯</translation> + </message> + <message> + <source>Custom Widgets</source> + <translation>사용자 정의 위젯</translation> + </message> + <message> + <source>None</source> + <translation>없음</translation> + </message> + <message> + <source>Error loading form</source> + <translation>폼 불러오는 중 오류 발생</translation> + </message> + <message> + <source>Unable to open the form template file '%1': %2</source> + <translation>폼 템플릿 파일 '%1'을(를) 열 수 없음: %2</translation> + </message> + <message> + <source>Internal error: No template selected.</source> + <translation>내부 오류: 템플릿이 선택되지 않았습니다.</translation> + </message> +</context> +<context> + <name>qdesigner_internal::NewPromotedClassPanel</name> + <message> + <source>Add</source> + <translation>추가</translation> + </message> + <message> + <source>New Promoted Class</source> + <translation>새 승격된 클래스</translation> + </message> + <message> + <source>Base class name:</source> + <translation>기반 클래스 이름:</translation> + </message> + <message> + <source>Promoted class name:</source> + <translation>승격된 클래스 이름:</translation> + </message> + <message> + <source>Header file:</source> + <translation>헤더 파일:</translation> + </message> + <message> + <source>Global include</source> + <translation>전역 포함</translation> + </message> + <message> + <source>Reset</source> + <translation>초기화</translation> + </message> +</context> +<context> + <name>qdesigner_internal::ObjectInspector</name> + <message> + <source>Change Current Page</source> + <translation>현재 쪽 변경</translation> + </message> + <message> + <source>&Find in Text...</source> + <translation>텍스트에서 찾기(&F)...</translation> + </message> +</context> +<context> + <name>qdesigner_internal::OrderDialog</name> + <message> + <source>Change Page Order</source> + <translation>쪽 순서 변경</translation> + </message> + <message> + <source>Page Order</source> + <translation>쪽 순서</translation> + </message> + <message> + <source>Move page up</source> + <translation>쪽 위로 이동</translation> + </message> + <message> + <source>Move page down</source> + <translation>쪽 아래로 이동</translation> + </message> + <message> + <source>Index %1 (%2)</source> + <translation>인덱스 %1 (%2)</translation> + </message> + <message> + <source>%1 %2</source> + <translation>%1 %2</translation> + </message> +</context> +<context> + <name>qdesigner_internal::PaletteEditor</name> + <message> + <source>Edit Palette</source> + <translation>팔레트 편집</translation> + </message> + <message> + <source>Tune Palette</source> + <translation>팔레트 조정</translation> + </message> + <message> + <source>Show Details</source> + <translation>팔레트 직접 편집</translation> + </message> + <message> + <source>Compute Details</source> + <translation>팔레트 자동 생성</translation> + </message> + <message> + <source>Quick</source> + <translation>빠른 설정</translation> + </message> + <message> + <source>Preview</source> + <translation>미리 보기</translation> + </message> + <message> + <source>Disabled</source> + <translation>사용 불가능</translation> + </message> + <message> + <source>Inactive</source> + <translation>비활성</translation> + </message> + <message> + <source>Active</source> + <translation>활성</translation> + </message> +</context> +<context> + <name>qdesigner_internal::PaletteEditorButton</name> + <message> + <source>Change Palette</source> + <translation>팔레트 변경</translation> + </message> +</context> +<context> + <name>qdesigner_internal::PaletteModel</name> + <message> + <source>Color Role</source> + <translation>색상 역할</translation> + </message> + <message> + <source>Active</source> + <translation>활성</translation> + </message> + <message> + <source>Inactive</source> + <translation>비활성</translation> + </message> + <message> + <source>Disabled</source> + <translation>사용 불가능</translation> + </message> +</context> +<context> + <name>qdesigner_internal::PixmapEditor</name> + <message> + <source>Choose Resource...</source> + <translation>리소스 선택...</translation> + </message> + <message> + <source>Choose File...</source> + <translation>파일 선택...</translation> + </message> + <message> + <source>Copy Path</source> + <translation>경로 복사</translation> + </message> + <message> + <source>Paste Path</source> + <translation>경로 붙여넣기</translation> + </message> + <message> + <source>...</source> + <translation>...</translation> + </message> +</context> +<context> + <name>qdesigner_internal::PlainTextEditorDialog</name> + <message> + <source>Edit text</source> + <translation>텍스트 편집</translation> + </message> +</context> +<context> + <name>qdesigner_internal::PluginDialog</name> + <message> + <source>Components</source> + <translation>구성 요소</translation> + </message> + <message> + <source>Plugin Information</source> + <translation>플러그인 정보</translation> + </message> + <message> + <source>Refresh</source> + <translation>새로 고침</translation> + </message> + <message> + <source>Scan for newly installed custom widget plugins.</source> + <translation>새로 설치된 사용자 정의 위젯 플러그인을 검사합니다.</translation> + </message> + <message> + <source>Loaded Plugins</source> + <translation>불러온 플러그인</translation> + </message> + <message> + <source>Failed Plugins</source> + <translation>실패한 플러그인</translation> + </message> + <message> + <source>Qt Designer couldn't find any plugins</source> + <translation>Qt Designer에서 플러그인을 찾을 수 없습니다</translation> + </message> + <message> + <source>Qt Designer found the following plugins</source> + <translation>Qt Designer에서 다음 플러그인을 찾았습니다</translation> + </message> + <message> + <source>New custom widget plugins have been found.</source> + <translation>새 사용자 정의 위젯 플러그인을 찾았습니다.</translation> + </message> +</context> +<context> + <name>qdesigner_internal::PreviewActionGroup</name> + <message> + <source>%1 Style</source> + <translation>%1 스타일</translation> + </message> +</context> +<context> + <name>qdesigner_internal::PreviewConfigurationWidget</name> + <message> + <source>Default</source> + <translation>기본값</translation> + </message> + <message> + <source>None</source> + <translation>없음</translation> + </message> + <message> + <source>Browse...</source> + <translation>찾아보기...</translation> + </message> + <message> + <source>Load Custom Device Skin</source> + <translation>사용자 정의 장치 스킨 불러오기</translation> + </message> + <message> + <source>All QVFB Skins (*.%1)</source> + <translation>모든 QVFB 스킨 (*.%1)</translation> + </message> + <message> + <source>%1 - Duplicate Skin</source> + <translation>%1 - 중복된 스킨</translation> + </message> + <message> + <source>The skin '%1' already exists.</source> + <translation>스킨 '%1'이(가) 이미 존재합니다.</translation> + </message> + <message> + <source>%1 - Error</source> + <translation>%1 - 오류</translation> + </message> + <message> + <source>%1 is not a valid skin directory: +%2</source> + <translation>%1은(는) 올바른 스킨 디렉터리가 아닙니다: +%2</translation> + </message> +</context> +<context> + <name>qdesigner_internal::PreviewDeviceSkin</name> + <message> + <source>&Portrait</source> + <translation>세로(&P)</translation> + </message> + <message> + <source>Landscape (&CCW)</source> + <extracomment>Rotate form preview counter-clockwise</extracomment> + <translation>가로 (반시계방향)(&C)</translation> + </message> + <message> + <source>&Landscape (CW)</source> + <extracomment>Rotate form preview clockwise</extracomment> + <translation>가로 (시계방향)(&L)</translation> + </message> + <message> + <source>&Close</source> + <translation>닫기(&C)</translation> + </message> +</context> +<context> + <name>qdesigner_internal::PreviewManager</name> + <message> + <source>%1 - [Preview]</source> + <translation>%1 - [미리 보기]</translation> + </message> +</context> +<context> + <name>qdesigner_internal::PreviewMdiArea</name> + <message> + <source>The moose in the noose +ate the goose who was loose.</source> + <extracomment>Palette editor background</extracomment> + <translation>키스의 고유 조건은 입술끼리 +만나야 되고 특별한 요령은 필요치 않다.</translation> + </message> +</context> +<context> + <name>qdesigner_internal::PreviewWidget</name> + <message> + <source>Preview Window</source> + <translation>미리 보기 창</translation> + </message> + <message> + <source>LineEdit</source> + <translation>라인 편집기</translation> + </message> + <message> + <source>ComboBox</source> + <translation>콤보 상자</translation> + </message> + <message> + <source>PushButton</source> + <translation>누름 단추</translation> + </message> + <message> + <source>ButtonGroup2</source> + <translation>단추 그룹 2</translation> + </message> + <message> + <source>CheckBox1</source> + <translation>체크 상자 1</translation> + </message> + <message> + <source>CheckBox2</source> + <translation>체크 상자 2</translation> + </message> + <message> + <source>ButtonGroup</source> + <translation>단추 그룹</translation> + </message> + <message> + <source>RadioButton1</source> + <translation>라디오 단추 1</translation> + </message> + <message> + <source>RadioButton2</source> + <translation>라디오 단추 2</translation> + </message> + <message> + <source>RadioButton3</source> + <translation>라디오 단추 3</translation> + </message> +</context> +<context> + <name>qdesigner_internal::PromotionModel</name> + <message> + <source>Name</source> + <translation>이름</translation> + </message> + <message> + <source>Header file</source> + <translation>헤더 파일</translation> + </message> + <message> + <source>Global include</source> + <translation>전역 포함</translation> + </message> + <message> + <source>Usage</source> + <translation>사용 여부</translation> + </message> +</context> +<context> + <name>qdesigner_internal::PromotionTaskMenu</name> + <message> + <source>Promoted widgets...</source> + <translation>승격된 위젯...</translation> + </message> + <message> + <source>Promote to ...</source> + <translation>다음으로 승격...</translation> + </message> + <message> + <source>Change signals/slots...</source> + <translation>시그널/슬롯 변경...</translation> + </message> + <message> + <source>Promote to</source> + <translation>다음으로 승격</translation> + </message> + <message> + <source>Demote to %1</source> + <translation>%1(으)로 승격 해제</translation> + </message> +</context> +<context> + <name>qdesigner_internal::PropertyEditor</name> + <message> + <source>Add Dynamic Property...</source> + <translation>동적 속성 추가...</translation> + </message> + <message> + <source>Remove Dynamic Property</source> + <translation>동적 속성 삭제</translation> + </message> + <message> + <source>Sorting</source> + <translation>정렬</translation> + </message> + <message> + <source>Color Groups</source> + <translation>색 그룹</translation> + </message> + <message> + <source>Tree View</source> + <translation>트리 보기</translation> + </message> + <message> + <source>Drop Down Button View</source> + <translation>드롭다운 단추 보기</translation> + </message> + <message> + <source>String...</source> + <translation>문자열...</translation> + </message> + <message> + <source>Bool...</source> + <translation>참/거짓...</translation> + </message> + <message> + <source>Other...</source> + <translation>기타...</translation> + </message> + <message> + <source>Configure Property Editor</source> + <translation>속성 편집기 설정</translation> + </message> + <message> + <source>Object: %1 +Class: %2</source> + <translation>객체: %1 +클래스: %2</translation> + </message> +</context> +<context> + <name>qdesigner_internal::PropertyLineEdit</name> + <message> + <source>Insert line break</source> + <translation>줄 띄우기</translation> + </message> +</context> +<context> + <name>qdesigner_internal::QDesignerPromotionDialog</name> + <message> + <source>Promoted Widgets</source> + <translation>승격된 위젯</translation> + </message> + <message> + <source>Promoted Classes</source> + <translation>승격된 클래스</translation> + </message> + <message> + <source>Promote</source> + <translation>승격</translation> + </message> + <message> + <source>Change signals/slots...</source> + <translation>시그널/슬롯 변경...</translation> + </message> + <message> + <source>%1 - Error</source> + <translation>%1 - 오류</translation> + </message> +</context> +<context> + <name>qdesigner_internal::QDesignerResource</name> + <message> + <source>Loading qrc file</source> + <translation>qrc 파일 불러오는 중</translation> + </message> + <message> + <source>The specified qrc file <p><b>%1</b></p><p>could not be found. Do you want to update the file location?</p></source> + <translation>지정한 qrc 파일 <p><b>%1</b></p><p>을(를) 찾을 수 없습니다. 파일 위치를 변경하시겠습니까?</p></translation> + </message> + <message> + <source>New location for %1</source> + <translation>%1의 새로운 위치</translation> + </message> + <message> + <source>Resource files (*.qrc)</source> + <translation>리소스 파일 (*.qrc)</translation> + </message> +</context> +<context> + <name>qdesigner_internal::QDesignerTaskMenu</name> + <message> + <source>Change objectName...</source> + <translation>objectName 바꾸기...</translation> + </message> + <message> + <source>Change toolTip...</source> + <translation>toolTip 바꾸기...</translation> + </message> + <message> + <source>Change whatsThis...</source> + <translation>whatsThis 바꾸기...</translation> + </message> + <message> + <source>Change styleSheet...</source> + <translation>styleSheet 바꾸기...</translation> + </message> + <message> + <source>Create Menu Bar</source> + <translation>메뉴 표시줄 생성</translation> + </message> + <message> + <source>Add Tool Bar</source> + <translation>도구 모음 추가</translation> + </message> + <message> + <source>Create Status Bar</source> + <translation>상태 표시줄 생성</translation> + </message> + <message> + <source>Remove Status Bar</source> + <translation>상태 표시줄 삭제</translation> + </message> + <message> + <source>Change script...</source> + <translation>스크립트 변경...</translation> + </message> + <message> + <source>Change signals/slots...</source> + <translation>시그널/슬롯 변경...</translation> + </message> + <message> + <source>Go to slot...</source> + <translation>슬롯으로 이동...</translation> + </message> + <message> + <source>Size Constraints</source> + <translation>크기 제한</translation> + </message> + <message> + <source>Set Minimum Width</source> + <translation>최소 너비 설정</translation> + </message> + <message> + <source>Set Minimum Height</source> + <translation>최소 높이 설정</translation> + </message> + <message> + <source>Set Minimum Size</source> + <translation>최소 크기 설정</translation> + </message> + <message> + <source>Set Maximum Width</source> + <translation>최대 너비 설정</translation> + </message> + <message> + <source>Set Maximum Height</source> + <translation>최대 높이 설정</translation> + </message> + <message> + <source>Set Maximum Size</source> + <translation>최대 크기 설정</translation> + </message> + <message> + <source>Edit ToolTip</source> + <translation>풍선 도움말 편집</translation> + </message> + <message> + <source>Edit WhatsThis</source> + <translation>컨텍스트 도움말 편집</translation> + </message> + <message> + <source>no signals available</source> + <translation>사용 가능한 시그널 없음</translation> + </message> + <message numerus="yes"> + <source>Set size constraint on %n widget(s)</source> + <translation> + <numerusform>위젯 %n개의 크기 제한 설정</numerusform> + </translation> + </message> +</context> +<context> + <name>qdesigner_internal::QDesignerWidgetBox</name> + <message> + <source>Unexpected element <%1></source> + <translation>예상하지 못한 원소 <%1></translation> + </message> + <message> + <source>A parse error occurred at line %1, column %2 of the XML code specified for the widget %3: %4 +%5</source> + <translation>위젯 %3 XML 코드의 %1번째 줄, %2번째 칸에서 처리 오류 발생: %4 +%5</translation> + </message> + <message> + <source>The XML code specified for the widget %1 does not contain any widget elements. +%2</source> + <translation>위젯 %1의 XML 코드에 widget 원소가 없습니다. +%2</translation> + </message> + <message> + <source>An error has been encountered at line %1 of %2: %3</source> + <translation>%2의 %1번째 줄에서 오류 발생: %3</translation> + </message> + <message> + <source>Unexpected element <%1> encountered when parsing for <widget> or <ui></source> + <translation><widget>이나 <ui>를 처리하는 중 예상하지 못한 원소 <%1>을(를) 만남</translation> + </message> + <message> + <source>Unexpected end of file encountered when parsing widgets.</source> + <translation>위젯을 처리하는 중 예상하지 못한 곳에서 파일이 끝났습니다.</translation> + </message> + <message> + <source>A widget element could not be found.</source> + <translation>widget 원소를 찾을 수 없습니다.</translation> + </message> +</context> +<context> + <name>qdesigner_internal::QtGradientStopsController</name> + <message> + <source>H</source> + <translation>H</translation> + </message> + <message> + <source>S</source> + <translation>S</translation> + </message> + <message> + <source>V</source> + <translation>V</translation> + </message> + <message> + <source>Hue</source> + <translation>명도</translation> + </message> + <message> + <source>Sat</source> + <translation>채도</translation> + </message> + <message> + <source>Val</source> + <translation>휘도</translation> + </message> + <message> + <source>Saturation</source> + <translation>채도</translation> + </message> + <message> + <source>Value</source> + <translation>휘도</translation> + </message> + <message> + <source>R</source> + <translation>R</translation> + </message> + <message> + <source>G</source> + <translation>G</translation> + </message> + <message> + <source>B</source> + <translation>B</translation> + </message> + <message> + <source>Red</source> + <translation>빨강</translation> + </message> + <message> + <source>Green</source> + <translation>녹색</translation> + </message> + <message> + <source>Blue</source> + <translation>파랑</translation> + </message> +</context> +<context> + <name>qdesigner_internal::RichTextEditorDialog</name> + <message> + <source>Edit text</source> + <translation>텍스트 편집</translation> + </message> + <message> + <source>Rich Text</source> + <translation>서식있는 텍스트</translation> + </message> + <message> + <source>Source</source> + <translation>원본</translation> + </message> + <message> + <source>&OK</source> + <translation>확인(&O)</translation> + </message> + <message> + <source>&Cancel</source> + <translation>취소(&C)</translation> + </message> +</context> +<context> + <name>qdesigner_internal::RichTextEditorToolBar</name> + <message> + <source>Bold</source> + <translation>굵게</translation> + </message> + <message> + <source>CTRL+B</source> + <translation>CTRL+B</translation> + </message> + <message> + <source>Italic</source> + <translation>기울임꼴</translation> + </message> + <message> + <source>CTRL+I</source> + <translation>CTRL+I</translation> + </message> + <message> + <source>Underline</source> + <translation>밑줄</translation> + </message> + <message> + <source>CTRL+U</source> + <translation>CTRL+U</translation> + </message> + <message> + <source>Left Align</source> + <translation>왼쪽 정렬</translation> + </message> + <message> + <source>Center</source> + <translation>가운데 정렬</translation> + </message> + <message> + <source>Right Align</source> + <translation>오른쪽 정렬</translation> + </message> + <message> + <source>Justify</source> + <translation>양쪽 맞춤</translation> + </message> + <message> + <source>Superscript</source> + <translation>위 첨자</translation> + </message> + <message> + <source>Subscript</source> + <translation>아래 첨자</translation> + </message> + <message> + <source>Insert &Link</source> + <translation>링크 삽입 (&L)</translation> + </message> + <message> + <source>Insert &Image</source> + <translation>그림 삽입(&I)</translation> + </message> +</context> +<context> + <name>qdesigner_internal::ScriptDialog</name> + <message> + <source>Edit script</source> + <translation>스크립트 편집</translation> + </message> + <message> + <source><html>Enter a Qt Script snippet to be executed while loading the form.<br>The widget and its children are accessible via the variables <i>widget</i> and <i>childWidgets</i>, respectively.</source> + <translation><html>폼을 불러오는 동안 실행할 Qt 스크립트를 입력하십시오.<br>위젯과 자식 위젯은 각각 <i>widget</i>과 <i>childWidgets</i> 변수로 접근할 수 있습니다.</translation> + </message> + <message> + <source>Syntax error</source> + <translation>문법 오류</translation> + </message> +</context> +<context> + <name>qdesigner_internal::ScriptErrorDialog</name> + <message> + <source>Script errors</source> + <translation>스크립트 오류</translation> + </message> +</context> +<context> + <name>qdesigner_internal::SignalSlotDialog</name> + <message> + <source>There is already a slot with the signature '%1'.</source> + <translation>형식이 '%1'인 슬롯이 이미 존재합니다.</translation> + </message> + <message> + <source>There is already a signal with the signature '%1'.</source> + <translation>형식이 '%1'인 시그널이 이미 존재합니다.</translation> + </message> + <message> + <source>%1 - Duplicate Signature</source> + <translation>%1 - 중복된 형식</translation> + </message> + <message> + <source>Signals/Slots of %1</source> + <translation>%1의 시그널/슬롯</translation> + </message> +</context> +<context> + <name>qdesigner_internal::SignalSlotEditorPlugin</name> + <message> + <source>Edit Signals/Slots</source> + <translation>시그널/슬롯 편집</translation> + </message> + <message> + <source>F4</source> + <translation>F4</translation> + </message> +</context> +<context> + <name>qdesigner_internal::SignalSlotEditorTool</name> + <message> + <source>Edit Signals/Slots</source> + <translation>시그널/슬롯 편집</translation> + </message> +</context> +<context> + <name>qdesigner_internal::StatusBarTaskMenu</name> + <message> + <source>Remove</source> + <translation>삭제</translation> + </message> +</context> +<context> + <name>qdesigner_internal::StringListEditorButton</name> + <message> + <source>Change String List</source> + <translation>문자열 목록 변경</translation> + </message> +</context> +<context> + <name>qdesigner_internal::StyleSheetEditorDialog</name> + <message> + <source>Valid Style Sheet</source> + <translation>올바른 스타일시트</translation> + </message> + <message> + <source>Add Resource...</source> + <translation>리소스 추가...</translation> + </message> + <message> + <source>Add Gradient...</source> + <translation>그라데이션 추가...</translation> + </message> + <message> + <source>Add Color...</source> + <translation>색 추가...</translation> + </message> + <message> + <source>Add Font...</source> + <translation>글꼴 추가...</translation> + </message> + <message> + <source>Edit Style Sheet</source> + <translation>스타일시트 편집</translation> + </message> + <message> + <source>Invalid Style Sheet</source> + <translation>잘못된 스타일시트</translation> + </message> +</context> +<context> + <name>qdesigner_internal::TabOrderEditor</name> + <message> + <source>Start from Here</source> + <translation>이 번호로 설정</translation> + </message> + <message> + <source>Restart</source> + <translation>1번부터 설정</translation> + </message> + <message> + <source>Tab Order List...</source> + <translation>탭 순서 목록...</translation> + </message> + <message> + <source>Tab Order List</source> + <translation>탭 순서 목록</translation> + </message> + <message> + <source>Tab Order</source> + <translation>탭 순서</translation> + </message> +</context> +<context> + <name>qdesigner_internal::TabOrderEditorPlugin</name> + <message> + <source>Edit Tab Order</source> + <translation>탭 순서 편집</translation> + </message> +</context> +<context> + <name>qdesigner_internal::TabOrderEditorTool</name> + <message> + <source>Edit Tab Order</source> + <translation>탭 순서 편집</translation> + </message> +</context> +<context> + <name>qdesigner_internal::TableWidgetEditor</name> + <message> + <source>Edit Table Widget</source> + <translation>표 위젯 편집</translation> + </message> + <message> + <source>&Items</source> + <translation>항목(&I)</translation> + </message> + <message> + <source>Table Items</source> + <translation>표 항목</translation> + </message> + <message> + <source>Properties &>></source> + <translation>속성 &>></translation> + </message> + <message> + <source>New Column</source> + <translation>새 행</translation> + </message> + <message> + <source>New Row</source> + <translation>새 열</translation> + </message> + <message> + <source>&Columns</source> + <translation>행(&C)</translation> + </message> + <message> + <source>&Rows</source> + <translation>열(&R)</translation> + </message> + <message> + <source>Properties &<<</source> + <translation>속성 &<<</translation> + </message> +</context> +<context> + <name>qdesigner_internal::TableWidgetTaskMenu</name> + <message> + <source>Edit Items...</source> + <translation>항목 편집...</translation> + </message> +</context> +<context> + <name>qdesigner_internal::TemplateOptionsWidget</name> + <message> + <source>Form</source> + <translation>폼</translation> + </message> + <message> + <source>Additional Template Paths</source> + <translation>추가 템플릿 경로</translation> + </message> + <message> + <source>...</source> + <translation>...</translation> + </message> + <message> + <source>Pick a directory to save templates in</source> + <translation>템플릿을 저장할 디렉터리를 지정하십시오</translation> + </message> +</context> +<context> + <name>qdesigner_internal::TextEditTaskMenu</name> + <message> + <source>Edit HTML</source> + <translation>HTML 편집</translation> + </message> + <message> + <source>Change HTML...</source> + <translation>HTML 바꾸기...</translation> + </message> + <message> + <source>Edit Text</source> + <translation>텍스트 편집</translation> + </message> + <message> + <source>Change Plain Text...</source> + <translation>일반 텍스트 바꾸기...</translation> + </message> +</context> +<context> + <name>qdesigner_internal::TextEditor</name> + <message> + <source>Choose Resource...</source> + <translation>리소스 선택...</translation> + </message> + <message> + <source>Choose File...</source> + <translation>파일 선택...</translation> + </message> + <message> + <source>...</source> + <translation>...</translation> + </message> + <message> + <source>Choose a File</source> + <translation>파일 선택</translation> + </message> +</context> +<context> + <name>qdesigner_internal::ToolBarEventFilter</name> + <message> + <source>Insert Separator before '%1'</source> + <translation>'%1' 앞에 구분자 삽입</translation> + </message> + <message> + <source>Append Separator</source> + <translation>구분자 덧붙이기</translation> + </message> + <message> + <source>Remove action '%1'</source> + <translation>동작 '%1' 삭제</translation> + </message> + <message> + <source>Remove Toolbar '%1'</source> + <translation>도구 모음 '%1' 삭제</translation> + </message> + <message> + <source>Insert Separator</source> + <translation>구분자 삽입</translation> + </message> +</context> +<context> + <name>qdesigner_internal::TreeWidgetEditor</name> + <message> + <source>Edit Tree Widget</source> + <translation>트리 위젯 편집</translation> + </message> + <message> + <source>&Items</source> + <translation>항목(&I)</translation> + </message> + <message> + <source>Tree Items</source> + <translation>트리 항목</translation> + </message> + <message> + <source>1</source> + <translation>1</translation> + </message> + <message> + <source>New Item</source> + <translation>새 항목</translation> + </message> + <message> + <source>&New</source> + <translation>새로 만들기(&N)</translation> + </message> + <message> + <source>New Subitem</source> + <translation>새 하위 항목</translation> + </message> + <message> + <source>New &Subitem</source> + <translation>새 하위 항목(&S)</translation> + </message> + <message> + <source>Delete Item</source> + <translation>항목 삭제</translation> + </message> + <message> + <source>&Delete</source> + <translation>삭제(&D)</translation> + </message> + <message> + <source>Move Item Left (before Parent Item)</source> + <translation>항목 왼쪽으로 이동 (부모 항목 이전)</translation> + </message> + <message> + <source>L</source> + <translation>L</translation> + </message> + <message> + <source>Move Item Right (as a First Subitem of the Next Sibling Item)</source> + <translation>항목 오른쪽으로 이동 (다음 자식 항목의 첫 하위 항목으로)</translation> + </message> + <message> + <source>R</source> + <translation>R</translation> + </message> + <message> + <source>Move Item Up</source> + <translation>항목 위로 이동</translation> + </message> + <message> + <source>U</source> + <translation>U</translation> + </message> + <message> + <source>Move Item Down</source> + <translation>항목 아래로 이동</translation> + </message> + <message> + <source>D</source> + <translation>D</translation> + </message> + <message> + <source>Properties &>></source> + <translation>속성 &>></translation> + </message> + <message> + <source>New Column</source> + <translation>새 행</translation> + </message> + <message> + <source>&Columns</source> + <translation>행(&C)</translation> + </message> + <message> + <source>Per column properties</source> + <translation>행별 속성</translation> + </message> + <message> + <source>Common properties</source> + <translation>공통 속성</translation> + </message> + <message> + <source>Properties &<<</source> + <translation>속성 &<<</translation> + </message> +</context> +<context> + <name>qdesigner_internal::TreeWidgetTaskMenu</name> + <message> + <source>Edit Items...</source> + <translation>항목 편집...</translation> + </message> +</context> +<context> + <name>qdesigner_internal::WidgetBox</name> + <message> + <source>Warning: Widget creation failed in the widget box. This could be caused by invalid custom widget XML.</source> + <translation>경고: 위젯 상자에 위젯을 만들 수 없습니다. 잘못된 사용자 정의 위젯 XML 때문일 수 있습니다.</translation> + </message> +</context> +<context> + <name>qdesigner_internal::WidgetBoxTreeWidget</name> + <message> + <source>Scratchpad</source> + <translation>연습장</translation> + </message> + <message> + <source>Custom Widgets</source> + <translation>사용자 정의 위젯</translation> + </message> + <message> + <source>Expand all</source> + <translation>모두 펴기</translation> + </message> + <message> + <source>Collapse all</source> + <translation>모두 접기</translation> + </message> + <message> + <source>List View</source> + <translation>목록 보기</translation> + </message> + <message> + <source>Icon View</source> + <translation>아이콘 보기</translation> + </message> + <message> + <source>Remove</source> + <translation>삭제</translation> + </message> + <message> + <source>Edit name</source> + <translation>이름 편집</translation> + </message> +</context> +<context> + <name>qdesigner_internal::WidgetDataBase</name> + <message> + <source>A custom widget plugin whose class name (%1) matches that of an existing class has been found.</source> + <translation>사용자 정의 위젯 플러그인의 전체 클래스 이름(%1)이 기존의 클래스 이름과 일치합니다.</translation> + </message> +</context> +<context> + <name>qdesigner_internal::WidgetEditorTool</name> + <message> + <source>Edit Widgets</source> + <translation>위젯 편집</translation> + </message> +</context> +<context> + <name>qdesigner_internal::WidgetFactory</name> + <message> + <source>The custom widget factory registered for widgets of class %1 returned 0.</source> + <translation>클래스 %1인 위젯의 사용자 정의 위젯 팩터리에서 0을 반환하였습니다.</translation> + </message> + <message> + <source>A class name mismatch occurred when creating a widget using the custom widget factory registered for widgets of class %1. It returned a widget of class %2.</source> + <translation>클래스 %1인 위젯에 등록된 사용자 정의 위젯 팩터리를 사용하여 위젯을 만드는 중 클래스 이름이 일치하지 않았습니다. 클래스 %2인 위젯을 반환하였습니다.</translation> + </message> + <message> + <source>%1 Widget</source> + <translation>%1 위젯</translation> + </message> + <message> + <source>The current page of the container '%1' (%2) could not be determined while creating a layout.This indicates an inconsistency in the ui-file, probably a layout being constructed on a container widget.</source> + <translation>레이아웃을 만드는 중 컨테이너 '%1' (%2)의 현재 쪽을 결정할 수 없습니다. UI 파일 내부에 불일치가 발생한 것 같으며, 컨테이너 위젯에 레이아웃이 만들어진 것 같습니다.</translation> + </message> + <message> + <source>Attempt to add a layout to a widget '%1' (%2) which already has an unmanaged layout of type %3. +This indicates an inconsistency in the ui-file.</source> + <translation>관리되지 않은 %3 형식의 레이아웃이 있는 위젯 '%1' (%2)에 레이아웃을 추가할 수 없습니다. +UI 파일 내부에 불일치가 발생하였습니다.</translation> + </message> + <message> + <source>Cannot create style '%1'.</source> + <translation>스타일 '%1'을(를) 만들 수 없습니다.</translation> + </message> +</context> +<context> + <name>qdesigner_internal::WizardContainerWidgetTaskMenu</name> + <message> + <source>Next</source> + <translation>다음</translation> + </message> + <message> + <source>Back</source> + <translation>이전</translation> + </message> +</context> +<context> + <name>qdesigner_internal::ZoomMenu</name> + <message> + <source>%1 %</source> + <extracomment>Zoom factor</extracomment> + <translation>%1 %</translation> + </message> +</context> +<context> + <name>qdesigner_internal::ZoomablePreviewDeviceSkin</name> + <message> + <source>&Zoom</source> + <translation>확대/축소(&Z)</translation> + </message> +</context> +</TS> diff --git a/translations/designer_ru.ts b/translations/designer_ru.ts index 1b0b939..fec098c 100644 --- a/translations/designer_ru.ts +++ b/translations/designer_ru.ts @@ -439,7 +439,7 @@ </message> <message> <source>Add Dock Window</source> - <translation>Добавить прикрепляемое окно</translation> + <translation>Добавить панель</translation> </message> <message> <source>Adjust Size of '%1'</source> @@ -2699,7 +2699,7 @@ Do you want to replace it?</source> </message> <message> <source>newPrefix</source> - <translation type="unfinished"></translation> + <translation></translation> </message> <message> <source><p><b>Warning:</b> The file</p><p>%1</p><p>is outside of the current resource file's parent directory.</p></source> @@ -3222,7 +3222,7 @@ Do you want overwrite the template?</source> </message> <message> <source>Dock views</source> - <translation>Прикрепляемые панели</translation> + <translation>Панели</translation> </message> <message> <source>File</source> diff --git a/translations/linguist_cs.ts b/translations/linguist_cs.ts index fb56289..fb56289 100755..100644 --- a/translations/linguist_cs.ts +++ b/translations/linguist_cs.ts diff --git a/translations/linguist_ko.ts b/translations/linguist_ko.ts new file mode 100644 index 0000000..7545dbc --- /dev/null +++ b/translations/linguist_ko.ts @@ -0,0 +1,2500 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="ko_KR"> +<context> + <name>AboutDialog</name> + <message> + <source>Qt Linguist</source> + <translation>Qt Linguist</translation> + </message> +</context> +<context> + <name>BatchTranslationDialog</name> + <message> + <source>Qt Linguist - Batch Translation</source> + <translation>Qt Linguist - 일괄 번역</translation> + </message> + <message> + <source>Options</source> + <translation>옵션</translation> + </message> + <message> + <source>Set translated entries to finished</source> + <translation>번역된 항목을 완료됨으로 표시</translation> + </message> + <message> + <source>Retranslate entries with existing translation</source> + <translation>이미 번역된 항목을 다시 번역</translation> + </message> + <message> + <source>Note that the modified entries will be reset to unfinished if 'Set translated entries to finished' above is unchecked</source> + <translation>'번역된 항목을 완료됨으로 표시'를 선택하지 않으면 수정된 항목은 완료되지 않음으로 표시됩니다</translation> + </message> + <message> + <source>Translate also finished entries</source> + <translation>완료된 항목도 다시 번역</translation> + </message> + <message> + <source>Phrase book preference</source> + <translation>선호하는 단어장</translation> + </message> + <message> + <source>Move up</source> + <translation>위로 이동</translation> + </message> + <message> + <source>Move down</source> + <translation>아래로 이동</translation> + </message> + <message> + <source>The batch translator will search through the selected phrase books in the order given above</source> + <translation>일괄 번역 과정에서 위에 지정한 순서대로 단어장을 사용합니다</translation> + </message> + <message> + <source>&Run</source> + <translation>실행(&R)</translation> + </message> + <message> + <source>Cancel</source> + <translation>취소</translation> + </message> + <message> + <source>Batch Translation of '%1' - Qt Linguist</source> + <translation>'%1'의 일괄 번역 - Qt Linguist</translation> + </message> + <message> + <source>Searching, please wait...</source> + <translation>검색 중, 기다려 주십시오...</translation> + </message> + <message> + <source>&Cancel</source> + <translation>취소(&C)</translation> + </message> + <message> + <source>Linguist batch translator</source> + <translation>Linguist 일괄 번역 도구</translation> + </message> + <message numerus="yes"> + <source>Batch translated %n entries</source> + <translation> + <numerusform>항목 %n개를 일괄 번역하였습니다</numerusform> + </translation> + </message> +</context> +<context> + <name>DataModel</name> + <message> + <source><qt>Duplicate messages found in '%1':</source> + <translation><qt>'%1'에 중복된 메시지가 있음:</translation> + </message> + <message> + <source><p>[more duplicates omitted]</source> + <translation><p>[더 많은 항목 생략됨]</translation> + </message> + <message> + <source><p>* ID: %1</source> + <translation><p>* ID: %1</translation> + </message> + <message> + <source><p>* Context: %1<br>* Source: %2</source> + <translation><p>* 컨텍스트: %1<br>* 원본: %2</translation> + </message> + <message> + <source><br>* Comment: %3</source> + <translation><br>* 설명: %3</translation> + </message> + <message> + <source>Linguist does not know the plural rules for '%1'. +Will assume a single universal form.</source> + <translation>Linguist는 '%1'의 복수형을 알지 못합니다. +별도의 복수형이 없음을 가정합니다.</translation> + </message> + <message> + <source>Cannot create '%2': %1</source> + <translation>'%2'을(를) 만들 수 없음: %1</translation> + </message> + <message> + <source>Universal Form</source> + <translation>단일 형태</translation> + </message> +</context> +<context> + <name>ErrorsView</name> + <message> + <source>Accelerator possibly superfluous in translation.</source> + <translation>번역된 메시지에 불필요한 가속기가 있습니다.</translation> + </message> + <message> + <source>Accelerator possibly missing in translation.</source> + <translation>번역된 메시지에 가속기가 빠졌습니다.</translation> + </message> + <message> + <source>Translation does not end with the same punctuation as the source text.</source> + <translation>번역된 메시지가 원본 메시지와 같은 문장 부호로 끝나지 않았습니다.</translation> + </message> + <message> + <source>A phrase book suggestion for '%1' was ignored.</source> + <translation>단어장에서 제안한 '%1'을(를) 무시하였습니다.</translation> + </message> + <message> + <source>Translation does not refer to the same place markers as in the source text.</source> + <translation>번역된 메시지와 원본 메시지의 자리 표시자가 일치하지 않습니다.</translation> + </message> + <message> + <source>Translation does not contain the necessary %n place marker.</source> + <translation>필요한 %n개의 자리 표시자가 번역된 메시지에 포함되지 않았습니다.</translation> + </message> + <message> + <source>Unknown error</source> + <translation>알 수 없는 오류</translation> + </message> +</context> +<context> + <name>FindDialog</name> + <message> + <source>Find</source> + <translation>찾기</translation> + </message> + <message> + <source>This window allows you to search for some text in the translation source file.</source> + <translation>번역 원본 파일의 텍스트를 찾을 수 있습니다.</translation> + </message> + <message> + <source>&Find what:</source> + <translation>찾을 문자열(&F):</translation> + </message> + <message> + <source>Type in the text to search for.</source> + <translation>찾을 문자열을 입력하십시오.</translation> + </message> + <message> + <source>Options</source> + <translation>옵션</translation> + </message> + <message> + <source>Source texts are searched when checked.</source> + <translation>선택하면 원본 텍스트에서 찾습니다.</translation> + </message> + <message> + <source>&Source texts</source> + <translation>원본 텍스트(&S)</translation> + </message> + <message> + <source>Translations are searched when checked.</source> + <translation>선택하면 번역된 텍스트에서 찾습니다.</translation> + </message> + <message> + <source>&Translations</source> + <translation>번역(&T)</translation> + </message> + <message> + <source>Texts such as 'TeX' and 'tex' are considered as different when checked.</source> + <translation>선택하면 'TeX'와 'tex'를 다른 문자열로 취급합니다.</translation> + </message> + <message> + <source>&Match case</source> + <translation>대소문자 구분(&M)</translation> + </message> + <message> + <source>Comments and contexts are searched when checked.</source> + <translation>선택하면 설명과 컨텍스트에서 찾습니다.</translation> + </message> + <message> + <source>&Comments</source> + <translation>설명(&C)</translation> + </message> + <message> + <source>Ignore &accelerators</source> + <translation>가속기 무시(&A)</translation> + </message> + <message> + <source>Click here to find the next occurrence of the text you typed in.</source> + <translation>입력한 텍스트가 다음에 등장하는 곳을 찾습니다.</translation> + </message> + <message> + <source>Find Next</source> + <translation>다음 찾기</translation> + </message> + <message> + <source>Click here to close this window.</source> + <translation>이 창을 닫습니다.</translation> + </message> + <message> + <source>Cancel</source> + <translation>취소</translation> + </message> + <message> + <source></source> + <comment>Choose Edit|Find from the menu bar or press Ctrl+F to pop up the Find dialog</comment> + <translation></translation> + </message> +</context> +<context> + <name>FormMultiWidget</name> + <message> + <source>Alt+Delete</source> + <extracomment>translate, but don't change</extracomment> + <translation>Alt+Delete</translation> + </message> + <message> + <source>Shift+Alt+Insert</source> + <extracomment>translate, but don't change</extracomment> + <translation>Shift+Alt+Insert</translation> + </message> + <message> + <source>Alt+Insert</source> + <extracomment>translate, but don't change</extracomment> + <translation>Alt+Insert</translation> + </message> + <message> + <source>Confirmation - Qt Linguist</source> + <translation>확인 - Qt Linguist</translation> + </message> + <message> + <source>Delete non-empty length variant?</source> + <translation>내용이 있는 길이가 다른 형태를 삭제하시겠습니까?</translation> + </message> +</context> +<context> + <name>LConvert</name> + <message> + <source> +Usage: + lconvert [options] <infile> [<infile>...] + +lconvert is part of Qt's Linguist tool chain. It can be used as a +stand-alone tool to convert and filter translation data files. +The following file formats are supported: + +%1 +If multiple input files are specified, they are merged with +translations from later files taking precedence. + +Options: + -h + --help Display this information and exit. + + -i <infile> + --input-file <infile> + Specify input file. Use if <infile> might start with a dash. + This option can be used several times to merge inputs. + May be '-' (standard input) for use in a pipe. + + -o <outfile> + --output-file <outfile> + Specify output file. Default is '-' (standard output). + + -if <informat> + --input-format <format> + Specify input format for subsequent <infile>s. + The format is auto-detected from the file name and defaults to 'ts'. + + -of <outformat> + --output-format <outformat> + Specify output format. See -if. + + --input-codec <codec> + Specify encoding for QM and PO input files. Default is 'Latin1' + for QM and 'UTF-8' for PO files. UTF-8 is always tried as well for + QM, corresponding to the possible use of the trUtf8() function. + + --output-codec <codec> + Specify encoding for PO output files. Default is 'UTF-8'. + + --drop-tags <regexp> + Drop named extra tags when writing TS or XLIFF files. + May be specified repeatedly. + + --drop-translations + Drop existing translations and reset the status to 'unfinished'. + Note: this implies --no-obsolete. + + --source-language <language>[_<region>] + Specify/override the language of the source strings. Defaults to + POSIX if not specified and the file does not name it yet. + + --target-language <language>[_<region>] + Specify/override the language of the translation. + The target language is guessed from the file name if this option + is not specified and the file contents name no language yet. + + --no-obsolete + Drop obsolete messages. + + --no-finished + Drop finished messages. + + --sort-contexts + Sort contexts in output TS file alphabetically. + + --locations {absolute|relative|none} + Override how source code references are saved in TS files. + Default is absolute. + + --no-ui-lines + Drop line numbers from references to UI files. + + --verbose + be a bit more verbose + +Long options can be specified with only one leading dash, too. + +Return value: + 0 on success + 1 on command line parse failures + 2 on read failures + 3 on write failures +</source> + <translation> +사용 방법: + lconvert [옵션] <infile> [<infile>...] + +lconvert는 Qt Linguist 도구 모음의 일부입니다. 번역 데이터 +파일을 변환하고 처리하는 데 사용할 수 있습니다. +다음 파일 형식을 지원합니다: + +%1 +여러 개의 입력 파일을 지정하면, 나중에 지정한 파일에 +있는 내용을 우선으로 합칩니다. + +옵션: + -h + --help 이 정보를 표시하고 끝냅니다. + + -i <infile> + --input-file <infile> + 입력 파일을 지정합니다. <infile>이 이음표(-)로 시작한다면 + 사용하십시오. 여러 입력 파일을 합치려면 여러 번 사용할 + 수 있습니다. 파이프 내부에서 사용하려면 '-'를 사용하십시오. + + -o <outfile> + --output-file <outfile> + 출력 파일을 지정합니다. 기본값은 '-'(표준 출력)입니다. + + -if <informat> + --input-format <format> + 입력 파일 <infile> 바로 앞에 붙이며, 입력 파일의 형식을 지정합니다. + 파일 이름에서 형식을 자동으로 식별하며, 기본값은 'ts'입니다. + + -of <outformat> + --output-format <outformat> + 출력 형식을 지정합니다. -if를 참고하십시오. + + --input-codec <codec> + QM과 PO 입력 파일의 인코딩을 지정합니다. QM 파일의 기본값은 + 'Latin1'이며, PO 파일의 기본값은 'UTF-8'입니다. trUtf8() 함수를 + 사용했을 수도 있기 때문에 QM 파일에서도 UTF-8을 시도합니다. + + --output-codec <codec> + PO 출력 파일의 인코딩을 지정합니다. 기본값은 'UTF-8'입니다. + + --drop-tags <regexp> + TS나 XLIFF 파일을 쓸 때 추가 태그를 기록하지 않습니다. + 여러 번 사용할 수 있습니다. + + --drop-translations + 이미 있는 번역을 삭제하며 상태를 '완료되지 않음'으로 초기화합니다. + 알림: --no-obsolete 옵션을 암시적으로 지정합니다. + + --source-language <language>[_<region>] + 원본 문자열의 언어를 (재)지정합니다. 파일 이름에서 언어를 알 수 + 없거나 지정되지 않았을 때의 기본값은 POSIX입니다. + + --target-language <language>[_<region>] + 번역물의 언어를 (재)지정합니다. 이 옵션을 지정하지 않았고 + 파일 내용에 언어를 지정하지 않았으면 파일 이름에서 + 대상 언어를 추정합니다. + + --no-obsolete + 오래된 메시지를 삭제합니다. + + --no-finished + 완료되지 않은 메시지를 삭제합니다. + + --sort-contexts + 출력 TS 파일의 컨텍스트를 가나다순으로 정렬합니다. + + --locations {absolute|relative|none} + 원본 코드 참조를 TS 파일에 저장할 법을 지정합니다. + 기본값은 absolute입니다. + + --no-ui-lines + UI 파일 참조에서 줄 번호를 삭제합니다. + + --verbose + 더 자세한 메시지를 출력합니다. + +긴 옵션을 지정할 때에는 이음표 하나만 사용할 수 있습니다. + +반환값: + 0: 성공 + 1: 명령행 인자 처리 오류 + 2: 읽기 오류 + 3: 쓰기 오류 +</translation> + </message> +</context> +<context> + <name>LRelease</name> + <message> + <source>Usage: + lrelease [options] project-file + lrelease [options] ts-files [-qm qm-file] + +lrelease is part of Qt's Linguist tool chain. It can be used as a +stand-alone tool to convert XML-based translations files in the TS +format into the 'compiled' QM format used by QTranslator objects. + +Options: + -help Display this information and exit + -idbased + Use IDs instead of source strings for message keying + -compress + Compress the QM files + -nounfinished + Do not include unfinished translations + -removeidentical + If the translated text is the same as + the source text, do not include the message + -markuntranslated <prefix> + If a message has no real translation, use the source text + prefixed with the given string instead + -silent + Do not explain what is being done + -version + Display the version of lrelease and exit +</source> + <translation>사용 방법: + lrelease [옵션] project-file + lrelease [옵션] ts-files [-qm qm-file] + +lrelease는 Qt Linguist 도구 모음의 일부입니다. TS 형식으로 되어 있는 +XML 기반 번역물은 QTranslator에서 사용할 수 있는 '컴파일된' QM +형식으로 변환하는 독립 실행 가능한 도구입니다. + +옵션: + -help 이 정보를 표시하고 끝냅니다. + -idbased + 메시지 키로 원본 문자열 대신 ID를 사용합니다. + -compress + QM 파일을 압축합니다. + -nounfinished + 완료되지 않은 번역을 포함하지 않습니다. + -removeidentical + 원문과 번역문이 같으면 메시지를 포함하지 않습니다. + -markuntranslated <prefix> + 메시지가 번역되지 않았으면 원본 문자열 앞에 + <prefix>를 붙인 것을 번역문 대신 사용합니다. + -silent + 진행 상황을 표시하지 않습니다. + -version + lrelease 버전을 표시하고 끝냅니다 +</translation> + </message> + <message> + <source>lrelease error: %1</source> + <translation>lrelease 오류: %1</translation> + </message> + <message> + <source>Updating '%1'... +</source> + <translation>'%1' 업데이트 중... +</translation> + </message> + <message> + <source>Removing translations equal to source text in '%1'... +</source> + <translation>'%1'의 원문과 동일한 번역문 삭제 중... +</translation> + </message> + <message> + <source>lrelease error: cannot create '%1': %2 +</source> + <translation>lrelease 오류: '%1'을(를) 만들 수 없음: %2 +</translation> + </message> + <message> + <source>lrelease error: cannot save '%1': %2</source> + <translation>lrelease 오류: '%1'을(를) 저장할 수 없음: %2</translation> + </message> + <message> + <source>lrelease version %1 +</source> + <translation>lrelease 버전 %1 +</translation> + </message> + <message> + <source>lrelease error: cannot read project file '%1'. +</source> + <translation>lrelease 오류: 프로젝트 파일 '%1'을(를) 읽을 수 없습니다.</translation> + </message> + <message> + <source>lrelease error: cannot process project file '%1'. +</source> + <translation>lrelease 오류: 프로젝트 파일 '%1'을(를) 처리할 수 없습니다. +</translation> + </message> + <message> + <source>lrelease warning: Met no 'TRANSLATIONS' entry in project file '%1' +</source> + <translation>lrelease 경고: 프로젝트 파일 '%1'에 'TRANSLATIONS' 항목이 없음 +</translation> + </message> + <message numerus="yes"> + <source>Dropped %n message(s) which had no ID.</source> + <translation> + <numerusform>ID가 없는 메시지 %n개를 삭제하였습니다.</numerusform> + </translation> + </message> + <message numerus="yes"> + <source>Excess context/disambiguation dropped from %n message(s).</source> + <translation> + <numerusform>메시지 %n개에서 불필요한 컨텍스트/동음이의 정보를 삭제하였습니다.</numerusform> + </translation> + </message> + <message numerus="yes"> + <source> Generated %n translation(s) (%1 finished and %2 unfinished)</source> + <translation> + <numerusform> %n개의 번역 생성됨 (%1개 완료됨, %2개 완료되지 않음)</numerusform> + </translation> + </message> + <message numerus="yes"> + <source> Ignored %n untranslated source text(s)</source> + <translation> + <numerusform> %n개의 번역되지 않은 원문 무시함</numerusform> + </translation> + </message> +</context> +<context> + <name>LUpdate</name> + <message> + <source>Parenthesis/bracket/brace mismatch between #if and #else branches; using #if branch +</source> + <translation>#if와 #else 분기 사이에서 소/중/대괄호가 일치하지 않음. #if 분기를 사용함 +</translation> + </message> + <message> + <source>Parenthesis/brace mismatch between #if and #else branches; using #if branch +</source> + <translation>#if와 #else 분기 사이에서 소/중괄호가 일치하지 않음. #if 분기를 사용함 +</translation> + </message> + <message> + <source>Unterminated C++ comment +</source> + <translation>C++ 주석이 종료되지 않음 +</translation> + </message> + <message> + <source>Unterminated C++ string +</source> + <translation>C++ 문자열이 종료되지 않음 +</translation> + </message> + <message> + <source>Excess closing brace in C++ code (or abuse of the C++ preprocessor) +</source> + <translation>C++ 코드에 불필요한 닫는 중괄호가 있음(또는 C++ 전처리기의 잘못된 사용) +</translation> + </message> + <message> + <source>Excess closing parenthesis in C++ code (or abuse of the C++ preprocessor) +</source> + <translation>C++ 코드에 불필요한 닫는 소괄호가 있음(또는 C++ 전처리기의 잘못된 사용) +</translation> + </message> + <message> + <source>Excess closing bracket in C++ code (or abuse of the C++ preprocessor) +</source> + <translation>C++ 코드에 불필요한 닫는 대괄호가 있음(또는 C++ 전처리기의 잘못된 사용) +</translation> + </message> + <message> + <source>circular inclusion of %1 +</source> + <translation>%1이(가) 재귀적으로 포함됨 +</translation> + </message> + <message> + <source>Cannot open %1: %2 +</source> + <translation>%1을(를) 열 수 없음: %2 +</translation> + </message> + <message> + <source>//% cannot be used with tr() / QT_TR_NOOP(). Ignoring +</source> + <translation>//%는 tr()/QT_TR_NOOP()와 같이 사용할 수 없음. 무시함 +</translation> + </message> + <message> + <source>Qualifying with unknown namespace/class %1::%2 +</source> + <translation>알 수 없는 네임스페이스/클래스 %1::%2와(과) 일치함</translation> + </message> + <message> + <source>tr() cannot be called without context +</source> + <translation>tr()은 컨텍스트 없이 호출될 수 없음 +</translation> + </message> + <message> + <source>Class '%1' lacks Q_OBJECT macro +</source> + <translation>클래스 '%1'에 Q_OBJECT 매크로가 없음 +</translation> + </message> + <message> + <source>It is not recommended to call tr() from within a constructor '%1::%2' +</source> + <translation>생성자 '%1::%2'에서 tr()을 호출하는 것은 권장하지 않음 +</translation> + </message> + <message> + <source>//% cannot be used with translate() / QT_TRANSLATE_NOOP(). Ignoring +</source> + <translation>//%는 translate()/QT_TR_NOOP()와 같이 사용할 수 없음. 무시함 +</translation> + </message> + <message> + <source>//= cannot be used with qtTrId() / QT_TRID_NOOP(). Ignoring +</source> + <translation>//=은 qtTrId()/QT_TRID_NOOP()와 같이 사용할 수 없음. 무시함 +</translation> + </message> + <message> + <source>Unexpected character in meta string +</source> + <translation>메타 문자열에 예상하지 못한 글자가 있음 +</translation> + </message> + <message> + <source>Unterminated meta string +</source> + <translation>메타 문자열이 종료되지 않음 +</translation> + </message> + <message> + <source>Cannot invoke tr() like this +</source> + <translation>tr()을 이렇게 호출할 수 없음 +</translation> + </message> + <message> + <source>Discarding unconsumed meta data +</source> + <translation>사용되지 않은 메타데이터를 무시함 +</translation> + </message> + <message> + <source>Unbalanced opening brace in C++ code (or abuse of the C++ preprocessor) +</source> + <translation>C++ 코드의 여는 중괄호 쌍이 맞지 않음(또는 C++ 전처리기의 잘못된 사용) +</translation> + </message> + <message> + <source>Unbalanced opening parenthesis in C++ code (or abuse of the C++ preprocessor) +</source> + <translation>C++ 코드의 여는 소괄호 쌍이 맞지 않음(또는 C++ 전처리기의 잘못된 사용) +</translation> + </message> + <message> + <source>Unbalanced opening bracket in C++ code (or abuse of the C++ preprocessor) +</source> + <translation>C++ 코드의 여는 대괄호 쌍이 맞지 않음(또는 C++ 전처리기의 잘못된 사용) +</translation> + </message> + <message> + <source>Cannot open %1: %2</source> + <translation>%1을(를) 열 수 없음: %2</translation> + </message> + <message> + <source>Unterminated Java comment. +</source> + <translation>Java 주석이 종료되지 않았습니다. +</translation> + </message> + <message> + <source>Invalid Unicode value. +</source> + <translation>유니코드 값이 잘못되었습니다. +</translation> + </message> + <message> + <source>Unterminated string. +</source> + <translation>문자열이 종료되지 않았습니다. +</translation> + </message> + <message> + <source>String used in translation can contain only literals concatenated with other literals, not expressions or numbers. +</source> + <translation>번역에 사용하는 문자열은 서로 다른 문자열끼리만 연결되어 있어야 하며, 표현식이나 숫자와는 연결할 수 없습니다. +</translation> + </message> + <message> + <source>'class' must be followed by a class name. +</source> + <translation>'class' 다음에는 클래스 이름이 와야 합니다. +</translation> + </message> + <message> + <source>Excess closing brace. +</source> + <translation>불필요한 닫는 중괄호가 있습니다.</translation> + </message> + <message> + <source>'package' must be followed by package name. +</source> + <translation>'package' 다음에는 패키지 이름이 와야 합니다. +</translation> + </message> + <message> + <source>Unbalanced opening brace. +</source> + <translation>여는 중괄호의 쌍이 맞지 않습니다. +</translation> + </message> + <message> + <source>Unbalanced opening parenthesis. +</source> + <translation>여는 소괄호의 쌍이 맞지 않습니다. +</translation> + </message> + <message> + <source>Usage: + lupdate [options] [project-file]... + lupdate [options] [source-file|path|@lst-file]... -ts ts-files|@lst-file + +lupdate is part of Qt's Linguist tool chain. It extracts translatable +messages from Qt UI files, C++, Java and JavaScript/QtScript source code. +Extracted messages are stored in textual translation source files (typically +Qt TS XML). New and modified messages can be merged into existing TS files. + +Options: + -help Display this information and exit. + -no-obsolete + Drop all obsolete strings. + -extensions <ext>[,<ext>]... + Process files with the given extensions only. + The extension list must be separated with commas, not with whitespace. + Default: '%1'. + -pluralonly + Only include plural form messages. + -silent + Do not explain what is being done. + -no-sort + Do not sort contexts in TS files. + -no-recursive + Do not recursively scan the following directories. + -recursive + Recursively scan the following directories (default). + -I <includepath> or -I<includepath> + Additional location to look for include files. + May be specified multiple times. + -locations {absolute|relative|none} + Specify/override how source code references are saved in TS files. + Default is absolute. + -no-ui-lines + Do not record line numbers in references to UI files. + -disable-heuristic {sametext|similartext|number} + Disable the named merge heuristic. Can be specified multiple times. + -pro <filename> + Name of a .pro file. Useful for files with .pro file syntax but + different file suffix. Projects are recursed into and merged. + -source-language <language>[_<region>] + Specify the language of the source strings for new files. + Defaults to POSIX if not specified. + -target-language <language>[_<region>] + Specify the language of the translations for new files. + Guessed from the file name if not specified. + -ts <ts-file>... + Specify the output file(s). This will override the TRANSLATIONS + and nullify the CODECFORTR from possibly specified project files. + -codecfortr <codec> + Specify the codec assumed for tr() calls. Effective only with -ts. + -version + Display the version of lupdate and exit. + @lst-file + Read additional file names (one per line) from lst-file. +</source> + <translation>사용 방법: + lupdate [옵션] [project-file]... + lupdate [옵션] [source-file|path|@lst-file]... -ts ts-files|@lst-file + +lupdate는 Qt Linguist 도구 모음의 일부입니다. Qt UI 파일, C++, +Java, JavaScript/QtScript 원본 코드에서 번역 가능한 문자열을 추출합니다. +추출한 메시지는 번역 원본 파일(대개의 경우 Qt TS XML)에 저장됩니다. +기존 TS 파일에 새로 추가되었거나 수정된 메시지를 추가할 수 있습니다. + +옵션: + -help 이 정보를 표시하고 끝냅니다. + -no-obsolete + 모든 오래된 문자열을 삭제합니다. + -extensions <ext>[,<ext>]... + 주어진 확장자를 가진 파일만 처리합니다. + 확장자 목록은 쉼표로 구분하며, 공백을 사용하면 안 됩니다. + 기본값: '%1'. + -pluralonly + 복수형 메시지만 포함합니다. + -silent + 진행 상황을 표시하지 않습니다. + -no-sort + TS 파일의 컨텍스트를 정렬하지 않습니다. + -no-recursive + 하위 디렉터리를 재귀적으로 탐색하지 않습니다. + -recursive + 하위 디렉터리를 재귀적으로 탐색합니다. (기본값) + -I <includepath> 또는 -I<includepath> + 포함할 파일을 찾을 추가 경로입니다. + 여러 번 사용할 수 있습니다. + -locations {absolute|relative|none} + TS 파일에 원본 코드 위치를 저장할 방법을 (재)지정합니다. + 기본값은 absolute(절대 위치)입니다. + -no-ui-lines + UI 파일을 참조할 때 줄 번호를 기록하지 않습니다. + -disable-heuristic {sametext|similartext|number} + 지정한 메시지 휴리스틱을 사용하지 않습니다. + 여러 번 사용할 수 있습니다. + -pro <filename> + .pro 파일 이름입니다. .pro 파일 문법을 사용하지만 확장자가 + .pro가 아닌 경우에 사용하십시오. 재귀적으로 프로젝트를 + 탐색하며 합칩니다. + -source-language <language>[_<region>] + 새 파일의 원문 언어를 지정합니다. + 지정하지 않으면 POSIX를 사용합니다. + -target-language <language>[_<region>] + 새 파일의 번역문 언어를 지정합니다. + 지정하지 않으면 파일 이름에서 추측합니다. + -ts <ts-file>... + 출력 파일을 지정합니다. TRANSLATIONS를 다시 지정하며 + 프로젝트 파일에서 지정했을 수도 있는 CODECFORTR을 + 무효화합니다. + -codecfortr <codec> + tr() 함수에 사용하는 코덱을 지정합니다. + -ts 옵션과 같이 사용할 때만 유효합니다. + -version + lupdate 버전을 표시하고 끝냅니다. + @lst-file + lst-file에서 추가 파일 목록(한 줄에 하나)을 읽습니다. +</translation> + </message> + <message> + <source>lupdate warning: Codec for tr() '%1' disagrees with existing file's codec '%2'. Expect trouble. +</source> + <translation>lupdate 경고: tr()의 코덱 '%1'이(가) 파일의 코덱 '%2'와(과) 일치하지 않습니다. 내보낼 때 문제가 생길 수 있습니다. +</translation> + </message> + <message> + <source>lupdate warning: Specified target language '%1' disagrees with existing file's language '%2'. Ignoring. +</source> + <translation>lupdate 경고: 지정한 대상 언어 '%1'이(가) 파일의 언어 '%2'와(과) 다릅니다. 무시합니다. +</translation> + </message> + <message> + <source>lupdate warning: Specified source language '%1' disagrees with existing file's language '%2'. Ignoring. +</source> + <translation>lupdate 경고: 지정한 원본 언어 '%1'이(가) 파일의 언어 '%2'와(과) 다릅니다. 무시합니다. +</translation> + </message> + <message> + <source>Updating '%1'... +</source> + <translation>'%1' 업데이트 중... +</translation> + </message> + <message> + <source>Stripping non plural forms in '%1'... +</source> + <translation>'%1'의 단수형 삭제하는 중... +</translation> + </message> + <message> + <source>lupdate warning: Codec for source '%1' is invalid. Falling back to codec for tr(). +</source> + <translation>lupdate 경고: 원본 코덱 '%1'이(가) 올바르지 않습니다. tr()의 코덱을 사용합니다. +</translation> + </message> + <message> + <source>lupdate warning: TS files from command line will override TRANSLATIONS in %1. +</source> + <translation>lupdate 경고: 명령행으로 지정한 TS 파일이 %1의 TRANSLATIONS를 재정의합니다. +</translation> + </message> + <message> + <source>lupdate warning: TS files from command line prevent recursing into %1. +</source> + <translation>lupdate 경고: 명령행으로 지정한 TS 파일이 %1(으)로 재귀하는 것을 방지합니다. +</translation> + </message> + <message> + <source>lupdate warning: no TS files specified. Only diagnostics will be produced for '%1'. +</source> + <translation>lupdate 경고: TS 파일이 지정되지 않았습니다. '%1'의 검사만 진행됩니다. +</translation> + </message> + <message> + <source>The option -target-language requires a parameter. +</source> + <translation>--target-language 옵션에는 인자가 필요합니다. +</translation> + </message> + <message> + <source>The option -source-language requires a parameter. +</source> + <translation>--source-language 옵션에는 인자가 필요합니다. +</translation> + </message> + <message> + <source>The option -disable-heuristic requires a parameter. +</source> + <translation>--disable-heuristic 옵션에는 인자가 필요합니다. +</translation> + </message> + <message> + <source>Invalid heuristic name passed to -disable-heuristic. +</source> + <translation>--disable-heuristic에 잘못된 휴리스틱 이름이 전달되었습니다.</translation> + </message> + <message> + <source>The option -locations requires a parameter. +</source> + <translation>-locations 옵션에는 인자가 필요합니다. +</translation> + </message> + <message> + <source>Invalid parameter passed to -locations. +</source> + <translation>-locations 옵션에 잘못된 인자가 전달되었습니다. +</translation> + </message> + <message> + <source>The -codecfortr option should be followed by a codec name. +</source> + <translation>-codecfortr 옵션 다음에는 코덱 이름이 와야 합니다. +</translation> + </message> + <message> + <source>The -extensions option should be followed by an extension list. +</source> + <translation>-extensions 옵션 다음에는 확장자 목록이 와야 합니다. +</translation> + </message> + <message> + <source>The -pro option should be followed by a filename of .pro file. +</source> + <translation>-pro 옵션 다음에는 .pro 파일이 와야 합니다. +</translation> + </message> + <message> + <source>The -I option should be followed by a path. +</source> + <translation>-I 옵션 다음에는 경로가 와야 합니다. +</translation> + </message> + <message> + <source>Unrecognized option '%1'. +</source> + <translation>알 수 없는 옵션 '%1'. +</translation> + </message> + <message> + <source>lupdate error: List file '%1' is not readable. +</source> + <translation>lupdate 오류: 목록 파일 '%1'을(를) 읽을 수 없습니다. +</translation> + </message> + <message> + <source>lupdate warning: For some reason, '%1' is not writable. +</source> + <translation>lupdate 경고: 파일 '%1'에 쓸 수 없습니다.</translation> + </message> + <message> + <source>lupdate error: File '%1' has no recognized extension. +</source> + <translation>lupdate 오류: 파일 '%1'의 확장자는 알려져 있지 않습니다. +</translation> + </message> + <message> + <source>lupdate error: File '%1' does not exist. +</source> + <translation>lupdate 오류: 파일 '%1'이(가) 없습니다. +</translation> + </message> + <message> + <source>Scanning directory '%1'... +</source> + <translation>디렉터리 '%1' 검사 중... +</translation> + </message> + <message> + <source>lupdate warning: -target-language usually only makes sense with exactly one TS file. +</source> + <translation>lupdate 경고: -target-language는 TS 파일을 하나만 지정했을 때 적용됩니다. +</translation> + </message> + <message> + <source>lupdate warning: -codecfortr has no effect without -ts. +</source> + <translation>lupdate 경고: --codecfortr 옵션은 -ts 옵션을 지정해야 적용됩니다. +</translation> + </message> + <message> + <source>lupdate warning: no TS files specified. Only diagnostics will be produced. +</source> + <translation>lupdate 경고: TS 파일이 지정되지 않았습니다. 검사만 진행됩니다. +</translation> + </message> + <message> + <source>lupdate error: Both project and source files / include paths specified. +</source> + <translation>lupdate 오류: 프로젝트 파일과 원본 파일/포함 경로 둘 다를 지정하였습니다. +</translation> + </message> + <message numerus="yes"> + <source> Found %n source text(s) (%1 new and %2 already existing) +</source> + <translation> + <numerusform> 원본 문자열 %n개 찾음 (새 문자열 %1개, 기존 문자열 %2개) +</numerusform> + </translation> + </message> + <message numerus="yes"> + <source> Removed %n obsolete entries +</source> + <translation> + <numerusform> 오래된 항목 %n개 삭제됨 +</numerusform> + </translation> + </message> + <message numerus="yes"> + <source> Kept %n obsolete entries +</source> + <translation> + <numerusform> 오래된 항목 %n개 보존됨 +</numerusform> + </translation> + </message> + <message numerus="yes"> + <source> Number heuristic provided %n translation(s) +</source> + <translation> + <numerusform> 숫자 휴리스틱으로 %n개 번역됨 +</numerusform> + </translation> + </message> + <message numerus="yes"> + <source> Same-text heuristic provided %n translation(s) +</source> + <translation> + <numerusform> 동일 텍스트 휴리스틱으로 %n개 번역됨 +</numerusform> + </translation> + </message> + <message numerus="yes"> + <source> Similar-text heuristic provided %n translation(s) +</source> + <translation> + <numerusform> 비슷한 텍스트 휴리스틱으로 %n개 번역됨 +</numerusform> + </translation> + </message> + <message> + <source>Illegal character</source> + <translation>잘못된 문자</translation> + </message> + <message> + <source>Unclosed string at end of line</source> + <translation>줄 끝에서 문자열이 닫히지 않았음</translation> + </message> + <message> + <source>Illegal escape squence</source> + <translation>잘못된 탈출 문자</translation> + </message> + <message> + <source>Illegal unicode escape sequence</source> + <translation>잘못된 유니코드 탈출 문자</translation> + </message> + <message> + <source>Unclosed comment at end of file</source> + <translation>파일 끝에서 주석이 닫히지 않았음</translation> + </message> + <message> + <source>Illegal syntax for exponential number</source> + <translation>지수 표기법이 잘못됨</translation> + </message> + <message> + <source>Identifier cannot start with numeric literal</source> + <translation>식별자는 숫자 리터럴로 시작할 수 없음</translation> + </message> + <message> + <source>Unterminated regular expression literal</source> + <translation>종료되지 않은 정규 표현식 리터럴</translation> + </message> + <message> + <source>//% cannot be used with %1(). Ignoring +</source> + <translation>//%는 %1()와(과) 사용될 수 없음. 무시함 +</translation> + </message> + <message> + <source>%1() requires at least two arguments. +</source> + <translation>%1()에는 최소 2개의 인자가 필요합니다. +</translation> + </message> + <message> + <source>%1(): both arguments must be literal strings. +</source> + <translation>%1(): 두 인자는 문자열 리터럴이어야 합니다. +</translation> + </message> + <message> + <source>%1() requires at least one argument. +</source> + <translation>%1()에는 최소 1개의 인자가 필요합니다. +</translation> + </message> + <message> + <source>%1(): text to translate must be a literal string. +</source> + <translation>%1(): 번역할 텍스트는 문자열 리터럴이어야 합니다. +</translation> + </message> + <message> + <source>//= cannot be used with %1(). Ignoring +</source> + <translation>//=은 %1()와(과) 같이 사용할 수 없음. 무시함 +</translation> + </message> + <message> + <source>%1(): identifier must be a literal string. +</source> + <translation>%1(): 식별자는 문자열 리터럴이어야 합니다. +</translation> + </message> + <message> + <source>Expected </source> + <extracomment>Beginning of the string that contains comma-separated list of expected tokens</extracomment> + <translation>예상한 토큰</translation> + </message> + <message> + <source>XML error: Parse error at line %1, column %2 (%3).</source> + <translation>XML 오류: %1번째 줄, %2번째 칸에서 처리 오류 발생(%3).</translation> + </message> + <message> + <source>Parse error in UI file</source> + <translation>UI 파일 처리 오류</translation> + </message> +</context> +<context> + <name>MainWindow</name> + <message> + <source>MainWindow</source> + <translation>MainWindow</translation> + </message> + <message> + <source>&Phrases</source> + <translation>단어장(&P)</translation> + </message> + <message> + <source>&Close Phrase Book</source> + <translation>단어장 닫기(&C)</translation> + </message> + <message> + <source>&Edit Phrase Book</source> + <translation>단어장 편집(&E)</translation> + </message> + <message> + <source>&Print Phrase Book</source> + <translation>단어장 인쇄(&P)</translation> + </message> + <message> + <source>V&alidation</source> + <translation>검사(&A)</translation> + </message> + <message> + <source>&View</source> + <translation>보기(&V)</translation> + </message> + <message> + <source>Vie&ws</source> + <translation>보기(&W)</translation> + </message> + <message> + <source>&Toolbars</source> + <translation>도구 모음(&T)</translation> + </message> + <message> + <source>&Help</source> + <translation>도움말(&H)</translation> + </message> + <message> + <source>&Translation</source> + <translation>번역(&T)</translation> + </message> + <message> + <source>&File</source> + <translation>파일(&F)</translation> + </message> + <message> + <source>Recently Opened &Files</source> + <translation>최근에 연 파일(&F)</translation> + </message> + <message> + <source>&Edit</source> + <translation>편집(&E)</translation> + </message> + <message> + <source>&Open...</source> + <translation>열기(&O)...</translation> + </message> + <message> + <source>Open a Qt translation source file (TS file) for editing</source> + <translation>편집할 Qt 번역 원본 파일(TS 파일)을 엽니다</translation> + </message> + <message> + <source>Ctrl+O</source> + <translation>Ctrl+O</translation> + </message> + <message> + <source>E&xit</source> + <translation>끝내기(&X)</translation> + </message> + <message> + <source>Close this window and exit.</source> + <translation>이 창을 닫고 종료합니다.</translation> + </message> + <message> + <source>Ctrl+Q</source> + <translation>Ctrl+Q</translation> + </message> + <message> + <source>Save</source> + <translation>저장</translation> + </message> + <message> + <source>Save changes made to this Qt translation source file</source> + <translation>Qt 번역 원본 파일을 저장합니다</translation> + </message> + <message> + <source>Save &As...</source> + <translation>다른 이름으로 저장(&A)...</translation> + </message> + <message> + <source>Save As...</source> + <translation>다른 이름으로 저장...</translation> + </message> + <message> + <source>Save changes made to this Qt translation source file into a new file.</source> + <translation>변경된 Qt 번역 원본 파일을 다른 이름으로 저장합니다.</translation> + </message> + <message> + <source>Release</source> + <translation>배포</translation> + </message> + <message> + <source>Create a Qt message file suitable for released applications from the current message file.</source> + <translation>현재 메시지 파일을 프로그램에 사용할 수 있는 형태로 배포합니다.</translation> + </message> + <message> + <source>&Print...</source> + <translation>인쇄(&P)...</translation> + </message> + <message> + <source>Print a list of all the translation units in the current translation source file.</source> + <translation>번역 원본 파일에 있는 모든 번역 단위 목록을 인쇄합니다.</translation> + </message> + <message> + <source>Ctrl+P</source> + <translation>Ctrl+P</translation> + </message> + <message> + <source>&Undo</source> + <translation>실행 취소(&U)</translation> + </message> + <message> + <source>Undo the last editing operation performed on the current translation.</source> + <translation>현재 번역물에 실행한 마지막 작업을 취소합니다.</translation> + </message> + <message> + <source>Ctrl+Z</source> + <translation>Ctrl+Z</translation> + </message> + <message> + <source>&Redo</source> + <translation>다시 실행(&R)</translation> + </message> + <message> + <source>Redo an undone editing operation performed on the translation.</source> + <translation>마지막으로 취소한 작업을 다시 실행합니다.</translation> + </message> + <message> + <source>Ctrl+Y</source> + <translation>Ctrl+Y</translation> + </message> + <message> + <source>Cu&t</source> + <translation>잘라내기(&T)</translation> + </message> + <message> + <source>Copy the selected translation text to the clipboard and deletes it.</source> + <translation>선택한 텍스트를 클립보드로 복사하고 입력 창에서 삭제합니다.</translation> + </message> + <message> + <source>Ctrl+X</source> + <translation>Ctrl+X</translation> + </message> + <message> + <source>&Copy</source> + <translation>복사(&C)</translation> + </message> + <message> + <source>Copy the selected translation text to the clipboard.</source> + <translation>선택한 텍스트를 클립보드에 복사합니다.</translation> + </message> + <message> + <source>Ctrl+C</source> + <translation>Ctrl+C</translation> + </message> + <message> + <source>&Paste</source> + <translation>붙여넣기(&P)</translation> + </message> + <message> + <source>Paste the clipboard text into the translation.</source> + <translation>클립보드에 있는 텍스트를 붙여 넣습니다.</translation> + </message> + <message> + <source>Ctrl+V</source> + <translation>Ctrl+V</translation> + </message> + <message> + <source>Select &All</source> + <translation>모두 선택(&A)</translation> + </message> + <message> + <source>Select the whole translation text.</source> + <translation>모든 번역 메시지를 선택합니다.</translation> + </message> + <message> + <source>Ctrl+A</source> + <translation>Ctrl+A</translation> + </message> + <message> + <source>&Find...</source> + <translation>찾기(&F)...</translation> + </message> + <message> + <source>Search for some text in the translation source file.</source> + <translation>번역 원본 파일의 텍스트를 찾습니다.</translation> + </message> + <message> + <source>Ctrl+F</source> + <translation>Ctrl+F</translation> + </message> + <message> + <source>Find &Next</source> + <translation>다음 찾기(&N)</translation> + </message> + <message> + <source>Continue the search where it was left.</source> + <translation>입력한 문자열이 다음에 나오는 곳을 찾습니다.</translation> + </message> + <message> + <source>F3</source> + <translation>F3</translation> + </message> + <message> + <source>&Prev Unfinished</source> + <translation>이전 미완료(&P)</translation> + </message> + <message> + <source>Previous unfinished item</source> + <translation>이전 미완료 항목</translation> + </message> + <message> + <source>Move to the previous unfinished item.</source> + <translation>이전 미완료 항목으로 이동합니다.</translation> + </message> + <message> + <source>Ctrl+K</source> + <translation>Ctrl+K</translation> + </message> + <message> + <source>&Next Unfinished</source> + <translation>다음 미완료(&N)</translation> + </message> + <message> + <source>Next unfinished item</source> + <translation>다음 미완료 항목</translation> + </message> + <message> + <source>Move to the next unfinished item.</source> + <translation>다음 미완료 항목으로 이동합니다.</translation> + </message> + <message> + <source>Ctrl+J</source> + <translation>Ctrl+J</translation> + </message> + <message> + <source>P&rev</source> + <translation>이전(&R)</translation> + </message> + <message> + <source>Move to previous item</source> + <translation>이전 항목으로 이동</translation> + </message> + <message> + <source>Move to the previous item.</source> + <translation>이전 항목으로 이동합니다.</translation> + </message> + <message> + <source>Ctrl+Shift+K</source> + <translation>Ctrl+Shift+K</translation> + </message> + <message> + <source>Ne&xt</source> + <translation>다음(&X)</translation> + </message> + <message> + <source>Next item</source> + <translation>다음 항목</translation> + </message> + <message> + <source>Move to the next item.</source> + <translation>다음 항목으로 이동합니다.</translation> + </message> + <message> + <source>Ctrl+Shift+J</source> + <translation>Ctrl+Shift+J</translation> + </message> + <message> + <source>&Done and Next</source> + <translation>완료 표시 후 다음(&D)</translation> + </message> + <message> + <source>Mark item as done and move to the next unfinished item</source> + <translation>항목을 완료된 것으로 표시하고 다음 미완료 항목으로 이동</translation> + </message> + <message> + <source>Mark this item as done and move to the next unfinished item.</source> + <translation>항목을 완료된 것으로 표시하고 다음 미완료 항목으로 이동합니다.</translation> + </message> + <message> + <source>Copy from source text</source> + <translation>원본 텍스트 복사</translation> + </message> + <message> + <source>Copies the source text into the translation field</source> + <translation>원본 텍스트를 번역문으로 복사</translation> + </message> + <message> + <source>Copies the source text into the translation field.</source> + <translation>원본 텍스트를 번역문으로 복사합니다.</translation> + </message> + <message> + <source>Ctrl+B</source> + <translation>Ctrl+B</translation> + </message> + <message> + <source>&Accelerators</source> + <translation>가속기(&A)</translation> + </message> + <message> + <source>Toggle the validity check of accelerators</source> + <translation>가속기 키 유효성 검사 활성화/비활성화</translation> + </message> + <message> + <source>Toggle the validity check of accelerators, i.e. whether the number of ampersands in the source and translation text is the same. If the check fails, a message is shown in the warnings window.</source> + <translation>가속기 키 검사를 켜거나 끕니다. 검사가 켜져 있으면 원문과 번역문의 & 기호 개수가 똑같은 지 검사합니다. 검사가 실패하면 경고 창에 메시지를 표시합니다.</translation> + </message> + <message> + <source>&Ending Punctuation</source> + <translation>끝맺는 문장 부호(&E)</translation> + </message> + <message> + <source>Toggle the validity check of ending punctuation</source> + <translation>끝맺는 문장 부호 유효성 검사 활성화/비활성화</translation> + </message> + <message> + <source>Toggle the validity check of ending punctuation. If the check fails, a message is shown in the warnings window.</source> + <translation>원문과 번역문의 끝맺는 문장 부호가 서로 같은지 검사합니다. 검사가 실패하면 경고 창에 메시지를 표시합니다.</translation> + </message> + <message> + <source>&Phrase matches</source> + <translation>단어장 일치(&P)</translation> + </message> + <message> + <source>Toggle checking that phrase suggestions are used</source> + <translation>단어장에서 제안한 단어 사용 여부 검사 활성화/비활성화</translation> + </message> + <message> + <source>Toggle checking that phrase suggestions are used. If the check fails, a message is shown in the warnings window.</source> + <translation>단어장에서 제안한 단어를 사용했는지 여부를 검사합니다. 검사가 실패하면 경고 창에 메시지를 표시합니다.</translation> + </message> + <message> + <source>Place &Marker Matches</source> + <translation>자리 표시자 일치(&M)</translation> + </message> + <message> + <source>Toggle the validity check of place markers</source> + <translation>자리 표시자 일치 검사 활성화/비활성화</translation> + </message> + <message> + <source>Toggle the validity check of place markers, i.e. whether %1, %2, ... are used consistently in the source text and translation text. If the check fails, a message is shown in the warnings window.</source> + <translation>원문과 번역문에 있는 %1, %2와 같은 자리 표시자가 올바르게 사용되었는지 검사합니다. 검사가 실패하면 경고 창에 메시지를 표시합니다.</translation> + </message> + <message> + <source>&New Phrase Book...</source> + <translation>새 단어장(&N)...</translation> + </message> + <message> + <source>Create a new phrase book.</source> + <translation>새 단어장을 만듭니다.</translation> + </message> + <message> + <source>Ctrl+N</source> + <translation>Ctrl+N</translation> + </message> + <message> + <source>&Open Phrase Book...</source> + <translation>단어장 열기(&O)...</translation> + </message> + <message> + <source>Open a phrase book to assist translation.</source> + <translation>번역을 돕는 단어장을 엽니다.</translation> + </message> + <message> + <source>Ctrl+H</source> + <translation>Ctrl+H</translation> + </message> + <message> + <source>&Reset Sorting</source> + <translation>정렬 초기화(&R)</translation> + </message> + <message> + <source>Sort the items back in the same order as in the message file.</source> + <translation>항목 정렬을 메시지 파일 순서로 초기화합니다.</translation> + </message> + <message> + <source>&Display guesses</source> + <translation>추측 표시(&D)</translation> + </message> + <message> + <source>Set whether or not to display translation guesses.</source> + <translation>번역 추측을 표시할 지 여부입니다.</translation> + </message> + <message> + <source>&Statistics</source> + <translation>통계(&S)</translation> + </message> + <message> + <source>Display translation statistics.</source> + <translation>번역 통계를 표시합니다.</translation> + </message> + <message> + <source>&Manual</source> + <translation>도움말(&M)</translation> + </message> + <message> + <source>F1</source> + <translation>F1</translation> + </message> + <message> + <source>About Qt Linguist</source> + <translation>Qt Linguist 정보</translation> + </message> + <message> + <source>About Qt</source> + <translation>Qt 정보</translation> + </message> + <message> + <source>Display information about the Qt toolkit by Nokia.</source> + <translation>Qt 툴킷의 정보를 표시합니다.</translation> + </message> + <message> + <source>&What's This?</source> + <translation>이것에 대한 설명(&W)</translation> + </message> + <message> + <source>What's This?</source> + <translation>항목별 도움말</translation> + </message> + <message> + <source>Enter What's This? mode.</source> + <translation>항목별 도움말을 표시합니다.</translation> + </message> + <message> + <source>Shift+F1</source> + <translation>Shift+F1</translation> + </message> + <message> + <source>&Search And Translate...</source> + <translation>찾아서 번역(&S)...</translation> + </message> + <message> + <source>Replace the translation on all entries that matches the search source text.</source> + <translation>원본 텍스트가 찾을 텍스트와 일치하는 모든 항목을 찾아서 번역합니다.</translation> + </message> + <message> + <source>&Batch Translation...</source> + <translation>일괄 번역(&B)...</translation> + </message> + <message> + <source>Batch translate all entries using the information in the phrase books.</source> + <translation>단어장의 정보를 사용하여 일괄적으로 번역합니다.</translation> + </message> + <message> + <source>Release As...</source> + <translation>다른 이름으로 배포...</translation> + </message> + <message> + <source>Create a Qt message file suitable for released applications from the current message file. The filename will automatically be determined from the name of the TS file.</source> + <translation>현재 메시지 파일을 프로그램에 사용할 수 있는 형태로 배포합니다. 파일 이름은 TS 파일 이름에서 자동으로 정해집니다.</translation> + </message> + <message> + <source>File</source> + <translation>파일</translation> + </message> + <message> + <source>Edit</source> + <translation>편집</translation> + </message> + <message> + <source>Translation</source> + <translation>번역</translation> + </message> + <message> + <source>Validation</source> + <translation>검사</translation> + </message> + <message> + <source>Help</source> + <translation>도움말</translation> + </message> + <message> + <source>Open/Refresh Form &Preview</source> + <translation>폼 미리보기 열기/새로 고침(&P)</translation> + </message> + <message> + <source>Form Preview Tool</source> + <translation>폼 미리보기 도구</translation> + </message> + <message> + <source>F5</source> + <translation>F5</translation> + </message> + <message> + <source>Translation File &Settings...</source> + <translation>번역 파일 설정(&S)...</translation> + </message> + <message> + <source>&Add to Phrase Book</source> + <translation>단어장에 추가(&A)</translation> + </message> + <message> + <source>Ctrl+T</source> + <translation>Ctrl+T</translation> + </message> + <message> + <source>Open Read-O&nly...</source> + <translation>읽기 전용으로 열기(&N)...</translation> + </message> + <message> + <source>&Save All</source> + <translation>모두 저장(&S)</translation> + </message> + <message> + <source>Ctrl+S</source> + <translation>Ctrl+S</translation> + </message> + <message> + <source>&Release All</source> + <translation>모두 배포(&R)</translation> + </message> + <message> + <source>Close</source> + <translation>닫기</translation> + </message> + <message> + <source>&Close All</source> + <translation>모두 닫기(&C)</translation> + </message> + <message> + <source>Ctrl+W</source> + <translation>Ctrl+W</translation> + </message> + <message> + <source>Length Variants</source> + <translation>다른 길이 문자열</translation> + </message> + <message> + <source></source> + <comment>This is the application's main window.</comment> + <translation></translation> + </message> + <message> + <source>Source text</source> + <translation>원본 텍스트</translation> + </message> + <message> + <source>Index</source> + <translation>인덱스</translation> + </message> + <message> + <source>Context</source> + <translation>컨텍스트</translation> + </message> + <message> + <source>Items</source> + <translation>항목</translation> + </message> + <message> + <source>This panel lists the source contexts.</source> + <translation>이 패널은 원본 컨텍스트 목록입니다.</translation> + </message> + <message> + <source>Strings</source> + <translation>문자열</translation> + </message> + <message> + <source>Phrases and guesses</source> + <translation>단어장과 추측</translation> + </message> + <message> + <source>Sources and Forms</source> + <translation>원본 코드와 폼</translation> + </message> + <message> + <source>Warnings</source> + <translation>경고</translation> + </message> + <message> + <source> MOD </source> + <comment>status bar: file(s) modified</comment> + <translation>수정됨</translation> + </message> + <message> + <source>Loading...</source> + <translation>불러오는 중...</translation> + </message> + <message> + <source>Loading File - Qt Linguist</source> + <translation>파일 불러오기 - Qt Linguist</translation> + </message> + <message> + <source>The file '%1' does not seem to be related to the currently open file(s) '%2'. + +Close the open file(s) first?</source> + <translation>파일 '%1'이(가) 현재 열려 있는 파일 '%2'와(과) 관련이 없는 것 같습니다. + +열려 있는 파일을 닫으시겠습니까?</translation> + </message> + <message> + <source>The file '%1' does not seem to be related to the file '%2' which is being loaded as well. + +Skip loading the first named file?</source> + <translation>파일 '%1'이(가) 같이 열려고 하는 파일 '%2'와(과) 관련이 없는 것 같습니다. + +첫 번째 파일을 열지 않으시겠습니까?</translation> + </message> + <message numerus="yes"> + <source>%n translation unit(s) loaded.</source> + <translation> + <numerusform>번역 단위 %n개를 불러 왔습니다.</numerusform> + </translation> + </message> + <message> + <source>Related files (%1);;</source> + <translation>관련된 파일 (%1);;</translation> + </message> + <message> + <source>Open Translation Files</source> + <translation>번역 파일 열기</translation> + </message> + <message> + <source>File saved.</source> + <translation>파일이 저장되었습니다.</translation> + </message> + <message> + <source>Qt message files for released applications (*.qm) +All files (*)</source> + <translation>배포된 프로그램을 위한 Qt 메시지 파일 (*.qm) +모든 파일 (*)</translation> + </message> + <message> + <source>File created.</source> + <translation>파일을 생성하였습니다.</translation> + </message> + <message> + <source>Printing...</source> + <translation>인쇄 중...</translation> + </message> + <message> + <source>Context: %1</source> + <translation>컨텍스트: %1</translation> + </message> + <message> + <source>finished</source> + <translation>완료됨</translation> + </message> + <message> + <source>unresolved</source> + <translation>해결되지 않음</translation> + </message> + <message> + <source>obsolete</source> + <translation>오래됨</translation> + </message> + <message> + <source>Printing... (page %1)</source> + <translation>인쇄 중... (%1쪽)</translation> + </message> + <message> + <source>Printing completed</source> + <translation>인쇄가 완료되었습니다</translation> + </message> + <message> + <source>Printing aborted</source> + <translation>인쇄가 중단되었습니다</translation> + </message> + <message> + <source>Search wrapped.</source> + <translation>검색이 다시 시작되었습니다.</translation> + </message> + <message> + <source>Qt Linguist</source> + <translation>Qt Linguist</translation> + </message> + <message> + <source>Cannot find the string '%1'.</source> + <translation>문자열 '%1'을(를) 찾을 수 없습니다.</translation> + </message> + <message> + <source>Search And Translate in '%1' - Qt Linguist</source> + <translation>'%1'에서 찾아서 번역하기 - Qt Linguist</translation> + </message> + <message> + <source>Translate - Qt Linguist</source> + <translation>번역 - Qt Linguist</translation> + </message> + <message numerus="yes"> + <source>Translated %n entry(s)</source> + <translation> + <numerusform>항목 %n개를 번역하였습니다</numerusform> + </translation> + </message> + <message> + <source>No more occurrences of '%1'. Start over?</source> + <translation>'%1'을(를) 더 이상 찾을 수 없습니다. 처음부터 다시 시작하시겠습니까?</translation> + </message> + <message> + <source>Create New Phrase Book</source> + <translation>새 단어장 만들기</translation> + </message> + <message> + <source>Qt phrase books (*.qph) +All files (*)</source> + <translation>Qt 단어장 (*.qph) +모든 파일 (*)</translation> + </message> + <message> + <source>Phrase book created.</source> + <translation>단어장을 만들었습니다.</translation> + </message> + <message> + <source>Open Phrase Book</source> + <translation>단어장 열기</translation> + </message> + <message> + <source>Qt phrase books (*.qph);;All files (*)</source> + <translation>Qt 단어장 (*.qph);;모든 파일 (*)</translation> + </message> + <message numerus="yes"> + <source>%n phrase(s) loaded.</source> + <translation> + <numerusform>단어 %n개를 불러왔습니다.</numerusform> + </translation> + </message> + <message> + <source>Add to phrase book</source> + <translation>단어장에 추가</translation> + </message> + <message> + <source>No appropriate phrasebook found.</source> + <translation>사용 가능한 단어장이 없습니다.</translation> + </message> + <message> + <source>Adding entry to phrasebook %1</source> + <translation>단어장 %1에 항목 추가</translation> + </message> + <message> + <source>Select phrase book to add to</source> + <translation>추가할 단어장 선택</translation> + </message> + <message> + <source>Unable to launch Qt Assistant (%1)</source> + <translation>Qt Assistant (%1)를 실행할 수 없습니다</translation> + </message> + <message> + <source>Version %1</source> + <translation>버전 %1</translation> + </message> + <message> + <source><center><img src=":/images/splash.png"/></img><p>%1</p></center><p>Qt Linguist is a tool for adding translations to Qt applications.</p><p>Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).</source> + <translation><center><img src=":/images/splash.png"/></img><p>%1</p></center><p>Qt Linguist는 Qt 프로그램을 번역하는 도구입니다.</p><p>저작권자 (C) 2010 Nokia Corporation and/or its subsidiary(-ies).</translation> + </message> + <message> + <source>Do you want to save the modified files?</source> + <translation>수정된 파일을 저장하시겠습니까?</translation> + </message> + <message> + <source>Do you want to save '%1'?</source> + <translation>'%1'을(를) 저장하시겠습니까?</translation> + </message> + <message> + <source>Qt Linguist[*]</source> + <translation>Qt Linguist[*]</translation> + </message> + <message> + <source>%1[*] - Qt Linguist</source> + <translation>%1[*] - Qt Linguist</translation> + </message> + <message> + <source>No untranslated translation units left.</source> + <translation>모든 번역 단위가 번역되었습니다.</translation> + </message> + <message> + <source>&Window</source> + <translation>창(&W)</translation> + </message> + <message> + <source>Minimize</source> + <translation>최소화</translation> + </message> + <message> + <source>Ctrl+M</source> + <translation>Ctrl+M</translation> + </message> + <message> + <source>Display the manual for %1.</source> + <translation>%1의 도움말을 표시합니다.</translation> + </message> + <message> + <source>Display information about %1.</source> + <translation>%1의 정보를 표시합니다.</translation> + </message> + <message> + <source>&Save '%1'</source> + <translation>'%1' 저장(&S)</translation> + </message> + <message> + <source>Save '%1' &As...</source> + <translation>'%1' 다른 이름으로 저장(&A)...</translation> + </message> + <message> + <source>Release '%1'</source> + <translation>'%1' 배포</translation> + </message> + <message> + <source>Release '%1' As...</source> + <translation>'%1' 다른 이름으로 배포...</translation> + </message> + <message> + <source>&Close '%1'</source> + <translation>'%1' 닫기(&C)</translation> + </message> + <message> + <source>&Save</source> + <translation>저장(&S)</translation> + </message> + <message> + <source>&Close</source> + <translation>닫기(&C)</translation> + </message> + <message> + <source>Save All</source> + <translation>모두 저장</translation> + </message> + <message> + <source>Close All</source> + <translation>모두 닫기</translation> + </message> + <message> + <source>&Release</source> + <translation>배포(&R)</translation> + </message> + <message> + <source>Translation File &Settings for '%1'...</source> + <translation>'%1'의 번역 파일 설정(&S)...</translation> + </message> + <message> + <source>&Batch Translation of '%1'...</source> + <translation>'%1' 일괄 번역(&B)...</translation> + </message> + <message> + <source>Search And &Translate in '%1'...</source> + <translation>'%1'에서 찾아서 번역(&T)...</translation> + </message> + <message> + <source>Search And &Translate...</source> + <translation>찾아서 번역(&T)...</translation> + </message> + <message> + <source>Cannot read from phrase book '%1'.</source> + <translation>단어장 '%1'에서 읽을 수 없습니다.</translation> + </message> + <message> + <source>Close this phrase book.</source> + <translation>이 단어장을 닫습니다.</translation> + </message> + <message> + <source>Enables you to add, modify, or delete entries in this phrase book.</source> + <translation>단어장의 항목을 추가, 수정, 삭제할 수 있습니다.</translation> + </message> + <message> + <source>Print the entries in this phrase book.</source> + <translation>이 단어장의 항목을 인쇄합니다.</translation> + </message> + <message> + <source>Cannot create phrase book '%1'.</source> + <translation>단어장 '%1'을(를) 만들 수 없습니다.</translation> + </message> + <message> + <source>Do you want to save phrase book '%1'?</source> + <translation>단어장 '%1'을(를) 저장하시겠습니까?</translation> + </message> + <message> + <source>All</source> + <translation>모두</translation> + </message> +</context> +<context> + <name>MessageEditor</name> + <message> + <source></source> + <comment>This is the right panel of the main window.</comment> + <translation></translation> + </message> + <message> + <source>Russian</source> + <translation>러시아어</translation> + </message> + <message> + <source>German</source> + <translation>독일어</translation> + </message> + <message> + <source>Japanese</source> + <translation>일본어</translation> + </message> + <message> + <source>French</source> + <translation>프랑스어</translation> + </message> + <message> + <source>Polish</source> + <translation>폴란드어</translation> + </message> + <message> + <source>Chinese</source> + <translation>중국어</translation> + </message> + <message> + <source>This whole panel allows you to view and edit the translation of some source text.</source> + <translation>이 패널에서는 원본 텍스트의 번역을 보거나 편집할 수 있습니다.</translation> + </message> + <message> + <source>Source text</source> + <translation>원본 텍스트</translation> + </message> + <message> + <source>This area shows the source text.</source> + <translation>이 영역은 원본 텍스트를 표시합니다.</translation> + </message> + <message> + <source>Source text (Plural)</source> + <translation>원본 텍스트 (복수형)</translation> + </message> + <message> + <source>This area shows the plural form of the source text.</source> + <translation>이 영역은 원본 텍스트의 복수형을 표시합니다.</translation> + </message> + <message> + <source>Developer comments</source> + <translation>개발자 주석</translation> + </message> + <message> + <source>This area shows a comment that may guide you, and the context in which the text occurs.</source> + <translation>이 영역은 개발자가 입력한 설명이나 텍스트가 나오는 상황을 알려 줍니다.</translation> + </message> + <message> + <source>Here you can enter comments for your own use. They have no effect on the translated applications.</source> + <translation>역자주를 입력할 수 있습니다. 번역된 프로그램에는 나타나지 않습니다.</translation> + </message> + <message> + <source>%1 translation (%2)</source> + <translation>%1 번역 (%2)</translation> + </message> + <message> + <source>This is where you can enter or modify the translation of the above source text.</source> + <translation>원본 텍스트의 번역을 입력하거나 수정할 수 있습니다.</translation> + </message> + <message> + <source>%1 translation</source> + <translation>%1 번역</translation> + </message> + <message> + <source>%1 translator comments</source> + <translation>%1 역자주</translation> + </message> + <message> + <source>'%1' +Line: %2</source> + <translation>'%1' +줄: %2</translation> + </message> +</context> +<context> + <name>MessageModel</name> + <message> + <source>Completion status for %1</source> + <translation>%1의 번역 상태</translation> + </message> + <message> + <source><file header></source> + <translation><파일 헤더></translation> + </message> + <message> + <source><context comment></source> + <translation><컨텍스트 주석></translation> + </message> + <message> + <source><unnamed context></source> + <translation><이름 없는 컨텍스트></translation> + </message> +</context> +<context> + <name>PhraseBook</name> + <message> + <source>Parse error at line %1, column %2 (%3).</source> + <translation>%1번째 줄, %2번째 칸에서 처리 오류 발생(%3).</translation> + </message> +</context> +<context> + <name>PhraseBookBox</name> + <message> + <source>Edit Phrase Book</source> + <translation>단어장 편집</translation> + </message> + <message> + <source>This window allows you to add, modify, or delete entries in a phrase book.</source> + <translation>단어장의 항목을 추가, 수정, 삭제할 수 있습니다.</translation> + </message> + <message> + <source>&Translation:</source> + <translation>번역(&T):</translation> + </message> + <message> + <source>This is the phrase in the target language corresponding to the source phrase.</source> + <translation>원문의 대상 언어로 된 번역문입니다.</translation> + </message> + <message> + <source>S&ource phrase:</source> + <translation>원문(&O):</translation> + </message> + <message> + <source>This is a definition for the source phrase.</source> + <translation>원문의 정의입니다.</translation> + </message> + <message> + <source>This is the phrase in the source language.</source> + <translation>원문 텍스트입니다.</translation> + </message> + <message> + <source>&Definition:</source> + <translation>정의(&D):</translation> + </message> + <message> + <source>Click here to add the phrase to the phrase book.</source> + <translation>단어장에 단어를 추가하려면 누르십시오.</translation> + </message> + <message> + <source>&New Entry</source> + <translation>새 항목(&N)</translation> + </message> + <message> + <source>Click here to remove the entry from the phrase book.</source> + <translation>단어장에서 항목을 삭제하려면 누르십시오.</translation> + </message> + <message> + <source>&Remove Entry</source> + <translation>항목 삭제(&R)</translation> + </message> + <message> + <source>Settin&gs...</source> + <translation>설정(&G)...</translation> + </message> + <message> + <source>Click here to save the changes made.</source> + <translation>변경 사항을 저장하려면 누르십시오.</translation> + </message> + <message> + <source>&Save</source> + <translation>저장(&S)</translation> + </message> + <message> + <source>Click here to close this window.</source> + <translation>이 창을 닫으려면 누르십시오.</translation> + </message> + <message> + <source>Close</source> + <translation>닫기</translation> + </message> + <message> + <source></source> + <comment>Go to Phrase > Edit Phrase Book... The dialog that pops up is a PhraseBookBox.</comment> + <translation></translation> + </message> + <message> + <source>(New Entry)</source> + <translation>(새 항목)</translation> + </message> + <message> + <source>%1[*] - Qt Linguist</source> + <translation>%1[*] - Qt Linguist</translation> + </message> + <message> + <source>Qt Linguist</source> + <translation>Qt Linguist</translation> + </message> + <message> + <source>Cannot save phrase book '%1'.</source> + <translation>단어장 '%1'을(를) 저장할 수 없습니다.</translation> + </message> +</context> +<context> + <name>PhraseModel</name> + <message> + <source>Source phrase</source> + <translation>원문</translation> + </message> + <message> + <source>Translation</source> + <translation>번역</translation> + </message> + <message> + <source>Definition</source> + <translation>정의</translation> + </message> +</context> +<context> + <name>PhraseView</name> + <message> + <source>Insert</source> + <translation>삽입</translation> + </message> + <message> + <source>Edit</source> + <translation>편집</translation> + </message> + <message> + <source>Guess (%1)</source> + <translation>추측 (%1)</translation> + </message> + <message> + <source>Guess</source> + <translation>추측</translation> + </message> +</context> +<context> + <name>QObject</name> + <message> + <source>GNU Gettext localization files</source> + <translation>GNU Gettext 번역 파일</translation> + </message> + <message> + <source>GNU Gettext localization template files</source> + <translation>GNU Gettext 번역 템플릿 파일</translation> + </message> + <message> + <source>Compiled Qt translations</source> + <translation>컴파일된 Qt 번역</translation> + </message> + <message> + <source>Qt Linguist 'Phrase Book'</source> + <translation>Qt Linguist '단어장'</translation> + </message> + <message> + <source>Qt translation sources (format 1.1)</source> + <translation>Qt 번역 원본 파일 (1.1 형식)</translation> + </message> + <message> + <source>Qt translation sources (format 2.0)</source> + <translation>Qt 번역 원본 파일 (2.0 형식)</translation> + </message> + <message> + <source>Qt translation sources (latest format)</source> + <translation>Qt 번역 원본 파일 (최신 형식)</translation> + </message> + <message> + <source>XLIFF localization files</source> + <translation>XLIFF 번역 파일</translation> + </message> + <message> + <source>lupdate version %1 +</source> + <translation>lupdate 버전 %1 +</translation> + </message> + <message> + <source>Translation files (%1);;</source> + <translation>번역 파일 (%1);;</translation> + </message> + <message> + <source>All files (*)</source> + <translation>모든 파일 (*)</translation> + </message> + <message> + <source>Qt Linguist</source> + <translation>Qt Linguist</translation> + </message> +</context> +<context> + <name>SourceCodeView</name> + <message> + <source><i>Source code not available</i></source> + <translation><i>원본 코드를 사용할 수 없음</i></translation> + </message> + <message> + <source><i>File %1 not available</i></source> + <translation><i>파일 %1을(를) 사용할 수 없음</i></translation> + </message> + <message> + <source><i>File %1 not readable</i></source> + <translation><i>파일 %1에서 읽을 수 없음</i></translation> + </message> +</context> +<context> + <name>Statistics</name> + <message> + <source>Statistics</source> + <translation>통계</translation> + </message> + <message> + <source>Close</source> + <translation>닫기</translation> + </message> + <message> + <source>Translation</source> + <translation>번역</translation> + </message> + <message> + <source>Source</source> + <translation>원문</translation> + </message> + <message> + <source>0</source> + <translation>0</translation> + </message> + <message> + <source>Words:</source> + <translation>단어 수:</translation> + </message> + <message> + <source>Characters:</source> + <translation>글자 수:</translation> + </message> + <message> + <source>Characters (with spaces):</source> + <translation>글자 수(공백 포함):</translation> + </message> +</context> +<context> + <name>TranslateDialog</name> + <message> + <source>This window allows you to search for some text in the translation source file.</source> + <translation>번역 원본 파일의 텍스트를 찾을 수 있습니다.</translation> + </message> + <message> + <source>Type in the text to search for.</source> + <translation>검색할 텍스트를 입력하십시오.</translation> + </message> + <message> + <source>Find &source text:</source> + <translation>찾을 문자열(&S):</translation> + </message> + <message> + <source>&Translate to:</source> + <translation>다음으로 번역(&T):</translation> + </message> + <message> + <source>Search options</source> + <translation>찾기 옵션</translation> + </message> + <message> + <source>Texts such as 'TeX' and 'tex' are considered as different when checked.</source> + <translation>선택하면 'TeX'와 'tex'를 다른 문자열로 취급합니다.</translation> + </message> + <message> + <source>Match &case</source> + <translation>대소문자 구분(&C)</translation> + </message> + <message> + <source>Mark new translation as &finished</source> + <translation>새 번역을 완료됨으로 표시(&F)</translation> + </message> + <message> + <source>Click here to find the next occurrence of the text you typed in.</source> + <translation>입력한 텍스트가 다음에 등장하는 곳을 찾습니다.</translation> + </message> + <message> + <source>Find Next</source> + <translation>다음 찾기</translation> + </message> + <message> + <source>Translate</source> + <translation>번역</translation> + </message> + <message> + <source>Translate All</source> + <translation>모두 번역</translation> + </message> + <message> + <source>Click here to close this window.</source> + <translation>이 창을 닫으려면 누르십시오.</translation> + </message> + <message> + <source>Cancel</source> + <translation>취소</translation> + </message> +</context> +<context> + <name>TranslationSettingsDialog</name> + <message> + <source>Source language</source> + <translation>원본 언어</translation> + </message> + <message> + <source>Language</source> + <translation>언어</translation> + </message> + <message> + <source>Country/Region</source> + <translation>국가/지역</translation> + </message> + <message> + <source>Target language</source> + <translation>대상 언어</translation> + </message> + <message> + <source>Settings for '%1' - Qt Linguist</source> + <translation>'%1' 설정 - Qt Linguist</translation> + </message> + <message> + <source>Any Country</source> + <translation>임의의 국가</translation> + </message> +</context> +</TS> diff --git a/translations/linguist_ru.ts b/translations/linguist_ru.ts index dfda98e..e5f57de 100644 --- a/translations/linguist_ru.ts +++ b/translations/linguist_ru.ts @@ -86,6 +86,10 @@ <context> <name>DataModel</name> <message> + <source>The translation file '%1' will not be loaded because it is empty.</source> + <translation>Невозможно загрузить файл перевода "%1", так как он пуст.</translation> + </message> + <message> <source><qt>Duplicate messages found in '%1':</source> <translation><qt>В '%1' обнаружены повторяющиеся сообщения:</translation> </message> @@ -1268,7 +1272,7 @@ lupdate - это один из инструментов Qt Linguist. Он изв </message> <message> <source>Phrases and guesses</source> - <translation>Фразы и похожие переводы</translation> + <translation>Похожие переводы</translation> </message> <message> <source>Sources and Forms</source> @@ -1633,7 +1637,7 @@ All files (*)</source> </message> <message> <source>&Phrases</source> - <translation>Фра&зы</translation> + <translation>&Глоссарии</translation> </message> <message> <source>&Close Phrase Book</source> @@ -1657,7 +1661,7 @@ All files (*)</source> </message> <message> <source>Vie&ws</source> - <translation>Вид&ы</translation> + <translation>&Панели</translation> </message> <message> <source>&Toolbars</source> @@ -1977,7 +1981,7 @@ All files (*)</source> </message> <message> <source>&Display guesses</source> - <translation>&Предлагать похожие</translation> + <translation>П&охожие переводы</translation> </message> <message> <source>Set whether or not to display translation guesses.</source> diff --git a/translations/linguist_uk.ts b/translations/linguist_uk.ts index 56db6ba..a503475 100644 --- a/translations/linguist_uk.ts +++ b/translations/linguist_uk.ts @@ -86,6 +86,10 @@ <context> <name>DataModel</name> <message> + <source>The translation file '%1' will not be loaded because it is empty.</source> + <translation>Файл перекладу '%1' не буде завантажено, бо він порожній.</translation> + </message> + <message> <source><qt>Duplicate messages found in '%1':</source> <translation><qt>Повідомлення-дублікати знайдено в '%1':</translation> </message> diff --git a/translations/qt_cs.ts b/translations/qt_cs.ts index 193dfa4..193dfa4 100755..100644 --- a/translations/qt_cs.ts +++ b/translations/qt_cs.ts diff --git a/translations/qt_help_cs.ts b/translations/qt_help_cs.ts index 6e425d6..6e425d6 100755..100644 --- a/translations/qt_help_cs.ts +++ b/translations/qt_help_cs.ts diff --git a/translations/qt_help_ko.ts b/translations/qt_help_ko.ts new file mode 100644 index 0000000..4a62287 --- /dev/null +++ b/translations/qt_help_ko.ts @@ -0,0 +1,318 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="ko_KR"> +<context> + <name>QCLuceneResultWidget</name> + <message> + <source>Search Results</source> + <translation>검색 결과</translation> + </message> + <message> + <source>Note:</source> + <translation>메모:</translation> + </message> + <message> + <source>The search results may not be complete since the documentation is still being indexed!</source> + <translation>문서의 인덱싱 작업이 진행 중이므로 검색 결과가 완전하지 않을 수도 있습니다!</translation> + </message> + <message> + <source>Your search did not match any documents.</source> + <translation>검색 결과가 없습니다.</translation> + </message> + <message> + <source>(The reason for this might be that the documentation is still being indexed.)</source> + <translation>(문서를 현재 인덱싱 중이므로 결과가 없을 수도 있습니다.)</translation> + </message> +</context> +<context> + <name>QHelp</name> + <message> + <source>Untitled</source> + <translation>제목 없음</translation> + </message> +</context> +<context> + <name>QHelpCollectionHandler</name> + <message> + <source>The collection file '%1' is not set up yet!</source> + <translation>모음집 파일 '%1'이(가) 설정되지 않았습니다!</translation> + </message> + <message> + <source>Cannot load sqlite database driver!</source> + <translation>sqlite 데이터베이스 드라이버를 불러올 수 없습니다!</translation> + </message> + <message> + <source>Cannot open collection file: %1</source> + <translation>모음집 파일을 열 수 없음: %1</translation> + </message> + <message> + <source>Cannot create tables in file %1!</source> + <translation>파일 %1에 테이블을 만들 수 없습니다!</translation> + </message> + <message> + <source>The collection file '%1' already exists!</source> + <translation>모음집 파일 '%1'이(가) 이미 존재합니다!</translation> + </message> + <message> + <source>Cannot create directory: %1</source> + <translation>디렉터리를 만들 수 없음: %1</translation> + </message> + <message> + <source>Cannot copy collection file: %1</source> + <translation>모음집 파일을 복사할 수 없음: %1</translation> + </message> + <message> + <source>Unknown filter '%1'!</source> + <translation>알 수 없는 필터 '%1'!</translation> + </message> + <message> + <source>Cannot register filter %1!</source> + <translation>필터 '%1'을(를) 등록할 수 없습니다!</translation> + </message> + <message> + <source>Cannot open documentation file %1!</source> + <translation>문서 파일 %1을(를) 열 수 없습니다!</translation> + </message> + <message> + <source>Invalid documentation file '%1'!</source> + <translation>문서 파일 '%1'이(가) 잘못되었습니다!</translation> + </message> + <message> + <source>The namespace %1 was not registered!</source> + <translation>네임스페이스 %1이(가) 등록되지 않았습니다!</translation> + </message> + <message> + <source>Namespace %1 already exists!</source> + <translation>네임스페이스 %1이(가) 이미 존재합니다!</translation> + </message> + <message> + <source>Cannot register namespace '%1'!</source> + <translation>네임스페이스 '%1'을(를) 등록할 수 없습니다!</translation> + </message> + <message> + <source>Cannot open database '%1' to optimize!</source> + <translation>데이터베이스 '%1'을(를) 최적화하기 위하여 열 수 없습니다!</translation> + </message> +</context> +<context> + <name>QHelpDBReader</name> + <message> + <source>Cannot open database '%1' '%2': %3</source> + <extracomment>The placeholders are: %1 - The name of the database which cannot be opened %2 - The unique id for the connection %3 - The actual error string</extracomment> + <translation>데이터베이스 '%1' '%2'을(를) 열 수 없음: %3</translation> + </message> +</context> +<context> + <name>QHelpEngineCore</name> + <message> + <source>Cannot open documentation file %1: %2!</source> + <translation>문서 파일 %1을(를) 열 수 없음: %2!</translation> + </message> + <message> + <source>The specified namespace does not exist!</source> + <translation>지정한 네임스페이스가 존재하지 않습니다!</translation> + </message> +</context> +<context> + <name>QHelpGenerator</name> + <message> + <source>Invalid help data!</source> + <translation>도움말 데이터가 잘못되었습니다!</translation> + </message> + <message> + <source>No output file name specified!</source> + <translation>출력 파일 이름이 지정되지 않았습니다!</translation> + </message> + <message> + <source>The file %1 cannot be overwritten!</source> + <translation>파일 %1에 겹쳐쓸 수 없습니다!</translation> + </message> + <message> + <source>Building up file structure...</source> + <translation>파일 구조 생성 중...</translation> + </message> + <message> + <source>Cannot open data base file %1!</source> + <translation>데이터베이스 파일 %1을(를) 열 수 없습니다!</translation> + </message> + <message> + <source>Cannot register namespace %1!</source> + <translation>네임스페이스 %1을(를) 등록할 수 없습니다!</translation> + </message> + <message> + <source>Insert custom filters...</source> + <translation>사용자 정의 필터 추가...</translation> + </message> + <message> + <source>Insert help data for filter section (%1 of %2)...</source> + <translation>필터 섹션 (%2 중 %1)에 도움말 데이터 추가...</translation> + </message> + <message> + <source>Documentation successfully generated.</source> + <translation>문서가 성공적으로 생성되었습니다.</translation> + </message> + <message> + <source>Some tables already exist!</source> + <translation>일부 테이블이 이미 존재합니다!</translation> + </message> + <message> + <source>Cannot create tables!</source> + <translation>테이블을 만들 수 없습니다!</translation> + </message> + <message> + <source>Cannot register virtual folder!</source> + <translation>가상 폴더를 등록할 수 없습니다!</translation> + </message> + <message> + <source>Insert files...</source> + <translation>파일 추가...</translation> + </message> + <message> + <source>The referenced file %1 must be inside or within a subdirectory of (%2). Skipping it.</source> + <translation>참조되는 파일 %1은(는) (%2) 그 자체 및 하위 디렉터리에 있어야 합니다. 건너뜁니다.</translation> + </message> + <message> + <source>The file %1 does not exist! Skipping it.</source> + <translation>파일 %1이(가) 존재하지 않습니다! 건너뜁니다.</translation> + </message> + <message> + <source>Cannot open file %1! Skipping it.</source> + <translation>파일 %1을(를) 열 수 없습니다! 건너뜁니다.</translation> + </message> + <message> + <source>The filter %1 is already registered!</source> + <translation>필터 %1이(가) 이미 등록되었습니다!</translation> + </message> + <message> + <source>Cannot register filter %1!</source> + <translation>필터 %1을(를) 등록할 수 없습니다!</translation> + </message> + <message> + <source>Insert indices...</source> + <translation>인덱스 추가...</translation> + </message> + <message> + <source>Insert contents...</source> + <translation>내용 추가...</translation> + </message> + <message> + <source>Cannot insert contents!</source> + <translation>내용을 추가할 수 없습니다!</translation> + </message> + <message> + <source>Cannot register contents!</source> + <translation>내용을 등록할 수 없습니다!</translation> + </message> + <message> + <source>File '%1' does not exist.</source> + <translation>파일 '%1'이(가) 존재하지 않습니다.</translation> + </message> + <message> + <source>File '%1' cannot be opened.</source> + <translation>파일 '%1'을(를) 열 수 없습니다.</translation> + </message> + <message> + <source>File '%1' contains an invalid link to file '%2'</source> + <translation>파일 '%1'이(가) 파일 '%2'(으)로 가는 올바르지 않은 링크를 포함합니다</translation> + </message> + <message> + <source>Invalid links in HTML files.</source> + <translation>HTML 파일에 잘못된 링크가 있습니다.</translation> + </message> +</context> +<context> + <name>QHelpProject</name> + <message> + <source>Unknown token.</source> + <translation>알 수 없는 토큰.</translation> + </message> + <message> + <source>Unknown token. Expected "QtHelpProject"!</source> + <translation>알 수 없는 토큰. "QtHelpProject"를 예상하였습니다!</translation> + </message> + <message> + <source>Error in line %1: %2</source> + <translation>%1줄에 오류가 있음: %2</translation> + </message> + <message> + <source>Virtual folder has invalid syntax.</source> + <translation>가상 폴더 문법이 잘못되었습니다.</translation> + </message> + <message> + <source>Namespace has invalid syntax.</source> + <translation>네임스페이스 문법이 잘못되었습니다.</translation> + </message> + <message> + <source>Missing namespace in QtHelpProject.</source> + <translation>QtHelpProject에 네임스페이스가 없습니다.</translation> + </message> + <message> + <source>Missing virtual folder in QtHelpProject</source> + <translation>QtHelpProject에 가상 폴더가 없습니다</translation> + </message> + <message> + <source>Missing attribute in keyword at line %1.</source> + <translation>%1줄에 있는 키워드에 속성이 없습니다.</translation> + </message> + <message> + <source>The input file %1 could not be opened!</source> + <translation>입력 파일 %1을(를) 열 수 없습니다!</translation> + </message> +</context> +<context> + <name>QHelpSearchQueryWidget</name> + <message> + <source>Search for:</source> + <translation>찾을 단어:</translation> + </message> + <message> + <source>Previous search</source> + <translation>이전 찾기</translation> + </message> + <message> + <source>Next search</source> + <translation>다음 찾기</translation> + </message> + <message> + <source>Search</source> + <translation>찾기</translation> + </message> + <message> + <source>Advanced search</source> + <translation>고급 검색</translation> + </message> + <message> + <source>words <B>similar</B> to:</source> + <translation>다음과 <B>비슷한</B> 단어:</translation> + </message> + <message> + <source><B>without</B> the words:</source> + <translation>다음 단어 <B>제외</B>:</translation> + </message> + <message> + <source>with <B>exact phrase</B>:</source> + <translation>다음 <B>정확한 구절</B>:</translation> + </message> + <message> + <source>with <B>all</B> of the words:</source> + <translation>다음 단어 <B>모두</B> 포함:</translation> + </message> + <message> + <source>with <B>at least one</B> of the words:</source> + <translation>다음 단어 중 <B>최소한 한 단어</B> 포함:</translation> + </message> +</context> +<context> + <name>QHelpSearchResultWidget</name> + <message numerus="yes"> + <source>%1 - %2 of %n Hits</source> + <translation> + <numerusform>검색 결과 %n개 중 %1 - %2</numerusform> + </translation> + </message> + <message> + <source>0 - 0 of 0 Hits</source> + <translation>검색 결과 0개 중 0 - 0</translation> + </message> +</context> +</TS> diff --git a/translations/qt_ko.ts b/translations/qt_ko.ts new file mode 100644 index 0000000..c7ab8e3 --- /dev/null +++ b/translations/qt_ko.ts @@ -0,0 +1,9941 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="ko_KR"> +<context> + <name>CloseButton</name> + <message> + <source>Close Tab</source> + <translation>탭 닫기</translation> + </message> +</context> +<context> + <name>FakeReply</name> + <message> + <source>Fake error !</source> + <translation>가짜 오류!</translation> + </message> + <message> + <source>Invalid URL</source> + <translation>잘못된 URL</translation> + </message> +</context> +<context> + <name>MAC_APPLICATION_MENU</name> + <message> + <source>Services</source> + <translation>서비스</translation> + </message> + <message> + <source>Hide %1</source> + <translation>%1 숨기기</translation> + </message> + <message> + <source>Hide Others</source> + <translation>다른 항목 숨기기</translation> + </message> + <message> + <source>Show All</source> + <translation>모두 보이기</translation> + </message> + <message> + <source>Preferences...</source> + <translation>설정...</translation> + </message> + <message> + <source>Quit %1</source> + <translation>%1 끝내기</translation> + </message> + <message> + <source>About %1</source> + <translation>%1 정보</translation> + </message> +</context> +<context> + <name>Phonon::</name> + <message> + <source>Notifications</source> + <translation>알림</translation> + </message> + <message> + <source>Music</source> + <translation>음악</translation> + </message> + <message> + <source>Video</source> + <translation>비디오</translation> + </message> + <message> + <source>Communication</source> + <translation>대화</translation> + </message> + <message> + <source>Games</source> + <translation>게임</translation> + </message> + <message> + <source>Accessibility</source> + <translation>접근성</translation> + </message> +</context> +<context> + <name>Phonon::AudioOutput</name> + <message> + <source><html>The audio playback device <b>%1</b> does not work.<br/>Falling back to <b>%2</b>.</html></source> + <translation><html>오디오 재생 장치 <b>%1</b>을(를) 사용할 수 없습니다.<br />장치 <b>%2</b>(으)로 전환합니다.</html></translation> + </message> + <message> + <source><html>Switching to the audio playback device <b>%1</b><br/>which just became available and has higher preference.</html></source> + <translation><html>지금 사용할 수 있게 된 우선 순위가 높은 오디오 장치<br /><b>%1</b>(으)로 전환합니다.</html></translation> + </message> + <message> + <source>Revert back to device '%1'</source> + <translation>장치 '%1'(으)로 전환함</translation> + </message> + <message> + <source><html>Switching to the audio playback device <b>%1</b><br/>which has higher preference or is specifically configured for this stream.</html></source> + <translation><html>이 스트림을 위하여 설정하였거나 우선 순위가 더 높은<br />오디오 재생 장치 <b>%1</b>(으)로 전환합니다.</html></translation> + </message> +</context> +<context> + <name>Phonon::Gstreamer::Backend</name> + <message> + <source>Warning: You do not seem to have the package gstreamer0.10-plugins-good installed. + Some video features have been disabled.</source> + <translation>경고: gstreamer0.10-plugins-good 패키지가 없는 것 같습니다. + 일부 비디오 기능을 사용할 수 없습니다.</translation> + </message> + <message> + <source>Warning: You do not seem to have the base GStreamer plugins installed. + All audio and video support has been disabled</source> + <translation>경고: GStreamer 기본 플러그인이 없는 것 같습니다. + 모든 오디오 및 비디오 지원을 사용할 수 없습니다</translation> + </message> +</context> +<context> + <name>Phonon::Gstreamer::MediaObject</name> + <message> + <source>Cannot start playback. +Check your GStreamer installation and make sure you +have libgstreamer-plugins-base installed.</source> + <translation type="obsolete">재생을 시작할 수 없습니다. + +Gstreamer 설치 상태를 확인해 보시고 +libgstreamer-plugins-base 패키지의 설치 상태를 확인해 보십시오.</translation> + </message> + <message> + <source>Cannot start playback. + +Check your GStreamer installation and make sure you +have libgstreamer-plugins-base installed.</source> + <translation>재생을 시작할 수 없습니다. + +Gstreamer 설치 상태를 확인해 보시고 +libgstreamer-plugins-base 패키지의 설치 상태를 확인해 보십시오.</translation> + </message> + <message> + <source>Missing codec helper script assistant.</source> + <translation>코덱 도우미 스크립트가 없습니다.</translation> + </message> + <message> + <source>Plugin codec installation failed for codec: %0</source> + <translation>다음 코덱을 위한 플러그인을 설치할 수 없음: %0</translation> + </message> + <message> + <source>A required codec is missing. You need to install the following codec(s) to play this content: %0</source> + <translation>필요한 코덱이 없습니다. 이 컨텐츠를 재생하려면 다음 코덱이 필요합니다: %0</translation> + </message> + <message> + <source>Could not open media source.</source> + <translation>미디어 원본을 열 수 없습니다.</translation> + </message> + <message> + <source>Invalid source type.</source> + <translation>원본 종류가 잘못되었습니다.</translation> + </message> + <message> + <source>Could not locate media source.</source> + <translation>미디어 원본을 찾을 수 없습니다.</translation> + </message> + <message> + <source>Could not open audio device. The device is already in use.</source> + <translation>오디오 장치를 열 수 없습니다. 장치가 사용 중입니다.</translation> + </message> + <message> + <source>Could not decode media source.</source> + <translation>미디어 원본을 디코딩할 수 없습니다.</translation> + </message> +</context> +<context> + <name>Phonon::MMF</name> + <message> + <source>Audio Output</source> + <translation>오디오 출력</translation> + </message> + <message> + <source>The audio output device</source> + <translation>오디오 출력 장치</translation> + </message> + <message> + <source>No error</source> + <translation>오류 없음</translation> + </message> + <message> + <source>Not found</source> + <translation>찾을 수 없음</translation> + </message> + <message> + <source>Out of memory</source> + <translation>메모리 부족</translation> + </message> + <message> + <source>Not supported</source> + <translation>지원하지 않음</translation> + </message> + <message> + <source>Overflow</source> + <translation>넘침</translation> + </message> + <message> + <source>Underflow</source> + <comment>Underline context menu item</comment> + <translation type="obsolete">비어 있음</translation> + </message> + <message> + <source>Already exists</source> + <comment>QSystemSemaphore</comment> + <translation type="obsolete">이미 존재함</translation> + </message> + <message> + <source>Underflow</source> + <translation>비어 있음</translation> + </message> + <message> + <source>Already exists</source> + <translation>이미 존재함</translation> + </message> + <message> + <source>Path not found</source> + <translation>경로를 찾을 수 없음</translation> + </message> + <message> + <source>In use</source> + <translation>사용 중</translation> + </message> + <message> + <source>Not ready</source> + <translation>준비되지 않았음</translation> + </message> + <message> + <source>Access denied</source> + <translation>접근이 거부됨</translation> + </message> + <message> + <source>Could not connect</source> + <translation>연결할 수 없음</translation> + </message> + <message> + <source>Disconnected</source> + <translation>연결 끊김</translation> + </message> + <message> + <source>Permission denied</source> + <translation>권한이 거부됨</translation> + </message> + <message> + <source>Insufficient bandwidth</source> + <translation>대역폭 부족</translation> + </message> + <message> + <source>Network unavailable</source> + <translation>네트워크를 사용할 수 없음</translation> + </message> + <message> + <source>Network communication error</source> + <translation>네트워크 통신 오류</translation> + </message> + <message> + <source>Streaming not supported</source> + <translation>스트리밍 지원하지 않음</translation> + </message> + <message> + <source>Server alert</source> + <translation>서버 알림</translation> + </message> + <message> + <source>Invalid protocol</source> + <translation>잘못된 프로토콜</translation> + </message> + <message> + <source>Invalid URL</source> + <translation>잘못된 URL</translation> + </message> + <message> + <source>Multicast error</source> + <translation>멀티캐스트 오류</translation> + </message> + <message> + <source>Proxy server error</source> + <translation>프록시 서버 오류</translation> + </message> + <message> + <source>Proxy server not supported</source> + <translation>프록시 서버 지원하지 않음</translation> + </message> + <message> + <source>Audio output error</source> + <translation>오디오 출력 오류</translation> + </message> + <message> + <source>Video output error</source> + <translation>비디오 출력 오류</translation> + </message> + <message> + <source>Decoder error</source> + <translation>디코더 오류</translation> + </message> + <message> + <source>Audio or video components could not be played</source> + <translation>오디오나 비디오 구성 요소를 재생할 수 없음</translation> + </message> + <message> + <source>DRM error</source> + <translation>DRM 오류</translation> + </message> + <message> + <source>Unknown error (%1)</source> + <translation>알 수 없는 오류 (%1)</translation> + </message> +</context> +<context> + <name>Phonon::MMF::AbstractMediaPlayer</name> + <message> + <source>Not ready to play</source> + <translation>재생이 준비되지 않았음</translation> + </message> + <message> + <source>Error opening file</source> + <translation>파일 열기 오류</translation> + </message> + <message> + <source>Error opening URL</source> + <translation>URL 열기 오류</translation> + </message> + <message> + <source>Error opening resource</source> + <translation>자원 열기 오류</translation> + </message> + <message> + <source>Error opening source: resource not opened</source> + <translation>원본을 열 수 없음: 자원이 열리지 않았음</translation> + </message> + <message> + <source>Setting volume failed</source> + <translation>음량 설정 실패</translation> + </message> + <message> + <source>Loading clip failed</source> + <translation>클립 불러오기 실패</translation> + </message> + <message> + <source>Playback complete</source> + <translation>재생 완료됨</translation> + </message> + <message> + <source>Download error</source> + <translation>다운로드 오류</translation> + </message> +</context> +<context> + <name>Phonon::MMF::AbstractVideoPlayer</name> + <message> + <source>Pause failed</source> + <translation>일시 정지 실패</translation> + </message> + <message> + <source>Seek failed</source> + <comment>QSystemSemaphore</comment> + <translation type="obsolete">검색 실패</translation> + </message> + <message> + <source>Seek failed</source> + <translation>검색 실패</translation> + </message> + <message> + <source>Getting position failed</source> + <translation>위치 가져오기 실패</translation> + </message> + <message> + <source>Opening clip failed</source> + <translation>클립 열기 실패</translation> + </message> +</context> +<context> + <name>Phonon::MMF::AudioEqualizer</name> + <message> + <source>%1 Hz</source> + <translation>%1 Hz</translation> + </message> +</context> +<context> + <name>Phonon::MMF::AudioPlayer</name> + <message> + <source>Getting position failed</source> + <translation>위치 가져오기 실패</translation> + </message> +</context> +<context> + <name>Phonon::MMF::DsaVideoPlayer</name> + <message> + <source>Video display error</source> + <translation>비디오 표시 오류</translation> + </message> +</context> +<context> + <name>Phonon::MMF::EffectFactory</name> + <message> + <source>Enabled</source> + <translation>사용 가능</translation> + </message> +</context> +<context> + <name>Phonon::MMF::EnvironmentalReverb</name> + <message> + <source>Decay HF ratio (%)</source> + <extracomment>DecayHFRatio: Ratio of high-frequency decay time to the value specified by DecayTime.</extracomment> + <translation>붕괴 HF 비율 (%)</translation> + </message> + <message> + <source>Decay time (ms)</source> + <extracomment>DecayTime: Time over which reverberation is diminished.</extracomment> + <translation>붕괴 시간 (ms)</translation> + </message> + <message> + <source>Density (%)</source> + <extracomment>Density Delay between first and subsequent reflections. Note that the S60 platform documentation does not make clear the distinction between this value and the Diffusion value.</extracomment> + <translation>밀도 (%)</translation> + </message> + <message> + <source>Diffusion (%)</source> + <extracomment>Diffusion: Delay between first and subsequent reflections. Note that the S60 platform documentation does not make clear the distinction between this value and the Density value.</extracomment> + <translation>혼합 (%)</translation> + </message> + <message> + <source>Reflections delay (ms)</source> + <extracomment>ReflectionsDelay: Amount of delay between the arrival the direct path from the source and the arrival of the first reflection.</extracomment> + <translation>반사 지연 시간 (ms)</translation> + </message> + <message> + <source>Reflections level (mB)</source> + <extracomment>ReflectionsLevel: Amplitude of reflections. This value is corrected by the RoomLevel to give the final reflection amplitude.</extracomment> + <translation>반사 레벨 (mB)</translation> + </message> + <message> + <source>Reverb delay (ms)</source> + <extracomment>ReverbDelay: Amount of time between arrival of the first reflection and start of the late reverberation.</extracomment> + <translation>리버브 지연 시간 (ms)</translation> + </message> + <message> + <source>Reverb level (mB)</source> + <extracomment>ReverbLevel Amplitude of reverberations. This value is corrected by the RoomLevel to give the final reverberation amplitude.</extracomment> + <translation>리버브 레벨 (mB)</translation> + </message> + <message> + <source>Room HF level</source> + <extracomment>RoomHFLevel: Amplitude of low-pass filter used to attenuate the high frequency component of reflected sound.</extracomment> + <translation>룸 HF 레벨</translation> + </message> + <message> + <source>Room level (mB)</source> + <extracomment>RoomLevel: Master volume control for all reflected sound.</extracomment> + <translation>룸 레벨 (mB)</translation> + </message> +</context> +<context> + <name>Phonon::MMF::MediaObject</name> + <message> + <source>Error opening source: type not supported</source> + <translation>원본 열기 오류: 형식을 지원하지 않음</translation> + </message> + <message> + <source>Error opening source: resource is compressed</source> + <translation>원본 열기 오류: 자원이 압축되어 있음</translation> + </message> + <message> + <source>Error opening source: resource not valid</source> + <translation>원본 열기 오류: 자원이 올바르지 않음</translation> + </message> + <message> + <source>Error opening source: media type could not be determined</source> + <translation>원본 열기 오류: 미디어 형식을 결정할 수 없음</translation> + </message> +</context> +<context> + <name>Phonon::MMF::StereoWidening</name> + <message> + <source>Level (%)</source> + <translation>레벨 (%)</translation> + </message> +</context> +<context> + <name>Phonon::MMF::SurfaceVideoPlayer</name> + <message> + <source>Video display error</source> + <translation>비디오 표시 오류</translation> + </message> +</context> +<context> + <name>Phonon::VolumeSlider</name> + <message> + <source>Volume: %1%</source> + <translation>음량: %1%</translation> + </message> + <message> + <source>Use this slider to adjust the volume. The leftmost position is 0%, the rightmost is %1%</source> + <translation>이 슬라이더를 사용하여 음량을 조정하십시오. 맨 왼쪽은 0%, 맨 오른쪽은 %1%입니다</translation> + </message> + <message> + <source>Muted</source> + <translation>음소거</translation> + </message> +</context> +<context> + <name>Q3Accel</name> + <message> + <source>%1, %2 not defined</source> + <translation>%1, %2이(가) 정의되지 않았습니다</translation> + </message> + <message> + <source>Ambiguous %1 not handled</source> + <translation>모호한 %1이(가) 처리되지 않았습니다</translation> + </message> +</context> +<context> + <name>Q3DataTable</name> + <message> + <source>True</source> + <translation>참</translation> + </message> + <message> + <source>False</source> + <translation>거짓</translation> + </message> + <message> + <source>Insert</source> + <translation>삽입</translation> + </message> + <message> + <source>Update</source> + <translation>업데이트</translation> + </message> + <message> + <source>Delete</source> + <translation>삭제</translation> + </message> +</context> +<context> + <name>Q3FileDialog</name> + <message> + <source>Copy or Move a File</source> + <translation>파일 복사 또는 이동</translation> + </message> + <message> + <source>Read: %1</source> + <translation>읽기: %1</translation> + </message> + <message> + <source>Write: %1</source> + <translation>쓰기: %1</translation> + </message> + <message> + <source>Cancel</source> + <translation>취소</translation> + </message> + <message> + <source>All Files (*)</source> + <translation>모든 파일 (*)</translation> + </message> + <message> + <source>Name</source> + <translation>이름</translation> + </message> + <message> + <source>Size</source> + <translation>크기</translation> + </message> + <message> + <source>Type</source> + <translation>형식</translation> + </message> + <message> + <source>Date</source> + <translation>날짜</translation> + </message> + <message> + <source>Attributes</source> + <translation>속성</translation> + </message> + <message> + <source>&OK</source> + <translation>확인(&O)</translation> + </message> + <message> + <source>Look &in:</source> + <translation>다음에서 찾기(&I):</translation> + </message> + <message> + <source>File &name:</source> + <translation>파일 이름(&N):</translation> + </message> + <message> + <source>File &type:</source> + <translation>파일 형식(&T):</translation> + </message> + <message> + <source>Back</source> + <translation>뒤로</translation> + </message> + <message> + <source>One directory up</source> + <translation>한 단계 위로</translation> + </message> + <message> + <source>Create New Folder</source> + <translation>새 폴더 만들기</translation> + </message> + <message> + <source>List View</source> + <translation>목록으로 보기</translation> + </message> + <message> + <source>Detail View</source> + <translation>자세히 보기</translation> + </message> + <message> + <source>Preview File Info</source> + <translation>파일 정보 미리 보기</translation> + </message> + <message> + <source>Preview File Contents</source> + <translation>파일 내용 미리 보기</translation> + </message> + <message> + <source>Read-write</source> + <translation>읽기-쓰기</translation> + </message> + <message> + <source>Read-only</source> + <translation>읽기 전용</translation> + </message> + <message> + <source>Write-only</source> + <translation>쓰기 전용</translation> + </message> + <message> + <source>Inaccessible</source> + <translation>접근할 수 없음</translation> + </message> + <message> + <source>Symlink to File</source> + <translation>파일로 향한 심볼릭 링크</translation> + </message> + <message> + <source>Symlink to Directory</source> + <translation>디렉터리로 향한 심볼릭 링크</translation> + </message> + <message> + <source>Symlink to Special</source> + <translation>특수 파일로 향한 심볼릭 링크</translation> + </message> + <message> + <source>File</source> + <translation>파일</translation> + </message> + <message> + <source>Dir</source> + <translation>디렉터리</translation> + </message> + <message> + <source>Special</source> + <translation>특수 파일</translation> + </message> + <message> + <source>Open</source> + <translation>열기</translation> + </message> + <message> + <source>Save As</source> + <translation>다른 이름으로 저장</translation> + </message> + <message> + <source>&Open</source> + <translation>열기(&O)</translation> + </message> + <message> + <source>&Save</source> + <translation>저장(&S)</translation> + </message> + <message> + <source>&Rename</source> + <translation>이름 바꾸기(&R)</translation> + </message> + <message> + <source>&Delete</source> + <translation>삭제(&D)</translation> + </message> + <message> + <source>R&eload</source> + <translation>새로 고침(&E)</translation> + </message> + <message> + <source>Sort by &Name</source> + <translation>이름으로 정렬(&N)</translation> + </message> + <message> + <source>Sort by &Size</source> + <translation>크기로 정렬(&S)</translation> + </message> + <message> + <source>Sort by &Date</source> + <translation>날짜로 정렬(&D)</translation> + </message> + <message> + <source>&Unsorted</source> + <translation>정렬하지 않음(&U)</translation> + </message> + <message> + <source>Sort</source> + <translation>정렬</translation> + </message> + <message> + <source>Show &hidden files</source> + <translation>숨김 파일 보이기(&H)</translation> + </message> + <message> + <source>the file</source> + <translation>파일</translation> + </message> + <message> + <source>the directory</source> + <translation>디렉터리</translation> + </message> + <message> + <source>the symlink</source> + <translation>심볼릭 링크</translation> + </message> + <message> + <source>Delete %1</source> + <translation>%1 삭제</translation> + </message> + <message> + <source><qt>Are you sure you wish to delete %1 "%2"?</qt></source> + <translation><qt>%1 "%2"을(를) 삭제하시겠습니까?</qt></translation> + </message> + <message> + <source>&Yes</source> + <translation>예(&Y)</translation> + </message> + <message> + <source>&No</source> + <translation>아니오(&N)</translation> + </message> + <message> + <source>New Folder 1</source> + <translation>새 폴더 1</translation> + </message> + <message> + <source>New Folder</source> + <translation>새 폴더</translation> + </message> + <message> + <source>New Folder %1</source> + <translation>새 폴더 %1</translation> + </message> + <message> + <source>Find Directory</source> + <translation>디렉터리 찾기</translation> + </message> + <message> + <source>Directories</source> + <translation>디렉터리</translation> + </message> + <message> + <source>Directory:</source> + <translation>디렉터리:</translation> + </message> + <message> + <source>Error</source> + <translation>오류</translation> + </message> + <message> + <source>%1 +File not found. +Check path and filename.</source> + <translation>%1 +파일을 찾을 수 없습니다. +경로와 파일 이름을 확인하십시오.</translation> + </message> + <message> + <source>All Files (*.*)</source> + <translation>모든 파일 (*.*)</translation> + </message> + <message> + <source>Open </source> + <translation>열기</translation> + </message> + <message> + <source>Select a Directory</source> + <translation>디렉터리 선택</translation> + </message> +</context> +<context> + <name>Q3LocalFs</name> + <message> + <source>Could not read directory +%1</source> + <translation>다음 디렉터리를 읽을 수 없음 +%1</translation> + </message> + <message> + <source>Could not create directory +%1</source> + <translation>다음 디렉터리를 만들 수 없음 +%1</translation> + </message> + <message> + <source>Could not remove file or directory +%1</source> + <translation>파일이나 디렉터리를 삭제할 수 없음 +%1</translation> + </message> + <message> + <source>Could not rename +%1 +to +%2</source> + <translation>%1 +의 이름을 +%2 +(으)로 바꿀 수 없음</translation> + </message> + <message> + <source>Could not open +%1</source> + <translation>다음을 열 수 없음 +%1</translation> + </message> + <message> + <source>Could not write +%1</source> + <translation>다음에 쓸 수 없음 +%1</translation> + </message> +</context> +<context> + <name>Q3MainWindow</name> + <message> + <source>Line up</source> + <translation>정렬하기</translation> + </message> + <message> + <source>Customize...</source> + <translation>사용자 정의...</translation> + </message> +</context> +<context> + <name>Q3NetworkProtocol</name> + <message> + <source>Operation stopped by the user</source> + <translation>사용자가 동작을 중지함</translation> + </message> +</context> +<context> + <name>Q3ProgressDialog</name> + <message> + <source>Cancel</source> + <translation>취소</translation> + </message> +</context> +<context> + <name>Q3TabDialog</name> + <message> + <source>OK</source> + <translation>확인</translation> + </message> + <message> + <source>Apply</source> + <translation>적용</translation> + </message> + <message> + <source>Help</source> + <translation>도움말</translation> + </message> + <message> + <source>Defaults</source> + <translation>기본값 복원</translation> + </message> + <message> + <source>Cancel</source> + <translation>취소</translation> + </message> +</context> +<context> + <name>Q3TextEdit</name> + <message> + <source>&Undo</source> + <translation>실행 취소(&U)</translation> + </message> + <message> + <source>&Redo</source> + <translation>다시 실행(&R)</translation> + </message> + <message> + <source>Cu&t</source> + <translation>잘라내기(&T)</translation> + </message> + <message> + <source>&Copy</source> + <translation>복사(&C)</translation> + </message> + <message> + <source>&Paste</source> + <translation>붙여넣기(&P)</translation> + </message> + <message> + <source>Clear</source> + <translation>지우기</translation> + </message> + <message> + <source>Select All</source> + <translation>모두 선택</translation> + </message> +</context> +<context> + <name>Q3TitleBar</name> + <message> + <source>System</source> + <translation>시스템</translation> + </message> + <message> + <source>Restore up</source> + <translation>복원</translation> + </message> + <message> + <source>Minimize</source> + <translation>최소화</translation> + </message> + <message> + <source>Restore down</source> + <translation>복원</translation> + </message> + <message> + <source>Maximize</source> + <translation>최대화</translation> + </message> + <message> + <source>Close</source> + <translation>닫기</translation> + </message> + <message> + <source>Contains commands to manipulate the window</source> + <translation>창을 조작하는 명령을 포함합니다</translation> + </message> + <message> + <source>Puts a minimized window back to normal</source> + <translation>최소화된 창을 되돌립니다</translation> + </message> + <message> + <source>Moves the window out of the way</source> + <translation>창을 숨깁니다</translation> + </message> + <message> + <source>Puts a maximized window back to normal</source> + <translation>최대화된 창을 되돌립니다</translation> + </message> + <message> + <source>Makes the window full screen</source> + <translation>창을 전체 화면으로 만듭니다</translation> + </message> + <message> + <source>Closes the window</source> + <translation>창을 닫습니다</translation> + </message> + <message> + <source>Displays the name of the window and contains controls to manipulate it</source> + <translation>창의 이름을 보여주고 조작하기 위한 컨트롤을 포함합니다</translation> + </message> +</context> +<context> + <name>Q3ToolBar</name> + <message> + <source>More...</source> + <translation>더 보기...</translation> + </message> +</context> +<context> + <name>Q3UrlOperator</name> + <message> + <source>The protocol `%1' is not supported</source> + <translation>프로토콜 `%1'은(는) 지원하지 않습니다</translation> + </message> + <message> + <source>The protocol `%1' does not support listing directories</source> + <translation>프로토콜 `%1'에서 디렉터리 목록을 볼 수 없습니다</translation> + </message> + <message> + <source>The protocol `%1' does not support creating new directories</source> + <translation>프로토콜 `%1'에서 새 디렉터리를 만들 수 없습니다</translation> + </message> + <message> + <source>The protocol `%1' does not support removing files or directories</source> + <translation>프로토콜 `%1'에서 파일이나 디렉터리를 삭제할 수 없습니다</translation> + </message> + <message> + <source>The protocol `%1' does not support renaming files or directories</source> + <translation>프로토콜 `%1'에서 파일이나 디렉터리의 이름을 바꿀 수 없습니다</translation> + </message> + <message> + <source>The protocol `%1' does not support getting files</source> + <translation>프로토콜 `%1'에서 파일을 가져올 수 없습니다</translation> + </message> + <message> + <source>The protocol `%1' does not support putting files</source> + <translation>프로토콜 `%1'에서 파일을 올릴 수 없습니다</translation> + </message> + <message> + <source>The protocol `%1' does not support copying or moving files or directories</source> + <translation>프로토콜 `%1'에서 파일이나 디렉터리를 복사하거나 이동할 수 없습니다</translation> + </message> + <message> + <source>(unknown)</source> + <translation>(알 수 없음)</translation> + </message> +</context> +<context> + <name>Q3Wizard</name> + <message> + <source>&Cancel</source> + <translation>취소(&C)</translation> + </message> + <message> + <source>< &Back</source> + <translation>< 이전(&B)</translation> + </message> + <message> + <source>&Next ></source> + <translation>다음 (&N) ></translation> + </message> + <message> + <source>&Finish</source> + <translation>완료(&F)</translation> + </message> + <message> + <source>&Help</source> + <translation>도움말(&H)</translation> + </message> +</context> +<context> + <name>QAbstractSocket</name> + <message> + <source>Socket operation timed out</source> + <translation>소켓 작업 시간 초과</translation> + </message> + <message> + <source>Operation on socket is not supported</source> + <translation>소켓 작업이 지원되지 않음</translation> + </message> + <message> + <source>Host not found</source> + <translation>호스트를 찾을 수 없음</translation> + </message> + <message> + <source>Connection refused</source> + <translation>연결이 거부됨</translation> + </message> + <message> + <source>Connection timed out</source> + <translation>연결 시간 초과됨</translation> + </message> + <message> + <source>Socket is not connected</source> + <translation>소켓이 연결되지 않음</translation> + </message> + <message> + <source>Network unreachable</source> + <translation>네트워크에 접근할 수 없음</translation> + </message> +</context> +<context> + <name>QAbstractSpinBox</name> + <message> + <source>&Select All</source> + <translation>모두 선택(&S)</translation> + </message> + <message> + <source>&Step up</source> + <translation>한 단계 위로(&S)</translation> + </message> + <message> + <source>Step &down</source> + <translation>한 단계 아래로(&D)</translation> + </message> +</context> +<context> + <name>QAccessibleButton</name> + <message> + <source>Press</source> + <translation>누름</translation> + </message> +</context> +<context> + <name>QApplication</name> + <message> + <source>Activate</source> + <translation>활성화</translation> + </message> + <message> + <source>Activates the program's main window</source> + <translation>프로그램의 주 창 활성화</translation> + </message> + <message> + <source>Executable '%1' requires Qt %2, found Qt %3.</source> + <translation>실행 파일 '%1'은(는) Qt %2을(를) 필요로 하지만 현재 Qt %3이(가) 설치되어 있습니다.</translation> + </message> + <message> + <source>Incompatible Qt Library Error</source> + <translation>Qt 라이브러리 호환성 오류</translation> + </message> + <message> + <source>QT_LAYOUT_DIRECTION</source> + <comment>Translate this string to the string 'LTR' in left-to-right languages or to 'RTL' in right-to-left languages (such as Hebrew and Arabic) to get proper widget layout.</comment> + <translation>LTR</translation> + </message> +</context> +<context> + <name>QAxSelect</name> + <message> + <source>Select ActiveX Control</source> + <translation>ActiveX 컨트롤 선택</translation> + </message> + <message> + <source>OK</source> + <translation>확인</translation> + </message> + <message> + <source>&Cancel</source> + <translation>취소(&C)</translation> + </message> + <message> + <source>COM &Object:</source> + <translation>COM 객체(&O):</translation> + </message> +</context> +<context> + <name>QCheckBox</name> + <message> + <source>Uncheck</source> + <translation>선택 해제</translation> + </message> + <message> + <source>Check</source> + <translation>선택</translation> + </message> + <message> + <source>Toggle</source> + <translation>선택 반전</translation> + </message> +</context> +<context> + <name>QColorDialog</name> + <message> + <source>Hu&e:</source> + <translation>색상(&E):</translation> + </message> + <message> + <source>&Sat:</source> + <translation>채도(&S):</translation> + </message> + <message> + <source>&Val:</source> + <translation>휘도(&V):</translation> + </message> + <message> + <source>&Red:</source> + <translation>빨강(&R):</translation> + </message> + <message> + <source>&Green:</source> + <translation>녹색(&G):</translation> + </message> + <message> + <source>Bl&ue:</source> + <translation>파랑(&U):</translation> + </message> + <message> + <source>A&lpha channel:</source> + <translation>투명도(&L):</translation> + </message> + <message> + <source>Select Color</source> + <translation>색 선택</translation> + </message> + <message> + <source>&Basic colors</source> + <translation>기본 색상(&B)</translation> + </message> + <message> + <source>&Custom colors</source> + <translation>사용자 정의 색상(&C)</translation> + </message> + <message> + <source>&Add to Custom Colors</source> + <translation>사용자 정의 색상에 추가(&A)</translation> + </message> +</context> +<context> + <name>QComboBox</name> + <message> + <source>False</source> + <translation>거짓</translation> + </message> + <message> + <source>True</source> + <translation>참</translation> + </message> + <message> + <source>Open</source> + <translation>열기</translation> + </message> + <message> + <source>Close</source> + <translation>닫기</translation> + </message> +</context> +<context> + <name>QCoreApplication</name> + <message> + <source>%1: already exists</source> + <comment>QSystemSemaphore</comment> + <translation>%1: 이미 존재함</translation> + </message> + <message> + <source>%1: does not exist</source> + <comment>QSystemSemaphore</comment> + <translation>%1: 존재하지 않음</translation> + </message> + <message> + <source>%1: out of resources</source> + <comment>QSystemSemaphore</comment> + <translation>%1: 자원 부족</translation> + </message> + <message> + <source>%1: unknown error %2</source> + <comment>QSystemSemaphore</comment> + <translation>%1: 알 수 없는 오류 %2</translation> + </message> + <message> + <source>%1: key is empty</source> + <comment>QSystemSemaphore</comment> + <translation>%1: 키가 없음</translation> + </message> + <message> + <source>%1: unable to make key</source> + <comment>QSystemSemaphore</comment> + <translation>%1: 키를 만들 수 없음</translation> + </message> + <message> + <source>%1: ftok failed</source> + <comment>QSystemSemaphore</comment> + <translation>%1: ftok 실패</translation> + </message> +</context> +<context> + <name>QDB2Driver</name> + <message> + <source>Unable to connect</source> + <translation>연결할 수 없음</translation> + </message> + <message> + <source>Unable to commit transaction</source> + <translation>트랜잭션을 커밋할 수 없음</translation> + </message> + <message> + <source>Unable to rollback transaction</source> + <translation>트랜잭션을 되돌릴 수 없음</translation> + </message> + <message> + <source>Unable to set autocommit</source> + <translation>자동 커밋을 설정할 수 없음</translation> + </message> +</context> +<context> + <name>QDB2Result</name> + <message> + <source>Unable to execute statement</source> + <translation>구문을 실행할 수 없음</translation> + </message> + <message> + <source>Unable to prepare statement</source> + <translation>구문을 준비할 수 없음</translation> + </message> + <message> + <source>Unable to bind variable</source> + <translation>변수를 바인딩할 수 없음</translation> + </message> + <message> + <source>Unable to fetch record %1</source> + <translation>레코드 %1을(를) 가져올 수 없음</translation> + </message> + <message> + <source>Unable to fetch next</source> + <translation>다음 항목을 가져올 수 없음</translation> + </message> + <message> + <source>Unable to fetch first</source> + <translation>이전 항목을 가져올 수 없음</translation> + </message> +</context> +<context> + <name>QDateTimeEdit</name> + <message> + <source>AM</source> + <translation>오전</translation> + </message> + <message> + <source>am</source> + <translation>오전</translation> + </message> + <message> + <source>PM</source> + <translation>오후</translation> + </message> + <message> + <source>pm</source> + <translation>오후</translation> + </message> +</context> +<context> + <name>QDeclarativeAbstractAnimation</name> + <message> + <source>Cannot animate non-existent property "%1"</source> + <translation>존재하지 않는 속성 "%1"에 애니메이션을 설정할 수 없음</translation> + </message> + <message> + <source>Cannot animate read-only property "%1"</source> + <translation>읽기 전용 속성 "%1"에 애니메이션을 설정할 수 없음</translation> + </message> + <message> + <source>Animation is an abstract class</source> + <translation>애니메이션이 추상 클래스임</translation> + </message> +</context> +<context> + <name>QDeclarativeAnchorAnimation</name> + <message> + <source>Cannot set a duration of < 0</source> + <translation>0보다 작은 지속 시간을 설정할 수 없음</translation> + </message> +</context> +<context> + <name>QDeclarativeAnchors</name> + <message> + <source>Possible anchor loop detected on fill.</source> + <translation>fill에서 앵커 반복 감지됨.</translation> + </message> + <message> + <source>Possible anchor loop detected on centerIn.</source> + <translation>centerIn에서 앵커 반복 감지됨.</translation> + </message> + <message> + <source>Cannot anchor to an item that isn't a parent or sibling.</source> + <translation>부모나 자식이 아닌 항목에 앵커를 설정할 수 없음.</translation> + </message> + <message> + <source>Possible anchor loop detected on vertical anchor.</source> + <translation>수직 앵커에서 앵커 반복 감지됨.</translation> + </message> + <message> + <source>Possible anchor loop detected on horizontal anchor.</source> + <translation>수평 앵커에서 앵커 반복 감지됨.</translation> + </message> + <message> + <source>Cannot specify left, right, and hcenter anchors.</source> + <translation>left, right, hcenter 앵커를 지정할 수 없음.</translation> + </message> + <message> + <source>Cannot anchor to a null item.</source> + <translation>빈 항목에 앵커를 설정할 수 없음.</translation> + </message> + <message> + <source>Cannot anchor a horizontal edge to a vertical edge.</source> + <translation>수평선을 수직선에 앵커로 설정할 수 없음.</translation> + </message> + <message> + <source>Cannot anchor item to self.</source> + <translation>자기 자신에 앵커를 설정할 수 없음.</translation> + </message> + <message> + <source>Cannot specify top, bottom, and vcenter anchors.</source> + <translation>top, bottom, vcenter 앵커를 설정할 수 없음.</translation> + </message> + <message> + <source>Baseline anchor cannot be used in conjunction with top, bottom, or vcenter anchors.</source> + <translation>베이스라인 앵커를 top, bottom, vcenter 앵커와 같이 사용할 수 없음.</translation> + </message> + <message> + <source>Cannot anchor a vertical edge to a horizontal edge.</source> + <translation>수직선을 수평선에 앵커로 설정할 수 없음.</translation> + </message> +</context> +<context> + <name>QDeclarativeAnimatedImage</name> + <message> + <source>Qt was built without support for QMovie</source> + <translation>Qt 빌드에 QMovie 지원이 빠졌음</translation> + </message> +</context> +<context> + <name>QDeclarativeBehavior</name> + <message> + <source>Cannot change the animation assigned to a Behavior.</source> + <translation>Behavior에 할당된 애니메이션을 변경할 수 없음.</translation> + </message> +</context> +<context> + <name>QDeclarativeBinding</name> + <message> + <source>Binding loop detected for property "%1"</source> + <translation>속성 "%1"에서 바인딩 반복이 감지됨</translation> + </message> +</context> +<context> + <name>QDeclarativeCompiledBindings</name> + <message> + <source>Binding loop detected for property "%1"</source> + <translation>속성 "%1"에서 바인딩 반복이 감지됨</translation> + </message> +</context> +<context> + <name>QDeclarativeCompiler</name> + <message> + <source>Invalid property assignment: "%1" is a read-only property</source> + <translation>잘못된 속성 대입: "%1"은(는) 읽기 전용 속성</translation> + </message> + <message> + <source>Invalid property assignment: unknown enumeration</source> + <translation>잘못된 속성 대입: 알 수 없는 열거형</translation> + </message> + <message> + <source>Invalid property assignment: string expected</source> + <translation>잘못된 속성 대입: 문자열이 필요함</translation> + </message> + <message> + <source>Invalid property assignment: url expected</source> + <translation>잘못된 속성 대입: url이 필요함</translation> + </message> + <message> + <source>Invalid property assignment: unsigned int expected</source> + <translation>잘못된 속성 대입: 부호 없는 int가 필요함</translation> + </message> + <message> + <source>Invalid property assignment: int expected</source> + <translation>잘못된 속성 대입: int가 필요함</translation> + </message> + <message> + <source>Invalid property assignment: number expected</source> + <translation>잘못된 속성 대입: 숫자가 필요함</translation> + </message> + <message> + <source>Invalid property assignment: color expected</source> + <translation>잘못된 속성 대입: 색상이 필요함</translation> + </message> + <message> + <source>Invalid property assignment: date expected</source> + <translation>잘못된 속성 대입: 날짜가 필요함</translation> + </message> + <message> + <source>Invalid property assignment: time expected</source> + <translation>잘못된 속성 대입: 시간이 필요함</translation> + </message> + <message> + <source>Invalid property assignment: datetime expected</source> + <translation>잘못된 속성 대입: 날짜와 시간이 필요함</translation> + </message> + <message> + <source>Invalid property assignment: point expected</source> + <translation>잘못된 속성 대입: 점이 필요함</translation> + </message> + <message> + <source>Invalid property assignment: size expected</source> + <translation>잘못된 속성 대입: 크기가 필요함</translation> + </message> + <message> + <source>Invalid property assignment: rect expected</source> + <translation>잘못된 속성 대입: 사각형이 필요함</translation> + </message> + <message> + <source>Invalid property assignment: boolean expected</source> + <translation>잘못된 속성 대입: 참/거짓이 필요함</translation> + </message> + <message> + <source>Invalid property assignment: 3D vector expected</source> + <translation>잘못된 속성 대입: 3차원 벡터가 필요함</translation> + </message> + <message> + <source>Invalid property assignment: unsupported type "%1"</source> + <translation>잘못된 속성 대입: 지원하지 않는 형식 "%1"</translation> + </message> + <message> + <source>Element is not creatable.</source> + <translation>원소를 만들 수 없습니다.</translation> + </message> + <message> + <source>Component elements may not contain properties other than id</source> + <translation>Component 원소는 id 이외의 다른 속성을 포함할 수 없음</translation> + </message> + <message> + <source>Invalid component id specification</source> + <translation>잘못된 컴포넌트 id 지정</translation> + </message> + <message> + <source>id is not unique</source> + <translation>중복되는 id가 있음</translation> + </message> + <message> + <source>Invalid component body specification</source> + <translation>잘못된 컴포넌트 body 지정</translation> + </message> + <message> + <source>Component objects cannot declare new properties.</source> + <translation>컴포넌트 개체에서는 새로운 속성을 정의할 수 없습니다.</translation> + </message> + <message> + <source>Component objects cannot declare new signals.</source> + <translation>컴포넌트 개체에서는 새로운 시그널을 정의할 수 없습니다.</translation> + </message> + <message> + <source>Component objects cannot declare new functions.</source> + <translation>컴포넌트 개체에서는 새로운 함수를 정의할 수 없습니다.</translation> + </message> + <message> + <source>Cannot create empty component specification</source> + <translation>비어 있는 컴포넌트 정의를 만들 수 없음</translation> + </message> + <message> + <source>Incorrectly specified signal assignment</source> + <translation>잘못 지정된 시그널 할당</translation> + </message> + <message> + <source>Cannot assign a value to a signal (expecting a script to be run)</source> + <translation>값을 시그널에 지정할 수 없음 (스크립트가 실행될 것을 예상함)</translation> + </message> + <message> + <source>Empty signal assignment</source> + <translation>빈 시그널 할당</translation> + </message> + <message> + <source>Empty property assignment</source> + <translation>빈 속성 할당</translation> + </message> + <message> + <source>Attached properties cannot be used here</source> + <translation>첨부된 속성을 사용할 수 없음</translation> + </message> + <message> + <source>Non-existent attached object</source> + <translation>존재하지 않는 첨부된 개체</translation> + </message> + <message> + <source>Invalid attached object assignment</source> + <translation>잘못된 첨부된 개체 할당</translation> + </message> + <message> + <source>Cannot assign to non-existent default property</source> + <translation>존재하지 않는 기본 속성에 할당할 수 없음</translation> + </message> + <message> + <source>Cannot assign to non-existent property "%1"</source> + <translation>존재하지 않는 속성 "%1"에 할당할 수 없음</translation> + </message> + <message> + <source>Invalid use of namespace</source> + <translation>잘못된 네임스페이스 사용</translation> + </message> + <message> + <source>Not an attached property name</source> + <translation>첨부된 속성 이름이 아님</translation> + </message> + <message> + <source>Invalid use of id property</source> + <translation>id 속성을 잘못 사용함</translation> + </message> + <message> + <source>Property has already been assigned a value</source> + <translation>속성에 이미 값이 할당됨</translation> + </message> + <message> + <source>Invalid grouped property access</source> + <translation>잘못된 그룹 속성 접근</translation> + </message> + <message> + <source>Cannot assign a value directly to a grouped property</source> + <translation>그룹 속성에 값을 직접 할당할 수 없음</translation> + </message> + <message> + <source>Invalid property use</source> + <translation>속성을 잘못 사용함</translation> + </message> + <message> + <source>Property assignment expected</source> + <translation>속성 할당이 필요함</translation> + </message> + <message> + <source>Single property assignment expected</source> + <translation>단일 속성 할당이 필요함</translation> + </message> + <message> + <source>Unexpected object assignment</source> + <translation>예상하지 못한 개체 할당</translation> + </message> + <message> + <source>Cannot assign object to list</source> + <translation>개체를 목록에 대입할 수 없음</translation> + </message> + <message> + <source>Can only assign one binding to lists</source> + <translation>목록에는 한 바인딩만 할당할 수 있음</translation> + </message> + <message> + <source>Cannot assign primitives to lists</source> + <translation>원시 타입을 목록에 할당할 수 없음</translation> + </message> + <message> + <source>Cannot assign multiple values to a script property</source> + <translation>스크립트 속성에 다중 값을 할당할 수 없음</translation> + </message> + <message> + <source>Invalid property assignment: script expected</source> + <translation>잘못된 속성 대입: script가 필요함</translation> + </message> + <message> + <source>Cannot assign multiple values to a singular property</source> + <translation>단일 속성에 여러 값을 할당할 수 없음</translation> + </message> + <message> + <source>Cannot assign object to property</source> + <translation>개체를 속성에 할당할 수 없음</translation> + </message> + <message> + <source>"%1" cannot operate on "%2"</source> + <translation>"%1"은(는) "%2"에서 작동할 수 없음</translation> + </message> + <message> + <source>Duplicate default property</source> + <translation>중복된 기본 속성</translation> + </message> + <message> + <source>Duplicate property name</source> + <translation>중복된 속성 이름</translation> + </message> + <message> + <source>Property names cannot begin with an upper case letter</source> + <translation>속성 이름은 대문자로 시작할 수 없음</translation> + </message> + <message> + <source>Illegal property name</source> + <translation>잘못된 속성 이름</translation> + </message> + <message> + <source>Duplicate signal name</source> + <translation>중복된 시그널 이름</translation> + </message> + <message> + <source>Signal names cannot begin with an upper case letter</source> + <translation>시그널 이름은 대문자로 시작할 수 없음</translation> + </message> + <message> + <source>Illegal signal name</source> + <translation>잘못된 시그널 이름</translation> + </message> + <message> + <source>Duplicate method name</source> + <translation>중복된 메서드 이름</translation> + </message> + <message> + <source>Method names cannot begin with an upper case letter</source> + <translation>메서드 이름은 대문자로 시작할 수 없음</translation> + </message> + <message> + <source>Illegal method name</source> + <translation>잘못된 메서드 이름</translation> + </message> + <message> + <source>Property value set multiple times</source> + <translation>속성 값이 여러 번 설정됨</translation> + </message> + <message> + <source>Invalid property nesting</source> + <translation>잘못된 속성 중첩</translation> + </message> + <message> + <source>Cannot override FINAL property</source> + <translation>FINAL 속성을 재정의할 수 없음</translation> + </message> + <message> + <source>Invalid property type</source> + <translation>잘못된 속성 형식</translation> + </message> + <message> + <source>Invalid empty ID</source> + <translation>잘못된 빈 ID</translation> + </message> + <message> + <source>IDs cannot start with an uppercase letter</source> + <translation>ID는 대문자로 시작할 수 없음</translation> + </message> + <message> + <source>IDs must start with a letter or underscore</source> + <translation>ID는 글자나 밑줄로 시작해야 함</translation> + </message> + <message> + <source>IDs must contain only letters, numbers, and underscores</source> + <translation>ID는 글자, 숫자, 밑줄만 포함해야 함</translation> + </message> + <message> + <source>ID illegally masks global JavaScript property</source> + <translation>ID가 전역 자바스크립트 속성을 가림</translation> + </message> + <message> + <source>No property alias location</source> + <translation>속성 별명 위치가 지정되지 않음</translation> + </message> + <message> + <source>Invalid alias location</source> + <translation>잘못된 별명 위치</translation> + </message> + <message> + <source>Invalid alias reference. An alias reference must be specified as <id>, <id>.<property> or <id>.<value property>.<property></source> + <translation>잘못된 별명 참조. 별명 참조는 <id>, <id>.<property> 또는 <id>.<value property>.<property>여야 함</translation> + </message> + <message> + <source>Invalid alias reference. Unable to find id "%1"</source> + <translation>잘못된 별명 참조. id "%1"을(를) 찾을 수 없음</translation> + </message> + <message> + <source>Alias property exceeds alias bounds</source> + <translation>별명 속성이 경계를 벗어남</translation> + </message> +</context> +<context> + <name>QDeclarativeComponent</name> + <message> + <source>Invalid empty URL</source> + <translation>잘못된 빈 URL</translation> + </message> +</context> +<context> + <name>QDeclarativeConnections</name> + <message> + <source>Cannot assign to non-existent property "%1"</source> + <translation>존재하지 않는 속성 "%1"에 할당할 수 없음</translation> + </message> + <message> + <source>Connections: nested objects not allowed</source> + <translation>연결: 중첩된 개체를 사용할 수 없음</translation> + </message> + <message> + <source>Connections: syntax error</source> + <translation>연결: 문법 오류</translation> + </message> + <message> + <source>Connections: script expected</source> + <translation>연결: 스크립트가 필요함</translation> + </message> +</context> +<context> + <name>QDeclarativeEngine</name> + <message> + <source>executeSql called outside transaction()</source> + <translation>transaction() 밖에서 executeSql이 호출됨</translation> + </message> + <message> + <source>Read-only Transaction</source> + <translation>읽기 전용 트랜잭션</translation> + </message> + <message> + <source>Version mismatch: expected %1, found %2</source> + <translation>버전 불일치: 사용 중인 버전 %2, 필요한 버전 %1</translation> + </message> + <message> + <source>SQL transaction failed</source> + <translation>SQL 트랜잭션 실패</translation> + </message> + <message> + <source>transaction: missing callback</source> + <translation>트랜잭션: 콜백이 없음</translation> + </message> + <message> + <source>SQL: database version mismatch</source> + <translation>SQL: 데이터베이스 버전 불일치</translation> + </message> +</context> +<context> + <name>QDeclarativeFlipable</name> + <message> + <source>front is a write-once property</source> + <translation>front는 한 번만 쓸 수 있는 속성임</translation> + </message> + <message> + <source>back is a write-once property</source> + <translation>back은 한 번만 쓸 수 있는 속성임</translation> + </message> +</context> +<context> + <name>QDeclarativeImportDatabase</name> + <message> + <source>cannot load module "%1": File name case mismatch for "%2"</source> + <translation>모듈 "%1"을(를) 불러올 수 없음: "%2"와(과) 파일 이름 대소문자가 일치하지 않음</translation> + </message> + <message> + <source>module "%1" definition "%2" not readable</source> + <translation>모듈 "%1"의 정의 "%2"을(를) 읽을 수 없음</translation> + </message> + <message> + <source>plugin cannot be loaded for module "%1": %2</source> + <translation>모듈 "%1"의 플러그인을 불러올 수 없음: %2</translation> + </message> + <message> + <source>module "%1" plugin "%2" not found</source> + <translation>모듈 "%1"의 플러그인 "%2"을(를) 찾을 수 없음</translation> + </message> + <message> + <source>module "%1" version %2.%3 is not installed</source> + <translation>모듈 "%1"의 버전 %2.%3이(가) 설치되지 않았음</translation> + </message> + <message> + <source>module "%1" is not installed</source> + <translation>모듈 "%1"이(가) 설치되지 않았음</translation> + </message> + <message> + <source>"%1": no such directory</source> + <translation>"%1": 그러한 디렉터리가 없음</translation> + </message> + <message> + <source>import "%1" has no qmldir and no namespace</source> + <translation>import "%1"에 qmldir과 네임스페이스가 없음</translation> + </message> + <message> + <source>- %1 is not a namespace</source> + <translation>- %1이(가) 네임스페이스가 아님</translation> + </message> + <message> + <source>- nested namespaces not allowed</source> + <translation>- 중첩된 네임스페이스를 사용할 수 없음</translation> + </message> + <message> + <source>local directory</source> + <translation>로컬 디렉터리</translation> + </message> + <message> + <source>is ambiguous. Found in %1 and in %2</source> + <translation>이(가) 모호합니다. %1와(과) %2에서 찾았습니다</translation> + </message> + <message> + <source>is ambiguous. Found in %1 in version %2.%3 and %4.%5</source> + <translation>이(가) 모호합니다. %1에서 버전 %2.%3, %4.%5을(를) 찾았습니다</translation> + </message> + <message> + <source>is instantiated recursively</source> + <translation>이(가) 재귀적으로 인스턴스화되었습니다</translation> + </message> + <message> + <source>is not a type</source> + <translation>이(가) 형식이 아닙니다</translation> + </message> + <message> + <source>File name case mismatch for "%2"</source> + <translation>파일 이름의 대소문자가 "%2"와(과) 일치하지 않습니다</translation> + </message> +</context> +<context> + <name>QDeclarativeKeyNavigationAttached</name> + <message> + <source>KeyNavigation is only available via attached properties</source> + <translation>KeyNavigation은 연결된 속성에만 사용할 수 있음</translation> + </message> +</context> +<context> + <name>QDeclarativeKeysAttached</name> + <message> + <source>Keys is only available via attached properties</source> + <translation>Keys는 연결된 속성에만 사용할 수 있음</translation> + </message> +</context> +<context> + <name>QDeclarativeListModel</name> + <message> + <source>remove: index %1 out of range</source> + <translation>remove: 인덱스 %1이(가) 범위를 벗어남</translation> + </message> + <message> + <source>insert: value is not an object</source> + <translation>insert: 값이 개체가 아님</translation> + </message> + <message> + <source>insert: index %1 out of range</source> + <translation>insert: 인덱스 %1이(가) 범위를 벗어남</translation> + </message> + <message> + <source>move: out of range</source> + <translation>move: 범위를 벗어남</translation> + </message> + <message> + <source>append: value is not an object</source> + <translation>append: 값이 개체가 아님</translation> + </message> + <message> + <source>set: value is not an object</source> + <translation>set: 값이 개체가 아님</translation> + </message> + <message> + <source>set: index %1 out of range</source> + <translation>set: 인덱스 %1이(가) 범위를 벗어남</translation> + </message> + <message> + <source>ListElement: cannot contain nested elements</source> + <translation>ListElement: 중첩된 원소를 포함할 수 없음</translation> + </message> + <message> + <source>ListElement: cannot use reserved "id" property</source> + <translation>ListElement: 예약된 "id" 속성을 사용할 수 없음</translation> + </message> + <message> + <source>ListElement: cannot use script for property value</source> + <translation>ListElement: 속성 값으로 스크립트를 사용할 수 없음</translation> + </message> + <message> + <source>ListModel: undefined property '%1'</source> + <translation>ListModel: 정의되지 않은 속성 '%1'</translation> + </message> +</context> +<context> + <name>QDeclarativeLoader</name> + <message> + <source>Loader does not support loading non-visual elements.</source> + <translation>로더에서 비 시각적 구성 요소를 불러올 수 없습니다.</translation> + </message> +</context> +<context> + <name>QDeclarativeParentAnimation</name> + <message> + <source>Unable to preserve appearance under complex transform</source> + <translation>복합 변형 이후 모양을 보존할 수 없음</translation> + </message> + <message> + <source>Unable to preserve appearance under non-uniform scale</source> + <translation>불균일 크기 조정 이후 모양을 보존할 수 없음</translation> + </message> + <message> + <source>Unable to preserve appearance under scale of 0</source> + <translation>0 이하로 크기를 조정했을 때 모양을 보존할 수 없음</translation> + </message> +</context> +<context> + <name>QDeclarativeParentChange</name> + <message> + <source>Unable to preserve appearance under complex transform</source> + <translation>복합 변형 이후 모양을 보존할 수 없음</translation> + </message> + <message> + <source>Unable to preserve appearance under non-uniform scale</source> + <translation>불균일 크기 조정 이후 모양을 보존할 수 없음</translation> + </message> + <message> + <source>Unable to preserve appearance under scale of 0</source> + <translation>0 이하로 크기를 조정했을 때 모양을 보존할 수 없음</translation> + </message> +</context> +<context> + <name>QDeclarativeParser</name> + <message> + <source>Illegal unicode escape sequence</source> + <translation>잘못된 유니코드 탈출 시퀀스</translation> + </message> + <message> + <source>Illegal character</source> + <translation>잘못된 글자</translation> + </message> + <message> + <source>Unclosed string at end of line</source> + <translation>줄 끝에서 닫히지 않은 문자열</translation> + </message> + <message> + <source>Illegal escape squence</source> + <translation>잘못된 탈출 시퀀스</translation> + </message> + <message> + <source>Unclosed comment at end of file</source> + <translation>줄 끝에서 닫히지 않은 주석</translation> + </message> + <message> + <source>Illegal syntax for exponential number</source> + <translation>잘못된 지수 문법</translation> + </message> + <message> + <source>Identifier cannot start with numeric literal</source> + <translation>식별자는 숫자로 시작할 수 없음</translation> + </message> + <message> + <source>Unterminated regular expression literal</source> + <translation>끝나지 않은 정규 표현식 리터럴</translation> + </message> + <message> + <source>Invalid regular expression flag '%0'</source> + <translation>잘못된 정규 표현식 플래그 '%0'</translation> + </message> + <message> + <source>Unterminated regular expression backslash sequence</source> + <translation>종료되지 않은 정규 표현식 백슬래시 시퀀스</translation> + </message> + <message> + <source>Unterminated regular expression class</source> + <translation>종료되지 않은 정규 표현식 클래스</translation> + </message> + <message> + <source>Syntax error</source> + <translation>구문 오류</translation> + </message> + <message> + <source>Unexpected token `%1'</source> + <translation>예상하지 못한 토큰 '%1'</translation> + </message> + <message> + <source>Expected token `%1'</source> + <translation>토큰 '%1'이(가) 필요함</translation> + </message> + <message> + <source>Property value set multiple times</source> + <translation>속성 값이 여러 번 설정됨</translation> + </message> + <message> + <source>Expected type name</source> + <translation>형식 이름이 필요함</translation> + </message> + <message> + <source>Invalid import qualifier ID</source> + <translation>잘못된 가져오기 식별자 ID</translation> + </message> + <message> + <source>Reserved name "Qt" cannot be used as an qualifier</source> + <translation>예약됨 이름 "Qt"는 지정자 이름으로 사용할 수 없음</translation> + </message> + <message> + <source>Script import qualifiers must be unique.</source> + <translation>스크립트 가져오기 지정자는 고유해야 합니다.</translation> + </message> + <message> + <source>Script import requires a qualifier</source> + <translation>스크립트를 가져오려면 지정자가 필요함</translation> + </message> + <message> + <source>Library import requires a version</source> + <translation>라이브러리를 가져오려면 버전이 필요함</translation> + </message> + <message> + <source>Expected parameter type</source> + <translation>인자 type이 필요함</translation> + </message> + <message> + <source>Invalid property type modifier</source> + <translation>잘못된 속성 type 수정자</translation> + </message> + <message> + <source>Unexpected property type modifier</source> + <translation>예상하지 못한 속성 type 수정자</translation> + </message> + <message> + <source>Expected property type</source> + <translation>속성 type이 필요함</translation> + </message> + <message> + <source>Readonly not yet supported</source> + <translation>읽기 전용이 지원되지 않음</translation> + </message> + <message> + <source>JavaScript declaration outside Script element</source> + <translation>Script 원소 밖에서 자바스크립트가 선언됨</translation> + </message> +</context> +<context> + <name>QDeclarativePauseAnimation</name> + <message> + <source>Cannot set a duration of < 0</source> + <translation>0보다 작은 지속 시간을 설정할 수 없음</translation> + </message> +</context> +<context> + <name>QDeclarativePixmap</name> + <message> + <source>Error decoding: %1: %2</source> + <translation>%1 디코딩 중 오류 발생: %2</translation> + </message> + <message> + <source>Failed to get image from provider: %1</source> + <translation>공급자에서 그림을 가져올 수 없음: %1</translation> + </message> + <message> + <source>Cannot open: %1</source> + <translation>다음을 열 수 없음: %1</translation> + </message> +</context> +<context> + <name>QDeclarativePropertyAnimation</name> + <message> + <source>Cannot set a duration of < 0</source> + <translation>0보다 작은 지속 시간을 설정할 수 없음</translation> + </message> +</context> +<context> + <name>QDeclarativePropertyChanges</name> + <message> + <source>PropertyChanges does not support creating state-specific objects.</source> + <translation>PropertyChanges는 상태별 개체를 만들 수 없습니다.</translation> + </message> + <message> + <source>Cannot assign to non-existent property "%1"</source> + <translation>존재하지 않는 속성 "%1"에 할당할 수 없음</translation> + </message> + <message> + <source>Cannot assign to read-only property "%1"</source> + <translation>읽기 전용 속성 "%1"에 할당할 수 없음</translation> + </message> +</context> +<context> + <name>QDeclarativeTextInput</name> + <message> + <source>Could not load cursor delegate</source> + <translation>커서 선언을 불러올 수 없음</translation> + </message> + <message> + <source>Could not instantiate cursor delegate</source> + <translation>커서 선언을 인스턴스화할 수 없음</translation> + </message> +</context> +<context> + <name>QDeclarativeTypeLoader</name> + <message> + <source>Script %1 unavailable</source> + <translation>스크립트 %1을(를) 사용할 수 없음</translation> + </message> + <message> + <source>Type %1 unavailable</source> + <translation>형식 %1을(를) 사용할 수 없음</translation> + </message> + <message> + <source>Namespace %1 cannot be used as a type</source> + <translation>네임스페이스 %1을(를) 형식으로 사용할 수 없음</translation> + </message> + <message> + <source>%1 %2</source> + <translation>%1 %2</translation> + </message> +</context> +<context> + <name>QDeclarativeVME</name> + <message> + <source>Unable to create object of type %1</source> + <translation>형식 %1인 개체를 만들 수 없음</translation> + </message> + <message> + <source>Cannot assign value %1 to property %2</source> + <translation>속성 %2에 값 %1을(를) 할당할 수 없음</translation> + </message> + <message> + <source>Cannot assign object type %1 with no default method</source> + <translation>개체 타입 %1에 기본 메서드를 지정하지 않고 할당할 수 없음</translation> + </message> + <message> + <source>Cannot connect mismatched signal/slot %1 %vs. %2</source> + <translation>일치하지 않는 시그널/슬롯 %1 %vs %2을(를) 연결할 수 없음</translation> + </message> + <message> + <source>Cannot assign an object to signal property %1</source> + <translation>개체를 시그널 속성 %1에 할당할 수 없음</translation> + </message> + <message> + <source>Cannot assign object to list</source> + <translation>개체를 목록에 할당할 수 없음</translation> + </message> + <message> + <source>Cannot assign object to interface property</source> + <translation>개체를 인터페이스 속성에 할당할 수 없음</translation> + </message> + <message> + <source>Unable to create attached object</source> + <translation>첨부된 개체를 만들 수 없음</translation> + </message> + <message> + <source>Cannot set properties on %1 as it is null</source> + <translation>%1이(가) null이므로 속성을 설정할 수 없음</translation> + </message> +</context> +<context> + <name>QDeclarativeVisualDataModel</name> + <message> + <source>Delegate component must be Item type.</source> + <translation>하위 구성 요소는 Item 형식이어야 합니다.</translation> + </message> +</context> +<context> + <name>QDeclarativeXmlListModel</name> + <message> + <source>Qt was built without support for xmlpatterns</source> + <translation>Qt 빌드에 xmlpatterns 지원이 빠졌음</translation> + </message> +</context> +<context> + <name>QDeclarativeXmlListModelRole</name> + <message> + <source>An XmlRole query must not start with '/'</source> + <translation>XmlRole 쿼리는 '/'로 시작하면 안 됨</translation> + </message> +</context> +<context> + <name>QDeclarativeXmlRoleList</name> + <message> + <source>An XmlListModel query must start with '/' or "//"</source> + <translation>XmlListModel 쿼리는 '/'나 '//'로 시작해야 함</translation> + </message> +</context> +<context> + <name>QDial</name> + <message> + <source>QDial</source> + <translation>QDial</translation> + </message> + <message> + <source>SpeedoMeter</source> + <translation>속도계</translation> + </message> + <message> + <source>SliderHandle</source> + <translation>슬라이더 핸들</translation> + </message> +</context> +<context> + <name>QDialog</name> + <message> + <source>Done</source> + <translation>완료</translation> + </message> + <message> + <source>What's This?</source> + <translation>이것에 대한 설명</translation> + </message> +</context> +<context> + <name>QDialogButtonBox</name> + <message> + <source>OK</source> + <translation>확인</translation> + </message> + <message> + <source>&OK</source> + <translation>확인(&O)</translation> + </message> + <message> + <source>&Save</source> + <translation>저장(&S)</translation> + </message> + <message> + <source>Save</source> + <translation>저장</translation> + </message> + <message> + <source>Open</source> + <translation>열기</translation> + </message> + <message> + <source>&Cancel</source> + <translation>취소(&C)</translation> + </message> + <message> + <source>Cancel</source> + <translation>취소</translation> + </message> + <message> + <source>&Close</source> + <translation>닫기(&C)</translation> + </message> + <message> + <source>Close</source> + <translation>닫기</translation> + </message> + <message> + <source>Apply</source> + <translation>적용</translation> + </message> + <message> + <source>Reset</source> + <translation>초기화</translation> + </message> + <message> + <source>Help</source> + <translation>도움말</translation> + </message> + <message> + <source>Don't Save</source> + <translation>저장하지 않음</translation> + </message> + <message> + <source>Close without Saving</source> + <translation>저장하지 않고 닫기</translation> + </message> + <message> + <source>Discard</source> + <translation>무시</translation> + </message> + <message> + <source>&Yes</source> + <translation>예(&Y)</translation> + </message> + <message> + <source>Yes to &All</source> + <translation>모두 예(&A)</translation> + </message> + <message> + <source>&No</source> + <translation>아니오(&N)</translation> + </message> + <message> + <source>N&o to All</source> + <translation>모두 아니오(&O)</translation> + </message> + <message> + <source>Save All</source> + <translation>모두 저장</translation> + </message> + <message> + <source>Abort</source> + <translation>중단</translation> + </message> + <message> + <source>Retry</source> + <translation>다시 시도</translation> + </message> + <message> + <source>Ignore</source> + <translation>무시</translation> + </message> + <message> + <source>Restore Defaults</source> + <translation>기본값 복원</translation> + </message> +</context> +<context> + <name>QDirModel</name> + <message> + <source>Name</source> + <translation>이름</translation> + </message> + <message> + <source>Size</source> + <translation>크기</translation> + </message> + <message> + <source>Kind</source> + <comment>Match OS X Finder</comment> + <translation>형식</translation> + </message> + <message> + <source>Type</source> + <comment>All other platforms</comment> + <translation>형식</translation> + </message> + <message> + <source>Date Modified</source> + <translation>수정한 날짜</translation> + </message> +</context> +<context> + <name>QDockWidget</name> + <message> + <source>Close</source> + <translation>닫기</translation> + </message> + <message> + <source>Dock</source> + <translation>붙이기</translation> + </message> + <message> + <source>Float</source> + <translation>띄우기</translation> + </message> +</context> +<context> + <name>QDoubleSpinBox</name> + <message> + <source>More</source> + <translation>더 보기</translation> + </message> + <message> + <source>Less</source> + <translation>덜 보기</translation> + </message> +</context> +<context> + <name>QErrorMessage</name> + <message> + <source>Debug Message:</source> + <translation>디버그 메시지:</translation> + </message> + <message> + <source>Warning:</source> + <translation>경고:</translation> + </message> + <message> + <source>Fatal Error:</source> + <translation>치명적 오류:</translation> + </message> + <message> + <source>&Show this message again</source> + <translation>이 메시지를 다시 보이기(&S)</translation> + </message> + <message> + <source>&OK</source> + <translation>확인(&O)</translation> + </message> +</context> +<context> + <name>QFile</name> + <message> + <source>Destination file exists</source> + <translation>대상 파일이 존재함</translation> + </message> + <message> + <source>Will not rename sequential file using block copy</source> + <translation>블록 복사를 사용하여 연속적인 파일 이름을 바꾸지 않음</translation> + </message> + <message> + <source>Cannot remove source file</source> + <translation>원본 파일을 삭제할 수 없음</translation> + </message> + <message> + <source>Cannot open %1 for input</source> + <translation>%1에서 입력을 받기 위하여 열 수 없음</translation> + </message> + <message> + <source>Cannot open for output</source> + <translation>출력을 위하여 열 수 없음</translation> + </message> + <message> + <source>Failure to write block</source> + <translation>블록을 쓸 수 없음</translation> + </message> + <message> + <source>Cannot create %1 for output</source> + <translation>%1에 쓰기 위하여 열 수 없음</translation> + </message> +</context> +<context> + <name>QFileDialog</name> + <message> + <source>Look in:</source> + <translation>다음에서 찾기:</translation> + </message> + <message> + <source>Back</source> + <translation>뒤로</translation> + </message> + <message> + <source>Go back</source> + <translation>뒤로 가기</translation> + </message> + <message> + <source>Forward</source> + <translation>앞으로</translation> + </message> + <message> + <source>Go forward</source> + <comment>Forward context menu item</comment> + <translation type="obsolete">앞으로 가기</translation> + </message> + <message> + <source>Parent Directory</source> + <translation>부모 디렉터리</translation> + </message> + <message> + <source>Go to the parent directory</source> + <translation>부모 디렉터리로 가기</translation> + </message> + <message> + <source>Create New Folder</source> + <translation>새 폴더 만들기</translation> + </message> + <message> + <source>Create a New Folder</source> + <translation>새 폴더 만들기</translation> + </message> + <message> + <source>List View</source> + <translation>목록으로 보기</translation> + </message> + <message> + <source>Change to list view mode</source> + <translation>목록 보기 모드로 전환</translation> + </message> + <message> + <source>Detail View</source> + <translation>자세히 보기</translation> + </message> + <message> + <source>Change to detail view mode</source> + <translation>자세히 보기 모드로 전환</translation> + </message> + <message> + <source>Files of type:</source> + <translation>파일 형식:</translation> + </message> + <message> + <source>Find Directory</source> + <translation>디렉터리 찾기</translation> + </message> + <message> + <source>Open</source> + <translation>열기</translation> + </message> + <message> + <source>Save As</source> + <translation>다른 이름으로 저장</translation> + </message> + <message> + <source>All Files (*)</source> + <translation>모든 파일 (*)</translation> + </message> + <message> + <source>Show </source> + <translation>보이기</translation> + </message> + <message> + <source>&Rename</source> + <translation>이름 바꾸기(&R)</translation> + </message> + <message> + <source>&Delete</source> + <translation>삭제(&D)</translation> + </message> + <message> + <source>Show &hidden files</source> + <translation>숨김 파일 보이기(&H)</translation> + </message> + <message> + <source>&New Folder</source> + <translation>새 폴더(&N)</translation> + </message> + <message> + <source>Directory:</source> + <translation>디렉터리:</translation> + </message> + <message> + <source>File &name:</source> + <translation>파일 이름(&N):</translation> + </message> + <message> + <source>&Open</source> + <translation>열기(&O)</translation> + </message> + <message> + <source>&Save</source> + <translation>저장(&S)</translation> + </message> + <message> + <source>Directories</source> + <translation>디렉터리</translation> + </message> + <message> + <source>&Choose</source> + <translation>선택(&C)</translation> + </message> + <message> + <source>%1 +Directory not found. +Please verify the correct directory name was given.</source> + <translation>%1 +디렉터리를 찾을 수 없습니다. +경로와 파일 이름을 확인하십시오.</translation> + </message> + <message> + <source>%1 already exists. +Do you want to replace it?</source> + <translation>%1이(가) 이미 존재합니다. +바꾸시겠습니까?</translation> + </message> + <message> + <source>%1 +File not found. +Please verify the correct file name was given.</source> + <translation>%1 +파일을 찾을 수 없습니다. +경로와 파일 이름을 확인하십시오.</translation> + </message> + <message> + <source>New Folder</source> + <translation>새 폴더</translation> + </message> + <message> + <source>'%1' is write protected. +Do you want to delete it anyway?</source> + <translation>'%1'이(가) 쓰기 금지되어 있습니다. +그래도 삭제하시겠습니까?</translation> + </message> + <message> + <source>Are sure you want to delete '%1'?</source> + <translation>'%1'을(를) 삭제하시겠습니까?</translation> + </message> + <message> + <source>Could not delete directory.</source> + <translation>디렉터리를 삭제할 수 없습니다.</translation> + </message> + <message> + <source>Recent Places</source> + <translation>최근 장소</translation> + </message> + <message> + <source>Recent Places</source> + <comment>label for first item in the menu that appears when clicking on the search field image, used as embedded menu title</comment> + <translation type="obsolete">최근 장소</translation> + </message> + <message> + <source>All Files (*.*)</source> + <translation>모든 파일 (*)</translation> + </message> + <message> + <source>Remove</source> + <translation>삭제</translation> + </message> + <message> + <source>My Computer</source> + <translation>내 컴퓨터</translation> + </message> + <message> + <source>Drive</source> + <translation>드라이브</translation> + </message> + <message> + <source>File</source> + <translation>파일</translation> + </message> + <message> + <source>File Folder</source> + <comment>Match Windows Explorer</comment> + <translation>파일 폴더</translation> + </message> + <message> + <source>Folder</source> + <comment>All other platforms</comment> + <translation>폴더</translation> + </message> + <message> + <source>Alias</source> + <comment>Mac OS X Finder</comment> + <translation>별명</translation> + </message> + <message> + <source>File Folder</source> + <translation type="obsolete">파일 폴더</translation> + </message> + <message> + <source>Folder</source> + <translation type="obsolete">폴더</translation> + </message> + <message> + <source>Alias</source> + <translation type="obsolete">별명</translation> + </message> + <message> + <source>Shortcut</source> + <comment>All other platforms</comment> + <translation>바로 가기</translation> + </message> + <message> + <source>Unknown</source> + <translation>알 수 없음</translation> + </message> + <message> + <source>Go forward</source> + <translation>앞으로 가기</translation> + </message> +</context> +<context> + <name>QFileSystemModel</name> + <message> + <source>%1 TB</source> + <translation>%1 TB</translation> + </message> + <message> + <source>%1 GB</source> + <translation>%1 GB</translation> + </message> + <message> + <source>%1 MB</source> + <translation>%1 MB</translation> + </message> + <message> + <source>%1 KB</source> + <translation>%1 KB</translation> + </message> + <message> + <source>%1 bytes</source> + <translation>%1바이트</translation> + </message> + <message> + <source>Invalid filename</source> + <translation>잘못된 파일 이름</translation> + </message> + <message> + <source><b>The name "%1" can not be used.</b><p>Try using another name, with fewer characters or no punctuations marks.</source> + <translation><b>"%1" 이름을 사용할 수 없습니다.</b><p>다른 이름을 사용하거나, 글자 수를 줄이거나, 구두점을 사용하지 마십시오.</translation> + </message> + <message> + <source>Name</source> + <translation>이름</translation> + </message> + <message> + <source>Size</source> + <translation>크기</translation> + </message> + <message> + <source>Kind</source> + <comment>Match OS X Finder</comment> + <translation>형식</translation> + </message> + <message> + <source>Type</source> + <comment>All other platforms</comment> + <translation>형식</translation> + </message> + <message> + <source>Type</source> + <translation type="obsolete">종류</translation> + </message> + <message> + <source>Date Modified</source> + <translation>수정한 날짜</translation> + </message> + <message> + <source>My Computer</source> + <translation>내 컴퓨터</translation> + </message> + <message> + <source>Computer</source> + <translation>컴퓨터</translation> + </message> + <message> + <source>%1 byte(s)</source> + <translation>%1바이트</translation> + </message> +</context> +<context> + <name>QFontDatabase</name> + <message> + <source>Normal</source> + <translation>일반</translation> + </message> + <message> + <source>Bold</source> + <translation>굵게</translation> + </message> + <message> + <source>Demi Bold</source> + <translation>데미볼드</translation> + </message> + <message> + <source>Black</source> + <translation>블랙</translation> + </message> + <message> + <source>Demi</source> + <translation>데미</translation> + </message> + <message> + <source>Light</source> + <translation>라이트</translation> + </message> + <message> + <source>Italic</source> + <translation>이탤릭</translation> + </message> + <message> + <source>Oblique</source> + <translation>기울임꼴</translation> + </message> + <message> + <source>Any</source> + <translation>임의</translation> + </message> + <message> + <source>Latin</source> + <translation>라틴</translation> + </message> + <message> + <source>Greek</source> + <translation>그리스</translation> + </message> + <message> + <source>Cyrillic</source> + <translation>키릴</translation> + </message> + <message> + <source>Armenian</source> + <translation>아르메니아</translation> + </message> + <message> + <source>Hebrew</source> + <translation>히브리</translation> + </message> + <message> + <source>Arabic</source> + <translation>아랍</translation> + </message> + <message> + <source>Syriac</source> + <translation>시리아</translation> + </message> + <message> + <source>Thaana</source> + <translation>타나</translation> + </message> + <message> + <source>Devanagari</source> + <translation>데바나가리</translation> + </message> + <message> + <source>Bengali</source> + <translation>벵골</translation> + </message> + <message> + <source>Gurmukhi</source> + <translation>굴묵키</translation> + </message> + <message> + <source>Gujarati</source> + <translation>구자라트</translation> + </message> + <message> + <source>Oriya</source> + <translation>오리야</translation> + </message> + <message> + <source>Tamil</source> + <translation>타밀</translation> + </message> + <message> + <source>Telugu</source> + <translation>텔루구</translation> + </message> + <message> + <source>Kannada</source> + <translation>칸나다</translation> + </message> + <message> + <source>Malayalam</source> + <translation>말라얄람</translation> + </message> + <message> + <source>Sinhala</source> + <translation>신할라</translation> + </message> + <message> + <source>Thai</source> + <translation>타이</translation> + </message> + <message> + <source>Lao</source> + <translation>라오</translation> + </message> + <message> + <source>Tibetan</source> + <translation>티베트</translation> + </message> + <message> + <source>Myanmar</source> + <translation>미얀마</translation> + </message> + <message> + <source>Georgian</source> + <translation>조지아</translation> + </message> + <message> + <source>Khmer</source> + <translation>크메르</translation> + </message> + <message> + <source>Simplified Chinese</source> + <translation>중국어 간체</translation> + </message> + <message> + <source>Traditional Chinese</source> + <translation>중국어 번체</translation> + </message> + <message> + <source>Japanese</source> + <translation>가나</translation> + </message> + <message> + <source>Korean</source> + <translation>한글</translation> + </message> + <message> + <source>Vietnamese</source> + <translation>베트남</translation> + </message> + <message> + <source>Symbol</source> + <translation>기호</translation> + </message> + <message> + <source>Ogham</source> + <translation>오검</translation> + </message> + <message> + <source>Runic</source> + <translation>룬</translation> + </message> + <message> + <source>N'Ko</source> + <translation>은코</translation> + </message> +</context> +<context> + <name>QFontDialog</name> + <message> + <source>Select Font</source> + <translation>글꼴 선택</translation> + </message> + <message> + <source>&Font</source> + <translation>글꼴(&F)</translation> + </message> + <message> + <source>Font st&yle</source> + <translation>글꼴 스타일(&Y)</translation> + </message> + <message> + <source>&Size</source> + <translation>크기(&S)</translation> + </message> + <message> + <source>Effects</source> + <translation>효과</translation> + </message> + <message> + <source>Stri&keout</source> + <translation>취소선(&K)</translation> + </message> + <message> + <source>&Underline</source> + <translation>밑줄(&U)</translation> + </message> + <message> + <source>Sample</source> + <translation>미리 보기</translation> + </message> + <message> + <source>Wr&iting System</source> + <translation>문자 체계(&I)</translation> + </message> +</context> +<context> + <name>QFtp</name> + <message> + <source>Not connected</source> + <translation>연결되지 않음</translation> + </message> + <message> + <source>Host %1 not found</source> + <translation>호스트 %1을(를) 찾을 수 없음</translation> + </message> + <message> + <source>Connection refused to host %1</source> + <translation>호스트 %1와(과)의 연결이 거부됨</translation> + </message> + <message> + <source>Connection timed out to host %1</source> + <translation>호스트 %1와(과)의 연결 시간이 초과됨</translation> + </message> + <message> + <source>Connected to host %1</source> + <translation>호스트 %1에 연결이 거부됨</translation> + </message> + <message> + <source>Connection refused for data connection</source> + <translation>데이터 연결이 거부됨</translation> + </message> + <message> + <source>Unknown error</source> + <translation>알 수 없는 오류</translation> + </message> + <message> + <source>Connecting to host failed: +%1</source> + <translation>호스트 연결 실패: +%1</translation> + </message> + <message> + <source>Login failed: +%1</source> + <translation>로그인 실패: +%1</translation> + </message> + <message> + <source>Listing directory failed: +%1</source> + <translation>디렉터리 목록 표시 실패: +%1</translation> + </message> + <message> + <source>Changing directory failed: +%1</source> + <translation>디렉터리 변경 실패: +%1</translation> + </message> + <message> + <source>Downloading file failed: +%1</source> + <translation>파일 다운로드 실패: +%1</translation> + </message> + <message> + <source>Uploading file failed: +%1</source> + <translation>파일 업로드 실패: +%1</translation> + </message> + <message> + <source>Removing file failed: +%1</source> + <translation>파일 삭제 실패: +%1</translation> + </message> + <message> + <source>Creating directory failed: +%1</source> + <translation>디렉터리 생성 실패: +%1</translation> + </message> + <message> + <source>Removing directory failed: +%1</source> + <translation>디렉터리 삭제 실패: +%1</translation> + </message> + <message> + <source>Connection closed</source> + <translation>연결이 종료됨</translation> + </message> + <message> + <source>Host %1 found</source> + <translation>호스트 %1을(를) 찾았음</translation> + </message> + <message> + <source>Connection to %1 closed</source> + <translation>%1와(과)의 연결이 종료됨</translation> + </message> + <message> + <source>Host found</source> + <translation>호스트를 찾았음</translation> + </message> + <message> + <source>Connected to host</source> + <translation>호스트에 연결됨</translation> + </message> +</context> +<context> + <name>QHostInfo</name> + <message> + <source>No host name given</source> + <translation>호스트 이름이 지정되지 않음</translation> + </message> + <message> + <source>Unknown error</source> + <translation>알 수 없는 오류</translation> + </message> +</context> +<context> + <name>QHostInfoAgent</name> + <message> + <source>No host name given</source> + <translation>호스트 이름이 지정되지 않았음</translation> + </message> + <message> + <source>Invalid hostname</source> + <translation>호스트 이름이 잘못됨</translation> + </message> + <message> + <source>Unknown address type</source> + <translation>알 수 없는 주소 형식</translation> + </message> + <message> + <source>Host not found</source> + <translation>호스트를 찾을 수 없음</translation> + </message> + <message> + <source>Unknown error</source> + <translation>알 수 없는 오류</translation> + </message> +</context> +<context> + <name>QHttp</name> + <message> + <source>HTTPS connection requested but SSL support not compiled in</source> + <translation>HTTPS 연결을 요청했지만 SSL 지원을 사용할 수 없음</translation> + </message> + <message> + <source>Unknown error</source> + <translation>알 수 없는 오류</translation> + </message> + <message> + <source>Request aborted</source> + <translation>요청이 중단됨</translation> + </message> + <message> + <source>No server set to connect to</source> + <translation>연결할 서버가 설정되지 않음</translation> + </message> + <message> + <source>Wrong content length</source> + <translation>내용 길이가 잘못됨</translation> + </message> + <message> + <source>Server closed connection unexpectedly</source> + <translation>서버에서 예상하지 못하게 연결을 종료함</translation> + </message> + <message> + <source>Connection refused (or timed out)</source> + <translation>연결이 거부됨 (또는 시간 초과됨)</translation> + </message> + <message> + <source>Host %1 not found</source> + <translation>호스트 %1을(를) 찾을 수 없음</translation> + </message> + <message> + <source>HTTP request failed</source> + <translation>HTTP 요청이 실패함</translation> + </message> + <message> + <source>Invalid HTTP response header</source> + <translation>HTTP 응답 헤더가 잘못됨</translation> + </message> + <message> + <source>Unknown authentication method</source> + <translation>알 수 없는 인증 방법</translation> + </message> + <message> + <source>Proxy authentication required</source> + <translation>프록시 인증이 필요함</translation> + </message> + <message> + <source>Authentication required</source> + <translation>인증이 필요함</translation> + </message> + <message> + <source>Invalid HTTP chunked body</source> + <translation>HTTP 조각난 본문이 잘못됨</translation> + </message> + <message> + <source>Error writing response to device</source> + <translation>장치에 응답을 쓰는 중 오류 발생</translation> + </message> + <message> + <source>Connection refused</source> + <translation>연결이 거부됨</translation> + </message> + <message> + <source>Connection closed</source> + <translation>연결이 종료됨</translation> + </message> + <message> + <source>Proxy requires authentication</source> + <translation>프록시 인증이 필요함</translation> + </message> + <message> + <source>Host requires authentication</source> + <translation>호스트 인증이 필요함</translation> + </message> + <message> + <source>Data corrupted</source> + <translation>데이터 손상됨</translation> + </message> + <message> + <source>Unknown protocol specified</source> + <translation>알 수 없는 프로토콜</translation> + </message> + <message> + <source>SSL handshake failed</source> + <translation>SSL 악수 실패</translation> + </message> + <message> + <source>Host %1 found</source> + <translation>호스트 %1을(를) 찾았음</translation> + </message> + <message> + <source>Connected to host %1</source> + <translation>호스트 %1에 연결됨</translation> + </message> + <message> + <source>Connection to %1 closed</source> + <translation>%1와(과)의 연결이 종료됨</translation> + </message> + <message> + <source>Host found</source> + <translation>호스트를 찾았음</translation> + </message> + <message> + <source>Connected to host</source> + <translation>호스트에 연결됨</translation> + </message> +</context> +<context> + <name>QHttpSocketEngine</name> + <message> + <source>Did not receive HTTP response from proxy</source> + <translation>프록시에서 HTTP 응답을 받지 못함</translation> + </message> + <message> + <source>Error parsing authentication request from proxy</source> + <translation>프록시 인증을 처리하는 중 오류 발생</translation> + </message> + <message> + <source>Authentication required</source> + <translation>인증이 필요함</translation> + </message> + <message> + <source>Proxy denied connection</source> + <translation>프록시에서 연결 거부됨</translation> + </message> + <message> + <source>Error communicating with HTTP proxy</source> + <translation>HTTP 프록시와 통신하는 중 오류 발생</translation> + </message> + <message> + <source>Proxy server not found</source> + <translation>프록시 서버를 찾을 수 없음</translation> + </message> + <message> + <source>Proxy connection refused</source> + <translation>프록시 서버에 연결이 거부됨</translation> + </message> + <message> + <source>Proxy server connection timed out</source> + <translation>프록시 서버 연결 시간 초과됨</translation> + </message> + <message> + <source>Proxy connection closed prematurely</source> + <translation>프록시 서버 연결이 일찍 종료됨</translation> + </message> +</context> +<context> + <name>QIBaseDriver</name> + <message> + <source>Error opening database</source> + <translation>데이터베이스를 여는 중 오류 발생</translation> + </message> + <message> + <source>Could not start transaction</source> + <translation>트랙잭션을 시작할 수 없음</translation> + </message> + <message> + <source>Unable to commit transaction</source> + <translation>트랜잭션을 커밋할 수 없음</translation> + </message> + <message> + <source>Unable to rollback transaction</source> + <translation>트랜잭션을 되돌릴 수 없음</translation> + </message> +</context> +<context> + <name>QIBaseResult</name> + <message> + <source>Unable to create BLOB</source> + <translation>BLOB을 만들 수 없음</translation> + </message> + <message> + <source>Unable to write BLOB</source> + <translation>BLOB에 쓸 수 없음</translation> + </message> + <message> + <source>Unable to open BLOB</source> + <translation>BLOB을 열 수 없음</translation> + </message> + <message> + <source>Unable to read BLOB</source> + <translation>BLOB에서 읽을 수 없음</translation> + </message> + <message> + <source>Could not find array</source> + <translation>배열을 찾을 수 없음</translation> + </message> + <message> + <source>Could not get array data</source> + <translation>배열 데이터를 가져올 수 없음</translation> + </message> + <message> + <source>Could not get query info</source> + <translation>쿼리 정보를 가져올 수 없음</translation> + </message> + <message> + <source>Could not start transaction</source> + <translation>트랜잭션을 시작할 수 없음</translation> + </message> + <message> + <source>Unable to commit transaction</source> + <translation>트랜잭션을 커밋할 수 없음</translation> + </message> + <message> + <source>Could not allocate statement</source> + <translation>구문을 할당할 수 없음</translation> + </message> + <message> + <source>Could not prepare statement</source> + <translation>구문을 준비할 수 없음</translation> + </message> + <message> + <source>Could not describe input statement</source> + <translation>입력 구문을 설명할 수 없음</translation> + </message> + <message> + <source>Could not describe statement</source> + <translation>구문을 설명할 수 없음</translation> + </message> + <message> + <source>Unable to close statement</source> + <translation>구문을 닫을 수 없음</translation> + </message> + <message> + <source>Unable to execute query</source> + <translation>쿼리를 실행할 수 없음</translation> + </message> + <message> + <source>Could not fetch next item</source> + <translation>다음 항목을 가져올 수 없음</translation> + </message> + <message> + <source>Could not get statement info</source> + <translation>구문 정보를 가져올 수 없음</translation> + </message> +</context> +<context> + <name>QIODevice</name> + <message> + <source>Permission denied</source> + <translation>권한이 거부됨</translation> + </message> + <message> + <source>Too many open files</source> + <translation>너무 많은 파일이 열렸음</translation> + </message> + <message> + <source>No such file or directory</source> + <translation>그러한 파일이나 디렉터리가 없음</translation> + </message> + <message> + <source>No space left on device</source> + <translation>장치에 공간이 부족함</translation> + </message> + <message> + <source>Unknown error</source> + <translation>알 수 없는 오류</translation> + </message> +</context> +<context> + <name>QInputContext</name> + <message> + <source>XIM</source> + <translation>XIM</translation> + </message> + <message> + <source>FEP</source> + <translation>FEP</translation> + </message> + <message> + <source>XIM input method</source> + <translation>XIM 입력기</translation> + </message> + <message> + <source>Windows input method</source> + <translation>윈도 입력기</translation> + </message> + <message> + <source>Mac OS X input method</source> + <translation>Mac OS X 입력기</translation> + </message> + <message> + <source>S60 FEP input method</source> + <translation>S60 FEP 입력기</translation> + </message> +</context> +<context> + <name>QInputDialog</name> + <message> + <source>Enter a value:</source> + <translation>값을 입력하십시오:</translation> + </message> +</context> +<context> + <name>QLibrary</name> + <message> + <source>Plugin verification data mismatch in '%1'</source> + <translation>'%1'의 플러그인 확인 데이터가 일치하지 않음</translation> + </message> + <message> + <source>The shared library was not found.</source> + <translation>공유 라이브러리를 찾을 수 없습니다.</translation> + </message> + <message> + <source>The file '%1' is not a valid Qt plugin.</source> + <translation>파일 '%1'은(는) 올바른 Qt 플러그인이 아닙니다.</translation> + </message> + <message> + <source>The plugin '%1' uses incompatible Qt library. (%2.%3.%4) [%5]</source> + <translation>플러그인 '%1'은(는) 호환되지 않는 Qt 라이브러리를 사용합니다. (%2.%3.%4) [%5]</translation> + </message> + <message> + <source>The plugin '%1' uses incompatible Qt library. Expected build key "%2", got "%3"</source> + <translation>플러그인 '%1'은(는) 호환되지 않는 Qt 라이브러리를 사용합니다. 빌드 키 "%2"을(를) 예상했지만 "%3"이(가) 돌아왔습니다</translation> + </message> + <message> + <source>The plugin '%1' uses incompatible Qt library. (Cannot mix debug and release libraries.)</source> + <translation>플러그인 '%1'은(는) 호환되지 않는 Qt 라이브러리를 사용합니다. (디버그와 릴리즈 라이브러리를 섞을 수 없습니다.)</translation> + </message> + <message> + <source>Unknown error</source> + <translation>알 수 없는 오류</translation> + </message> + <message> + <source>Cannot load library %1: %2</source> + <translation>라이브러리 %1을(를) 불러올 수 없음: %2</translation> + </message> + <message> + <source>Cannot unload library %1: %2</source> + <translation>라이브러리 %1을(를) 닫을 수 없음: %2</translation> + </message> + <message> + <source>Cannot resolve symbol "%1" in %2: %3</source> + <translation>%2의 심볼 "%1"을(를) 불러올 수 없음: %3</translation> + </message> +</context> +<context> + <name>QLineEdit</name> + <message> + <source>&Undo</source> + <translation>실행 취소(&U)</translation> + </message> + <message> + <source>&Redo</source> + <translation>다시 실행(&R)</translation> + </message> + <message> + <source>Cu&t</source> + <translation>잘라내기(&T)</translation> + </message> + <message> + <source>&Copy</source> + <translation>복사(&C)</translation> + </message> + <message> + <source>&Paste</source> + <translation>붙여넣기(&P)</translation> + </message> + <message> + <source>Delete</source> + <translation>삭제</translation> + </message> + <message> + <source>Select All</source> + <translation>모두 선택</translation> + </message> +</context> +<context> + <name>QLocalServer</name> + <message> + <source>%1: Name error</source> + <translation>%1: 이름 오류</translation> + </message> + <message> + <source>%1: Permission denied</source> + <translation>%1: 권한이 거부됨</translation> + </message> + <message> + <source>%1: Address in use</source> + <translation>%1: 주소가 사용 중</translation> + </message> + <message> + <source>%1: Unknown error %2</source> + <translation>%1: 알 수 없는 오류 %2</translation> + </message> +</context> +<context> + <name>QLocalSocket</name> + <message> + <source>%1: Connection refused</source> + <translation>%1: 연결이 거부됨</translation> + </message> + <message> + <source>%1: Remote closed</source> + <translation>%1: 원격 호스트가 연결 닫음</translation> + </message> + <message> + <source>%1: Invalid name</source> + <translation>%1: 잘못된 이름</translation> + </message> + <message> + <source>%1: Socket access error</source> + <translation>%1: 소켓 접근 오류</translation> + </message> + <message> + <source>%1: Socket resource error</source> + <translation>%1: 소켓 자원 오류</translation> + </message> + <message> + <source>%1: Socket operation timed out</source> + <translation>%1: 소켓 작업 시간 초과됨</translation> + </message> + <message> + <source>%1: Datagram too large</source> + <translation>%1: 데이터그램이 너무 큼</translation> + </message> + <message> + <source>%1: Connection error</source> + <translation>%1: 연결 오류</translation> + </message> + <message> + <source>%1: The socket operation is not supported</source> + <translation>%1: 소켓 작업이 지원되지 않음</translation> + </message> + <message> + <source>%1: Unknown error</source> + <translation>%1: 알 수 없는 오류</translation> + </message> + <message> + <source>%1: Unknown error %2</source> + <translation>%1: 알 수 없는 오류 %2</translation> + </message> +</context> +<context> + <name>QMYSQLDriver</name> + <message> + <source>Unable to open database '</source> + <translation>다음 데이터베이스를 열 수 없음: '</translation> + </message> + <message> + <source>Unable to connect</source> + <translation>연결할 수 없음</translation> + </message> + <message> + <source>Unable to begin transaction</source> + <translation>트랜잭션을 시작할 수 없음</translation> + </message> + <message> + <source>Unable to commit transaction</source> + <translation>트랜잭션을 커밋할 수 없음</translation> + </message> + <message> + <source>Unable to rollback transaction</source> + <translation>트랜잭션을 되돌릴 수 없음</translation> + </message> +</context> +<context> + <name>QMYSQLResult</name> + <message> + <source>Unable to fetch data</source> + <translation>데이터를 가져올 수 없음</translation> + </message> + <message> + <source>Unable to execute query</source> + <translation>쿼리를 실행할 수 없음</translation> + </message> + <message> + <source>Unable to store result</source> + <translation>결과를 저장할 수 없음</translation> + </message> + <message> + <source>Unable to execute next query</source> + <translation>다음 쿼리를 실행할 수 없음</translation> + </message> + <message> + <source>Unable to store next result</source> + <translation>다음 결과를 저장할 수 없음</translation> + </message> + <message> + <source>Unable to prepare statement</source> + <translation>구문을 준비할 수 없음</translation> + </message> + <message> + <source>Unable to reset statement</source> + <translation>구문을 초기화할 수 없음</translation> + </message> + <message> + <source>Unable to bind value</source> + <translation>값을 바인딩할 수 없음</translation> + </message> + <message> + <source>Unable to execute statement</source> + <translation>구문을 실행할 수 없음</translation> + </message> + <message> + <source>Unable to bind outvalues</source> + <translation>outvalue를 바인딩할 수 없음</translation> + </message> + <message> + <source>Unable to store statement results</source> + <translation>구문 실행 결과를 저장할 수 없음</translation> + </message> +</context> +<context> + <name>QMdiArea</name> + <message> + <source>(Untitled)</source> + <translation>(제목 없음)</translation> + </message> +</context> +<context> + <name>QMdiSubWindow</name> + <message> + <source>- [%1]</source> + <translation>- [%1]</translation> + </message> + <message> + <source>%1 - [%2]</source> + <translation>%1 - [%2]</translation> + </message> + <message> + <source>Minimize</source> + <translation>최소화</translation> + </message> + <message> + <source>Maximize</source> + <translation>최대화</translation> + </message> + <message> + <source>Unshade</source> + <translation>풀어 내리기</translation> + </message> + <message> + <source>Shade</source> + <translation>말아 올리기</translation> + </message> + <message> + <source>Restore Down</source> + <translation>복원</translation> + </message> + <message> + <source>Restore</source> + <translation>복원</translation> + </message> + <message> + <source>Close</source> + <translation>닫기</translation> + </message> + <message> + <source>Help</source> + <translation>도움말</translation> + </message> + <message> + <source>Menu</source> + <translation>메뉴</translation> + </message> + <message> + <source>&Restore</source> + <translation>복원(&R)</translation> + </message> + <message> + <source>&Move</source> + <translation>이동(&M)</translation> + </message> + <message> + <source>&Size</source> + <translation>크기(&S)</translation> + </message> + <message> + <source>Mi&nimize</source> + <translation>최소화(&N)</translation> + </message> + <message> + <source>Ma&ximize</source> + <translation>최대화(&X)</translation> + </message> + <message> + <source>Stay on &Top</source> + <translation>항상 위(&T)</translation> + </message> + <message> + <source>&Close</source> + <translation>닫기(&C)</translation> + </message> +</context> +<context> + <name>QMenu</name> + <message> + <source>Close</source> + <translation>닫기</translation> + </message> + <message> + <source>Open</source> + <translation>열기</translation> + </message> + <message> + <source>Execute</source> + <translation>실행</translation> + </message> +</context> +<context> + <name>QMenuBar</name> + <message> + <source>Actions</source> + <translation>동작</translation> + </message> +</context> +<context> + <name>QMessageBox</name> + <message> + <source>Show Details...</source> + <translation>자세한 정보 보기...</translation> + </message> + <message> + <source>Hide Details...</source> + <translation>자세한 정보 숨기기...</translation> + </message> + <message> + <source>OK</source> + <translation>확인</translation> + </message> + <message> + <source>Help</source> + <translation>도움말</translation> + </message> + <message> + <source><h3>About Qt</h3><p>This program uses Qt version %1.</p></source> + <translation><h3>Qt 정보</h3><p>이 프로그램은 Qt 버전 %1을(를) 사용합니다.</p></translation> + </message> + <message> + <source><p>Qt is a C++ toolkit for cross-platform application development.</p><p>Qt provides single-source portability across MS&nbsp;Windows, Mac&nbsp;OS&nbsp;X, Linux, and all major commercial Unix variants. Qt is also available for embedded devices as Qt for Embedded Linux and Qt for Windows CE.</p><p>Qt is available under three different licensing options designed to accommodate the needs of our various users.</p><p>Qt licensed under our commercial license agreement is appropriate for development of proprietary/commercial software where you do not want to share any source code with third parties or otherwise cannot comply with the terms of the GNU LGPL version 2.1 or GNU GPL version 3.0.</p><p>Qt licensed under the GNU LGPL version 2.1 is appropriate for the development of Qt applications (proprietary or open source) provided you can comply with the terms and conditions of the GNU LGPL version 2.1.</p><p>Qt licensed under the GNU General Public License version 3.0 is appropriate for the development of Qt applications where you wish to use such applications in combination with software subject to the terms of the GNU GPL version 3.0 or where you are otherwise willing to comply with the terms of the GNU GPL version 3.0.</p><p>Please see <a href="http://qt.nokia.com/products/licensing">qt.nokia.com/products/licensing</a> for an overview of Qt licensing.</p><p>Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).</p><p>Qt is a Nokia product. See <a href="http://qt.nokia.com/">qt.nokia.com</a> for more information.</p></source> + <translation><p>Qt는 크로스 플랫폼 프로그램 개발을 위한 C++ 툴킷입니다.</p><p>Qt는 마이크로소프트&nbsp;윈도, Mac&nbsp;OS&nbsp;X, 리눅스, 여러 상용 유닉스 간 소스 호환성을 제공합니다. Qt는 Qt for Embedded Linux, Qt for Windows CE와 같은 임베디드 장치도 지원합니다.</p><p>Qt는 여러 사용자의 조건에 맞는 세 가지 조건으로 라이선스됩니다.</p><p>Qt의 상용 라이선스는 제 3자와 코드를 공유할 수 없거나, GNU LGPL 2.1, GNU GPL 3.0의 조건을 따를 수 없는 독점/상용 소프트웨어 개발에 사용할 수 있습니다.</p><p>Qt의 GNU LGPL 2.1 라이선스는 GNU LGPL 2.1의 조건을 따르는 독점 및 오픈소스 Qt 프로그램을 개발할 수 있습니다.</p><p>Qt의 GNU GPL 3.0 라이선스는 GNU GPL 3.0의 조건을 적용받거나 GNU GPL 3.0으로 라이선싱할 Qt 프로그램을 개발할 수 있습니다.</p><p>Qt 라이선싱 조건을 알아 보려면 <a href="http://qt.nokia.con/products/licensing">qt.nokia.com/products/licensing</a> 페이지를 참고하십시오.</p><p>Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).</p><p>Qt는 노키아의 제품입니다. 더 많은 정보를 보려면 <a href="http://qt.nokia.com">qt.nokia.com</a>을 참조하십시오.</p></translation> + </message> + <message> + <source>About Qt</source> + <translation>Qt 정보</translation> + </message> +</context> +<context> + <name>QMultiInputContext</name> + <message> + <source>Select IM</source> + <translation>입력기 선택</translation> + </message> +</context> +<context> + <name>QMultiInputContextPlugin</name> + <message> + <source>Multiple input method switcher</source> + <translation>다중 입력기 전환기</translation> + </message> + <message> + <source>Multiple input method switcher that uses the context menu of the text widgets</source> + <translation>텍스트 위젯의 컨텍스트 메뉴를 사용하는 다중 입력기 전환기</translation> + </message> +</context> +<context> + <name>QNativeSocketEngine</name> + <message> + <source>Unable to initialize non-blocking socket</source> + <translation>논블러킹 소켓을 초기화할 수 없음</translation> + </message> + <message> + <source>Unable to initialize broadcast socket</source> + <translation>브로드캐스트 소켓을 초기화할 수 없음</translation> + </message> + <message> + <source>Attempt to use IPv6 socket on a platform with no IPv6 support</source> + <translation>IPv6을 지원하지 않는 플랫폼에서 IPv6 소켓을 사용하려고 시도함</translation> + </message> + <message> + <source>The remote host closed the connection</source> + <translation>원격 호스트에서 연결을 닫음</translation> + </message> + <message> + <source>Network operation timed out</source> + <translation>네트워크 작업 시간 초과</translation> + </message> + <message> + <source>Out of resources</source> + <translation>자원 부족</translation> + </message> + <message> + <source>Unsupported socket operation</source> + <translation>지원하지 않는 소켓 작업</translation> + </message> + <message> + <source>Protocol type not supported</source> + <translation>지원하지 않는 프로토콜 형식</translation> + </message> + <message> + <source>Invalid socket descriptor</source> + <translation>잘못된 소켓 설명자</translation> + </message> + <message> + <source>Host unreachable</source> + <translation>호스트에 접근할 수 없음</translation> + </message> + <message> + <source>Network unreachable</source> + <translation>네트워크에 접근할 수 없음</translation> + </message> + <message> + <source>Permission denied</source> + <translation>권한이 거부됨</translation> + </message> + <message> + <source>Connection timed out</source> + <translation>연결 시간 초과됨</translation> + </message> + <message> + <source>Connection refused</source> + <translation>연결이 거부됨</translation> + </message> + <message> + <source>The bound address is already in use</source> + <translation>지정한 주소가 이미 사용 중</translation> + </message> + <message> + <source>The address is not available</source> + <translation>주소를 사용할 수 없음</translation> + </message> + <message> + <source>The address is protected</source> + <translation>주소가 보호되어 있음</translation> + </message> + <message> + <source>Datagram was too large to send</source> + <translation>한 번에 보낼 데이터그램이 너무 큼</translation> + </message> + <message> + <source>Unable to send a message</source> + <translation>메시지를 보낼 수 없음</translation> + </message> + <message> + <source>Unable to receive a message</source> + <translation>메시지를 받을 수 없음</translation> + </message> + <message> + <source>Unable to write</source> + <translation>쓸 수 없음</translation> + </message> + <message> + <source>Network error</source> + <translation>네트워크 오류</translation> + </message> + <message> + <source>Another socket is already listening on the same port</source> + <translation>다른 소켓이 지정한 포트에서 듣고 있음</translation> + </message> + <message> + <source>Operation on non-socket</source> + <translation>비 소켓에서 작업 실행됨</translation> + </message> + <message> + <source>The proxy type is invalid for this operation</source> + <translation>이 작업에 사용할 프록시 형식이 잘못되었습니다</translation> + </message> + <message> + <source>Unknown error</source> + <translation>알 수 없는 오류</translation> + </message> +</context> +<context> + <name>QNetworkAccessCacheBackend</name> + <message> + <source>Error opening %1</source> + <translation>%1을(를) 여는 중 오류 발생</translation> + </message> +</context> +<context> + <name>QNetworkAccessDataBackend</name> + <message> + <source>Operation not supported on %1</source> + <translation>%1에는 작업이 지원되지 않음</translation> + </message> + <message> + <source>Invalid URI: %1</source> + <translation>잘못된 URI: %1</translation> + </message> +</context> +<context> + <name>QNetworkAccessDebugPipeBackend</name> + <message> + <source>Write error writing to %1: %2</source> + <translation>%1에 쓰는 중 오류 발생: %2</translation> + </message> + <message> + <source>Socket error on %1: %2</source> + <translation>%1에서 소켓 오류 발생: %2</translation> + </message> + <message> + <source>Remote host closed the connection prematurely on %1</source> + <translation>%1에서 원격 호스트가 일찍 연결을 닫음</translation> + </message> +</context> +<context> + <name>QNetworkAccessFileBackend</name> + <message> + <source>Request for opening non-local file %1</source> + <translation>비 로컬 파일 %1을(를) 여는 요청 들어옴</translation> + </message> + <message> + <source>Cannot open %1: Path is a directory</source> + <translation>%1을(를) 열 수 없음: 디렉터리임</translation> + </message> + <message> + <source>Error opening %1: %2</source> + <translation>%1을(를) 여는 중 오류 발생: %2</translation> + </message> + <message> + <source>Write error writing to %1: %2</source> + <translation>%1에 쓰는 중 오류 발생: %2</translation> + </message> + <message> + <source>Read error reading from %1: %2</source> + <translation>%1에서 읽는 중 오류 발생: %2</translation> + </message> +</context> +<context> + <name>QNetworkAccessFtpBackend</name> + <message> + <source>No suitable proxy found</source> + <translation>적합한 프록시를 찾을 수 없음</translation> + </message> + <message> + <source>Cannot open %1: is a directory</source> + <translation>%1을(를) 열 수 없음: 디렉터리임</translation> + </message> + <message> + <source>Logging in to %1 failed: authentication required</source> + <translation>%1에 로그인할 수 없음: 인증 필요함</translation> + </message> + <message> + <source>Error while downloading %1: %2</source> + <translation>%1 다운로드 중 오류 발생: %2</translation> + </message> + <message> + <source>Error while uploading %1: %2</source> + <translation>%1 업로드 중 오류 발생: %2</translation> + </message> +</context> +<context> + <name>QNetworkAccessHttpBackend</name> + <message> + <source>No suitable proxy found</source> + <translation>적합한 프록시를 찾을 수 없음</translation> + </message> +</context> +<context> + <name>QNetworkAccessManager</name> + <message> + <source>Network access is disabled.</source> + <translation>네트워크 접근이 비활성화되었습니다.</translation> + </message> +</context> +<context> + <name>QNetworkReply</name> + <message> + <source>Error downloading %1 - server replied: %2</source> + <translation>%1을(를) 다운로드하는 중 오류 발생 - 서버 응답: %2</translation> + </message> + <message> + <source>Protocol "%1" is unknown</source> + <translation>알 수 없는 프로토콜 "%1"</translation> + </message> + <message> + <source>Network session error.</source> + <translation>네트워크 세션 오류.</translation> + </message> + <message> + <source>Temporary network failure.</source> + <translation>일시적인 네트워크 실패.</translation> + </message> +</context> +<context> + <name>QNetworkReplyImpl</name> + <message> + <source>Operation canceled</source> + <translation>작업 취소됨</translation> + </message> +</context> +<context> + <name>QNetworkSession</name> + <message> + <source>Invalid configuration.</source> + <translation>설정이 잘못되었습니다.</translation> + </message> +</context> +<context> + <name>QNetworkSessionPrivateImpl</name> + <message> + <source>Roaming error</source> + <translation>로밍 오류</translation> + </message> + <message> + <source>Session aborted by user or system</source> + <translation>사용자나 시스템에서 세션 종료함</translation> + </message> + <message> + <source>The specified configuration cannot be used.</source> + <translation>지정한 설정을 사용할 수 없습니다.</translation> + </message> + <message> + <source>Unidentified Error</source> + <translation>지정되지 않은 오류</translation> + </message> + <message> + <source>Unknown session error.</source> + <translation>알 수 없는 세션 오류.</translation> + </message> + <message> + <source>The session was aborted by the user or system.</source> + <translation>사용자나 시스템에서 세션을 중단하였습니다.</translation> + </message> + <message> + <source>The requested operation is not supported by the system.</source> + <translation>시스템에서 요청한 구성을 지원하지 않습니다.</translation> + </message> + <message> + <source>Roaming was aborted or is not possible.</source> + <translation>로밍이 중단되었거나 사용할 수 없습니다.</translation> + </message> +</context> +<context> + <name>QOCIDriver</name> + <message> + <source>Unable to initialize</source> + <comment>QOCIDriver</comment> + <translation>초기화할 수 없음</translation> + </message> + <message> + <source>Unable to logon</source> + <translation>로그온할 수 없음</translation> + </message> + <message> + <source>Unable to begin transaction</source> + <translation>트랜잭션을 시작할 수 없음</translation> + </message> + <message> + <source>Unable to commit transaction</source> + <translation>트랜잭션을 커밋할 수 없음</translation> + </message> + <message> + <source>Unable to rollback transaction</source> + <translation>트랜잭션을 되돌릴 수 없음</translation> + </message> +</context> +<context> + <name>QOCIResult</name> + <message> + <source>Unable to bind column for batch execute</source> + <translation>배치 실행의 열을 바인딩할 수 없음</translation> + </message> + <message> + <source>Unable to execute batch statement</source> + <translation>배치 구문을 실행할 수 없음</translation> + </message> + <message> + <source>Unable to goto next</source> + <translation>다음으로 이동할 수 없음</translation> + </message> + <message> + <source>Unable to alloc statement</source> + <translation>구문을 할당할 수 없음</translation> + </message> + <message> + <source>Unable to prepare statement</source> + <translation>구문을 준비할 수 없음</translation> + </message> + <message> + <source>Unable to get statement type</source> + <translation>구문 형식을 가져올 수 없음</translation> + </message> + <message> + <source>Unable to bind value</source> + <translation>값을 바인딩할 수 없음</translation> + </message> + <message> + <source>Unable to execute statement</source> + <translation>구문을 실행할 수 없음</translation> + </message> +</context> +<context> + <name>QODBCDriver</name> + <message> + <source>Unable to connect</source> + <translation>연결할 수 없음</translation> + </message> + <message> + <source>Unable to connect - Driver doesn't support all functionality required</source> + <translation>연결할 수 없음 - 드라이버가 모든 필요한 기능을 제공하지 않습니다</translation> + </message> + <message> + <source>Unable to disable autocommit</source> + <translation>자동 커밋을 해제할 수 없음</translation> + </message> + <message> + <source>Unable to commit transaction</source> + <translation>트랜잭션을 커밋할 수 없음</translation> + </message> + <message> + <source>Unable to rollback transaction</source> + <translation>트랜잭션을 되돌릴 수 없음</translation> + </message> + <message> + <source>Unable to enable autocommit</source> + <translation>자동 커밋을 설정할 수 없음</translation> + </message> +</context> +<context> + <name>QODBCResult</name> + <message> + <source>Unable to fetch last</source> + <translation>마지막 항목을 가져올 수 없음</translation> + </message> + <message> + <source>QODBCResult::reset: Unable to set 'SQL_CURSOR_STATIC' as statement attribute. Please check your ODBC driver configuration</source> + <translation>QODBCResult::reset: 'SQL_CURSOR_STATIC'을 구문 속성으로 설정할 수 없음. ODBC 드라이버의 설정을 확인하십시오</translation> + </message> + <message> + <source>Unable to execute statement</source> + <translation>구문을 실행할 수 없음</translation> + </message> + <message> + <source>Unable to fetch</source> + <translation>항목을 가져올 수 없음</translation> + </message> + <message> + <source>Unable to fetch next</source> + <translation>다음 항목을 가져올 수 없음</translation> + </message> + <message> + <source>Unable to fetch first</source> + <translation>이전 항목을 가져올 수 없음</translation> + </message> + <message> + <source>Unable to fetch previous</source> + <translation>이전 항목을 가져올 수 없음</translation> + </message> + <message> + <source>Unable to prepare statement</source> + <translation>구문을 준비할 수 없음</translation> + </message> + <message> + <source>Unable to bind variable</source> + <translation>변수를 바인딩할 수 없음</translation> + </message> +</context> +<context> + <name>QObject</name> + <message> + <source>PulseAudio Sound Server</source> + <translation>PulseAudio 소리 서버</translation> + </message> + <message> + <source>"%1" duplicates a previous role name and will be disabled.</source> + <translation>"%1"이(가) 이전 역할 이름과 중복되므로 비활성화될 것입니다.</translation> + </message> + <message> + <source>invalid query: "%1"</source> + <translation>잘못된 쿼리: "%1"</translation> + </message> +</context> +<context> + <name>QPPDOptionsModel</name> + <message> + <source>Name</source> + <translation>이름</translation> + </message> + <message> + <source>Value</source> + <translation>값</translation> + </message> +</context> +<context> + <name>QPSQLDriver</name> + <message> + <source>Unable to connect</source> + <translation>연결할 수 없음</translation> + </message> + <message> + <source>Could not begin transaction</source> + <translation>트랙잭션을 시작할 수 없음</translation> + </message> + <message> + <source>Could not commit transaction</source> + <translation>트랙잭션을 커밋할 수 없음</translation> + </message> + <message> + <source>Could not rollback transaction</source> + <translation>트랙잭션을 되돌릴 수 없음</translation> + </message> + <message> + <source>Unable to subscribe</source> + <translation>등록할 수 없음</translation> + </message> + <message> + <source>Unable to unsubscribe</source> + <translation>등록 해제할 수 없음</translation> + </message> +</context> +<context> + <name>QPSQLResult</name> + <message> + <source>Unable to create query</source> + <translation>쿼리를 만들 수 없음</translation> + </message> + <message> + <source>Unable to prepare statement</source> + <translation>구문을 준비할 수 없음</translation> + </message> +</context> +<context> + <name>QPageSetupWidget</name> + <message> + <source>Form</source> + <translation>폼</translation> + </message> + <message> + <source>Paper</source> + <translation>종이</translation> + </message> + <message> + <source>Page size:</source> + <translation>쪽 크기:</translation> + </message> + <message> + <source>Width:</source> + <translation>너비:</translation> + </message> + <message> + <source>Height:</source> + <translation>높이:</translation> + </message> + <message> + <source>Paper source:</source> + <translation>종이 공급:</translation> + </message> + <message> + <source>Orientation</source> + <translation>방향</translation> + </message> + <message> + <source>Portrait</source> + <translation>세로</translation> + </message> + <message> + <source>Landscape</source> + <translation>가로</translation> + </message> + <message> + <source>Reverse landscape</source> + <translation>뒤집은 가로</translation> + </message> + <message> + <source>Reverse portrait</source> + <translation>뒤집은 세로</translation> + </message> + <message> + <source>Margins</source> + <translation>여백</translation> + </message> + <message> + <source>top margin</source> + <translation>위쪽 여백</translation> + </message> + <message> + <source>left margin</source> + <translation>왼쪽 여백</translation> + </message> + <message> + <source>right margin</source> + <translation>오른쪽 여백</translation> + </message> + <message> + <source>bottom margin</source> + <translation>아래쪽 여백</translation> + </message> + <message> + <source>Centimeters (cm)</source> + <translation>센티미터 (cm)</translation> + </message> + <message> + <source>Millimeters (mm)</source> + <translation>밀리미터 (mm)</translation> + </message> + <message> + <source>Inches (in)</source> + <translation>인치 (in)</translation> + </message> + <message> + <source>Points (pt)</source> + <translation>포인트 (pt)</translation> + </message> +</context> +<context> + <name>QPluginLoader</name> + <message> + <source>The plugin was not loaded.</source> + <translation>플러그인을 불러오지 못했습니다.</translation> + </message> + <message> + <source>Unknown error</source> + <translation>알 수 없는 오류</translation> + </message> +</context> +<context> + <name>QPrintDialog</name> + <message> + <source>Print</source> + <translation>인쇄</translation> + </message> + <message> + <source>A0</source> + <translation>A0</translation> + </message> + <message> + <source>A1</source> + <translation>A1</translation> + </message> + <message> + <source>A2</source> + <translation>A2</translation> + </message> + <message> + <source>A3</source> + <translation>A3</translation> + </message> + <message> + <source>A4</source> + <translation>A4</translation> + </message> + <message> + <source>A5</source> + <translation>A5</translation> + </message> + <message> + <source>A6</source> + <translation>A6</translation> + </message> + <message> + <source>A7</source> + <translation>A7</translation> + </message> + <message> + <source>A8</source> + <translation>A8</translation> + </message> + <message> + <source>A9</source> + <translation>A9</translation> + </message> + <message> + <source>B0</source> + <translation>B0</translation> + </message> + <message> + <source>B1</source> + <translation>B1</translation> + </message> + <message> + <source>B2</source> + <translation>B2</translation> + </message> + <message> + <source>B3</source> + <translation>B3</translation> + </message> + <message> + <source>B4</source> + <translation>B4</translation> + </message> + <message> + <source>B5</source> + <translation>B5</translation> + </message> + <message> + <source>B6</source> + <translation>B6</translation> + </message> + <message> + <source>B7</source> + <translation>B7</translation> + </message> + <message> + <source>B8</source> + <translation>B8</translation> + </message> + <message> + <source>B9</source> + <translation>B9</translation> + </message> + <message> + <source>B10</source> + <translation>B10</translation> + </message> + <message> + <source>C5E</source> + <translation>C5E</translation> + </message> + <message> + <source>DLE</source> + <translation>DLE</translation> + </message> + <message> + <source>Executive</source> + <translation>Executive</translation> + </message> + <message> + <source>Folio</source> + <translation>폴리오</translation> + </message> + <message> + <source>Ledger</source> + <translation>레저</translation> + </message> + <message> + <source>Legal</source> + <translation>리갈</translation> + </message> + <message> + <source>Letter</source> + <translation>레터</translation> + </message> + <message> + <source>Tabloid</source> + <translation>타블로이드</translation> + </message> + <message> + <source>US Common #10 Envelope</source> + <translation>미국 공용 봉투 #10</translation> + </message> + <message> + <source>Custom</source> + <translation>사용자 정의</translation> + </message> + <message> + <source>File exists</source> + <translation>파일이 존재함</translation> + </message> + <message> + <source><qt>Do you want to overwrite it?</qt></source> + <translation><qt>덮어쓰시겠습니까?</qt></translation> + </message> + <message> + <source>A0 (841 x 1189 mm)</source> + <translation>A0 (841 x 1189 mm)</translation> + </message> + <message> + <source>A1 (594 x 841 mm)</source> + <translation>A1 (594 x 841 mm)</translation> + </message> + <message> + <source>A2 (420 x 594 mm)</source> + <translation>A2 (420 x 594 mm)</translation> + </message> + <message> + <source>A3 (297 x 420 mm)</source> + <translation>A3 (297 x 420 mm)</translation> + </message> + <message> + <source>A4 (210 x 297 mm, 8.26 x 11.7 inches)</source> + <translation>A4 (210 x 297 mm, 8.26 x 11.7 인치)</translation> + </message> + <message> + <source>A5 (148 x 210 mm)</source> + <translation>A5 (148 x 210 mm)</translation> + </message> + <message> + <source>A6 (105 x 148 mm)</source> + <translation>A6 (105 x 148 mm)</translation> + </message> + <message> + <source>A7 (74 x 105 mm)</source> + <translation>A7 (74 x 105 mm)</translation> + </message> + <message> + <source>A8 (52 x 74 mm)</source> + <translation>A8 (52 x 74 mm)</translation> + </message> + <message> + <source>A9 (37 x 52 mm)</source> + <translation>A9 (37 x 52 mm)</translation> + </message> + <message> + <source>B0 (1000 x 1414 mm)</source> + <translation>B0 (1000 x 1414 mm)</translation> + </message> + <message> + <source>B1 (707 x 1000 mm)</source> + <translation>B1 (707 x 1000 mm)</translation> + </message> + <message> + <source>B2 (500 x 707 mm)</source> + <translation>B2 (500 x 707 mm)</translation> + </message> + <message> + <source>B3 (353 x 500 mm)</source> + <translation>B3 (353 x 500 mm)</translation> + </message> + <message> + <source>B4 (250 x 353 mm)</source> + <translation>B4 (250 x 353 mm)</translation> + </message> + <message> + <source>B5 (176 x 250 mm, 6.93 x 9.84 inches)</source> + <translation>B5 (176 x 250 mm, 6.93 x 9.84 인치)</translation> + </message> + <message> + <source>B6 (125 x 176 mm)</source> + <translation>B6 (125 x 176 mm)</translation> + </message> + <message> + <source>B7 (88 x 125 mm)</source> + <translation>B7 (88 x 125 mm)</translation> + </message> + <message> + <source>B8 (62 x 88 mm)</source> + <translation>B8 (62 x 88 mm)</translation> + </message> + <message> + <source>B9 (44 x 62 mm)</source> + <translation>B9 (44 x 62 mm)</translation> + </message> + <message> + <source>B10 (31 x 44 mm)</source> + <translation>B10 (31 x 44 mm)</translation> + </message> + <message> + <source>C5E (163 x 229 mm)</source> + <translation>C5E (163 x 229 mm)</translation> + </message> + <message> + <source>DLE (110 x 220 mm)</source> + <translation>DLE (110 x 220 mm)</translation> + </message> + <message> + <source>Executive (7.5 x 10 inches, 191 x 254 mm)</source> + <translation>Executive (7.5 x 10 인치, 191 x 254 mm)</translation> + </message> + <message> + <source>Folio (210 x 330 mm)</source> + <translation>폴리오 (210 x 330 mm)</translation> + </message> + <message> + <source>Ledger (432 x 279 mm)</source> + <translation>레저 (432 x 279 mm)</translation> + </message> + <message> + <source>Legal (8.5 x 14 inches, 216 x 356 mm)</source> + <translation>리갈 (8.5 x 14 인치, 216 x 356 mm)</translation> + </message> + <message> + <source>Letter (8.5 x 11 inches, 216 x 279 mm)</source> + <translation>레터 (8.5 x 11 인치, 216 x 279 mm)</translation> + </message> + <message> + <source>Tabloid (279 x 432 mm)</source> + <translation>타블로이드 (279 x 432 mm)</translation> + </message> + <message> + <source>US Common #10 Envelope (105 x 241 mm)</source> + <translation>미국 공용 봉투 #10 (105 x 241 mm)</translation> + </message> + <message> + <source>Print all</source> + <translation>모두 인쇄</translation> + </message> + <message> + <source>Print selection</source> + <translation>선택 영역만 인쇄</translation> + </message> + <message> + <source>Print range</source> + <translation>인쇄 범위</translation> + </message> + <message> + <source>Print current page</source> + <translation>현재 쪽 인쇄</translation> + </message> + <message> + <source>&Options >></source> + <translation>설정(&O) >></translation> + </message> + <message> + <source>&Print</source> + <translation>인쇄(&P)</translation> + </message> + <message> + <source>&Options <<</source> + <translation>설정(&O) <<</translation> + </message> + <message> + <source>Print to File (PDF)</source> + <translation>파일로 인쇄 (PDF)</translation> + </message> + <message> + <source>Print to File (Postscript)</source> + <translation>파일로 인쇄 (포스트스크립트)</translation> + </message> + <message> + <source>Local file</source> + <translation>로컬 파일</translation> + </message> + <message> + <source>Write %1 file</source> + <translation>%1 파일로 쓰기</translation> + </message> + <message> + <source>Print To File ...</source> + <translation>파일로 인쇄...</translation> + </message> + <message> + <source>%1 is a directory. +Please choose a different file name.</source> + <translation>%1은(는) 디렉터리입니다. +다른 파일 이름을 선택하십시오.</translation> + </message> + <message> + <source>File %1 is not writable. +Please choose a different file name.</source> + <translation>파일 %1에 쓸 수 없습니다. +다른 파일 이름을 선택하십시오.</translation> + </message> + <message> + <source>%1 already exists. +Do you want to overwrite it?</source> + <translation>%1이(가) 이미 존재합니다. +덮어쓰시겠습니까?</translation> + </message> + <message> + <source>The 'From' value cannot be greater than the 'To' value.</source> + <translation>'시작' 값이 '끝' 값보다 클 수 없습니다.</translation> + </message> + <message> + <source>OK</source> + <translation>확인</translation> + </message> + <message> + <source>locally connected</source> + <translation>로컬로 연결됨</translation> + </message> + <message> + <source>Aliases: %1</source> + <translation>별명: %1</translation> + </message> + <message> + <source>unknown</source> + <translation>알 수 없음</translation> + </message> +</context> +<context> + <name>QPrintPreviewDialog</name> + <message> + <source>Page Setup</source> + <translation>쪽 설정</translation> + </message> + <message> + <source>%1%</source> + <translation>%1%</translation> + </message> + <message> + <source>Print Preview</source> + <translation>인쇄 미리 보기</translation> + </message> + <message> + <source>Next page</source> + <translation>다음 쪽</translation> + </message> + <message> + <source>Previous page</source> + <translation>이전 쪽</translation> + </message> + <message> + <source>First page</source> + <translation>첫 쪽</translation> + </message> + <message> + <source>Last page</source> + <translation>마지막 쪽</translation> + </message> + <message> + <source>Fit width</source> + <translation>폭 맞춤</translation> + </message> + <message> + <source>Fit page</source> + <translation>쪽 맞춤</translation> + </message> + <message> + <source>Zoom in</source> + <translation>확대</translation> + </message> + <message> + <source>Zoom out</source> + <translation>축소</translation> + </message> + <message> + <source>Portrait</source> + <translation>세로</translation> + </message> + <message> + <source>Landscape</source> + <translation>가로</translation> + </message> + <message> + <source>Show single page</source> + <translation>한 쪽 보이기</translation> + </message> + <message> + <source>Show facing pages</source> + <translation>맞쪽 보기</translation> + </message> + <message> + <source>Show overview of all pages</source> + <translation>전체 쪽 보기</translation> + </message> + <message> + <source>Print</source> + <translation>인쇄</translation> + </message> + <message> + <source>Page setup</source> + <translation>쪽 설정</translation> + </message> + <message> + <source>Close</source> + <translation>닫기</translation> + </message> + <message> + <source>Export to PDF</source> + <translation>PDF로 내보내기</translation> + </message> + <message> + <source>Export to PostScript</source> + <translation>포스트스크립트로 내보내기</translation> + </message> +</context> +<context> + <name>QPrintPropertiesWidget</name> + <message> + <source>Form</source> + <translation>폼</translation> + </message> + <message> + <source>Page</source> + <translation>쪽</translation> + </message> + <message> + <source>Advanced</source> + <translation>고급</translation> + </message> +</context> +<context> + <name>QPrintSettingsOutput</name> + <message> + <source>Form</source> + <translation>폼</translation> + </message> + <message> + <source>Copies</source> + <translation>복사 부수</translation> + </message> + <message> + <source>Print range</source> + <translation>인쇄 범위</translation> + </message> + <message> + <source>Print all</source> + <translation>모두 인쇄</translation> + </message> + <message> + <source>Pages from</source> + <translation>시작 쪽</translation> + </message> + <message> + <source>to</source> + <translation>끝 쪽</translation> + </message> + <message> + <source>Current Page</source> + <translation>현재 쪽</translation> + </message> + <message> + <source>Selection</source> + <translation>선택</translation> + </message> + <message> + <source>Output Settings</source> + <translation>출력 설정</translation> + </message> + <message> + <source>Copies:</source> + <translation>복사 부수:</translation> + </message> + <message> + <source>Collate</source> + <translation>한 부씩 인쇄</translation> + </message> + <message> + <source>Reverse</source> + <translation>역순 인쇄</translation> + </message> + <message> + <source>Options</source> + <translation>옵션</translation> + </message> + <message> + <source>Color Mode</source> + <translation>색 모드</translation> + </message> + <message> + <source>Color</source> + <translation>색상</translation> + </message> + <message> + <source>Grayscale</source> + <translation>그레이스케일</translation> + </message> + <message> + <source>Duplex Printing</source> + <translation>양면 인쇄</translation> + </message> + <message> + <source>None</source> + <translation>없음</translation> + </message> + <message> + <source>Long side</source> + <translation>긴 쪽</translation> + </message> + <message> + <source>Short side</source> + <translation>짧은 쪽</translation> + </message> +</context> +<context> + <name>QPrintWidget</name> + <message> + <source>Form</source> + <translation>폼</translation> + </message> + <message> + <source>Printer</source> + <translation>프린터</translation> + </message> + <message> + <source>&Name:</source> + <translation>이름(&N):</translation> + </message> + <message> + <source>P&roperties</source> + <translation>속성(&R)</translation> + </message> + <message> + <source>Location:</source> + <translation>위치:</translation> + </message> + <message> + <source>Preview</source> + <translation>미리 보기</translation> + </message> + <message> + <source>Type:</source> + <translation>종류:</translation> + </message> + <message> + <source>Output &file:</source> + <translation>출력 파일(&F):</translation> + </message> + <message> + <source>...</source> + <translation>...</translation> + </message> +</context> +<context> + <name>QProcess</name> + <message> + <source>Error reading from process</source> + <translation>프로세스에서 읽을 수 없음</translation> + </message> + <message> + <source>Error writing to process</source> + <translation>프로세스에 쓸 수 없음</translation> + </message> + <message> + <source>Process crashed</source> + <translation>프로세스가 충돌함</translation> + </message> + <message> + <source>No program defined</source> + <translation>프로그램이 지정되지 않음</translation> + </message> + <message> + <source>Could not open input redirection for reading</source> + <translation>읽기 위해 입력 리다이렉션을 열 수 없음</translation> + </message> + <message> + <source>Could not open output redirection for writing</source> + <translation>쓰기 위해 출력 리다이렉션을 열 수 없음</translation> + </message> + <message> + <source>Resource error (fork failure): %1</source> + <translation>자원 오류 (fork 실패): %1</translation> + </message> + <message> + <source>Process operation timed out</source> + <translation>프로세스 작업 시간 초과</translation> + </message> + <message> + <source>Process failed to start: %1</source> + <translation>프로세스를 시작할 수 없음: %1</translation> + </message> +</context> +<context> + <name>QProgressDialog</name> + <message> + <source>Cancel</source> + <translation>취소</translation> + </message> +</context> +<context> + <name>QPushButton</name> + <message> + <source>Open</source> + <translation>열기</translation> + </message> +</context> +<context> + <name>QRadioButton</name> + <message> + <source>Check</source> + <translation>선택</translation> + </message> +</context> +<context> + <name>QRegExp</name> + <message> + <source>no error occurred</source> + <translation>오류 없음</translation> + </message> + <message> + <source>disabled feature used</source> + <translation>비활성화된 기능 사용됨</translation> + </message> + <message> + <source>bad char class syntax</source> + <translation>잘못된 문자열 클래스 문법</translation> + </message> + <message> + <source>bad lookahead syntax</source> + <translation>잘못된 룩어헤드 문법</translation> + </message> + <message> + <source>bad repetition syntax</source> + <translation>잘못된 반복 문법</translation> + </message> + <message> + <source>invalid octal value</source> + <translation>잘못된 8진 값</translation> + </message> + <message> + <source>missing left delim</source> + <translation>왼쪽 구분자 없음</translation> + </message> + <message> + <source>unexpected end</source> + <translation>예상하지 못한 끝</translation> + </message> + <message> + <source>met internal limit</source> + <translation>내부 한계에 도달함</translation> + </message> + <message> + <source>invalid interval</source> + <translation>잘못된 간격</translation> + </message> + <message> + <source>invalid category</source> + <translation>잘못된 분류</translation> + </message> +</context> +<context> + <name>QSQLite2Driver</name> + <message> + <source>Error opening database</source> + <translation>데이터베이스를 여는 중 오류 발생</translation> + </message> + <message> + <source>Unable to begin transaction</source> + <translation>트랜잭션을 시작할 수 없음</translation> + </message> + <message> + <source>Unable to commit transaction</source> + <translation>트랜잭션을 커밋할 수 없음</translation> + </message> + <message> + <source>Unable to rollback transaction</source> + <translation>트랜잭션을 되돌릴 수 없음</translation> + </message> +</context> +<context> + <name>QSQLite2Result</name> + <message> + <source>Unable to fetch results</source> + <translation>결과를 가져올 수 없음</translation> + </message> + <message> + <source>Unable to execute statement</source> + <translation>구문을 실행할 수 없음</translation> + </message> +</context> +<context> + <name>QSQLiteDriver</name> + <message> + <source>Error opening database</source> + <translation>데이터베이스를 여는 중 오류 발생</translation> + </message> + <message> + <source>Error closing database</source> + <translation>데이터베이스를 닫는 중 오류 발생</translation> + </message> + <message> + <source>Unable to begin transaction</source> + <translation>트랜잭션을 시작할 수 없음</translation> + </message> + <message> + <source>Unable to commit transaction</source> + <translation>트랜잭션을 커밋할 수 없음</translation> + </message> + <message> + <source>Unable to rollback transaction</source> + <translation>트랜잭션을 되돌릴 수 없음</translation> + </message> +</context> +<context> + <name>QSQLiteResult</name> + <message> + <source>Unable to fetch row</source> + <translation>열을 가져올 수 없음</translation> + </message> + <message> + <source>No query</source> + <translation>쿼리 없음</translation> + </message> + <message> + <source>Unable to execute statement</source> + <translation>구문을 실행할 수 없음</translation> + </message> + <message> + <source>Unable to reset statement</source> + <translation>구문을 초기화할 수 없음</translation> + </message> + <message> + <source>Unable to bind parameters</source> + <translation>인자를 바인딩할 수 없음</translation> + </message> + <message> + <source>Parameter count mismatch</source> + <translation>인자 수가 일치하지 않음</translation> + </message> +</context> +<context> + <name>QScriptBreakpointsModel</name> + <message> + <source>ID</source> + <translation>ID</translation> + </message> + <message> + <source>Location</source> + <translation>위치</translation> + </message> + <message> + <source>Condition</source> + <translation>조건</translation> + </message> + <message> + <source>Ignore-count</source> + <translation>무시 개수</translation> + </message> + <message> + <source>Single-shot</source> + <translation>싱글 샷</translation> + </message> + <message> + <source>Hit-count</source> + <translation>일치 개수</translation> + </message> +</context> +<context> + <name>QScriptBreakpointsWidget</name> + <message> + <source>New</source> + <translation>새로 만들기</translation> + </message> + <message> + <source>Delete</source> + <translation>삭제</translation> + </message> +</context> +<context> + <name>QScriptDebugger</name> + <message> + <source>Go to Line</source> + <translation>줄로 가기</translation> + </message> + <message> + <source>Line:</source> + <translation>줄:</translation> + </message> + <message> + <source>Interrupt</source> + <translation>인터럽트</translation> + </message> + <message> + <source>Shift+F5</source> + <translation>Shift+F5</translation> + </message> + <message> + <source>Continue</source> + <translation>계속</translation> + </message> + <message> + <source>F5</source> + <translation>F5</translation> + </message> + <message> + <source>Step Into</source> + <translation>안으로 들어가기</translation> + </message> + <message> + <source>F11</source> + <translation>F11</translation> + </message> + <message> + <source>Step Over</source> + <translation>넘어가기</translation> + </message> + <message> + <source>F10</source> + <translation>F10</translation> + </message> + <message> + <source>Step Out</source> + <translation>빠져 나가기</translation> + </message> + <message> + <source>Shift+F11</source> + <translation>Shift+F11</translation> + </message> + <message> + <source>Run to Cursor</source> + <translation>커서까지 실행</translation> + </message> + <message> + <source>Ctrl+F10</source> + <translation>Ctrl+F10</translation> + </message> + <message> + <source>Run to New Script</source> + <translation>새 스크립트까지 실행</translation> + </message> + <message> + <source>Toggle Breakpoint</source> + <translation>중단점 지정/해제</translation> + </message> + <message> + <source>F9</source> + <translation>F9</translation> + </message> + <message> + <source>Clear Debug Output</source> + <translation>디버그 출력 삭제</translation> + </message> + <message> + <source>Clear Error Log</source> + <translation>오류 로그 삭제</translation> + </message> + <message> + <source>Clear Console</source> + <translation>콘솔 삭제</translation> + </message> + <message> + <source>&Find in Script...</source> + <translation>스크립트에서 찾기(&F)...</translation> + </message> + <message> + <source>Ctrl+F</source> + <translation>Ctrl+F</translation> + </message> + <message> + <source>Find &Next</source> + <translation>다음 찾기(&N)</translation> + </message> + <message> + <source>F3</source> + <translation>F3</translation> + </message> + <message> + <source>Find &Previous</source> + <translation>이전 찾기(&P)</translation> + </message> + <message> + <source>Shift+F3</source> + <translation>Shift+F3</translation> + </message> + <message> + <source>Ctrl+G</source> + <translation>Ctrl+G</translation> + </message> + <message> + <source>Debug</source> + <translation>디버그</translation> + </message> +</context> +<context> + <name>QScriptDebuggerCodeFinderWidget</name> + <message> + <source>Close</source> + <translation>닫기</translation> + </message> + <message> + <source>Previous</source> + <translation>이전</translation> + </message> + <message> + <source>Next</source> + <translation>다음</translation> + </message> + <message> + <source>Case Sensitive</source> + <translation>대소문자 구분</translation> + </message> + <message> + <source>Whole words</source> + <translation>단어 단위로</translation> + </message> + <message> + <source><img src=":/qt/scripttools/debugging/images/wrap.png">&nbsp;Search wrapped</source> + <translation><img src=":/qt/scripttools/debugging/images/wrap.png">&nbsp;검색 다시 시작됨</translation> + </message> +</context> +<context> + <name>QScriptDebuggerLocalsModel</name> + <message> + <source>Name</source> + <translation>이름</translation> + </message> + <message> + <source>Value</source> + <translation>값</translation> + </message> +</context> +<context> + <name>QScriptDebuggerStackModel</name> + <message> + <source>Level</source> + <translation>단계</translation> + </message> + <message> + <source>Name</source> + <translation>이름</translation> + </message> + <message> + <source>Location</source> + <translation>위치</translation> + </message> +</context> +<context> + <name>QScriptEdit</name> + <message> + <source>Toggle Breakpoint</source> + <translation>중단점 설정/해제</translation> + </message> + <message> + <source>Disable Breakpoint</source> + <translation>중단점 해제</translation> + </message> + <message> + <source>Enable Breakpoint</source> + <translation>중단점 설정</translation> + </message> + <message> + <source>Breakpoint Condition:</source> + <translation>중단점 조건:</translation> + </message> +</context> +<context> + <name>QScriptEngineDebugger</name> + <message> + <source>Loaded Scripts</source> + <translation>불러온 스크립트</translation> + </message> + <message> + <source>Breakpoints</source> + <translation>중단점</translation> + </message> + <message> + <source>Stack</source> + <translation>스택</translation> + </message> + <message> + <source>Locals</source> + <translation>지역 변수</translation> + </message> + <message> + <source>Console</source> + <translation>콘솔</translation> + </message> + <message> + <source>Debug Output</source> + <translation>디버그 출력</translation> + </message> + <message> + <source>Error Log</source> + <translation>오류 로그</translation> + </message> + <message> + <source>Search</source> + <translation>검색</translation> + </message> + <message> + <source>View</source> + <translation>보기</translation> + </message> + <message> + <source>Qt Script Debugger</source> + <translation>Qt 스크립트 디버거</translation> + </message> +</context> +<context> + <name>QScriptNewBreakpointWidget</name> + <message> + <source>Close</source> + <translation>닫기</translation> + </message> +</context> +<context> + <name>QScrollBar</name> + <message> + <source>Scroll here</source> + <translation>여기로 스크롤</translation> + </message> + <message> + <source>Left edge</source> + <translation>왼쪽 경계</translation> + </message> + <message> + <source>Top</source> + <translation>맨 위</translation> + </message> + <message> + <source>Right edge</source> + <translation>오른쪽 경계</translation> + </message> + <message> + <source>Bottom</source> + <translation>맨 아래</translation> + </message> + <message> + <source>Page left</source> + <translation>왼쪽 페이지</translation> + </message> + <message> + <source>Page up</source> + <translation>위쪽 페이지</translation> + </message> + <message> + <source>Page right</source> + <translation>오른쪽 페이지</translation> + </message> + <message> + <source>Page down</source> + <translation>아래쪽 페이지</translation> + </message> + <message> + <source>Scroll left</source> + <translation>왼쪽으로 스크롤</translation> + </message> + <message> + <source>Scroll up</source> + <translation>위로 스크롤</translation> + </message> + <message> + <source>Scroll right</source> + <translation>오른쪽으로 스크롤</translation> + </message> + <message> + <source>Scroll down</source> + <translation>아래로 스크롤</translation> + </message> + <message> + <source>Line up</source> + <translation>한 줄 위로</translation> + </message> + <message> + <source>Position</source> + <translation>위치</translation> + </message> + <message> + <source>Line down</source> + <translation>한 줄 아래로</translation> + </message> +</context> +<context> + <name>QSharedMemory</name> + <message> + <source>%1: unable to set key on lock</source> + <translation>%1: 잠금에 키를 설정할 수 없음</translation> + </message> + <message> + <source>%1: create size is less then 0</source> + <translation>%1: 생성 크기가 0 미만임</translation> + </message> + <message> + <source>%1: unable to lock</source> + <translation>%1: 잠글 수 없음</translation> + </message> + <message> + <source>%1: unable to unlock</source> + <translation>%1: 잠금을 풀 수 없음</translation> + </message> + <message> + <source>%1: already exists</source> + <comment>QSystemSemaphore</comment> + <translation type="obsolete">%1: 이미 존재함</translation> + </message> + <message> + <source>%1: doesn't exists</source> + <comment>QSystemSemaphore</comment> + <translation type="obsolete">%1: 존재하지 않음</translation> + </message> + <message> + <source>%1: already exists</source> + <translation>%1: 이미 존재함</translation> + </message> + <message> + <source>%1: doesn't exists</source> + <translation>%1: 존재하지 않음</translation> + </message> + <message> + <source>%1: invalid size</source> + <translation>%1: 잘못된 크기</translation> + </message> + <message> + <source>%1: out of resources</source> + <translation>%1: 자원 부족</translation> + </message> + <message> + <source>%1: permission denied</source> + <translation>%1: 권한이 거부됨</translation> + </message> + <message> + <source>%1: unknown error %2</source> + <translation>%1: 알 수 없는 오류 %2</translation> + </message> + <message> + <source>%1: unable to make key</source> + <translation>%1: 키를 만들 수 없음</translation> + </message> + <message> + <source>%1: permission denied</source> + <comment>QSystemSemaphore</comment> + <translation type="obsolete">%1: 권한이 거부됨</translation> + </message> + <message> + <source>%1: unknown error %2</source> + <comment>QSystemSemaphore</comment> + <translation type="obsolete">%1: 알 수 없는 오류 %2</translation> + </message> + <message> + <source>%1: key error</source> + <translation>%1: 키 오류</translation> + </message> + <message> + <source>%1: unable to make key</source> + <comment>QSystemSemaphore</comment> + <translation type="obsolete">%1: 키를 만들 수 없음</translation> + </message> + <message> + <source>%1: doesn't exist</source> + <comment>QSystemSemaphore</comment> + <translation type="obsolete">%1: 존재하지 않음</translation> + </message> + <message> + <source>%1: key is empty</source> + <comment>QSystemSemaphore</comment> + <translation type="obsolete">%1: 키가 비어 있음</translation> + </message> + <message> + <source>%1: UNIX key file doesn't exist</source> + <translation>%1: 유닉스 키 파일이 없음</translation> + </message> + <message> + <source>%1: ftok failed</source> + <comment>QSystemSemaphore</comment> + <translation type="obsolete">%1: ftok 실패</translation> + </message> + <message> + <source>%1: doesn't exist</source> + <translation>%1: 존재하지 않음</translation> + </message> + <message> + <source>%1: key is empty</source> + <translation>%1: 키가 비어 있음</translation> + </message> + <message> + <source>%1: ftok failed</source> + <translation>%1: ftok 실패</translation> + </message> + <message> + <source>%1: system-imposed size restrictions</source> + <translation>%1: 시스템에서 크게를 제한함</translation> + </message> + <message> + <source>%1: not attached</source> + <translation>%1: 연결되지 않음</translation> + </message> + <message> + <source>%1: size query failed</source> + <comment>QSystemSemaphore</comment> + <translation type="obsolete">%1: 크기 조회 실패</translation> + </message> + <message> + <source>%1: size query failed</source> + <translation>%1: 크기 조회 실패</translation> + </message> +</context> +<context> + <name>QShortcut</name> + <message> + <source>Space</source> + <extracomment>This and all following "incomprehensible" strings in QShortcut context are key names. Please use the localized names appearing on actual keyboards or whatever is commonly used.</extracomment> + <translation>Space</translation> + </message> + <message> + <source>Esc</source> + <translation>Esc</translation> + </message> + <message> + <source>Tab</source> + <translation>Tab</translation> + </message> + <message> + <source>Backtab</source> + <translation>Backtab</translation> + </message> + <message> + <source>Backspace</source> + <translation>Backspace</translation> + </message> + <message> + <source>Return</source> + <translation>Return</translation> + </message> + <message> + <source>Enter</source> + <translation>Enter</translation> + </message> + <message> + <source>Ins</source> + <translation>Ins</translation> + </message> + <message> + <source>Del</source> + <translation>Del</translation> + </message> + <message> + <source>Pause</source> + <translation>Pause</translation> + </message> + <message> + <source>Print</source> + <translation>Print</translation> + </message> + <message> + <source>SysReq</source> + <translation>SysReq</translation> + </message> + <message> + <source>Home</source> + <translation>Home</translation> + </message> + <message> + <source>End</source> + <translation>End</translation> + </message> + <message> + <source>Left</source> + <translation>왼쪽</translation> + </message> + <message> + <source>Up</source> + <translation>위</translation> + </message> + <message> + <source>Right</source> + <translation>오른쪽</translation> + </message> + <message> + <source>Down</source> + <translation>아래</translation> + </message> + <message> + <source>PgUp</source> + <translation>PgUp</translation> + </message> + <message> + <source>PgDown</source> + <translation>PgDown</translation> + </message> + <message> + <source>CapsLock</source> + <translation>CapsLock</translation> + </message> + <message> + <source>NumLock</source> + <translation>NumLock</translation> + </message> + <message> + <source>ScrollLock</source> + <translation>ScrollLock</translation> + </message> + <message> + <source>Menu</source> + <translation>메뉴</translation> + </message> + <message> + <source>Help</source> + <translation>도움말</translation> + </message> + <message> + <source>Back</source> + <translation>뒤로</translation> + </message> + <message> + <source>Forward</source> + <translation>앞으로</translation> + </message> + <message> + <source>Stop</source> + <translation>정지</translation> + </message> + <message> + <source>Refresh</source> + <translation>새로 고침</translation> + </message> + <message> + <source>Volume Down</source> + <translation>음량 감소</translation> + </message> + <message> + <source>Volume Mute</source> + <translation>음소거</translation> + </message> + <message> + <source>Volume Up</source> + <translation>음량 증가</translation> + </message> + <message> + <source>Bass Boost</source> + <translation>저음 강조</translation> + </message> + <message> + <source>Bass Up</source> + <translation>저음 증가</translation> + </message> + <message> + <source>Bass Down</source> + <translation>저음 감소</translation> + </message> + <message> + <source>Treble Up</source> + <translation>고음 증가</translation> + </message> + <message> + <source>Treble Down</source> + <translation>고음 감소</translation> + </message> + <message> + <source>Media Play</source> + <translation>미디어 재생</translation> + </message> + <message> + <source>Media Stop</source> + <translation>미디어 정지</translation> + </message> + <message> + <source>Media Previous</source> + <translation>미디어 이전</translation> + </message> + <message> + <source>Media Next</source> + <translation>미디어 다음</translation> + </message> + <message> + <source>Media Record</source> + <translation>미디어 녹음</translation> + </message> + <message> + <source>Media Pause</source> + <extracomment>Media player pause button</extracomment> + <translation>미디어 일시 정지</translation> + </message> + <message> + <source>Toggle Media Play/Pause</source> + <extracomment>Media player button to toggle between playing and paused</extracomment> + <translation>미디어 재생/일시 정지</translation> + </message> + <message> + <source>Home Page</source> + <translation>홈 페이지</translation> + </message> + <message> + <source>Favorites</source> + <translation>즐겨찾기</translation> + </message> + <message> + <source>Search</source> + <translation>검색</translation> + </message> + <message> + <source>Standby</source> + <translation>대기 모드</translation> + </message> + <message> + <source>Open URL</source> + <translation>URL 열기</translation> + </message> + <message> + <source>Launch Mail</source> + <translation>메일 실행</translation> + </message> + <message> + <source>Launch Media</source> + <translation>미디어 실행</translation> + </message> + <message> + <source>Launch (0)</source> + <translation>(0) 실행</translation> + </message> + <message> + <source>Launch (1)</source> + <translation>(1) 실행</translation> + </message> + <message> + <source>Launch (2)</source> + <translation>(2) 실행</translation> + </message> + <message> + <source>Launch (3)</source> + <translation>(3) 실행</translation> + </message> + <message> + <source>Launch (4)</source> + <translation>(4) 실행</translation> + </message> + <message> + <source>Launch (5)</source> + <translation>(5) 실행</translation> + </message> + <message> + <source>Launch (6)</source> + <translation>(6) 실행</translation> + </message> + <message> + <source>Launch (7)</source> + <translation>(7) 실행</translation> + </message> + <message> + <source>Launch (8)</source> + <translation>(8) 실행</translation> + </message> + <message> + <source>Launch (9)</source> + <translation>(9) 실행</translation> + </message> + <message> + <source>Launch (A)</source> + <translation>(A) 실행</translation> + </message> + <message> + <source>Launch (B)</source> + <translation>(B) 실행</translation> + </message> + <message> + <source>Launch (C)</source> + <translation>(C) 실행</translation> + </message> + <message> + <source>Launch (D)</source> + <translation>(D) 실행</translation> + </message> + <message> + <source>Launch (E)</source> + <translation>(E) 실행</translation> + </message> + <message> + <source>Launch (F)</source> + <translation>(F) 실행</translation> + </message> + <message> + <source>Monitor Brightness Up</source> + <translation>모니터 밝기 증가</translation> + </message> + <message> + <source>Monitor Brightness Down</source> + <translation>모니터 밝기 감소</translation> + </message> + <message> + <source>Keyboard Light On/Off</source> + <translation>키보드 백라이트 켬/끔</translation> + </message> + <message> + <source>Keyboard Brightness Up</source> + <translation>키보드 밝기 증가</translation> + </message> + <message> + <source>Keyboard Brightness Down</source> + <translation>키보드 밝기 감소</translation> + </message> + <message> + <source>Power Off</source> + <translation>전원 끄기</translation> + </message> + <message> + <source>Wake Up</source> + <translation>깨어나기</translation> + </message> + <message> + <source>Eject</source> + <translation>꺼내기</translation> + </message> + <message> + <source>Screensaver</source> + <translation>화면 보호기</translation> + </message> + <message> + <source>WWW</source> + <translation>WWW</translation> + </message> + <message> + <source>Sleep</source> + <translation>대기 모드</translation> + </message> + <message> + <source>LightBulb</source> + <translation>조명등</translation> + </message> + <message> + <source>Shop</source> + <translation>쇼핑</translation> + </message> + <message> + <source>History</source> + <translation>과거 기록</translation> + </message> + <message> + <source>Add Favorite</source> + <translation>즐겨찾기에 추가</translation> + </message> + <message> + <source>Hot Links</source> + <translation>인기있는 링크</translation> + </message> + <message> + <source>Copy</source> + <translation>복사</translation> + </message> + <message> + <source>Cut</source> + <translation>잘라내기</translation> + </message> + <message> + <source>Paste</source> + <translation>붙여넣기</translation> + </message> + <message> + <source>Reload</source> + <translation>새로 고침</translation> + </message> + <message> + <source>Audio Forward</source> + <translation>오디오 빨리 감기</translation> + </message> + <message> + <source>Hot Links</source> + <comment>Copy Link context menu item</comment> + <translation type="obsolete">인기있는 링크</translation> + </message> + <message> + <source>Adjust Brightness</source> + <translation>밝기 조정</translation> + </message> + <message> + <source>Finance</source> + <translation>금융</translation> + </message> + <message> + <source>Community</source> + <translation>커뮤니티</translation> + </message> + <message> + <source>Audio Rewind</source> + <translation>오디오 되감기</translation> + </message> + <message> + <source>Back Forward</source> + <translation>뒤로 앞으로</translation> + </message> + <message> + <source>Application Left</source> + <translation>왼쪽 프로그램</translation> + </message> + <message> + <source>Application Right</source> + <translation>오른쪽 프로그램</translation> + </message> + <message> + <source>Book</source> + <translation>책</translation> + </message> + <message> + <source>CD</source> + <translation>CD</translation> + </message> + <message> + <source>Calculator</source> + <translation>계산기</translation> + </message> + <message> + <source>Clear</source> + <translation>지우기</translation> + </message> + <message> + <source>Clear Grab</source> + <translation>선택 지우기</translation> + </message> + <message> + <source>Close</source> + <translation>닫기</translation> + </message> + <message> + <source>Copy</source> + <comment>Copy context menu item</comment> + <translation type="obsolete">복사</translation> + </message> + <message> + <source>Cut</source> + <comment>Cut context menu item</comment> + <translation type="obsolete">잘라내기</translation> + </message> + <message> + <source>Display</source> + <translation>디스플레이</translation> + </message> + <message> + <source>DOS</source> + <translation>DOS</translation> + </message> + <message> + <source>Documents</source> + <translation>문서</translation> + </message> + <message> + <source>Spreadsheet</source> + <translation>스프레드시트</translation> + </message> + <message> + <source>Browser</source> + <translation>브라우저</translation> + </message> + <message> + <source>Game</source> + <translation>게임</translation> + </message> + <message> + <source>Go</source> + <translation>이동</translation> + </message> + <message> + <source>iTouch</source> + <translation>iTouch</translation> + </message> + <message> + <source>Logoff</source> + <translation>로그오프</translation> + </message> + <message> + <source>Market</source> + <translation>마켓</translation> + </message> + <message> + <source>Meeting</source> + <translation>미팅</translation> + </message> + <message> + <source>Keyboard Menu</source> + <translation>키보드 메뉴</translation> + </message> + <message> + <source>Menu PB</source> + <translation>메뉴 PB</translation> + </message> + <message> + <source>My Sites</source> + <translation>내 사이트</translation> + </message> + <message> + <source>News</source> + <translation>뉴스</translation> + </message> + <message> + <source>Home Office</source> + <translation>홈 오피스</translation> + </message> + <message> + <source>Option</source> + <translation>옵션</translation> + </message> + <message> + <source>Paste</source> + <comment>Paste context menu item</comment> + <translation type="obsolete">붙여넣기</translation> + </message> + <message> + <source>Phone</source> + <translation>전화</translation> + </message> + <message> + <source>Reply</source> + <translation>답장</translation> + </message> + <message> + <source>Reload</source> + <comment>Reload context menu item</comment> + <translation type="obsolete">새로 고침</translation> + </message> + <message> + <source>Rotate Windows</source> + <translation>창 회전</translation> + </message> + <message> + <source>Rotation PB</source> + <translation>회전 PB</translation> + </message> + <message> + <source>Rotation KB</source> + <translation>회전 KB</translation> + </message> + <message> + <source>Save</source> + <translation>저장</translation> + </message> + <message> + <source>Send</source> + <translation>보내기</translation> + </message> + <message> + <source>Spellchecker</source> + <translation>맞춤법 검사</translation> + </message> + <message> + <source>Split Screen</source> + <translation>화면 나누기</translation> + </message> + <message> + <source>Support</source> + <translation>지원</translation> + </message> + <message> + <source>Task Panel</source> + <translation>작업 패널</translation> + </message> + <message> + <source>Terminal</source> + <translation>터미널</translation> + </message> + <message> + <source>Tools</source> + <translation>도구</translation> + </message> + <message> + <source>Travel</source> + <translation>여행</translation> + </message> + <message> + <source>Video</source> + <translation>비디오</translation> + </message> + <message> + <source>Word Processor</source> + <translation>워드 프로세서</translation> + </message> + <message> + <source>XFer</source> + <translation>전송</translation> + </message> + <message> + <source>Zoom In</source> + <translation>확대</translation> + </message> + <message> + <source>Zoom Out</source> + <translation>축소</translation> + </message> + <message> + <source>Away</source> + <translation>자리 비움</translation> + </message> + <message> + <source>Messenger</source> + <translation>메신저</translation> + </message> + <message> + <source>WebCam</source> + <translation>웹캠</translation> + </message> + <message> + <source>Mail Forward</source> + <translation>메일 전달</translation> + </message> + <message> + <source>Pictures</source> + <translation>그림</translation> + </message> + <message> + <source>Music</source> + <translation>음악</translation> + </message> + <message> + <source>Battery</source> + <translation>배터리</translation> + </message> + <message> + <source>Bluetooth</source> + <translation>블루투스</translation> + </message> + <message> + <source>Wireless</source> + <translation>무선</translation> + </message> + <message> + <source>Ultra Wide Band</source> + <translation>광대역</translation> + </message> + <message> + <source>Audio Forward</source> + <comment>Forward context menu item</comment> + <translation type="obsolete">오디오 빨리 감기</translation> + </message> + <message> + <source>Audio Repeat</source> + <translation>오디오 반복</translation> + </message> + <message> + <source>Audio Random Play</source> + <translation>오디오 무순서 연주</translation> + </message> + <message> + <source>Subtitle</source> + <translation>자막</translation> + </message> + <message> + <source>Audio Cycle Track</source> + <translation>오디오 트랙 회전</translation> + </message> + <message> + <source>Time</source> + <translation>시간</translation> + </message> + <message> + <source>Select</source> + <translation>선택</translation> + </message> + <message> + <source>View</source> + <translation>보기</translation> + </message> + <message> + <source>Top Menu</source> + <translation>최상위 메뉴</translation> + </message> + <message> + <source>Suspend</source> + <translation>대기 모드</translation> + </message> + <message> + <source>Hibernate</source> + <translation>최대 절전 모드</translation> + </message> + <message> + <source>Print Screen</source> + <translation>Print Screen</translation> + </message> + <message> + <source>Page Up</source> + <translation>Page Up</translation> + </message> + <message> + <source>Page Down</source> + <translation>Page Down</translation> + </message> + <message> + <source>Caps Lock</source> + <translation>Caps Lock</translation> + </message> + <message> + <source>Num Lock</source> + <translation>Num Lock</translation> + </message> + <message> + <source>Number Lock</source> + <translation>Number Lock</translation> + </message> + <message> + <source>Scroll Lock</source> + <translation>Scroll Lock</translation> + </message> + <message> + <source>Insert</source> + <translation>Insert</translation> + </message> + <message> + <source>Delete</source> + <translation>Delete</translation> + </message> + <message> + <source>Escape</source> + <translation>Escape</translation> + </message> + <message> + <source>System Request</source> + <translation>System Request</translation> + </message> + <message> + <source>Yes</source> + <translation>예</translation> + </message> + <message> + <source>No</source> + <translation>아니오</translation> + </message> + <message> + <source>Context1</source> + <translation>Context1</translation> + </message> + <message> + <source>Context2</source> + <translation>Context2</translation> + </message> + <message> + <source>Context3</source> + <translation>Context3</translation> + </message> + <message> + <source>Context4</source> + <translation>Context4</translation> + </message> + <message> + <source>Call</source> + <extracomment>Button to start a call (note: a separate button is used to end the call)</extracomment> + <translation>호출</translation> + </message> + <message> + <source>Hangup</source> + <extracomment>Button to end a call (note: a separate button is used to start the call)</extracomment> + <translation>끊기</translation> + </message> + <message> + <source>Toggle Call/Hangup</source> + <extracomment>Button that will hang up if we're in call, or make a call if we're not.</extracomment> + <translation>전화 걸기/끊기</translation> + </message> + <message> + <source>Flip</source> + <translation>뒤집기</translation> + </message> + <message> + <source>Voice Dial</source> + <extracomment>Button to trigger voice dialing</extracomment> + <translation>음성 다이얼</translation> + </message> + <message> + <source>Last Number Redial</source> + <extracomment>Button to redial the last number called</extracomment> + <translation>마지막 번호 재다이얼</translation> + </message> + <message> + <source>Camera Shutter</source> + <extracomment>Button to trigger the camera shutter (take a picture)</extracomment> + <translation>카메라 셔터</translation> + </message> + <message> + <source>Camera Focus</source> + <extracomment>Button to focus the camera</extracomment> + <translation>카메라 초점</translation> + </message> + <message> + <source>Kanji</source> + <translation>한자</translation> + </message> + <message> + <source>Muhenkan</source> + <translation>무변환</translation> + </message> + <message> + <source>Henkan</source> + <translation>변환</translation> + </message> + <message> + <source>Romaji</source> + <translation>로마자</translation> + </message> + <message> + <source>Hiragana</source> + <translation>히라가나</translation> + </message> + <message> + <source>Katakana</source> + <translation>가타가나</translation> + </message> + <message> + <source>Hiragana Katakana</source> + <translation>히라가나 가타가나</translation> + </message> + <message> + <source>Zenkaku</source> + <translation>전각</translation> + </message> + <message> + <source>Hankaku</source> + <translation>반각</translation> + </message> + <message> + <source>Zenkaku Hankaku</source> + <translation>전각 반각</translation> + </message> + <message> + <source>Touroku</source> + <translation type="unfinished"></translation> + </message> + <message> + <source>Massyo</source> + <translation type="unfinished"></translation> + </message> + <message> + <source>Kana Lock</source> + <translation>가나 Lock</translation> + </message> + <message> + <source>Kana Shift</source> + <translation>가나 Shift</translation> + </message> + <message> + <source>Eisu Shift</source> + <translation type="unfinished"></translation> + </message> + <message> + <source>Eisu toggle</source> + <translation type="unfinished"></translation> + </message> + <message> + <source>Code input</source> + <translation>코드 입력</translation> + </message> + <message> + <source>Multiple Candidate</source> + <translation>다중 후보</translation> + </message> + <message> + <source>Previous Candidate</source> + <translation>이전 후보</translation> + </message> + <message> + <source>Hangul</source> + <translation>한글</translation> + </message> + <message> + <source>Hangul Start</source> + <translation>한글 시작</translation> + </message> + <message> + <source>Hangul End</source> + <translation>한글 끝</translation> + </message> + <message> + <source>Hangul Hanja</source> + <translation>한글 한자</translation> + </message> + <message> + <source>Hangul Jamo</source> + <translation>한글 자모</translation> + </message> + <message> + <source>Hangul Romaja</source> + <translation>한글 로마자</translation> + </message> + <message> + <source>Hangul Jeonja</source> + <translation>한글 전자</translation> + </message> + <message> + <source>Hangul Banja</source> + <translation>한글 반자</translation> + </message> + <message> + <source>Hangul PreHanja</source> + <translation>한글 한자 시작</translation> + </message> + <message> + <source>Hangul PostHanja</source> + <translation>한글 한자 끝</translation> + </message> + <message> + <source>Hangul Special</source> + <translation>한글 특수 기호</translation> + </message> + <message> + <source>Ctrl</source> + <translation>Ctrl</translation> + </message> + <message> + <source>Shift</source> + <translation>Shift</translation> + </message> + <message> + <source>Alt</source> + <translation>Alt</translation> + </message> + <message> + <source>Meta</source> + <translation>Meta</translation> + </message> + <message> + <source>+</source> + <translation>+</translation> + </message> + <message> + <source>F%1</source> + <translation>F%1</translation> + </message> +</context> +<context> + <name>QSlider</name> + <message> + <source>Page left</source> + <translation>한 쪽 왼쪽으로</translation> + </message> + <message> + <source>Page up</source> + <translation>한 쪽 위로</translation> + </message> + <message> + <source>Position</source> + <translation>위치</translation> + </message> + <message> + <source>Page right</source> + <translation>한 쪽 오른쪽으로</translation> + </message> + <message> + <source>Page down</source> + <translation>한 쪽 아래로</translation> + </message> +</context> +<context> + <name>QSocks5SocketEngine</name> + <message> + <source>Connection to proxy refused</source> + <translation>프록시 연결이 거부됨</translation> + </message> + <message> + <source>Connection to proxy closed prematurely</source> + <translation>프록시 연결이 일찍 종료됨</translation> + </message> + <message> + <source>Proxy host not found</source> + <translation>프록시 호스트를 찾을 수 없음</translation> + </message> + <message> + <source>Connection to proxy timed out</source> + <translation>연결 시간 초과됨</translation> + </message> + <message> + <source>Proxy authentication failed</source> + <translation>프록시 인증 실패</translation> + </message> + <message> + <source>Proxy authentication failed: %1</source> + <translation>프록시 인증 실패: %1</translation> + </message> + <message> + <source>SOCKS version 5 protocol error</source> + <translation>SOCKS 버전 5 프로토콜 오류</translation> + </message> + <message> + <source>General SOCKSv5 server failure</source> + <translation>일반 SOCKSv5 서버 오류</translation> + </message> + <message> + <source>Connection not allowed by SOCKSv5 server</source> + <translation>SOCKSv5 서버 연결이 허용되지 않음</translation> + </message> + <message> + <source>TTL expired</source> + <translation>TTL 만료됨</translation> + </message> + <message> + <source>SOCKSv5 command not supported</source> + <translation>SOCKSv5 명령을 지원하지 않음</translation> + </message> + <message> + <source>Address type not supported</source> + <translation>주소 형식을 지원하지 않음</translation> + </message> + <message> + <source>Unknown SOCKSv5 proxy error code 0x%1</source> + <translation>알 수 없는 SOCKSv5 프록시 오류 코드 0x%1</translation> + </message> + <message> + <source>Network operation timed out</source> + <translation>네트워크 작업 시간 초과</translation> + </message> +</context> +<context> + <name>QSoftKeyManager</name> + <message> + <source>Ok</source> + <translation>확인</translation> + </message> + <message> + <source>Select</source> + <translation>선택</translation> + </message> + <message> + <source>Done</source> + <translation>완료</translation> + </message> + <message> + <source>Options</source> + <translation>옵션</translation> + </message> + <message> + <source>Cancel</source> + <translation>취소</translation> + </message> + <message> + <source>Exit</source> + <translation>끝내기</translation> + </message> +</context> +<context> + <name>QSpinBox</name> + <message> + <source>More</source> + <translation>더 보기</translation> + </message> + <message> + <source>Less</source> + <translation>덜 보기</translation> + </message> +</context> +<context> + <name>QSql</name> + <message> + <source>Delete</source> + <translation>삭제</translation> + </message> + <message> + <source>Delete this record?</source> + <translation>이 레코드를 삭제하시겠습니까?</translation> + </message> + <message> + <source>Yes</source> + <translation>예</translation> + </message> + <message> + <source>No</source> + <translation>아니오</translation> + </message> + <message> + <source>Insert</source> + <translation>삽입</translation> + </message> + <message> + <source>Update</source> + <translation>업데이트</translation> + </message> + <message> + <source>Save edits?</source> + <translation>편집을 저장하시겠습니까?</translation> + </message> + <message> + <source>Cancel</source> + <translation>취소</translation> + </message> + <message> + <source>Confirm</source> + <translation>확인</translation> + </message> + <message> + <source>Cancel your edits?</source> + <translation>편집을 취소하시겠습니까?</translation> + </message> +</context> +<context> + <name>QSslSocket</name> + <message> + <source>No error</source> + <translation>오류 없음</translation> + </message> + <message> + <source>The issuer certificate could not be found</source> + <translation>발급자 인증서를 찾을 수 없음</translation> + </message> + <message> + <source>The certificate signature could not be decrypted</source> + <translation>인증서 서명을 복호화할 수 없음</translation> + </message> + <message> + <source>The public key in the certificate could not be read</source> + <translation>인증서의 공개 키를 읽을 수 없음</translation> + </message> + <message> + <source>The signature of the certificate is invalid</source> + <translation>인증서의 서명이 올바르지 않음</translation> + </message> + <message> + <source>The certificate is not yet valid</source> + <translation>인증서가 아직 유효하지 않음</translation> + </message> + <message> + <source>The certificate has expired</source> + <translation>인증서가 만료됨</translation> + </message> + <message> + <source>The certificate's notBefore field contains an invalid time</source> + <translation>인증서의 notBefore 필드에 올바르지 않은 시간이 들어 있음</translation> + </message> + <message> + <source>The certificate's notAfter field contains an invalid time</source> + <translation>인증서의 notAfter 필드에 올바르지 않은 시간이 들어 있음</translation> + </message> + <message> + <source>The certificate is self-signed, and untrusted</source> + <translation>인증서가 자가 서명되었고 믿을 수 없음</translation> + </message> + <message> + <source>The root certificate of the certificate chain is self-signed, and untrusted</source> + <translation>인증서 체인의 루트 인증서가 자가 서명되었고 믿을 수 없음</translation> + </message> + <message> + <source>The issuer certificate of a locally looked up certificate could not be found</source> + <translation>로컬에서 찾은 인증서의 발급자 인증서를 찾을 수 없음</translation> + </message> + <message> + <source>No certificates could be verified</source> + <translation>아무 인증서도 검증할 수 없음</translation> + </message> + <message> + <source>One of the CA certificates is invalid</source> + <translation>CA 인증서 중 하나 이상이 올바르지 않음</translation> + </message> + <message> + <source>The basicConstraints path length parameter has been exceeded</source> + <translation>basicConstraints 경로 길이 인자가 초과됨</translation> + </message> + <message> + <source>The supplied certificate is unsuitable for this purpose</source> + <translation>지정한 인증서를 이 목적으로는 사용할 수 없음</translation> + </message> + <message> + <source>The root CA certificate is not trusted for this purpose</source> + <translation>루트 CA 인증서를 이 목적으로 신뢰할 수 없음</translation> + </message> + <message> + <source>The root CA certificate is marked to reject the specified purpose</source> + <translation>루트 CA 인증서는 이 목적으로 사용이 거부됨</translation> + </message> + <message> + <source>The current candidate issuer certificate was rejected because its subject name did not match the issuer name of the current certificate</source> + <translation>현재 인증서의 발급자 이름과 상위 인증서의 이름이 일치하지 않아서 현재 후보 발급자 인증서가 거부되었습니다</translation> + </message> + <message> + <source>The current candidate issuer certificate was rejected because its issuer name and serial number was present and did not match the authority key identifier of the current certificate</source> + <translation>현재 인증서의 인증자 키 식별자와 발급자 이름 및 시리얼 번호가 일치하지 않아서 현재 후보 발급자 인증서가 거부되었습니다</translation> + </message> + <message> + <source>The peer did not present any certificate</source> + <translation>동료 측이 인증서를 제시하지 않았음</translation> + </message> + <message> + <source>The host name did not match any of the valid hosts for this certificate</source> + <translation>호스트 이름이 이 인증서에서 지정한 유효한 호스트 중 아무 것도 일치하지 않음</translation> + </message> + <message> + <source>Unknown error</source> + <translation>알 수 없는 오류</translation> + </message> + <message> + <source>Error creating SSL context (%1)</source> + <translation>SSL 컨텍스트를 만드는 중 오류 발생(%1)</translation> + </message> + <message> + <source>Invalid or empty cipher list (%1)</source> + <translation>잘못되거나 비어 있는 암호화 키 목록 (%1)</translation> + </message> + <message> + <source>Cannot provide a certificate with no key, %1</source> + <translation>키가 없는 인증서를 제공할 수 없음, %1</translation> + </message> + <message> + <source>Error loading local certificate, %1</source> + <translation>로컬 인증서를 불러올 수 없음, %1</translation> + </message> + <message> + <source>Error loading private key, %1</source> + <translation>개인 키를 불러올 수 없음, %1</translation> + </message> + <message> + <source>Private key does not certify public key, %1</source> + <translation>개인 키가 공개 키를 인증하지 않음, %1</translation> + </message> + <message> + <source>Error creating SSL session, %1</source> + <translation>SSL 세션을 만드는 중 오류 발생, %1</translation> + </message> + <message> + <source>Error creating SSL session: %1</source> + <translation>SSL 세션을 만드는 중 오류 발생: %1</translation> + </message> + <message> + <source>Unable to write data: %1</source> + <translation>데이터를 쓸 수 없음: %1</translation> + </message> + <message> + <source>Unable to decrypt data: %1</source> + <translation>데이터를 복호화할 수 없음: %1</translation> + </message> + <message> + <source>Error while reading: %1</source> + <translation>읽는 중 오류 발생: %1</translation> + </message> + <message> + <source>Error during SSL handshake: %1</source> + <translation>SSL 악수 중 오류 발생: %1</translation> + </message> +</context> +<context> + <name>QStateMachine</name> + <message> + <source>Missing initial state in compound state '%1'</source> + <translation>복합 상태 '%1'의 초기 상태가 없음</translation> + </message> + <message> + <source>Missing default state in history state '%1'</source> + <translation>과거 기록 상태 '%1'에 기본 상태가 없음</translation> + </message> + <message> + <source>No common ancestor for targets and source of transition from state '%1'</source> + <translation>상태 '%1'에서 전환되는 원본과 대상에 공통된 조상이 없음</translation> + </message> + <message> + <source>Unknown error</source> + <translation>알 수 없는 오류</translation> + </message> +</context> +<context> + <name>QSystemSemaphore</name> + <message> + <source>%1: permission denied</source> + <comment>QSystemSemaphore</comment> + <translation type="obsolete">%1: 권한이 거부됨</translation> + </message> + <message> + <source>%1: already exists</source> + <comment>QSystemSemaphore</comment> + <translation type="obsolete">%1: 이미 존재함</translation> + </message> + <message> + <source>%1: does not exist</source> + <comment>QSystemSemaphore</comment> + <translation type="obsolete">%1: 존재하지 않음</translation> + </message> + <message> + <source>%1: out of resources</source> + <comment>QSystemSemaphore</comment> + <translation type="obsolete">%1: 자원 부족</translation> + </message> + <message> + <source>%1: unknown error %2</source> + <comment>QSystemSemaphore</comment> + <translation type="obsolete">%1: 알 수 없는 오류 %2</translation> + </message> + <message> + <source>%1: permission denied</source> + <translation>%1: 권한이 거부됨</translation> + </message> + <message> + <source>%1: already exists</source> + <translation>%1: 이미 존재함</translation> + </message> + <message> + <source>%1: does not exist</source> + <translation>%1: 존재하지 않음</translation> + </message> + <message> + <source>%1: out of resources</source> + <translation>%1: 자원 부족</translation> + </message> + <message> + <source>%1: unknown error %2</source> + <translation>%1: 알 수 없는 오류 %2</translation> + </message> +</context> +<context> + <name>QTDSDriver</name> + <message> + <source>Unable to open connection</source> + <translation>연결을 열 수 없음</translation> + </message> + <message> + <source>Unable to use database</source> + <translation>데이터베이스를 사용할 수 없음</translation> + </message> +</context> +<context> + <name>QTabBar</name> + <message> + <source>Scroll Left</source> + <translation>왼쪽으로 스크롤</translation> + </message> + <message> + <source>Scroll Right</source> + <translation>오른쪽으로 스크롤</translation> + </message> +</context> +<context> + <name>QTcpServer</name> + <message> + <source>Operation on socket is not supported</source> + <translation>소켓 작업을 지원하지 않음</translation> + </message> +</context> +<context> + <name>QTextControl</name> + <message> + <source>&Undo</source> + <translation>실행 취소(&U)</translation> + </message> + <message> + <source>&Redo</source> + <translation>다시 실행(&R)</translation> + </message> + <message> + <source>Cu&t</source> + <translation>잘라내기(&T)</translation> + </message> + <message> + <source>&Copy</source> + <translation>복사(&C)</translation> + </message> + <message> + <source>Copy &Link Location</source> + <translation>링크 주소 복사(&L)</translation> + </message> + <message> + <source>&Paste</source> + <translation>붙여넣기(&P)</translation> + </message> + <message> + <source>Delete</source> + <translation>삭제</translation> + </message> + <message> + <source>Select All</source> + <translation>모두 선택</translation> + </message> +</context> +<context> + <name>QToolButton</name> + <message> + <source>Press</source> + <translation>누름</translation> + </message> + <message> + <source>Open</source> + <translation>열기</translation> + </message> +</context> +<context> + <name>QUdpSocket</name> + <message> + <source>This platform does not support IPv6</source> + <translation>이 플랫폼은 IPv6을 지원하지 않습니다</translation> + </message> +</context> +<context> + <name>QUndoGroup</name> + <message> + <source>Undo</source> + <translation>실행 취소</translation> + </message> + <message> + <source>Redo</source> + <translation>다시 실행</translation> + </message> +</context> +<context> + <name>QUndoModel</name> + <message> + <source><empty></source> + <translation><비어 있음></translation> + </message> +</context> +<context> + <name>QUndoStack</name> + <message> + <source>Undo</source> + <translation>실행 취소</translation> + </message> + <message> + <source>Redo</source> + <translation>다시 실행</translation> + </message> +</context> +<context> + <name>QUnicodeControlCharacterMenu</name> + <message> + <source>LRM Left-to-right mark</source> + <translation>LRM 왼쪽에서 오른쪽 기호</translation> + </message> + <message> + <source>RLM Right-to-left mark</source> + <translation>RLM 오른쪽에서 왼쪽 기호</translation> + </message> + <message> + <source>ZWJ Zero width joiner</source> + <translation>ZWJ 폭이 0인 결합자</translation> + </message> + <message> + <source>ZWNJ Zero width non-joiner</source> + <translation>ZWNJ 폭이 0인 비결합자</translation> + </message> + <message> + <source>ZWSP Zero width space</source> + <translation>ZWSP 폭이 0인 공백</translation> + </message> + <message> + <source>LRE Start of left-to-right embedding</source> + <translation>LRE 왼쪽에서 오른쪽 임베딩 시작</translation> + </message> + <message> + <source>RLE Start of right-to-left embedding</source> + <translation>RLE 오른쪽에서 왼쪽 임베딩 시작</translation> + </message> + <message> + <source>LRO Start of left-to-right override</source> + <translation>LRO 왼쪽에서 오른쪽 재정의 시작</translation> + </message> + <message> + <source>RLO Start of right-to-left override</source> + <translation>RLO 오른쪽에서 왼쪽 재정의 시작</translation> + </message> + <message> + <source>PDF Pop directional formatting</source> + <translation>PDF Pop 방향 포매팅</translation> + </message> + <message> + <source>Insert Unicode control character</source> + <translation>유니코드 제어 문자 삽입</translation> + </message> +</context> +<context> + <name>QWebFrame</name> + <message> + <source>Request cancelled</source> + <translation>요청 취소됨</translation> + </message> + <message> + <source>Request blocked</source> + <translation>요청 거부됨</translation> + </message> + <message> + <source>Cannot show URL</source> + <translation>URL을 표시할 수 없음</translation> + </message> + <message> + <source>Frame load interrupted by policy change</source> + <translation>정책 변경으로 프레임 불러오기 취소됨</translation> + </message> + <message> + <source>Cannot show mimetype</source> + <translation>MIME 형식을 표시할 수 없음</translation> + </message> + <message> + <source>File does not exist</source> + <translation>파일이 존재하지 않음</translation> + </message> +</context> +<context> + <name>QWebPage</name> + <message> + <source>Redirection limit reached</source> + <translation>넘겨주기 한계에 도달함</translation> + </message> + <message> + <source>Bad HTTP request</source> + <translation>잘못된 HTTP 요청</translation> + </message> + <message numerus="yes"> + <source>%n file(s)</source> + <comment>number of chosen file</comment> + <translation> + <numerusform>파일 %n개</numerusform> + </translation> + </message> + <message> + <source>Submit</source> + <comment>default label for Submit buttons in forms on web pages</comment> + <translation>보내기</translation> + </message> + <message> + <source>Reset</source> + <translation type="obsolete">초기화</translation> + </message> + <message> + <source>This is a searchable index. Enter search keywords: </source> + <comment>text that appears at the start of nearly-obsolete web pages in the form of a 'searchable index'</comment> + <translation>검색 가능한 인덱스입니다. 검색할 단어를 입력하십시오: </translation> + </message> + <message> + <source>Choose File</source> + <comment>title for file button used in HTML forms</comment> + <translation>파일 선택</translation> + </message> + <message> + <source>No file selected</source> + <comment>text to display in file button used in HTML forms when no file is selected</comment> + <translation>파일이 선택되지 않음</translation> + </message> + <message> + <source>Open in New Window</source> + <comment>Open in New Window context menu item</comment> + <translation>새 창으로 열기</translation> + </message> + <message> + <source>Save Link...</source> + <comment>Download Linked File context menu item</comment> + <translation>링크 저장...</translation> + </message> + <message> + <source>Copy Link</source> + <comment>Copy Link context menu item</comment> + <translation>링크 복사</translation> + </message> + <message> + <source>Open Image</source> + <comment>Open Image in New Window context menu item</comment> + <translation>그림 열기</translation> + </message> + <message> + <source>Save Image</source> + <comment>Download Image context menu item</comment> + <translation>그림 저장</translation> + </message> + <message> + <source>Copy Image</source> + <comment>Copy Link context menu item</comment> + <translation>그림 복사</translation> + </message> + <message> + <source>Open Frame</source> + <comment>Open Frame in New Window context menu item</comment> + <translation>프레임 열기</translation> + </message> + <message> + <source>Copy</source> + <comment>Copy context menu item</comment> + <translation>복사</translation> + </message> + <message> + <source>Go Back</source> + <comment>Back context menu item</comment> + <translation>뒤로 가기</translation> + </message> + <message> + <source>Go Forward</source> + <comment>Forward context menu item</comment> + <translation>앞으로 가기</translation> + </message> + <message> + <source>Stop</source> + <translation type="obsolete">정지</translation> + </message> + <message> + <source>Reload</source> + <comment>Reload context menu item</comment> + <translation>새로 고침</translation> + </message> + <message> + <source>Cut</source> + <comment>Cut context menu item</comment> + <translation>잘라내기</translation> + </message> + <message> + <source>Paste</source> + <comment>Paste context menu item</comment> + <translation>붙여넣기</translation> + </message> + <message> + <source>No Guesses Found</source> + <comment>No Guesses Found context menu item</comment> + <translation>추천 단어 없음</translation> + </message> + <message> + <source>Ignore</source> + <translation type="obsolete">무시</translation> + </message> + <message> + <source>Add To Dictionary</source> + <comment>Learn Spelling context menu item</comment> + <translation>사전에 추가하기</translation> + </message> + <message> + <source>Search The Web</source> + <comment>Search The Web context menu item</comment> + <translation>웹 검색하기</translation> + </message> + <message> + <source>Look Up In Dictionary</source> + <comment>Look Up in Dictionary context menu item</comment> + <translation>사전 찾기</translation> + </message> + <message> + <source>Open Link</source> + <comment>Open Link context menu item</comment> + <translation>링크 열기</translation> + </message> + <message> + <source>Spelling</source> + <comment>Spelling and Grammar context sub-menu item</comment> + <translation>맞춤법</translation> + </message> + <message> + <source>Show Spelling and Grammar</source> + <comment>menu item title</comment> + <translation>맞춤법 오류 보이기</translation> + </message> + <message> + <source>Hide Spelling and Grammar</source> + <comment>menu item title</comment> + <translation>맞춤법 오류 숨기기</translation> + </message> + <message> + <source>Check Spelling</source> + <comment>Check spelling context menu item</comment> + <translation>맞춤법 검사</translation> + </message> + <message> + <source>Check Spelling While Typing</source> + <comment>Check spelling while typing context menu item</comment> + <translation>입력하는 동안 맞춤법 검사</translation> + </message> + <message> + <source>Check Grammar With Spelling</source> + <comment>Check grammar with spelling context menu item</comment> + <translation>문법 오류 검사하기</translation> + </message> + <message> + <source>Fonts</source> + <comment>Font context sub-menu item</comment> + <translation>글꼴</translation> + </message> + <message> + <source>Bold</source> + <translation type="obsolete">굵게</translation> + </message> + <message> + <source>Italic</source> + <translation type="obsolete">이탤릭</translation> + </message> + <message> + <source>Underline</source> + <comment>Underline context menu item</comment> + <translation>밑줄</translation> + </message> + <message> + <source>Outline</source> + <comment>Outline context menu item</comment> + <translation>외곽선</translation> + </message> + <message> + <source>Direction</source> + <comment>Writing direction context sub-menu item</comment> + <translation>방향</translation> + </message> + <message> + <source>Text Direction</source> + <comment>Writing direction context sub-menu item</comment> + <translation type="obsolete">텍스트 방향</translation> + </message> + <message> + <source>Default</source> + <comment>Default writing direction context menu item</comment> + <translation>기본</translation> + </message> + <message> + <source>Left to Right</source> + <comment>Left to Right context menu item</comment> + <translation>왼쪽에서 오른쪽</translation> + </message> + <message> + <source>Right to Left</source> + <translation type="obsolete">오른쪽에서 왼쪽</translation> + </message> + <message> + <source>Inspect</source> + <comment>Inspect Element context menu item</comment> + <translation>들여다 보기</translation> + </message> + <message> + <source>No recent searches</source> + <comment>Label for only item in menu that appears when clicking on the search field image, when no searches have been performed</comment> + <translation>최근 검색 없음</translation> + </message> + <message> + <source>Recent searches</source> + <comment>label for first item in the menu that appears when clicking on the search field image, used as embedded menu title</comment> + <translation>최근 검색</translation> + </message> + <message> + <source>Clear recent searches</source> + <comment>menu item in Recent Searches menu that empties menu's contents</comment> + <translation>최근 검색 지우기</translation> + </message> + <message> + <source>Missing Plug-in</source> + <comment>Label text to be used when a plug-in is missing</comment> + <translation>플러그인이 존재하지 않음</translation> + </message> + <message> + <source>Unknown</source> + <translation type="obsolete">알 수 없음</translation> + </message> + <message> + <source>%1 (%2x%3 pixels)</source> + <comment>Title string for images</comment> + <translation>%1 (%2x%3 픽셀)</translation> + </message> + <message> + <source>Loading...</source> + <comment>Media controller status message when the media is loading</comment> + <translation>불러오는 중...</translation> + </message> + <message> + <source>Live Broadcast</source> + <comment>Media controller status message when watching a live broadcast</comment> + <translation>라이브 방송</translation> + </message> + <message> + <source>Audio Element</source> + <comment>Media controller element</comment> + <translation>오디오 구성 요소</translation> + </message> + <message> + <source>Video Element</source> + <comment>Media controller element</comment> + <translation>비디오 구성 요소</translation> + </message> + <message> + <source>Mute Button</source> + <comment>Media controller element</comment> + <translation>음소거 단추</translation> + </message> + <message> + <source>Unmute Button</source> + <comment>Media controller element</comment> + <translation>음소거 해제 단추</translation> + </message> + <message> + <source>Play Button</source> + <comment>Media controller element</comment> + <translation>재생 단추</translation> + </message> + <message> + <source>Pause Button</source> + <comment>Media controller element</comment> + <translation>일시 정지 단추</translation> + </message> + <message> + <source>Slider</source> + <translation type="obsolete">슬라이더</translation> + </message> + <message> + <source>Submit</source> + <comment>Submit (input element) alt text for <input> elements with no alt, title, or value</comment> + <translation>보내기</translation> + </message> + <message> + <source>Reset</source> + <comment>default label for Reset buttons in forms on web pages</comment> + <translation>초기화</translation> + </message> + <message> + <source>Stop</source> + <comment>Stop context menu item</comment> + <translation>정지</translation> + </message> + <message> + <source>Ignore</source> + <comment>Ignore Spelling context menu item</comment> + <translation>무시</translation> + </message> + <message> + <source>Ignore</source> + <comment>Ignore Grammar context menu item</comment> + <translation>무시</translation> + </message> + <message> + <source>Bold</source> + <comment>Bold context menu item</comment> + <translation>굵게</translation> + </message> + <message> + <source>Italic</source> + <comment>Italic context menu item</comment> + <translation>이탤릭</translation> + </message> + <message> + <source>Text Direction</source> + <comment>Text direction context sub-menu item</comment> + <translation>텍스트 방향</translation> + </message> + <message> + <source>Right to Left</source> + <comment>Right to Left context menu item</comment> + <translation>오른쪽에서 왼쪽</translation> + </message> + <message> + <source>Unknown</source> + <comment>Unknown filesize FTP directory listing item</comment> + <translation>알 수 없음</translation> + </message> + <message> + <source>Slider</source> + <comment>Media controller element</comment> + <translation>슬라이더</translation> + </message> + <message> + <source>Slider Thumb</source> + <comment>Media controller element</comment> + <translation>슬라이더 핸들</translation> + </message> + <message> + <source>Rewind Button</source> + <comment>Media controller element</comment> + <translation>되감기 단추</translation> + </message> + <message> + <source>Return to Real-time Button</source> + <comment>Media controller element</comment> + <translation>실시간으로 복귀 단추</translation> + </message> + <message> + <source>Elapsed Time</source> + <comment>Media controller element</comment> + <translation>경과 시간</translation> + </message> + <message> + <source>Remaining Time</source> + <comment>Media controller element</comment> + <translation>남은 시간</translation> + </message> + <message> + <source>Status Display</source> + <comment>Media controller element</comment> + <translation>상태 디스플레이</translation> + </message> + <message> + <source>Fullscreen Button</source> + <comment>Media controller element</comment> + <translation>전체 화면 단추</translation> + </message> + <message> + <source>Seek Forward Button</source> + <comment>Media controller element</comment> + <translation>앞으로 이동 단추</translation> + </message> + <message> + <source>Seek Back Button</source> + <comment>Media controller element</comment> + <translation>뒤로 이동 단추</translation> + </message> + <message> + <source>Audio element playback controls and status display</source> + <comment>Media controller element</comment> + <translation>오디오 구성 요소 재생 제어 및 상태 표시</translation> + </message> + <message> + <source>Video element playback controls and status display</source> + <comment>Media controller element</comment> + <translation>비디오 구성 요소 제어 및 상태 표시</translation> + </message> + <message> + <source>Mute audio tracks</source> + <comment>Media controller element</comment> + <translation>오디오 트랙 음소거</translation> + </message> + <message> + <source>Unmute audio tracks</source> + <comment>Media controller element</comment> + <translation>오디오 트랙 음소거 해제</translation> + </message> + <message> + <source>Begin playback</source> + <comment>Media controller element</comment> + <translation>재생 시작</translation> + </message> + <message> + <source>Pause playback</source> + <comment>Media controller element</comment> + <translation>재생 일시 정지</translation> + </message> + <message> + <source>Movie time scrubber</source> + <comment>Media controller element</comment> + <translation>동영상 시간 표시기</translation> + </message> + <message> + <source>Movie time scrubber thumb</source> + <comment>Media controller element</comment> + <translation>동영상 시간 표시기 핸들</translation> + </message> + <message> + <source>Rewind movie</source> + <comment>Media controller element</comment> + <translation>동영상 되감기</translation> + </message> + <message> + <source>Return streaming movie to real-time</source> + <comment>Media controller element</comment> + <translation>스트리밍 동영상 실시간으로 전환</translation> + </message> + <message> + <source>Current movie time</source> + <comment>Media controller element</comment> + <translation>현재 동영상 시간</translation> + </message> + <message> + <source>Remaining movie time</source> + <comment>Media controller element</comment> + <translation>남은 동영상 시간</translation> + </message> + <message> + <source>Current movie status</source> + <comment>Media controller element</comment> + <translation>현재 동영상 상태</translation> + </message> + <message> + <source>Play movie in full-screen mode</source> + <comment>Media controller element</comment> + <translation>전체 화면으로 동영상 재생</translation> + </message> + <message> + <source>Seek quickly back</source> + <comment>Media controller element</comment> + <translation>뒤로 빨리 이동</translation> + </message> + <message> + <source>Seek quickly forward</source> + <comment>Media controller element</comment> + <translation>앞으로 빨리 이동</translation> + </message> + <message> + <source>Indefinite time</source> + <comment>Media time description</comment> + <translation>무한한 시간</translation> + </message> + <message> + <source>%1 days %2 hours %3 minutes %4 seconds</source> + <comment>Media time description</comment> + <translation>%1일 %2시간 %3분 %4초</translation> + </message> + <message> + <source>%1 hours %2 minutes %3 seconds</source> + <comment>Media time description</comment> + <translation>%1시간 %2분 %3초</translation> + </message> + <message> + <source>%1 minutes %2 seconds</source> + <comment>Media time description</comment> + <translation>%1분 %2초</translation> + </message> + <message> + <source>%1 seconds</source> + <comment>Media time description</comment> + <translation>%1초</translation> + </message> + <message> + <source>Scroll here</source> + <translation>여기로 스크롤</translation> + </message> + <message> + <source>Left edge</source> + <translation>왼쪽 경계</translation> + </message> + <message> + <source>Top</source> + <translation>맨 위</translation> + </message> + <message> + <source>Right edge</source> + <translation>오른쪽 경계</translation> + </message> + <message> + <source>Bottom</source> + <translation>맨 아래</translation> + </message> + <message> + <source>Page left</source> + <translation>왼쪽 페이지</translation> + </message> + <message> + <source>Page up</source> + <translation>위쪽 페이지</translation> + </message> + <message> + <source>Page right</source> + <translation>오른쪽 페이지</translation> + </message> + <message> + <source>Page down</source> + <translation>아래쪽 페이지</translation> + </message> + <message> + <source>Scroll left</source> + <translation>왼쪽으로 스크롤</translation> + </message> + <message> + <source>Scroll up</source> + <translation>위로 스크롤</translation> + </message> + <message> + <source>Scroll right</source> + <translation>오른쪽으로 스크롤</translation> + </message> + <message> + <source>Scroll down</source> + <translation>아래로 스크롤</translation> + </message> + <message> + <source>JavaScript Alert - %1</source> + <translation>자바스크립트 알림 - %1</translation> + </message> + <message> + <source>JavaScript Confirm - %1</source> + <translation>자바스크립트 확인 - %1</translation> + </message> + <message> + <source>JavaScript Prompt - %1</source> + <translation>자바스크립트 질문 - %1</translation> + </message> + <message> + <source>JavaScript Problem - %1</source> + <translation>자바스크립트 오류 - %1</translation> + </message> + <message> + <source>The script on this page appears to have a problem. Do you want to stop the script?</source> + <translation>이 페이지에 있는 스크립트에 문제가 있는 것 같습니다. 스크립트 실행을 중단하시겠습니까?</translation> + </message> + <message> + <source>Move the cursor to the next character</source> + <translation>다음 글자로 커서 이동</translation> + </message> + <message> + <source>Move the cursor to the previous character</source> + <translation>이전 글자로 커서 이동</translation> + </message> + <message> + <source>Move the cursor to the next word</source> + <translation>다음 단어로 커서 이동</translation> + </message> + <message> + <source>Move the cursor to the previous word</source> + <translation>이전 단어로 커서 이동</translation> + </message> + <message> + <source>Move the cursor to the next line</source> + <translation>다음 줄로 커서 이동</translation> + </message> + <message> + <source>Move the cursor to the previous line</source> + <translation>앞 줄로 커서 이동</translation> + </message> + <message> + <source>Move the cursor to the start of the line</source> + <translation>줄 처음으로 커서 이동</translation> + </message> + <message> + <source>Move the cursor to the end of the line</source> + <translation>줄 끝으로 커서 이동</translation> + </message> + <message> + <source>Move the cursor to the start of the block</source> + <translation>블록 시작으로 커서 이동</translation> + </message> + <message> + <source>Move the cursor to the end of the block</source> + <translation>블록 끝으로 커서 이동</translation> + </message> + <message> + <source>Move the cursor to the start of the document</source> + <translation>문서 시작으로 커서 이동</translation> + </message> + <message> + <source>Move the cursor to the end of the document</source> + <translation>문서 끝으로 커서 이동</translation> + </message> + <message> + <source>Select all</source> + <translation>모두 선택</translation> + </message> + <message> + <source>Select to the next character</source> + <translation>다음 글자 선택</translation> + </message> + <message> + <source>Select to the previous character</source> + <translation>이전 글자 선택</translation> + </message> + <message> + <source>Select to the next word</source> + <translation>다음 단어 선택</translation> + </message> + <message> + <source>Select to the previous word</source> + <translation>이전 단어 선택</translation> + </message> + <message> + <source>Select to the next line</source> + <translation>다음 줄 선택</translation> + </message> + <message> + <source>Select to the previous line</source> + <translation>앞 줄 선택</translation> + </message> + <message> + <source>Select to the start of the line</source> + <translation>줄 처음까지 선택</translation> + </message> + <message> + <source>Select to the end of the line</source> + <translation>줄 끝까지 선택</translation> + </message> + <message> + <source>Select to the start of the block</source> + <translation>블록 처음까지 선택</translation> + </message> + <message> + <source>Select to the end of the block</source> + <translation>블록 끝까지 선택</translation> + </message> + <message> + <source>Select to the start of the document</source> + <translation>문서 처음까지 선택</translation> + </message> + <message> + <source>Select to the end of the document</source> + <translation>문서 끝까지 선택</translation> + </message> + <message> + <source>Delete to the start of the word</source> + <translation>단어 처음까지 삭제</translation> + </message> + <message> + <source>Delete to the end of the word</source> + <translation>단어 끝까지 삭제</translation> + </message> + <message> + <source>Insert a new paragraph</source> + <translation>새 문단 삽입</translation> + </message> + <message> + <source>Insert a new line</source> + <translation>새 줄 삽입</translation> + </message> + <message> + <source>Paste and Match Style</source> + <translation>붙여넣고 스타일 일치시키기</translation> + </message> + <message> + <source>Remove formatting</source> + <translation>서식 삭제</translation> + </message> + <message> + <source>Strikethrough</source> + <translation>취소선</translation> + </message> + <message> + <source>Subscript</source> + <translation>아래 첨자</translation> + </message> + <message> + <source>Superscript</source> + <translation>위 첨자</translation> + </message> + <message> + <source>Insert Bulleted List</source> + <translation>불릿 목록 삽입하기</translation> + </message> + <message> + <source>Insert Numbered List</source> + <translation>번호 목록 삽입하기</translation> + </message> + <message> + <source>Indent</source> + <translation>들여쓰기</translation> + </message> + <message> + <source>Outdent</source> + <translation>내어쓰기</translation> + </message> + <message> + <source>Center</source> + <translation>가운데</translation> + </message> + <message> + <source>Justify</source> + <translation>맞춤</translation> + </message> + <message> + <source>Align Left</source> + <translation>왼쪽으로 정렬</translation> + </message> + <message> + <source>Align Right</source> + <translation>오른쪽으로 정렬</translation> + </message> + <message> + <source>Web Inspector - %2</source> + <translation>웹 들여다보기 - %2</translation> + </message> +</context> +<context> + <name>QWhatsThisAction</name> + <message> + <source>What's This?</source> + <translation>이것에 대한 설명</translation> + </message> +</context> +<context> + <name>QWidget</name> + <message> + <source>*</source> + <translation>*</translation> + </message> +</context> +<context> + <name>QWizard</name> + <message> + <source>Go Back</source> + <translation>뒤로 가기</translation> + </message> + <message> + <source>< &Back</source> + <translation>< 뒤로(&B)</translation> + </message> + <message> + <source>Continue</source> + <translation>계속</translation> + </message> + <message> + <source>&Next</source> + <translation>다음(&N)</translation> + </message> + <message> + <source>&Next ></source> + <translation>다음 (&N) ></translation> + </message> + <message> + <source>Commit</source> + <translation>커밋</translation> + </message> + <message> + <source>Done</source> + <translation>완료</translation> + </message> + <message> + <source>&Finish</source> + <translation>완료(&F)</translation> + </message> + <message> + <source>Cancel</source> + <translation>취소</translation> + </message> + <message> + <source>Help</source> + <translation>도움말</translation> + </message> + <message> + <source>&Help</source> + <translation>도움말(&H)</translation> + </message> +</context> +<context> + <name>QWorkspace</name> + <message> + <source>Close</source> + <translation>닫기</translation> + </message> + <message> + <source>Minimize</source> + <translation>최소화</translation> + </message> + <message> + <source>Restore Down</source> + <translation>복원</translation> + </message> + <message> + <source>&Restore</source> + <translation>복원(&R)</translation> + </message> + <message> + <source>&Move</source> + <translation>이동(&M)</translation> + </message> + <message> + <source>&Size</source> + <translation>크기(&S)</translation> + </message> + <message> + <source>Mi&nimize</source> + <translation>최소화(&N)</translation> + </message> + <message> + <source>Ma&ximize</source> + <translation>최대화(&N)</translation> + </message> + <message> + <source>&Close</source> + <translation>닫기(&C)</translation> + </message> + <message> + <source>Stay on &Top</source> + <translation>항상 위(&T)</translation> + </message> + <message> + <source>Sh&ade</source> + <translation>말아 올리기(&A)</translation> + </message> + <message> + <source>%1 - [%2]</source> + <translation>%1 - [%2]</translation> + </message> + <message> + <source>&Unshade</source> + <translation>풀어 내리기(&U)</translation> + </message> +</context> +<context> + <name>QXml</name> + <message> + <source>no error occurred</source> + <translation>오류 없음</translation> + </message> + <message> + <source>error triggered by consumer</source> + <translation>사용자가 오류를 발생시킴</translation> + </message> + <message> + <source>unexpected end of file</source> + <translation>예상하지 못한 파일의 끝</translation> + </message> + <message> + <source>more than one document type definition</source> + <translation>하나 이상의 문서 형식 정의가 있음</translation> + </message> + <message> + <source>error occurred while parsing element</source> + <translation>원소를 처리하는 중 오류 발생</translation> + </message> + <message> + <source>tag mismatch</source> + <translation>태그가 일치하지 않음</translation> + </message> + <message> + <source>error occurred while parsing content</source> + <translation>내용을 처리하는 중 오류 발생</translation> + </message> + <message> + <source>unexpected character</source> + <translation>예상하지 못한 글자</translation> + </message> + <message> + <source>invalid name for processing instruction</source> + <translation>잘못된 이름이나 처리 방법</translation> + </message> + <message> + <source>version expected while reading the XML declaration</source> + <translation>XML 선언을 읽는 중 버전이 필요함</translation> + </message> + <message> + <source>wrong value for standalone declaration</source> + <translation>독립 문서 선언의 값이 잘못됨</translation> + </message> + <message> + <source>encoding declaration or standalone declaration expected while reading the XML declaration</source> + <translation>XML 선언을 읽는 중 인코딩이나 독립 문서 선언이 필요함</translation> + </message> + <message> + <source>standalone declaration expected while reading the XML declaration</source> + <translation>XML 선언을 읽는 중 독립 문서 선언이 필요함</translation> + </message> + <message> + <source>error occurred while parsing document type definition</source> + <translation>문서 형식 정의를 처리하는 중 오류 발생</translation> + </message> + <message> + <source>letter is expected</source> + <translation>글자가 필요함</translation> + </message> + <message> + <source>error occurred while parsing comment</source> + <translation>주석을 처리하는 중 오류 발생</translation> + </message> + <message> + <source>error occurred while parsing reference</source> + <translation>참조를 처리하는 중 오류 발생</translation> + </message> + <message> + <source>internal general entity reference not allowed in DTD</source> + <translation>DTD에서 내부 일반 엔티티 참조를 사용할 수 없음</translation> + </message> + <message> + <source>external parsed general entity reference not allowed in attribute value</source> + <translation>속성 값에는 외부에서 처리한 일반 엔티티 참조를 사용할 수 없음</translation> + </message> + <message> + <source>external parsed general entity reference not allowed in DTD</source> + <translation>DTD에서 외부에서 처리한 일반 엔티티 참조를 사용할 수 없음</translation> + </message> + <message> + <source>unparsed entity reference in wrong context</source> + <translation>잘못된 컨텍스트에 처리되지 않은 엔티티 참조가 있음</translation> + </message> + <message> + <source>recursive entities</source> + <translation>재귀적 엔티티</translation> + </message> + <message> + <source>error in the text declaration of an external entity</source> + <translation>외부 엔티티 텍스트 선언에 오류가 있음</translation> + </message> +</context> +<context> + <name>QXmlPatternistCLI</name> + <message> + <source>Warning in %1, at line %2, column %3: %4</source> + <translation>%1의 %2번째 줄 %3번째 글자에서 경고 발생: %4</translation> + </message> + <message> + <source>Warning in %1: %2</source> + <translation>%1에서 경고 발생: %2</translation> + </message> + <message> + <source>Unknown location</source> + <translation>알 수 없는 위치</translation> + </message> + <message> + <source>Error %1 in %2, at line %3, column %4: %5</source> + <translation>%2의 %3번째 줄 %4번째 글자에서 오류 %1 발생: %5</translation> + </message> + <message> + <source>Error %1 in %2: %3</source> + <translation>%2에서 오류 %1 발생: %3</translation> + </message> +</context> +<context> + <name>QXmlStream</name> + <message> + <source>Extra content at end of document.</source> + <translation>문서의 끝에 내용이 더 있습니다.</translation> + </message> + <message> + <source>Invalid entity value.</source> + <translation>엔티티 값이 잘못되었습니다.</translation> + </message> + <message> + <source>Invalid XML character.</source> + <translation>XML 글자가 잘못되었습니다.</translation> + </message> + <message> + <source>Sequence ']]>' not allowed in content.</source> + <translation>내용에 문자열 ']]>'가 올 수 없습니다.</translation> + </message> + <message> + <source>Encountered incorrectly encoded content.</source> + <translation>잘못 인코딩된 내용을 발견하였습니다.</translation> + </message> + <message> + <source>Namespace prefix '%1' not declared</source> + <translation>네임스페이스 접두사 '%1'이(가) 선언되지 않았음</translation> + </message> + <message> + <source>Illegal namespace declaration.</source> + <translation>네임스페이스 선언이 잘못되었습니다.</translation> + </message> + <message> + <source>Attribute redefined.</source> + <translation>속성이 재정의되었습니다.</translation> + </message> + <message> + <source>Unexpected character '%1' in public id literal.</source> + <translation>공개 ID 리터럴에 예상하지 못한 문자 '%1'이(가) 있습니다.</translation> + </message> + <message> + <source>Invalid XML version string.</source> + <translation>XML 버전 문자열이 잘못되었습니다.</translation> + </message> + <message> + <source>Unsupported XML version.</source> + <translation>지원하지 않는 XML 버전입니다.</translation> + </message> + <message> + <source>The standalone pseudo attribute must appear after the encoding.</source> + <translation>standalone 의사 속성은 인코딩 다음에 와야 합니다.</translation> + </message> + <message> + <source>%1 is an invalid encoding name.</source> + <translation>인코딩 이름 %1이(가) 잘못되었습니다.</translation> + </message> + <message> + <source>Encoding %1 is unsupported</source> + <translation>인코딩 %1은(는) 지원되지 않습니다</translation> + </message> + <message> + <source>Standalone accepts only yes or no.</source> + <translation>Standalone에는 yes나 no만 지정할 수 있습니다.</translation> + </message> + <message> + <source>Invalid attribute in XML declaration.</source> + <translation>XML 선언에서 속성이 잘못되었습니다.</translation> + </message> + <message> + <source>Premature end of document.</source> + <translation>문서가 완전하지 못하게 끝났습니다.</translation> + </message> + <message> + <source>Invalid document.</source> + <translation>문서가 잘못되었습니다.</translation> + </message> + <message> + <source>Expected </source> + <translation>다음을 예상했지만</translation> + </message> + <message> + <source>, but got '</source> + <translation>, 돌아온 것은 '</translation> + </message> + <message> + <source>Unexpected '</source> + <translation>예상하지 못한 '</translation> + </message> + <message> + <source>Expected character data.</source> + <translation>예상하지 못한 문자열 데이터입니다.</translation> + </message> + <message> + <source>Recursive entity detected.</source> + <translation>재귀적 엔티티가 감지되었습니다.</translation> + </message> + <message> + <source>Start tag expected.</source> + <translation>시작 태그가 필요합니다.</translation> + </message> + <message> + <source>NDATA in parameter entity declaration.</source> + <translation>인자 엔티티 선언에 NDATA가 있습니다.</translation> + </message> + <message> + <source>XML declaration not at start of document.</source> + <translation>XML 선언이 문서 시작에 없습니다.</translation> + </message> + <message> + <source>%1 is an invalid processing instruction name.</source> + <translation>%1은(는) 잘못된 처리 방법 이름입니다.</translation> + </message> + <message> + <source>Invalid processing instruction name.</source> + <translation>잘못된 처리 방법 이름입니다.</translation> + </message> + <message> + <source>%1 is an invalid PUBLIC identifier.</source> + <translation>%1은(는) 잘못된 PUBLIC 식별자입니다.</translation> + </message> + <message> + <source>Invalid XML name.</source> + <translation>XML 이름이 잘못되었습니다.</translation> + </message> + <message> + <source>Opening and ending tag mismatch.</source> + <translation>여는 태그와 닫는 태그가 일치하지 않습니다.</translation> + </message> + <message> + <source>Entity '%1' not declared.</source> + <translation>엔티티 '%1'이(가) 선언되지 않았습니다.</translation> + </message> + <message> + <source>Reference to unparsed entity '%1'.</source> + <translation>처리되지 않은 엔티티 '%1'을(를) 참고합니다.</translation> + </message> + <message> + <source>Reference to external entity '%1' in attribute value.</source> + <translation>속성 값에서 외부 엔티티 '%1'을(를) 참조하고 있습니다.</translation> + </message> + <message> + <source>Invalid character reference.</source> + <translation>잘못된 문자 참조입니다.</translation> + </message> +</context> +<context> + <name>QtXmlPatterns</name> + <message> + <source>%1 is an unsupported encoding.</source> + <translation>인코딩 %1은(는) 지원하지 않습니다.</translation> + </message> + <message> + <source>%1 contains octets which are disallowed in the requested encoding %2.</source> + <translation>%1은(는) 요청한 인코딩 %2에서 사용할 수 없는 바이트 배열을 포함합니다.</translation> + </message> + <message> + <source>The codepoint %1, occurring in %2 using encoding %3, is an invalid XML character.</source> + <translation>인코딩 %3을(를) 사용하며 %2에 있는 코드포인트 %1은(는) 올바르지 않은 XML 문자입니다.</translation> + </message> + <message> + <source>Network timeout.</source> + <translation>네트워크 시간 초과됨.</translation> + </message> + <message> + <source>Element %1 can't be serialized because it appears outside the document element.</source> + <translation>원소 %1이(가) 문서 밖에 나오므로 시리얼화할 수 없습니다.</translation> + </message> + <message> + <source>Attribute %1 can't be serialized because it appears at the top level.</source> + <translation>속성 %1이(가) 최상위 단계에 나타나므로 시리얼화할 수 없습니다.</translation> + </message> + <message> + <source>Year %1 is invalid because it begins with %2.</source> + <translation>%1년은 %2(으)로 시작하므로 올바르지 않습니다.</translation> + </message> + <message> + <source>Day %1 is outside the range %2..%3.</source> + <translation>날짜 %1은(는) %2..%3 범위 밖에 있습니다.</translation> + </message> + <message> + <source>Month %1 is outside the range %2..%3.</source> + <translation>달 %1은(는) 범위 %2..%3 밖에 있습니다.</translation> + </message> + <message> + <source>Overflow: Can't represent date %1.</source> + <translation>넘침: 날짜 %1을(를) 표시할 수 없습니다.</translation> + </message> + <message> + <source>Day %1 is invalid for month %2.</source> + <translation>%2월에는 %1일이 없습니다.</translation> + </message> + <message> + <source>Time 24:%1:%2.%3 is invalid. Hour is 24, but minutes, seconds, and milliseconds are not all 0; </source> + <translation>24시간제 시간 24:%1:%2.%3이(가) 올바르지 않습니다. 시간은 24이나 분, 초, 밀리초가 모두 0 이상입니다;</translation> + </message> + <message> + <source>Time %1:%2:%3.%4 is invalid.</source> + <translation>시간 %1:%2:%3.%4이(가) 올바르지 않습니다.</translation> + </message> + <message> + <source>Overflow: Date can't be represented.</source> + <translation>넘침: 날짜를 표시할 수 없습니다.</translation> + </message> + <message> + <source>At least one component must be present.</source> + <translation>최소한 하나의 구성 요소가 필요합니다.</translation> + </message> + <message> + <source>At least one time component must appear after the %1-delimiter.</source> + <translation>구분자 %1 이후에 최소 하나의 시간 구성 요소가 나와야 합니다.</translation> + </message> + <message> + <source>%1 is not a valid value of type %2.</source> + <translation>%1은(는) 올바른 %2 형식의 값이 아닙니다.</translation> + </message> + <message> + <source>When casting to %1 from %2, the source value cannot be %3.</source> + <translation>%1에서 %2(으)로 변환할 때 원본 값이 %3일 수 없습니다.</translation> + </message> + <message> + <source>Integer division (%1) by zero (%2) is undefined.</source> + <translation>0(%2)으로 나누는 정수 나눗셈(%1)은 정의되지 않았습니다.</translation> + </message> + <message> + <source>Division (%1) by zero (%2) is undefined.</source> + <translation>0(%2)으로 나누는 나눗셈(%1)은 정의되지 않았습니다.</translation> + </message> + <message> + <source>Modulus division (%1) by zero (%2) is undefined.</source> + <translation>0(%2)으로 나눈 나머지(%1)는 정의되지 않았습니다.</translation> + </message> + <message> + <source>Dividing a value of type %1 by %2 (not-a-number) is not allowed.</source> + <translation>%1 형식의 값을 %2(숫자가 아님)(으)로 나누는 것은 허용되지 않습니다.</translation> + </message> + <message> + <source>Dividing a value of type %1 by %2 or %3 (plus or minus zero) is not allowed.</source> + <translation>%1 형식의 값을 %2나 %3(+0/-0)(으)로 나누는 것은 허용되지 않습니다.</translation> + </message> + <message> + <source>Multiplication of a value of type %1 by %2 or %3 (plus or minus infinity) is not allowed.</source> + <translation>%1 형식의 값을 %2나 %3(양이나 음의 무한대)(으)로 곱하는 것은 허용되지 않습니다.</translation> + </message> + <message> + <source>A value of type %1 cannot have an Effective Boolean Value.</source> + <translation>%1 형식의 값은 유효한 참/거짓을 가질 수 없습니다.</translation> + </message> + <message> + <source>Effective Boolean Value cannot be calculated for a sequence containing two or more atomic values.</source> + <translation>유효한 참/거짓 값은 두 개 이상의 원자적인 값을 포함하는 배열과 함께 계산될 수 없습니다.</translation> + </message> + <message> + <source>Value %1 of type %2 exceeds maximum (%3).</source> + <translation>%2 형식의 값 %1이(가) 최댓값 %3보다 큽니다.</translation> + </message> + <message> + <source>Value %1 of type %2 is below minimum (%3).</source> + <translation>%2 형식의 값 %1이(가) 최솟값 %3보다 작습니다.</translation> + </message> + <message> + <source>A value of type %1 must contain an even number of digits. The value %2 does not.</source> + <translation>%1 형식의 값은 짝수 자리수만 포함할 수 있으나, 값 %2은(는) 그렇지 않습니다.</translation> + </message> + <message> + <source>%1 is not valid as a value of type %2.</source> + <translation>%1은(는) 올바른 %2 형식의 값이 아닙니다.</translation> + </message> + <message> + <source>Ambiguous rule match.</source> + <translation>모호한 규칙 일치.</translation> + </message> + <message> + <source>Operator %1 cannot be used on type %2.</source> + <translation>연산자 %1은(는) 형식 %2에 사용할 수 없습니다.</translation> + </message> + <message> + <source>Operator %1 cannot be used on atomic values of type %2 and %3.</source> + <translation>연산자 %1은(는) %2, %3 형식의 원자적인 값에 사용할 수 없습니다.</translation> + </message> + <message> + <source>The namespace URI in the name for a computed attribute cannot be %1.</source> + <translation>계산된 속성 이름의 네임스페이스 URL는 %1일 수 없습니다.</translation> + </message> + <message> + <source>The name for a computed attribute cannot have the namespace URI %1 with the local name %2.</source> + <translation>계산된 속성 이름의 네임스페이스 URL는 %1, 로컬 이름은 %2일 수 없습니다.</translation> + </message> + <message> + <source>Type error in cast, expected %1, received %2.</source> + <translation>변환 중 형식 오류, %1을(를) 예상했지만 %2을(를) 받음.</translation> + </message> + <message> + <source>When casting to %1 or types derived from it, the source value must be of the same type, or it must be a string literal. Type %2 is not allowed.</source> + <translation>%1 및 파생 형식으로 변환하려면 원본 값은 같은 형식이거나 문자열 리터럴이어야 합니다. %2 형식은 허용되지 않습니다.</translation> + </message> + <message> + <source>A comment cannot contain %1</source> + <translation>주석에는 %1을(를) 포함할 수 없음</translation> + </message> + <message> + <source>A comment cannot end with a %1.</source> + <translation>주석은 %1(으)로 끝날 수 없습니다.</translation> + </message> + <message> + <source>In a namespace constructor, the value for a namespace cannot be an empty string.</source> + <translation>네임스페이스 생성자에서 네임스페이스의 값은 빈 문자열일 수 없습니다.</translation> + </message> + <message> + <source>The prefix must be a valid %1, which %2 is not.</source> + <translation>접두사는 올바른 %1이어야 하지만, %2은(는) 그렇지 않습니다.</translation> + </message> + <message> + <source>The prefix %1 cannot be bound.</source> + <translation>접두사 %1이(가) 바인딩될 수 없습니다.</translation> + </message> + <message> + <source>Only the prefix %1 can be bound to %2 and vice versa.</source> + <translation>접두사 %1만 %2에 바인딩할 수 있으며, 그 역도 마찬가지입니다.</translation> + </message> + <message> + <source>An attribute node cannot be a child of a document node. Therefore, the attribute %1 is out of place.</source> + <translation>속성 노드는 문서 노드의 자식이 될 수 없습니다. 따라서 속성 %1의 위치가 잘못되었습니다.</translation> + </message> + <message> + <source>A library module cannot be evaluated directly. It must be imported from a main module.</source> + <translation>라이브러리 모듈은 직접적으로 실행될 수 없으며, 주 모듈에서 가져와야 합니다.</translation> + </message> + <message> + <source>No template by name %1 exists.</source> + <translation>이름이 %1인 템플릿이 없습니다.</translation> + </message> + <message> + <source>A value of type %1 cannot be a predicate. A predicate must have either a numeric type or an Effective Boolean Value type.</source> + <translation>%1 형식의 값은 술어가 될 수 없습니다. 술어는 숫자 형식이나 유효한 참/거짓 형식의 값을 가져야 합니다.</translation> + </message> + <message> + <source>A positional predicate must evaluate to a single numeric value.</source> + <translation>위치가 정해진 술어는 유일한 숫자 값으로 해석되어야 합니다.</translation> + </message> + <message> + <source>The target name in a processing instruction cannot be %1 in any combination of upper and lower case. Therefore, %2 is invalid.</source> + <translation>처리 과정의 대상 이름은 %1을(를) 모두 대문자나 소문자로 써야 하므로, %2은(는) 올바르지 않습니다.</translation> + </message> + <message> + <source>%1 is not a valid target name in a processing instruction. It must be a %2 value, e.g. %3.</source> + <translation>%1은(는) 올바른 처리 방법 대상 이름이 아닙니다. %3와(과) 같은 %2 값이어야 합니다.</translation> + </message> + <message> + <source>The last step in a path must contain either nodes or atomic values. It cannot be a mixture between the two.</source> + <translation>경로의 마지막 단계는 노드나 원자적 값만 포함할 수 있으며, 둘을 같이 사용할 수 없습니다.</translation> + </message> + <message> + <source>The data of a processing instruction cannot contain the string %1</source> + <translation>처리 과정의 데이터는 문자열 %1을(를) 포함할 수 없습니다</translation> + </message> + <message> + <source>No namespace binding exists for the prefix %1</source> + <translation>접두사 %1의 네임스페이스 바인딩이 존재하지 않습니다</translation> + </message> + <message> + <source>No namespace binding exists for the prefix %1 in %2</source> + <translation>%2의 접두사 %1의 네임스페이스 바인딩이 존재하지 않습니다</translation> + </message> + <message> + <source>%1 is an invalid %2</source> + <translation>%1은(는) 올바르지 않은 %2입니다</translation> + </message> + <message> + <source>The parameter %1 is passed, but no corresponding %2 exists.</source> + <translation>인자 %1이(가) 전달되었으나 대응하는 %2이(가) 없습니다.</translation> + </message> + <message> + <source>The parameter %1 is required, but no corresponding %2 is supplied.</source> + <translation>인자 %1이(가) 필요하나, 해당하는 %2이(가) 없습니다.</translation> + </message> + <message numerus="yes"> + <source>%1 takes at most %n argument(s). %2 is therefore invalid.</source> + <translation> + <numerusform>%1은(는) 최대 %n개의 인자를 받아들이므로, %2은(는) 올바르지 않습니다.</numerusform> + </translation> + </message> + <message numerus="yes"> + <source>%1 requires at least %n argument(s). %2 is therefore invalid.</source> + <translation> + <numerusform>%1은(는) 최소 %n개의 인자를 받아들이므로, %2은(는) 올바르지 않습니다.</numerusform> + </translation> + </message> + <message> + <source>The first argument to %1 cannot be of type %2. It must be a numeric type, xs:yearMonthDuration or xs:dayTimeDuration.</source> + <translation>%1의 첫 번째 인자는 %2 형식일 수 없습니다. 숫자나 xs:yearMonthDuration, xs:dayTimeDuration 형식이어야 합니다.</translation> + </message> + <message> + <source>The first argument to %1 cannot be of type %2. It must be of type %3, %4, or %5.</source> + <translation>%1의 첫 번째 인자는 %2 형식일 수 없습니다. %3, %4, %5 형식이어야 합니다.</translation> + </message> + <message> + <source>The second argument to %1 cannot be of type %2. It must be of type %3, %4, or %5.</source> + <translation>%1의 두 번째 인자는 %2 형식일 수 없습니다. %3, %4, %5 형식이어야 합니다.</translation> + </message> + <message> + <source>%1 is not a valid XML 1.0 character.</source> + <translation>%1은(는) 올바르지 않은 XML 1.0 글자입니다.</translation> + </message> + <message> + <source>The root node of the second argument to function %1 must be a document node. %2 is not a document node.</source> + <translation>함수 %1의 두 번째 인자의 루트 노드는 문서 노드여야 합니다. %2은(는) 문서 노드가 아닙니다.</translation> + </message> + <message> + <source>If both values have zone offsets, they must have the same zone offset. %1 and %2 are not the same.</source> + <translation>두 값이 모두 지역 오프셋을 가지고 있다면 같아야 합니다. %1와(과) %2은(는) 같지 않습니다.</translation> + </message> + <message> + <source>%1 was called.</source> + <translation>%1이(가) 호출되었습니다.</translation> + </message> + <message> + <source>%1 must be followed by %2 or %3, not at the end of the replacement string.</source> + <translation>%1은(는) %2(이)나 %3 뒤에 와야 하며, 바꿀 문자열 뒤에 올 수 없습니다.</translation> + </message> + <message> + <source>In the replacement string, %1 must be followed by at least one digit when not escaped.</source> + <translation>바꿀 문자열이 이스케이핑되지 않았다면 %1 뒤에 숫자가 최소 하나는 와야 합니다.</translation> + </message> + <message> + <source>In the replacement string, %1 can only be used to escape itself or %2, not %3</source> + <translation>바꿀 문자열에서 %1은(는) 자기 자신이나 %2을(를) 이스케이핑하는 데 사용해야 하며, %3에는 사용할 수 없습니다</translation> + </message> + <message> + <source>%1 matches newline characters</source> + <translation>%1은(는) 새 줄 문자에 일치합니다</translation> + </message> + <message> + <source>%1 and %2 match the start and end of a line.</source> + <translation>%1와(과) %2은(는) 각각 줄의 시작과 끝에 일치합니다.</translation> + </message> + <message> + <source>Matches are case insensitive</source> + <translation>대소문자를 구분하여 일치시킵니다</translation> + </message> + <message> + <source>Whitespace characters are removed, except when they appear in character classes</source> + <translation>문자 클래스에 나타나지 않으면 공백 문자는 삭제됩니다</translation> + </message> + <message> + <source>%1 is an invalid regular expression pattern: %2</source> + <translation>%1은(는) 올바른 정규 표현식 패턴이 아닙니다: %2</translation> + </message> + <message> + <source>%1 is an invalid flag for regular expressions. Valid flags are:</source> + <translation>%1은(는) 올바르지 않은 정규 표현식 플래그입니다. 올바른 플래그는 다음과 같습니다:</translation> + </message> + <message> + <source>If the first argument is the empty sequence or a zero-length string (no namespace), a prefix cannot be specified. Prefix %1 was specified.</source> + <translation>첫 번째 인자가 빈 시퀀스나 빈 문자열(네임스페이스 없음)인 경우, 접두사를 지정할 수 없습니다. 접두사 %1이(가) 지정되었습니다.</translation> + </message> + <message> + <source>It will not be possible to retrieve %1.</source> + <translation>%1을(를) 가져올 수 없습니다.</translation> + </message> + <message> + <source>The default collection is undefined</source> + <translation>기본 조건이 정의되지 않았음</translation> + </message> + <message> + <source>%1 cannot be retrieved</source> + <translation>%1을(를) 가져올 수 없음</translation> + </message> + <message> + <source>The normalization form %1 is unsupported. The supported forms are %2, %3, %4, and %5, and none, i.e. the empty string (no normalization).</source> + <translation>정규화 형식 %1은(는) 지원하지 않습니다. 지원하는 형식은 %2, %3, %4, %5이며, 빈 문자열을 입력하면 정규화하지 않습니다.</translation> + </message> + <message> + <source>A zone offset must be in the range %1..%2 inclusive. %3 is out of range.</source> + <translation>시간대 오프셋은 %1..%2 범위 안에 있어야 하며 이 두 값을 포함합니다. %3은(는) 범위를 벗어났습니다.</translation> + </message> + <message> + <source>%1 is not a whole number of minutes.</source> + <translation>%1은(는) 올바른 분 숫자가 아닙니다.</translation> + </message> + <message> + <source>The URI cannot have a fragment</source> + <translation>URI에는 조각이 올 수 없음</translation> + </message> + <message> + <source>Required cardinality is %1; got cardinality %2.</source> + <translation>필요한 농도는 %1이지만, %2이(가) 지정되었습니다.</translation> + </message> + <message> + <source>The item %1 did not match the required type %2.</source> + <translation>항목 %1은(는) 필요한 형식 %2과(와) 일치하지 않습니다.</translation> + </message> + <message> + <source>The variable %1 is unused</source> + <translation>변수 %1이(가) 사용되지 않습니다</translation> + </message> + <message> + <source>W3C XML Schema identity constraint selector</source> + <translation>W3C XML 스키마 아이덴티티 제약 조건 선택자</translation> + </message> + <message> + <source>W3C XML Schema identity constraint field</source> + <translation>W3C XML 스키마 아이덴티티 제약 조건 필드</translation> + </message> + <message> + <source>A construct was encountered which is disallowed in the current language(%1).</source> + <translation>현재 언어(%1)에 사용할 수 없는 생성자가 있습니다.</translation> + </message> + <message> + <source>%1 is an unknown schema type.</source> + <translation>%1은(는) 알 수 없는 스키마 형식입니다.</translation> + </message> + <message> + <source>A template with name %1 has already been declared.</source> + <translation>이름이 %1인 템플릿이 이미 선언되었습니다.</translation> + </message> + <message> + <source>%1 is not a valid numeric literal.</source> + <translation>%1은(는) 올바른 숫자 리터럴이 아닙니다.</translation> + </message> + <message> + <source>Only one %1 declaration can occur in the query prolog.</source> + <translation>쿼리 선두부에는 %1 선언이 하나만 올 수 있습니다.</translation> + </message> + <message> + <source>The initialization of variable %1 depends on itself</source> + <translation>변수 %1의 초기화 과정이 자기 자신에게 의존함</translation> + </message> + <message> + <source>No variable with name %1 exists</source> + <translation>이름이 %1인 변수가 없음</translation> + </message> + <message> + <source>Version %1 is not supported. The supported XQuery version is 1.0.</source> + <translation>버전 %1은(는) 지원하지 않습니다. 지원하는 XQuery 버전은 1.0입니다.</translation> + </message> + <message> + <source>The encoding %1 is invalid. It must contain Latin characters only, must not contain whitespace, and must match the regular expression %2.</source> + <translation>인코딩 %1은(는) 올바르지 않습니다. 라틴 알파벳만 포함해야 하며, 공백이 들어가지 않아야 하며, 정규 표현식 %2와(과) 일치해야 합니다.</translation> + </message> + <message> + <source>No function with signature %1 is available</source> + <translation>선언이 %1인 함수가 없습니다</translation> + </message> + <message> + <source>A default namespace declaration must occur before function, variable, and option declarations.</source> + <translation>기본 네임스페이스 선언은 함수, 변수, 옵션 선언 이전에 와야 합니다.</translation> + </message> + <message> + <source>Namespace declarations must occur before function, variable, and option declarations.</source> + <translation>네임스페이스 선언은 함수, 변수, 옵션 선언 이전에 와야 합니다.</translation> + </message> + <message> + <source>Module imports must occur before function, variable, and option declarations.</source> + <translation>모듈 가져오기는 함수, 변수, 옵션 선언 이전에 와야 합니다.</translation> + </message> + <message> + <source>The keyword %1 cannot occur with any other mode name.</source> + <translation>키워드 %1은(는) 다른 모드 이름과 같이 사용할 수 없습니다.</translation> + </message> + <message> + <source>The value of attribute %1 must be of type %2, which %3 isn't.</source> + <translation>속성 %1의 값은 %2 형식이어야 하지만, %3은(는) 그렇지 않습니다.</translation> + </message> + <message> + <source>It is not possible to redeclare prefix %1.</source> + <translation>접두사 %1을(를) 다시 선언할 수 없습니다.</translation> + </message> + <message> + <source>The prefix %1 cannot be bound. By default, it is already bound to the namespace %2.</source> + <translation>접두사 %1이(가) 바인딩될 수 없습니다. 기본적으로 이 값은 네임스페이스 %2에 바인딩되어 있습니다.</translation> + </message> + <message> + <source>Prefix %1 is already declared in the prolog.</source> + <translation>접두사 %1이(가) 선두부에 이미 선언되어 있습니다.</translation> + </message> + <message> + <source>The name of an option must have a prefix. There is no default namespace for options.</source> + <translation>옵션의 이름은 접두사를 포함해야 합니다. 옵션에는 기본 네임스페이스가 없습니다.</translation> + </message> + <message> + <source>The Schema Import feature is not supported, and therefore %1 declarations cannot occur.</source> + <translation>스키마 가져오기 기능은 지원하지 않으며, %1 선언이 올 수 없습니다.</translation> + </message> + <message> + <source>The target namespace of a %1 cannot be empty.</source> + <translation>%1의 대상 네임스페이스가 비어 있으면 안 됩니다.</translation> + </message> + <message> + <source>The module import feature is not supported</source> + <translation>모듈 가져오기 기능은 지원하지 않습니다</translation> + </message> + <message> + <source>A variable with name %1 has already been declared.</source> + <translation>이름이 %1인 변수가 이미 선언되었습니다.</translation> + </message> + <message> + <source>No value is available for the external variable with name %1.</source> + <translation>이름이 %1인 외부 변수의 사용할 수 있는 값이 없습니다.</translation> + </message> + <message> + <source>A stylesheet function must have a prefixed name.</source> + <translation>스타일시트 함수는 접두사가 있는 이름을 가져야 합니다.</translation> + </message> + <message> + <source>The namespace for a user defined function cannot be empty (try the predefined prefix %1 which exists for cases like this)</source> + <translation>사용자 정의 함수의 네임스페이스는 비어 있을 수 없습니다. (이러한 경우에 사용할 수 있는 미리 정의된 접두사 %1을(를) 사용하십시오)</translation> + </message> + <message> + <source>The namespace %1 is reserved; therefore user defined functions may not use it. Try the predefined prefix %2, which exists for these cases.</source> + <translation>네임스페이스 %1은(는) 예약되어 있으므로 사용자 정의 함수에서 사용할 수 없습니다. 이러한 경우에 사용할 수 있는 미리 정의된 접두사 %2을(를) 사용하십시오.</translation> + </message> + <message> + <source>The namespace of a user defined function in a library module must be equivalent to the module namespace. In other words, it should be %1 instead of %2</source> + <translation>라이브러리 모듈에 있는 사용자 정의 함수의 네임스페이스는 모듈의 네임스페이스와 같아야 합니다. 즉 %2이(가) 아니라 %1이어야 합니다</translation> + </message> + <message> + <source>A function already exists with the signature %1.</source> + <translation>선언이 %1인 함수가 이미 존재합니다.</translation> + </message> + <message> + <source>No external functions are supported. All supported functions can be used directly, without first declaring them as external</source> + <translation>외부 함수는 지원하지 않습니다. 모든 지원하는 함수는 external로 선언하지 않고 바로 사용할 수 있습니다</translation> + </message> + <message> + <source>An argument with name %1 has already been declared. Every argument name must be unique.</source> + <translation>이름이 %1인 인자가 이미 선언되었습니다. 모든 인자의 이름은 달라야 합니다.</translation> + </message> + <message> + <source>When function %1 is used for matching inside a pattern, the argument must be a variable reference or a string literal.</source> + <translation>함수 %1이(가) 패턴 안쪽에서 일치하는 데 사용되는 경우에는 인자 형식이 변수 참조나 문자열 리터럴이어야 합니다.</translation> + </message> + <message> + <source>In an XSL-T pattern, the first argument to function %1 must be a string literal, when used for matching.</source> + <translation>XSL-T 패턴에서 함수 %1을(를) 일치하는 데 사용하려면 첫 번째 인자는 문자열 리터럴이어야 합니다.</translation> + </message> + <message> + <source>In an XSL-T pattern, the first argument to function %1 must be a literal or a variable reference, when used for matching.</source> + <translation>XSL-T 패턴에서 함수 %1을(를) 일치하는 데 사용하려면 첫 번째 인자 형식이 변수 참조나 문자열 리터럴이어야 합니다.</translation> + </message> + <message> + <source>In an XSL-T pattern, function %1 cannot have a third argument.</source> + <translation>XSL-T 패턴에서 함수 %1에는 세 번째 인자가 올 수 없습니다.</translation> + </message> + <message> + <source>In an XSL-T pattern, only function %1 and %2, not %3, can be used for matching.</source> + <translation>XSL-T 패턴에서 일치하는 데에는 함수 %1, %2만 사용할 수 있으며, %3은(는) 사용할 수 없습니다.</translation> + </message> + <message> + <source>In an XSL-T pattern, axis %1 cannot be used, only axis %2 or %3 can.</source> + <translation>XSL-T 패턴에서 축 %2, %3만 사용할 수 있으며, %1은(는) 사용할 수 없습니다.</translation> + </message> + <message> + <source>%1 is an invalid template mode name.</source> + <translation>%1은(는) 잘못된 템플릿 모드 이름입니다.</translation> + </message> + <message> + <source>The name of a variable bound in a for-expression must be different from the positional variable. Hence, the two variables named %1 collide.</source> + <translation>for 표현식에서 사용되는 바운딩된 변수의 이름은 위치 변수의 이름과 달라야 합니다. 따라서 두 변수 %1이(가) 충돌합니다.</translation> + </message> + <message> + <source>The Schema Validation Feature is not supported. Hence, %1-expressions may not be used.</source> + <translation>스키마 검사 기능은 지원하지 않습니다. 따라서 %1 표현식은 사용할 수 없습니다.</translation> + </message> + <message> + <source>None of the pragma expressions are supported. Therefore, a fallback expression must be present</source> + <translation>pragma 표현식은 지원하지 않습니다. 따라서 폴백 표현식이 필요합니다</translation> + </message> + <message> + <source>Each name of a template parameter must be unique; %1 is duplicated.</source> + <translation>템플릿 인자의 이름은 중복되지 않아야 하므로 같은 이름 %1이(가) 충돌합니다.</translation> + </message> + <message> + <source>The %1-axis is unsupported in XQuery</source> + <translation>XQuery에서 %1 축은 지원하지 않음</translation> + </message> + <message> + <source>No function with name %1 is available.</source> + <translation>이름이 %1인 함수를 사용할 수 없습니다.</translation> + </message> + <message> + <source>The namespace URI cannot be the empty string when binding to a prefix, %1.</source> + <translation>접두사 %1에 바인딩될 때 네임스페이스 URI는 빈 문자열일 수 없습니다.</translation> + </message> + <message> + <source>%1 is an invalid namespace URI.</source> + <translation>%1은(는) 잘못된 네임스페이스 URI입니다.</translation> + </message> + <message> + <source>It is not possible to bind to the prefix %1</source> + <translation>접두사 %1에 바인딩할 수 없습니다</translation> + </message> + <message> + <source>Namespace %1 can only be bound to %2 (and it is, in either case, pre-declared).</source> + <translation>네임스페이스 %1은(는) %2에만 바인딩할 수 있습니다 (미리 선언되어야 합니다).</translation> + </message> + <message> + <source>Prefix %1 can only be bound to %2 (and it is, in either case, pre-declared).</source> + <translation>접두사 %1은(는) %2에만 바인딩할 수 있습니다 (미리 선언되어야 합니다).</translation> + </message> + <message> + <source>Two namespace declaration attributes have the same name: %1.</source> + <translation>두 네임스페이스 선언 속성의 이름이 중복됩니다: %1.</translation> + </message> + <message> + <source>The namespace URI must be a constant and cannot use enclosed expressions.</source> + <translation>네임스페이스 URI는 상수여야 하며 내장된 표현식을 사용할 수 없습니다.</translation> + </message> + <message> + <source>An attribute with name %1 has already appeared on this element.</source> + <translation>이름이 %1인 속성이 이 원소에 이미 나타났습니다.</translation> + </message> + <message> + <source>A direct element constructor is not well-formed. %1 is ended with %2.</source> + <translation>직접 원소 생성자의 형식이 올바르지 않습니다. %1이(가) %2(으)로 끝납니다.</translation> + </message> + <message> + <source>The name %1 does not refer to any schema type.</source> + <translation>이름 %1은(는) 어떠한 스키마 형식도 참조하지 않습니다.</translation> + </message> + <message> + <source>%1 is an complex type. Casting to complex types is not possible. However, casting to atomic types such as %2 works.</source> + <translation>%1은(는) 복합 형식입니다. 복합 형식으로 캐스팅은 불가능하지만, %2와(과) 같은 원자적 형식으로의 캐스팅은 가능합니다.</translation> + </message> + <message> + <source>%1 is not an atomic type. Casting is only possible to atomic types.</source> + <translation>%1은(는) 원자적 타입이 아닙니다. 원자적 타입으로만 변환할 수 있습니다.</translation> + </message> + <message> + <source>%1 is not a valid name for a processing-instruction.</source> + <translation>%1은(는) 올바른 처리 방법 이름이 아닙니다.</translation> + </message> + <message> + <source>%1 is not in the in-scope attribute declarations. Note that the schema import feature is not supported.</source> + <translation>%1은(는) 범위 내에 있는 속성 선언에 존재하지 않습니다. 스키마 가져오기 기능은 지원하지 않습니다.</translation> + </message> + <message> + <source>The name of an extension expression must be in a namespace.</source> + <translation>확장 표현식의 이름은 네임스페이스 안에 있어야 합니다.</translation> + </message> + <message> + <source>Element %1 is not allowed at this location.</source> + <translation>이 위치에 원소 %1이(가) 올 수 없습니다.</translation> + </message> + <message> + <source>Text nodes are not allowed at this location.</source> + <translation>이 위치에 텍스트 노드가 올 수 없습니다.</translation> + </message> + <message> + <source>Parse error: %1</source> + <translation>처리 오류: %1</translation> + </message> + <message> + <source>The value of the XSL-T version attribute must be a value of type %1, which %2 isn't.</source> + <translation>XSL-T 버전 속성의 값은 %1 형식이어야 하며, %2은(는) 이 형식이 아닙니다.</translation> + </message> + <message> + <source>Running an XSL-T 1.0 stylesheet with a 2.0 processor.</source> + <translation>XSL-T 1.0 스타일시트를 2.0 프로세서로 실행하고 있습니다.</translation> + </message> + <message> + <source>Unknown XSL-T attribute %1.</source> + <translation>알 수 없는 XSL-T 속성 %1.</translation> + </message> + <message> + <source>Attribute %1 and %2 are mutually exclusive.</source> + <translation>속성 %1와(과) %2은(는) 상호 배제적입니다.</translation> + </message> + <message> + <source>In a simplified stylesheet module, attribute %1 must be present.</source> + <translation>간단한 스타일시트 모듈에서 속성 %1은(는) 반드시 존재해야 합니다.</translation> + </message> + <message> + <source>If element %1 has no attribute %2, it cannot have attribute %3 or %4.</source> + <translation>원소 %1에 속성 %2이(가) 없으면, 속성 %3 또는 %4을(를) 가질 수 없습니다.</translation> + </message> + <message> + <source>Element %1 must have at least one of the attributes %2 or %3.</source> + <translation>원소 %1에는 %2, %3 중 최소한 하나의 속성이 있어야 합니다.</translation> + </message> + <message> + <source>At least one mode must be specified in the %1-attribute on element %2.</source> + <translation>원소 %2의 %1 속성에는 최소한 하나의 모드가 지정되어야 합니다.</translation> + </message> + <message> + <source>Element %1 must come last.</source> + <translation>원소 %1은(는) 맨 마지막에 와야 합니다.</translation> + </message> + <message> + <source>At least one %1-element must occur before %2.</source> + <translation>최소한 하나의 %1 원소가 %2 이전에 와야 합니다.</translation> + </message> + <message> + <source>Only one %1-element can appear.</source> + <translation>%1 원소는 최대 하나만 올 수 있습니다.</translation> + </message> + <message> + <source>At least one %1-element must occur inside %2.</source> + <translation>%2 안에 최소한 하나의 %1 원소가 와야 합니다.</translation> + </message> + <message> + <source>When attribute %1 is present on %2, a sequence constructor cannot be used.</source> + <translation>속성 %1이(가) %2에 존재하면 시퀀스 생성자를 사용할 수 없습니다.</translation> + </message> + <message> + <source>Element %1 must have either a %2-attribute or a sequence constructor.</source> + <translation>원소 %1은(는) %2 속성이나 시퀀스 생성자 중 하나를 가져야 합니다.</translation> + </message> + <message> + <source>When a parameter is required, a default value cannot be supplied through a %1-attribute or a sequence constructor.</source> + <translation>인자가 필요한 경우에는 %1 속성이나 시퀀스 생성자를 통해서 기본값을 지정할 수 없습니다.</translation> + </message> + <message> + <source>Element %1 cannot have children.</source> + <translation>원소 %1은(는) 자식을 가질 수 없습니다.</translation> + </message> + <message> + <source>Element %1 cannot have a sequence constructor.</source> + <translation>원소 %1은(는) 시퀀스 생성자를 가질 수 없습니다.</translation> + </message> + <message> + <source>The attribute %1 cannot appear on %2, when it is a child of %3.</source> + <translation>속성 %1은(는) %3의 자식일 때 %2에 나타날 수 없습니다.</translation> + </message> + <message> + <source>A parameter in a function cannot be declared to be a tunnel.</source> + <translation>함수의 인자는 터널로 선언될 수 없습니다.</translation> + </message> + <message> + <source>This processor is not Schema-aware and therefore %1 cannot be used.</source> + <translation>이 프로세서는 스키마를 인지하지 못하므로 %1을(를) 사용할 수 없습니다.</translation> + </message> + <message> + <source>Top level stylesheet elements must be in a non-null namespace, which %1 isn't.</source> + <translation>최상위 스타일시트 원소는 비어 있지 않은 네임스페이스에 있어야 하지만 %1은(는) 그렇지 않습니다.</translation> + </message> + <message> + <source>The value for attribute %1 on element %2 must either be %3 or %4, not %5.</source> + <translation>원소 %2의 속성 %1의 값은 %3, %4여야 하며, %5이(가) 올 수 없습니다.</translation> + </message> + <message> + <source>Attribute %1 cannot have the value %2.</source> + <translation>속성 %1은(는) 값 %2을(를) 가질 수 없습니다.</translation> + </message> + <message> + <source>The attribute %1 can only appear on the first %2 element.</source> + <translation>속성 %1은(는) 첫 %2 원소에만 올 수 있습니다.</translation> + </message> + <message> + <source>At least one %1 element must appear as child of %2.</source> + <translation>%2 원소의 자식으로 최소한 하나의 %1 원소가 와야 합니다.</translation> + </message> + <message> + <source>Empty particle cannot be derived from non-empty particle.</source> + <translation>비어 있지 않은 입자에서 비어 있는 입자가 파생될 수 없습니다.</translation> + </message> + <message> + <source>Derived particle is missing element %1.</source> + <translation>파생된 입자에 %1 원소가 없습니다.</translation> + </message> + <message> + <source>Derived element %1 is missing value constraint as defined in base particle.</source> + <translation>파생된 원소 %1에는 기본 입자에 선언되어 있는 값 제약 조건이 없습니다.</translation> + </message> + <message> + <source>Derived element %1 has weaker value constraint than base particle.</source> + <translation>파생된 원소 %1은(는) 기본 입자보다 약한 값 제약 조건을 가지고 있습니다.</translation> + </message> + <message> + <source>Fixed value constraint of element %1 differs from value constraint in base particle.</source> + <translation>원소 %1의 고정 값 제약 조건은 부모 입자의 값 제약 조건과 다릅니다.</translation> + </message> + <message> + <source>Derived element %1 cannot be nillable as base element is not nillable.</source> + <translation>기본 원소에 nil 값이 올 수 없으므로 파생된 원소 %1에도 nil 값이 올 수 없습니다.</translation> + </message> + <message> + <source>Block constraints of derived element %1 must not be more weaker than in the base element.</source> + <translation>파생된 원소 %1의 블럭 제약 조건은 기본 원소의 제약 조건보다 약할 수 없습니다.</translation> + </message> + <message> + <source>Simple type of derived element %1 cannot be validly derived from base element.</source> + <translation>파생된 원소 %1의 간단한 형식은 기본 원소에서 올바르게 파생될 수 없습니다.</translation> + </message> + <message> + <source>Complex type of derived element %1 cannot be validly derived from base element.</source> + <translation>파생된 원소 %1의 복합 형식은 기본 원소에서 올바르게 파생될 수 없습니다.</translation> + </message> + <message> + <source>Element %1 is missing in derived particle.</source> + <translation>원소 %1이(가) 파생된 입자에 없습니다.</translation> + </message> + <message> + <source>Element %1 does not match namespace constraint of wildcard in base particle.</source> + <translation>원소 %1은(는) 기본 입자의 와일드카드 네임스페이스 제약 조건과 일치하지 않습니다.</translation> + </message> + <message> + <source>Wildcard in derived particle is not a valid subset of wildcard in base particle.</source> + <translation>파생 입자의 와일드카드는 기본 입자의 와일드카드의 올바른 부분 집합이 아닙니다.</translation> + </message> + <message> + <source>processContent of wildcard in derived particle is weaker than wildcard in base particle.</source> + <translation>파생 입자의 와일드카드의 processContent는 기본 입자의 와일드카드보다 약합니다.</translation> + </message> + <message> + <source>Derived particle allows content that is not allowed in the base particle.</source> + <translation>기본 입자에서 허용하지 않는 내용이 파생 입자에 올 수 있습니다.</translation> + </message> + <message> + <source>%1 has inheritance loop in its base type %2.</source> + <translation>%1의 부모 형식 %2에서 상속 루프가 발견되었습니다.</translation> + </message> + <message> + <source>Circular inheritance of base type %1.</source> + <translation>기본 형식 %1의 순환 상속입니다.</translation> + </message> + <message> + <source>Circular inheritance of union %1.</source> + <translation>공용체 %1의 순환 상속입니다.</translation> + </message> + <message> + <source>%1 is not allowed to derive from %2 by restriction as the latter defines it as final.</source> + <translation>%1은(는) %2에서 final로 선언되었기 때문에 제한으로 분기될 수 없습니다.</translation> + </message> + <message> + <source>%1 is not allowed to derive from %2 by extension as the latter defines it as final.</source> + <translation>%1은(는) %2에서 final로 선언되었기 때문에 확장으로 분기될 수 없습니다.</translation> + </message> + <message> + <source>Base type of simple type %1 cannot be complex type %2.</source> + <translation>간단한 형식 %1의 기본 형식은 복합 형식 %2일 수 없습니다.</translation> + </message> + <message> + <source>Simple type %1 cannot have direct base type %2.</source> + <translation>간단한 형식 %1은(는) 직접적인 기본 형식 %2을(를) 가질 수 없습니다.</translation> + </message> + <message> + <source>Simple type %1 is not allowed to have base type %2.</source> + <translation>간단한 형식 %1에는 기본 형식 %2가 올 수 없습니다.</translation> + </message> + <message> + <source>Simple type %1 can only have simple atomic type as base type.</source> + <translation>간단한 형식 %1은(는) 간단한 원자적 형식만을 기본 형식으로 가질 수 있습니다.</translation> + </message> + <message> + <source>Simple type %1 cannot derive from %2 as the latter defines restriction as final.</source> + <translation>형식 %2이(가) final로 선언되었으므로, 간단한 형식 %1은(는) 여기에서 파생될 수 없습니다.</translation> + </message> + <message> + <source>Variety of item type of %1 must be either atomic or union.</source> + <translation>%1 형식의 항목의 파생형은 원자적이거나 공용체여야 합니다.</translation> + </message> + <message> + <source>Variety of member types of %1 must be atomic.</source> + <translation>%1 형식의 항목의 파생형은 원자적이어야 합니다.</translation> + </message> + <message> + <source>%1 is not allowed to derive from %2 by list as the latter defines it as final.</source> + <translation>%1은(는) %2에서 final로 선언되었기 때문에 목록으로 분기될 수 없습니다.</translation> + </message> + <message> + <source>Simple type %1 is only allowed to have %2 facet.</source> + <translation>간단한 형식 %1은(는) %2 패싯만 포함할 수 있습니다.</translation> + </message> + <message> + <source>Base type of simple type %1 must have variety of type list.</source> + <translation>간단한 형식 %1의 기본 형식은 파생형 목록을 가져야 합니다.</translation> + </message> + <message> + <source>Base type of simple type %1 has defined derivation by restriction as final.</source> + <translation>간단한 형식 %1의 기본 형식이 final로 선언되어 있어서 파생이 제한되어 있습니다.</translation> + </message> + <message> + <source>Item type of base type does not match item type of %1.</source> + <translation>기본 형식의 항목 형식이 %1의 항목 형식과 일치하지 않습니다.</translation> + </message> + <message> + <source>Simple type %1 contains not allowed facet type %2.</source> + <translation>간단한 형식 %1에 허용되지 않는 패싯 형식 %2이(가) 존재합니다.</translation> + </message> + <message> + <source>%1 is not allowed to derive from %2 by union as the latter defines it as final.</source> + <translation>%1은(는) %2에서 final로 선언되었기 때문에 공용체로 분기될 수 없습니다.</translation> + </message> + <message> + <source>%1 is not allowed to have any facets.</source> + <translation>%1에는 패싯을 추가할 수 없습니다.</translation> + </message> + <message> + <source>Base type %1 of simple type %2 must have variety of union.</source> + <translation>간단한 형식 %2의 기본 형식 %1에는 공용체의 파생형이 있어야 합니다.</translation> + </message> + <message> + <source>Base type %1 of simple type %2 is not allowed to have restriction in %3 attribute.</source> + <translation>간단한 형식 %2의 기본 형식 %1에는 %3 속성에 제한을 걸 수 없습니다.</translation> + </message> + <message> + <source>Member type %1 cannot be derived from member type %2 of %3's base type %4.</source> + <translation>%3의 기본 형식 %4의 형식 %2 멤버 형식에서 멤버 형식 %1을(를) 파생할 수 없습니다.</translation> + </message> + <message> + <source>Derivation method of %1 must be extension because the base type %2 is a simple type.</source> + <translation>기본 형식 %2이(가) 간단한 형식이므로 %1의 파생 방식은 확장이어야 합니다.</translation> + </message> + <message> + <source>Complex type %1 has duplicated element %2 in its content model.</source> + <translation>복합 형식 %1의 내용 모델에 중복된 원소 %2이(가) 있습니다.</translation> + </message> + <message> + <source>Complex type %1 has non-deterministic content.</source> + <translation>복합 형식 %1에 비 결정적 내용이 있습니다.</translation> + </message> + <message> + <source>Attributes of complex type %1 are not a valid extension of the attributes of base type %2: %3.</source> + <translation>복합 형식 %1의 속성이 기본 형식 %2의 속성의 올바른 확장이 아닙니다: %3.</translation> + </message> + <message> + <source>Content model of complex type %1 is not a valid extension of content model of %2.</source> + <translation>복합 형식 %1의 내용 모델이 %2의 내용 모델의 올바른 확장이 아닙니다.</translation> + </message> + <message> + <source>Complex type %1 must have simple content.</source> + <translation>복합 형식 %1에는 간단한 내용이 있어야 합니다.</translation> + </message> + <message> + <source>Complex type %1 must have the same simple type as its base class %2.</source> + <translation>복합 형식 %1은(는) 기본 클래스 %2와(과) 같은 간단한 형식이 필요합니다.</translation> + </message> + <message> + <source>Complex type %1 cannot be derived from base type %2%3.</source> + <translation>복합 형식 %1은(는) 기본 형식 %2%3에서 파생될 수 없습니다.</translation> + </message> + <message> + <source>Attributes of complex type %1 are not a valid restriction from the attributes of base type %2: %3.</source> + <translation>복합 형식 %1의 속성에 기본 형식 %2의 속성에서 온 올바른 제한이 없음: %3.</translation> + </message> + <message> + <source>Complex type %1 with simple content cannot be derived from complex base type %2.</source> + <translation>간단한 내용이 있는 복합 형식 %1은(는) 복합 기본 형식 %2에서 파생될 수 없습니다.</translation> + </message> + <message> + <source>Item type of simple type %1 cannot be a complex type.</source> + <translation>간단한 형식 %1의 항목 형식은 복합 형식이 될 수 없습니다.</translation> + </message> + <message> + <source>Member type of simple type %1 cannot be a complex type.</source> + <translation>간단한 형식 %1의 구성원 형식은 복합 형식이 될 수 없습니다.</translation> + </message> + <message> + <source>%1 is not allowed to have a member type with the same name as itself.</source> + <translation>%1에는 자기 자신을 종류로 갖는 구성 요소를 추가할 수 없습니다.</translation> + </message> + <message> + <source>%1 facet collides with %2 facet.</source> + <translation>%1와(과) %2 패싯이 충돌합니다.</translation> + </message> + <message> + <source>%1 facet must have the same value as %2 facet of base type.</source> + <translation>%1 패싯은 기본 형식의 패싯 %2와(과) 같은 값을 가져야 합니다.</translation> + </message> + <message> + <source>%1 facet must be equal or greater than %2 facet of base type.</source> + <translation>%1 패싯은 기본 형식의 %2 패싯의 값보다 크거나 같아야 합니다.</translation> + </message> + <message> + <source>%1 facet must be less than or equal to %2 facet of base type.</source> + <translation>%1 패싯은 기본 형식의 %2 패싯의 값보다 작거나 같아야 합니다.</translation> + </message> + <message> + <source>%1 facet contains invalid regular expression</source> + <translation>%1 패싯에 잘못된 정규 표현식이 있음</translation> + </message> + <message> + <source>Unknown notation %1 used in %2 facet.</source> + <translation>%2 패싯에 알 수 없는 표기법 %1이(가) 사용되었습니다.</translation> + </message> + <message> + <source>%1 facet contains invalid value %2: %3.</source> + <translation>%1 패싯에 잘못된 값 %2이(가) 포함됨: %3.</translation> + </message> + <message> + <source>%1 facet cannot be %2 or %3 if %4 facet of base type is %5.</source> + <translation>%1 패싯은 기본 형식의 %4 패싯이 %5 형식일 때 %2, %3일 수 없습니다.</translation> + </message> + <message> + <source>%1 facet cannot be %2 if %3 facet of base type is %4.</source> + <translation>%1 패싯은 기본 형식의 %3 패싯이 %4 형식일 때 %2일 수 없습니다.</translation> + </message> + <message> + <source>%1 facet must be less than or equal to %2 facet.</source> + <translation>%1 패싯은 %2 패싯보다 작거나 같아야 합니다.</translation> + </message> + <message> + <source>%1 facet must be less than %2 facet of base type.</source> + <translation>%1 패싯은 기본 형식의 %2 패싯보다 작아야 합니다.</translation> + </message> + <message> + <source>%1 facet and %2 facet cannot appear together.</source> + <translation>%1 패싯과 %2 패싯은 같이 등장할 수 없습니다.</translation> + </message> + <message> + <source>%1 facet must be greater than %2 facet of base type.</source> + <translation>%1 패싯은 기본 형식의 %2 패싯보다 커야 합니다.</translation> + </message> + <message> + <source>%1 facet must be less than %2 facet.</source> + <translation>%1 패싯은 %2 패싯보다 작아야 합니다.</translation> + </message> + <message> + <source>%1 facet must be greater than or equal to %2 facet of base type.</source> + <translation>%1 패싯은 기본 형식의 %2 패싯보다 크거나 같아야 합니다.</translation> + </message> + <message> + <source>Simple type contains not allowed facet %1.</source> + <translation>간단한 형식에는 패싯 %1이(가) 올 수 없습니다.</translation> + </message> + <message> + <source>%1, %2, %3, %4, %5 and %6 facets are not allowed when derived by list.</source> + <translation>목록에서 파생된 경우 %1, %2, %3, %4, %5, %6 패싯은 허용되지 않습니다.</translation> + </message> + <message> + <source>Only %1 and %2 facets are allowed when derived by union.</source> + <translation>공용체에서 파생되었을 때에는 %1, %2 패싯만 사용할 수 있습니다.</translation> + </message> + <message> + <source>%1 contains %2 facet with invalid data: %3.</source> + <translation>%1에 잘못된 데이터가 들어 있는 %2 패싯이 있음: %3.</translation> + </message> + <message> + <source>Attribute group %1 contains attribute %2 twice.</source> + <translation>속성 그룹 %1에 속성 %2이(가) 두 번 들어 있습니다.</translation> + </message> + <message> + <source>Attribute group %1 contains two different attributes that both have types derived from %2.</source> + <translation>속성 그룹 %1에 %2에서 파생된 형식을 포함하는 두 개의 서로 다른 속성이 있습니다.</translation> + </message> + <message> + <source>Attribute group %1 contains attribute %2 that has value constraint but type that inherits from %3.</source> + <translation>속성 그룹 %1에 값 제약 조건이 있지만 %3 형식에서 파생된 형식을 갖는 %2 속성이 있습니다.</translation> + </message> + <message> + <source>Complex type %1 contains attribute %2 twice.</source> + <translation>복합 형식 %1에 속성 %2이(가) 두 번 들어 있습니다.</translation> + </message> + <message> + <source>Complex type %1 contains two different attributes that both have types derived from %2.</source> + <translation>복합 형식 %1에 %2에서 파생된 형식을 포함하는 두 개의 서로 다른 속성이 있습니다.</translation> + </message> + <message> + <source>Complex type %1 contains attribute %2 that has value constraint but type that inherits from %3.</source> + <translation>복합 형식 %1에 값 제약 조건이 있지만 %3 형식에서 파생된 형식을 갖는 %2 속성이 있습니다.</translation> + </message> + <message> + <source>Element %1 is not allowed to have a value constraint if its base type is complex.</source> + <translation>기본 형식이 complex인 경우 원소 %1은(는) 값 제약 조건을 가질 수 없습니다.</translation> + </message> + <message> + <source>Element %1 is not allowed to have a value constraint if its type is derived from %2.</source> + <translation>형식이 %2에서 파생된 경우 원소 %1은(는) 값 제약 조건을 가질 수 없습니다.</translation> + </message> + <message> + <source>Value constraint of element %1 is not of elements type: %2.</source> + <translation>원소 %1의 값 제약 조건이 elements 형식이 아님: %2.</translation> + </message> + <message> + <source>Element %1 is not allowed to have substitution group affiliation as it is no global element.</source> + <translation>원소 %1은(는) 전역 원소가 아니므로 대체 그룹 친화성을 가질 수 없습니다.</translation> + </message> + <message> + <source>Type of element %1 cannot be derived from type of substitution group affiliation.</source> + <translation>원소 %1의 형식은 대체 그룹 친화력의 형식에서 파생될 수 없습니다.</translation> + </message> + <message> + <source>Value constraint of attribute %1 is not of attributes type: %2.</source> + <translation>속성 %1의 값 제약이 attributes 형식이 아님: %2.</translation> + </message> + <message> + <source>Attribute %1 has value constraint but has type derived from %2.</source> + <translation>속성 %1에는 값 제약이 있지만 %2 형식에서 파생된 형식을 가지고 있습니다.</translation> + </message> + <message> + <source>%1 attribute in derived complex type must be %2 like in base type.</source> + <translation>파생된 복합체 형식의 %1 속성은 기본 형식처럼 %2 형식의 값을 가져야 합니다.</translation> + </message> + <message> + <source>Attribute %1 in derived complex type must have %2 value constraint like in base type.</source> + <translation>파생된 복합 형식의 속성 %1은(는) 기본 형식처럼 값 제약 %2을(를) 가져야 합니다.</translation> + </message> + <message> + <source>Attribute %1 in derived complex type must have the same %2 value constraint like in base type.</source> + <translation>파생된 복합 형식의 속성 %1은(는) 기본 형식과 같은 값 제약 %2을(를) 가져야 합니다.</translation> + </message> + <message> + <source>Attribute %1 in derived complex type must have %2 value constraint.</source> + <translation>파생된 복합체 형식의 %1 속성은 %2 형식의 값 제약을 가져야 합니다.</translation> + </message> + <message> + <source>processContent of base wildcard must be weaker than derived wildcard.</source> + <translation>기본 와일드카드의 processContent는 파생 와일드카드보다 약해야 합니다.</translation> + </message> + <message> + <source>Element %1 exists twice with different types.</source> + <translation>서로 다른 형식의 원소 %1이(가) 존재합니다.</translation> + </message> + <message> + <source>Particle contains non-deterministic wildcards.</source> + <translation>입자에 비 결정적인 와일드카드가 존재합니다.</translation> + </message> + <message> + <source>Base attribute %1 is required but derived attribute is not.</source> + <translation>기본 속성 %1이(가) 필요하지만 파생 속성은 필요하지 않습니다.</translation> + </message> + <message> + <source>Type of derived attribute %1 cannot be validly derived from type of base attribute.</source> + <translation>파생 속성 %1의 형식이 기본 속성의 형식에서 올바르게 파생될 수 없습니다.</translation> + </message> + <message> + <source>Value constraint of derived attribute %1 does not match value constraint of base attribute.</source> + <translation>파생 속성 %1의 값 제약이 기본 속성의 값 제약과 일치하지 않습니다.</translation> + </message> + <message> + <source>Derived attribute %1 does not exist in the base definition.</source> + <translation>파생 속성 %1이(가) 기본 정의에 없습니다.</translation> + </message> + <message> + <source>Derived attribute %1 does not match the wildcard in the base definition.</source> + <translation>파생 속성 %1이(가) 기본 속성의 와일드카드와 일치하지 않습니다.</translation> + </message> + <message> + <source>Base attribute %1 is required but missing in derived definition.</source> + <translation>기본 속성 %1이(가) 필요하지만 파생 정의에 없습니다.</translation> + </message> + <message> + <source>Derived definition contains an %1 element that does not exists in the base definition</source> + <translation>파생 정의에서 기본 정의에 없는 %1 원소를 포함합니다</translation> + </message> + <message> + <source>Derived wildcard is not a subset of the base wildcard.</source> + <translation>파생 와일드카드가 기본 와일드카드의 부분 집합이 아닙니다.</translation> + </message> + <message> + <source>%1 of derived wildcard is not a valid restriction of %2 of base wildcard</source> + <translation>파생 와일드카드의 %1은(는) 기본 와일드카드의 %2의 올바른 제약 조건이 아닙니다</translation> + </message> + <message> + <source>Attribute %1 from base type is missing in derived type.</source> + <translation>기본 형식의 속성 %1이(가) 파생 형식에 없습니다.</translation> + </message> + <message> + <source>Type of derived attribute %1 differs from type of base attribute.</source> + <translation>파생 속성 %1의 형식이 기본 속성과 다릅니다.</translation> + </message> + <message> + <source>Base definition contains an %1 element that is missing in the derived definition</source> + <translation>파생 정의에 없는 %1 원소가 기본 정의에 포함되어 있습니다</translation> + </message> + <message> + <source>Can not process unknown element %1, expected elements are: %2.</source> + <translation>알 수 없는 원소 %1을(를) 처리할 수 없습니다. 예상하는 원소는 다음과 같습니다: %2.</translation> + </message> + <message> + <source>Element %1 is not allowed in this scope, possible elements are: %2.</source> + <translation>원소 %1은(는) 이 범위에 올 수 없습니다. 가능한 원소는 다음과 같습니다: %2.</translation> + </message> + <message> + <source>Child element is missing in that scope, possible child elements are: %1.</source> + <translation>그 범위에 자식 원소가 없습니다. 가능한 자식 원소는 다음과 같습니다: %1.</translation> + </message> + <message> + <source>Document is not a XML schema.</source> + <translation>문서가 XML 스키마가 아닙니다.</translation> + </message> + <message> + <source>%1 attribute of %2 element contains invalid content: {%3} is not a value of type %4.</source> + <translation>%2 원소의 %1 속성에 올바르지 않은 내용이 있음: {%3}은(는) %4 형식의 값이 아님.</translation> + </message> + <message> + <source>%1 attribute of %2 element contains invalid content: {%3}.</source> + <translation>%2 원소의 %1 속성에 올바르지 않은 내용이 있음: {%3}.</translation> + </message> + <message> + <source>Target namespace %1 of included schema is different from the target namespace %2 as defined by the including schema.</source> + <translation>포함된 스키마의 대상 네임스페이스 %1은(는) 포함하는 스키마에 정의된 대상 네임스페이스 %2와(과) 다릅니다.</translation> + </message> + <message> + <source>Target namespace %1 of imported schema is different from the target namespace %2 as defined by the importing schema.</source> + <translation>가져온 스키마의 대상 네임스페이스 %1은(는) 가져온 스키마에 정의된 대상 네임스페이스 %2와(과) 다릅니다.</translation> + </message> + <message> + <source>%1 element is not allowed to have the same %2 attribute value as the target namespace %3.</source> + <translation>원소 %1의 속성 %2의 값으로는 대상 네임스페이스 %3와(과) 같은 값이 올 수 없습니다.</translation> + </message> + <message> + <source>%1 element without %2 attribute is not allowed inside schema without target namespace.</source> + <translation>대상 네임스페이스가 없는 스키마에는 %2 속성이 없는 %1 원소가 올 수 없습니다.</translation> + </message> + <message> + <source>%1 element is not allowed inside %2 element if %3 attribute is present.</source> + <translation>%3 속성이 존재하면 %2 원소 안에 %1 원소가 올 수 없습니다.</translation> + </message> + <message> + <source>%1 element has neither %2 attribute nor %3 child element.</source> + <translation>%1 원소에 %2 속성이나 %3 자식 원소가 없습니다.</translation> + </message> + <message> + <source>%1 element with %2 child element must not have a %3 attribute.</source> + <translation>%2 자식 원소가 있는 %1 원소에는 %3 속성이 존재할 수 없습니다.</translation> + </message> + <message> + <source>%1 attribute of %2 element must be %3 or %4.</source> + <translation>%2 원소의 %1 속성은 %3(이)나 %4여야 합니다.</translation> + </message> + <message> + <source>%1 attribute of %2 element must have a value of %3.</source> + <translation>%2 원소의 %1 속성은 %3 형식의 값을 가져야 합니다.</translation> + </message> + <message> + <source>%1 attribute of %2 element must have a value of %3 or %4.</source> + <translation>%2 원소의 %1 속성은 값 %3(이)나 %4이(가) 있어야 합니다.</translation> + </message> + <message> + <source>%1 element must not have %2 and %3 attribute together.</source> + <translation>%1 원소는 %2, %3 속성 둘 다를 가질 수 없습니다.</translation> + </message> + <message> + <source>Content of %1 attribute of %2 element must not be from namespace %3.</source> + <translation>%2 원소의 %1 속성의 내용은 %3 네임스페이스에서 올 수 없습니다.</translation> + </message> + <message> + <source>%1 attribute of %2 element must not be %3.</source> + <translation>%2 원소의 %1 속성은 %3일 수 없습니다.</translation> + </message> + <message> + <source>%1 attribute of %2 element must have the value %3 because the %4 attribute is set.</source> + <translation>%4 속성이 설정되어 있으므로 %2 원소의 %1 속성 값으로는 %3이(가) 지정되어야 합니다.</translation> + </message> + <message> + <source>Specifying use='prohibited' inside an attribute group has no effect.</source> + <translation>속성 그룹 안에서 use='prohibited'를 사용하여도 효과가 없습니다.</translation> + </message> + <message> + <source>%1 element must have either %2 or %3 attribute.</source> + <translation>%1 원소는 %2, %3 중 하나의 속성만 가져야 합니다.</translation> + </message> + <message> + <source>%1 element must have either %2 attribute or %3 or %4 as child element.</source> + <translation>%1 원소는 %2 속성이나 자식 원소로 %3, %4을(를) 가져야 합니다.</translation> + </message> + <message> + <source>%1 element requires either %2 or %3 attribute.</source> + <translation>%1 원소에는 %2, %3 중 하나의 속성이 필요합니다.</translation> + </message> + <message> + <source>Text or entity references not allowed inside %1 element</source> + <translation>%1 원소 안에 텍스트나 엔티티 참조를 사용할 수 없음</translation> + </message> + <message> + <source>%1 attribute of %2 element must contain %3, %4 or a list of URIs.</source> + <translation>%2 원소의 %1 속성에는 %3, %4, 또는 URI 목록이 포함되어야 합니다.</translation> + </message> + <message> + <source>%1 element is not allowed in this context.</source> + <translation>이 컨텍스트에는 %1 원소가 허용되지 않습니다.</translation> + </message> + <message> + <source>%1 attribute of %2 element has larger value than %3 attribute.</source> + <translation>%2 원소의 %1 속성이 %3 속성보다 큰 값을 가지고 있습니다.</translation> + </message> + <message> + <source>Prefix of qualified name %1 is not defined.</source> + <translation>접두사나 완전한 이름 %1이(가) 정의되지 않았습니다.</translation> + </message> + <message> + <source>%1 attribute of %2 element must either contain %3 or the other values.</source> + <translation>%2 원소의 %1 속성에는 %3(이)나 다른 값이 포함되어야 합니다.</translation> + </message> + <message> + <source>Component with ID %1 has been defined previously.</source> + <translation>ID가 %1인 구성 요소가 이미 정의되었습니다.</translation> + </message> + <message> + <source>Element %1 already defined.</source> + <translation>원소 %1이(가) 이미 정의되었습니다.</translation> + </message> + <message> + <source>Attribute %1 already defined.</source> + <translation>속성 %1이(가) 이미 정의되었습니다.</translation> + </message> + <message> + <source>Type %1 already defined.</source> + <translation>형식 %1이(가) 이미 정의되었습니다.</translation> + </message> + <message> + <source>Type %1 already defined.</source> + <comment>QSystemSemaphore</comment> + <translation type="obsolete">%1: 이미 존재함</translation> + </message> + <message> + <source>Attribute group %1 already defined.</source> + <translation>속성 그룹 %1이(가) 이미 정의되었습니다.</translation> + </message> + <message> + <source>Element group %1 already defined.</source> + <translation>원소 그룹 %1이(가) 이미 정의되었습니다.</translation> + </message> + <message> + <source>Notation %1 already defined.</source> + <translation>표기법 %1이(가) 이미 정의되었습니다.</translation> + </message> + <message> + <source>Identity constraint %1 already defined.</source> + <translation>아이덴티티 제약 조건 %1이(가) 이미 정의되었습니다.</translation> + </message> + <message> + <source>Duplicated facets in simple type %1.</source> + <translation>간단한 형식 %1에 중복된 패싯이 있습니다.</translation> + </message> + <message> + <source>%1 references unknown %2 or %3 element %4.</source> + <translation>%1에서 알 수 없는 %2 또는 %3 원소 %4을(를) 참조합니다.</translation> + </message> + <message> + <source>%1 references identity constraint %2 that is no %3 or %4 element.</source> + <translation>%1에서 %3, %4 원소가 없는 아이덴티티 제약 조건 %2을(를) 참조합니다.</translation> + </message> + <message> + <source>%1 has a different number of fields from the identity constraint %2 that it references.</source> + <translation>%1에서 참조하는 아이덴티티 제약 조건 %2와(과) 필드 개수가 다릅니다.</translation> + </message> + <message> + <source>Base type %1 of %2 element cannot be resolved.</source> + <translation>%2 원소의 기본 형식 %1을(를) 해석할 수 없습니다.</translation> + </message> + <message> + <source>Item type %1 of %2 element cannot be resolved.</source> + <translation>%2 원소의 항목 형식 %1을(를) 해석할 수 없습니다.</translation> + </message> + <message> + <source>Member type %1 of %2 element cannot be resolved.</source> + <translation>%2 원소의 구성 요소 형식 %1을(를) 해석할 수 없습니다.</translation> + </message> + <message> + <source>Type %1 of %2 element cannot be resolved.</source> + <translation>%2 원소의 형식 %1을(를) 해석할 수 없습니다.</translation> + </message> + <message> + <source>Base type %1 of complex type cannot be resolved.</source> + <translation>복합 형식 %1의 기본 형식을 해석할 수 없습니다.</translation> + </message> + <message> + <source>%1 cannot have complex base type that has a %2.</source> + <translation>%1에는 %2을(를) 포함하는 복합 기본 형식을 추가할 수 없음.</translation> + </message> + <message> + <source>Content model of complex type %1 contains %2 element so it cannot be derived by extension from a non-empty type.</source> + <translation>복합 형식 %1의 내용 모델은 %2 원소를 포함하므로 비어 있지 않은 형식의 확장으로 파생될 수 없습니다.</translation> + </message> + <message> + <source>Complex type %1 cannot be derived by extension from %2 as the latter contains %3 element in its content model.</source> + <translation>복합 형식 %1은(는) %2의 내용 모델에 %3 원소를 포함하므로 여기에서 확장으로 파생될 수 없습니다.</translation> + </message> + <message> + <source>Type of %1 element must be a simple type, %2 is not.</source> + <translation>%1 원소의 형식은 간단한 형식이어야 하며, %2은(는) 그렇지 않습니다.</translation> + </message> + <message> + <source>Substitution group %1 of %2 element cannot be resolved.</source> + <translation>%2의 대체 그룹 %1을(를) 해석할 수 없습니다.</translation> + </message> + <message> + <source>Substitution group %1 has circular definition.</source> + <translation>대체 그룹 %1에 순환 정의가 있습니다.</translation> + </message> + <message> + <source>Duplicated element names %1 in %2 element.</source> + <translation>%2 원소에 중복된 원소 이름 %1이(가) 있습니다.</translation> + </message> + <message> + <source>Reference %1 of %2 element cannot be resolved.</source> + <translation>%2 원소의 참조 %1을(를) 해석할 수 없습니다.</translation> + </message> + <message> + <source>Circular group reference for %1.</source> + <translation>%1의 순환 그룹 참조가 발견되었습니다.</translation> + </message> + <message> + <source>%1 element is not allowed in this scope</source> + <translation>이 범위에 %1 원소가 올 수 없습니다</translation> + </message> + <message> + <source>%1 element cannot have %2 attribute with value other than %3.</source> + <translation>%1 원소의 %2 속성 값은 %3이어야 합니다.</translation> + </message> + <message> + <source>%1 element cannot have %2 attribute with value other than %3 or %4.</source> + <translation>%1 원소의 %2 속성 값은 %3(이)나 %4여야 합니다.</translation> + </message> + <message> + <source>%1 or %2 attribute of reference %3 does not match with the attribute declaration %4.</source> + <translation>참조 %3의 속성 %1이나 %2이(가) 속성 선언 %4와(과) 일치하지 않습니다.</translation> + </message> + <message> + <source>Attribute group %1 has circular reference.</source> + <translation>속성 그룹 %1에 순환 참조가 있습니다.</translation> + </message> + <message> + <source>%1 attribute in %2 must have %3 use like in base type %4.</source> + <translation>%2의 %1 속성은 기본 형식 %4처럼 %3을(를) 사용하여야 합니다.</translation> + </message> + <message> + <source>Attribute wildcard of %1 is not a valid restriction of attribute wildcard of base type %2.</source> + <translation>%1의 속성 와일드카드는 기본 형식 %2의 속성 와일드카드의 올바른 제한이 아닙니다.</translation> + </message> + <message> + <source>%1 has attribute wildcard but its base type %2 has not.</source> + <translation>%1에는 속성 와일드카드가 있지만 기본 형식 %2에는 없습니다.</translation> + </message> + <message> + <source>Union of attribute wildcard of type %1 and attribute wildcard of its base type %2 is not expressible.</source> + <translation>%1 형식의 속성 와일드카드와 기본 형식 %2의 속성 와일드카드의 공용체는 표현할 수 없습니다.</translation> + </message> + <message> + <source>Enumeration facet contains invalid content: {%1} is not a value of type %2.</source> + <translation>Enumeration 패싯에 올바르지 않은 내용이 있습니다: {%1}은(는) %2 형식의 값이 아닙니다.</translation> + </message> + <message> + <source>Namespace prefix of qualified name %1 is not defined.</source> + <translation>완전한 이름 %1을(를) 사용하는 네임스페이스 접두사가 선언되지 않았습니다.</translation> + </message> + <message> + <source>%1 element %2 is not a valid restriction of the %3 element it redefines: %4.</source> + <translation>%1 원소 %2은(는) 재정의하는 %3 원소의 올바른 제약 조건이 아닙니다: %4.</translation> + </message> + <message> + <source>%1 is not valid according to %2.</source> + <translation>%2에 의하면 %1은(는) 올바르지 않습니다.</translation> + </message> + <message> + <source>String content does not match the length facet.</source> + <translation>문자열 내용이 length 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>String content does not match the minLength facet.</source> + <translation>문자열 내용이 minLength 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>String content does not match the maxLength facet.</source> + <translation>문자열 내용이 maxLength 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>String content does not match pattern facet.</source> + <translation>문자열 내용이 pattern 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>String content is not listed in the enumeration facet.</source> + <translation>문자열 내용이 enumeration 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Signed integer content does not match the maxInclusive facet.</source> + <translation>부호 있는 정수 내용이 maxInclusive 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Signed integer content does not match the maxExclusive facet.</source> + <translation>부호 있는 정수 내용이 maxExclusive 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Signed integer content does not match the minInclusive facet.</source> + <translation>부호 있는 정수 내용이 minInclusive 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Signed integer content does not match the minExclusive facet.</source> + <translation>부호 있는 정수 내용이 minExclusive 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Signed integer content is not listed in the enumeration facet.</source> + <translation>부호 있는 정수 내용이 enumeration 패싯에 없습니다.</translation> + </message> + <message> + <source>Signed integer content does not match pattern facet.</source> + <translation>부호 있는 정수 내용이 pattern 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Signed integer content does not match in the totalDigits facet.</source> + <translation>부호 있는 정수 내용이 totalDigits 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Unsigned integer content does not match the maxInclusive facet.</source> + <translation>부호 없는 정수 내용이 maxInclusive 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Unsigned integer content does not match the maxExclusive facet.</source> + <translation>부호 없는 정수 내용이 maxExclusive 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Unsigned integer content does not match the minInclusive facet.</source> + <translation>부호 없는 정수 내용이 minInclusive 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Unsigned integer content does not match the minExclusive facet.</source> + <translation>부호 없는 정수 내용이 minExclusive 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Unsigned integer content is not listed in the enumeration facet.</source> + <translation>부호 없는 정수 내용이 enumeration 패싯에 없습니다.</translation> + </message> + <message> + <source>Unsigned integer content does not match pattern facet.</source> + <translation>부호 없는 정수 내용이 pattern 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Unsigned integer content does not match in the totalDigits facet.</source> + <translation>부호 없는 정수 내용이 totalDigits 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Double content does not match the maxInclusive facet.</source> + <translation>실수 내용이 maxLength 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Double content does not match the maxExclusive facet.</source> + <translation>실수 내용이 maxExclusive 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Double content does not match the minInclusive facet.</source> + <translation>실수 내용이 minInclusive 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Double content does not match the minExclusive facet.</source> + <translation>실수 내용이 minExclusive 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Double content is not listed in the enumeration facet.</source> + <translation>실수 내용이 enumeration 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Double content does not match pattern facet.</source> + <translation>실수 내용이 pattern 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Decimal content does not match in the fractionDigits facet.</source> + <translation>십진수 내용이 fractionDigits 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Decimal content does not match in the totalDigits facet.</source> + <translation>십진수 내용이 totalDigits 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Date time content does not match the maxInclusive facet.</source> + <translation>날짜 및 시간 내용이 maxInclusive 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Date time content does not match the maxExclusive facet.</source> + <translation>날짜 및 시간 내용이 maxExclusive 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Date time content does not match the minInclusive facet.</source> + <translation>날짜 및 시간 내용이 minInclusive 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Date time content does not match the minExclusive facet.</source> + <translation>날짜 및 시간 내용이 minExclusive 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Date time content is not listed in the enumeration facet.</source> + <translation>날짜 및 시간 내용이 enumeration 패싯에 없습니다.</translation> + </message> + <message> + <source>Date time content does not match pattern facet.</source> + <translation>날짜 및 시간 내용이 pattern 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Duration content does not match the maxInclusive facet.</source> + <translation>지속 시간 내용이 maxInclusive 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Duration content does not match the maxExclusive facet.</source> + <translation>지속 시간 내용이 maxExclusive 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Duration content does not match the minInclusive facet.</source> + <translation>지속 시간 내용이 minInclusive 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Duration content does not match the minExclusive facet.</source> + <translation>지속 시간 내용이 minExclusive 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Duration content is not listed in the enumeration facet.</source> + <translation>지속 시간 내용이 enumeration 패싯에 없습니다.</translation> + </message> + <message> + <source>Duration content does not match pattern facet.</source> + <translation>지속 시간 내용이 pattern 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Boolean content does not match pattern facet.</source> + <translation>참/거짓 내용이 pattern 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Binary content does not match the length facet.</source> + <translation>참/거짓 내용이 length 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Binary content does not match the minLength facet.</source> + <translation>참/거짓 내용이 minLength 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Binary content does not match the maxLength facet.</source> + <translation>참/거짓 내용이 maxLength 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Binary content is not listed in the enumeration facet.</source> + <translation>참/거짓 내용이 enumeration 패싯에 없습니다.</translation> + </message> + <message> + <source>Invalid QName content: %1.</source> + <translation>잘못된 QName 내용: %1.</translation> + </message> + <message> + <source>QName content is not listed in the enumeration facet.</source> + <translation>QName 내용이 enumeration 패싯에 없습니다.</translation> + </message> + <message> + <source>QName content does not match pattern facet.</source> + <translation>QName 내용이 pattern 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Notation content is not listed in the enumeration facet.</source> + <translation>Notation 내용이 enumeration 패싯에 없습니다.</translation> + </message> + <message> + <source>List content does not match length facet.</source> + <translation>목록 내용이 length 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>List content does not match minLength facet.</source> + <translation>목록 내용이 minLength 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>List content does not match maxLength facet.</source> + <translation>목록 내용이 maxLength 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>List content is not listed in the enumeration facet.</source> + <translation>목록 내용이 enumeration 패싯에 없습니다.</translation> + </message> + <message> + <source>List content does not match pattern facet.</source> + <translation>목록 내용이 pattern 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Union content is not listed in the enumeration facet.</source> + <translation>공용체 내용이 enumeration 패싯에 없습니다.</translation> + </message> + <message> + <source>Union content does not match pattern facet.</source> + <translation>공용체 내용이 pattern 패싯과 일치하지 않습니다.</translation> + </message> + <message> + <source>Data of type %1 are not allowed to be empty.</source> + <translation>%1 형식 데이터는 비어 있으면 안 됩니다.</translation> + </message> + <message> + <source>Element %1 is missing child element.</source> + <translation>원소 %1에 자식 원소가 없습니다.</translation> + </message> + <message> + <source>There is one IDREF value with no corresponding ID: %1.</source> + <translation>대응하는 ID가 없는 IDREF 값이 있습니다: %1.</translation> + </message> + <message> + <source>Loaded schema file is invalid.</source> + <translation>불러온 스키마 파일이 올바르지 않습니다.</translation> + </message> + <message> + <source>%1 contains invalid data.</source> + <translation>%1에 올바르지 않은 데이터가 있습니다.</translation> + </message> + <message> + <source>xsi:schemaLocation namespace %1 has already appeared earlier in the instance document.</source> + <translation>xsi:schemaLocation 네임스페이스 %1이(가) 인스턴스 문서의 더 위에 존재합니다.</translation> + </message> + <message> + <source>xsi:noNamespaceSchemaLocation cannot appear after the first no-namespace element or attribute.</source> + <translation>xsi:noNamespaceSchemaLocation은 첫 no-namespace 원소나 속성 다음에 나올 수 없습니다.</translation> + </message> + <message> + <source>No schema defined for validation.</source> + <translation>검증할 스키마가 정의되지 않았습니다.</translation> + </message> + <message> + <source>No definition for element %1 available.</source> + <translation>원소 %1의 정의를 사용할 수 없습니다.</translation> + </message> + <message> + <source>Specified type %1 is not known to the schema.</source> + <translation>스키마에 지정한 형식 %1이(가) 정의되어 있지 않습니다.</translation> + </message> + <message> + <source>Element %1 is not defined in this scope.</source> + <translation>원소 %1은(는) 이 범위에 정의되지 않았습니다.</translation> + </message> + <message> + <source>Declaration for element %1 does not exist.</source> + <translation>원소 %1의 선언이 존재하지 않습니다.</translation> + </message> + <message> + <source>Element %1 contains invalid content.</source> + <translation>원소 %1에 올바르지 않은 내용이 있습니다.</translation> + </message> + <message> + <source>Element %1 is declared as abstract.</source> + <translation>원소 %1이 추상 원소로 선언되었습니다.</translation> + </message> + <message> + <source>Element %1 is not nillable.</source> + <translation>원소 %1에 nil 값을 대입할 수 없습니다.</translation> + </message> + <message> + <source>Attribute %1 contains invalid data: %2</source> + <translation>속성 %1에 잘못된 데이터가 있음: %2</translation> + </message> + <message> + <source>Element contains content although it is nillable.</source> + <translation>원소에 nil 값을 할당할 수 있지만 내용이 들어 있습니다.</translation> + </message> + <message> + <source>Fixed value constraint not allowed if element is nillable.</source> + <translation>원소에 nil 값을 대입할 수 있으면 고정된 값 제약 조건을 사용할 수 없습니다.</translation> + </message> + <message> + <source>Specified type %1 is not validly substitutable with element type %2.</source> + <translation>지정한 형식 %1은(는) %2 형식의 원소로 올바르게 대체할 수 없습니다.</translation> + </message> + <message> + <source>Complex type %1 is not allowed to be abstract.</source> + <translation>복합 형식 %1은(는) 추상으로 선언할 수 없습니다.</translation> + </message> + <message> + <source>Element %1 contains not allowed attributes.</source> + <translation>원소 %1에 허용되지 않은 속성이 포함되어 있습니다.</translation> + </message> + <message> + <source>Element %1 contains not allowed child element.</source> + <translation>원소 %1에 허용되지 않은 자식 원소가 포함되어 있습니다.</translation> + </message> + <message> + <source>Content of element %1 does not match its type definition: %2.</source> + <translation>원소 %1의 내용은 형식 선언과 일치하지 않습니다: %2.</translation> + </message> + <message> + <source>Content of element %1 does not match defined value constraint.</source> + <translation>원소 %1의 내용은 정의된 값 제약 조건과 일치하지 않습니다.</translation> + </message> + <message> + <source>Element %1 contains not allowed child content.</source> + <translation>원소 %1에 허용되지 않은 자식 내용이 포함되어 있습니다.</translation> + </message> + <message> + <source>Element %1 contains not allowed text content.</source> + <translation>원소 %1에 허용되지 않은 텍스트 내용이 포함되어 있습니다.</translation> + </message> + <message> + <source>Element %1 cannot contain other elements, as it has a fixed content.</source> + <translation>원소 %1의 내용은 고정되어 있으므로 다른 원소를 포함할 수 없습니다.</translation> + </message> + <message> + <source>Element %1 is missing required attribute %2.</source> + <translation>원소 %1에 필요한 속성 %2이(가) 없습니다.</translation> + </message> + <message> + <source>Attribute %1 does not match the attribute wildcard.</source> + <translation>속성 %1이(가) 속성 와일드카드와 일치하지 않습니다.</translation> + </message> + <message> + <source>Declaration for attribute %1 does not exist.</source> + <translation>속성 %1 선언이 존재하지 않습니다.</translation> + </message> + <message> + <source>Element %1 contains two attributes of type %2.</source> + <translation>원소 %1은(는) 형식이 %2인 속성을 두 개 포함하고 있습니다.</translation> + </message> + <message> + <source>Attribute %1 contains invalid content.</source> + <translation>속성 %1에 잘못된 데이터가 있습니다.</translation> + </message> + <message> + <source>Element %1 contains unknown attribute %2.</source> + <translation>원소 %1에 알 수 없는 속성 %2이(가) 포함되어 있습니다.</translation> + </message> + <message> + <source>Content of attribute %1 does not match its type definition: %2.</source> + <translation>속성 %1의 내용과 형식 정의가 일치하지 않습니다: %2.</translation> + </message> + <message> + <source>Content of attribute %1 does not match defined value constraint.</source> + <translation>속성 %1의 내용이 정의된 값 제약 조건과 일치하지 않습니다.</translation> + </message> + <message> + <source>Non-unique value found for constraint %1.</source> + <translation>제약 조건 %1에 중복되는 값이 있습니다.</translation> + </message> + <message> + <source>Key constraint %1 contains absent fields.</source> + <translation>키 제약 조건 %1에 비어 있는 필드가 있습니다.</translation> + </message> + <message> + <source>Key constraint %1 contains references nillable element %2.</source> + <translation>키 제약 조건 %1에서 nil 값이 올 수 있는 원소 %2을(를) 참조합니다.</translation> + </message> + <message> + <source>No referenced value found for key reference %1.</source> + <translation>키 참조 %1에 대한 참조되는 값을 찾을 수 없습니다.</translation> + </message> + <message> + <source>More than one value found for field %1.</source> + <translation>필드 %1에 하나 이상의 값이 있습니다.</translation> + </message> + <message> + <source>Field %1 has no simple type.</source> + <translation>필드 %1에 간단한 형식이 없습니다.</translation> + </message> + <message> + <source>ID value '%1' is not unique.</source> + <translation>ID 값 '%1'이(가) 유일하지 않습니다.</translation> + </message> + <message> + <source>'%1' attribute contains invalid QName content: %2.</source> + <translation>속성 '%1'에 올바르지 않은 QName 내용이 있음: %2.</translation> + </message> + <message> + <source>empty</source> + <translation>비어 있음</translation> + </message> + <message> + <source>zero or one</source> + <translation>0이나 1</translation> + </message> + <message> + <source>exactly one</source> + <translation>정확히 1</translation> + </message> + <message> + <source>one or more</source> + <translation>1 이상</translation> + </message> + <message> + <source>zero or more</source> + <translation>0 이상</translation> + </message> + <message> + <source>Required type is %1, but %2 was found.</source> + <translation>요청한 형식은 %1(이)나 %2이(가) 요청되었습니다.</translation> + </message> + <message> + <source>Promoting %1 to %2 may cause loss of precision.</source> + <translation>%1을(를) %2(으)로 변환하면 정밀도를 잃어버릴 수 있습니다.</translation> + </message> + <message> + <source>The focus is undefined.</source> + <translation>초점이 정의되지 않았습니다.</translation> + </message> + <message> + <source>It's not possible to add attributes after any other kind of node.</source> + <translation>노드 뒤에 속성을 추가할 수 없습니다.</translation> + </message> + <message> + <source>An attribute by name %1 has already been created.</source> + <translation>이름이 %1인 속성이 이미 생성되었습니다.</translation> + </message> + <message> + <source>Only the Unicode Codepoint Collation is supported(%1). %2 is unsupported.</source> + <translation>유니코드 코드 포인트 순 정렬만 지원합니다(%1). %2은(는) 지원하지 않습니다.</translation> + </message> +</context> +</TS> diff --git a/translations/qt_ru.ts b/translations/qt_ru.ts index e20fc0c..d399b6d 100644 --- a/translations/qt_ru.ts +++ b/translations/qt_ru.ts @@ -89,7 +89,7 @@ </message> <message> <source>Revert back to device '%1'</source> - <translation>Возвращение к устройству "%1"</translation> + <translation>Возвращение к устройству «%1»</translation> </message> <message> <source><html>Switching to the audio playback device <b>%1</b><br/>which has higher preference or is specifically configured for this stream.</html></source> @@ -188,7 +188,7 @@ have libgstreamer-plugins-base installed.</source> </message> <message> <source>Underflow</source> - <translation type="unfinished">Переполнение</translation> + <translation>Ниже границы</translation> </message> <message> <source>Already exists</source> @@ -240,7 +240,7 @@ have libgstreamer-plugins-base installed.</source> </message> <message> <source>Server alert</source> - <translation type="unfinished">Сигнал сервера</translation> + <translation>Сигнал сервера</translation> </message> <message> <source>Invalid protocol</source> @@ -444,6 +444,10 @@ have libgstreamer-plugins-base installed.</source> <source>Error opening source: media type could not be determined</source> <translation>Ошибка открытия источника: не удалось определить тип медиа-данных</translation> </message> + <message> + <source>Failed to set requested IAP</source> + <translation>Не удалось задать указанную точку доступа</translation> + </message> </context> <context> <name>Phonon::MMF::StereoWidening</name> @@ -482,7 +486,7 @@ have libgstreamer-plugins-base installed.</source> </message> <message> <source>Ambiguous %1 not handled</source> - <translation type="unfinished"></translation> + <translation>Неоднозначная комбинация %1 не обработана</translation> </message> </context> <context> @@ -704,7 +708,7 @@ have libgstreamer-plugins-base installed.</source> </message> <message> <source><qt>Are you sure you wish to delete %1 "%2"?</qt></source> - <translation><qt>Вы действительно хотите удалить %1 "%2"?</qt></translation> + <translation><qt>Вы действительно хотите удалить %1 «%2»?</qt></translation> </message> <message> <source>&Yes</source> @@ -951,35 +955,35 @@ to <name>Q3UrlOperator</name> <message> <source>The protocol `%1' is not supported</source> - <translation>Протокол "%1" не поддерживается</translation> + <translation>Протокол «%1» не поддерживается</translation> </message> <message> <source>The protocol `%1' does not support listing directories</source> - <translation>Протокол "%1" не поддерживает просмотр каталогов</translation> + <translation>Протокол «%1» не поддерживает просмотр каталогов</translation> </message> <message> <source>The protocol `%1' does not support creating new directories</source> - <translation>Протокол "%1" не поддерживает создание каталогов</translation> + <translation>Протокол «%1» не поддерживает создание каталогов</translation> </message> <message> <source>The protocol `%1' does not support removing files or directories</source> - <translation>Протокол "%1" не поддерживает удаление файлов или каталогов</translation> + <translation>Протокол «%1» не поддерживает удаление файлов или каталогов</translation> </message> <message> <source>The protocol `%1' does not support renaming files or directories</source> - <translation>Протокол "%1" не поддерживает переименование файлов или каталогов</translation> + <translation>Протокол «%1» не поддерживает переименование файлов или каталогов</translation> </message> <message> <source>The protocol `%1' does not support getting files</source> - <translation>Протокол "%1" не поддерживает доставку файлов</translation> + <translation>Протокол «%1» не поддерживает передачу файлов</translation> </message> <message> <source>The protocol `%1' does not support putting files</source> - <translation>Протокол "%1" не поддерживает отправку файлов</translation> + <translation>Протокол «%1» не поддерживает отправку файлов</translation> </message> <message> <source>The protocol `%1' does not support copying or moving files or directories</source> - <translation>Протокол "%1" не поддерживает копирование или перемещение файлов или каталогов</translation> + <translation>Протокол «%1» не поддерживает копирование или перемещение файлов или каталогов</translation> </message> <message> <source>(unknown)</source> @@ -1066,7 +1070,7 @@ to <name>QApplication</name> <message> <source>Executable '%1' requires Qt %2, found Qt %3.</source> - <translation>Программный модуль "%1" требует Qt %2, найдена версия %3.</translation> + <translation>Программный модуль «%1» требует Qt %2, найдена версия %3.</translation> </message> <message> <source>Incompatible Qt Library Error</source> @@ -1219,6 +1223,11 @@ to <translation>%1: недостаточно ресурсов</translation> </message> <message> + <source>%1: permission denied</source> + <comment>QSystemSemaphore</comment> + <translation>%1: доступ запрещён</translation> + </message> + <message> <source>%1: unknown error %2</source> <comment>QSystemSemaphore</comment> <translation>%1: неизвестная ошибка %2</translation> @@ -1293,11 +1302,11 @@ to <name>QDeclarativeAbstractAnimation</name> <message> <source>Cannot animate non-existent property "%1"</source> - <translation>Невозможно анимировать несуществуещее свойство "%1"</translation> + <translation>Невозможно анимировать несуществуещее свойство «%1»</translation> </message> <message> <source>Cannot animate read-only property "%1"</source> - <translation>Невозможно анимировать свойство только для чтения "%1"</translation> + <translation>Невозможно анимировать свойство только для чтения «%1»</translation> </message> <message> <source>Animation is an abstract class</source> @@ -1315,51 +1324,51 @@ to <name>QDeclarativeAnchors</name> <message> <source>Possible anchor loop detected on fill.</source> - <translation type="unfinished">Обнаружена возможная цикличная привязка на fill.</translation> + <translation>Обнаружена возможная цикличная привязка на fill.</translation> </message> <message> <source>Possible anchor loop detected on centerIn.</source> - <translation type="unfinished">Обнаружена возможная цикличная привязка на centerIn.</translation> + <translation>Обнаружена возможная цикличная привязка на centerIn.</translation> </message> <message> <source>Cannot anchor to an item that isn't a parent or sibling.</source> - <translation type="unfinished">Невозможно установить привязку к элементу, не являющемуся родителем или соседом.</translation> + <translation>Невозможно установить привязку к элементу, не являющемуся родителем или соседом.</translation> </message> <message> <source>Possible anchor loop detected on vertical anchor.</source> - <translation type="unfinished">Обнаружена возможная цикличная привязка к вертикальной привязке.</translation> + <translation>Обнаружена возможная цикличная привязка к вертикальной привязке.</translation> </message> <message> <source>Possible anchor loop detected on horizontal anchor.</source> - <translation type="unfinished">Обнаружена возможная цикличная привязка к горизонтальной привязке.</translation> + <translation>Обнаружена возможная цикличная привязка к горизонтальной привязке.</translation> </message> <message> <source>Cannot specify left, right, and hcenter anchors.</source> - <translation type="unfinished">Невозможно задать левую, правую и среднюю привязки.</translation> + <translation>Невозможно задать левую, правую и среднюю привязки.</translation> </message> <message> <source>Cannot anchor to a null item.</source> - <translation type="unfinished">Невозможно привязаться к нулевому элементу.</translation> + <translation>Невозможно привязаться к нулевому элементу.</translation> </message> <message> <source>Cannot anchor a horizontal edge to a vertical edge.</source> - <translation type="unfinished">Невозможно привязать горизонтальный край к вертикальному.</translation> + <translation>Невозможно привязать горизонтальный край к вертикальному.</translation> </message> <message> <source>Cannot anchor item to self.</source> - <translation type="unfinished">Невозможно привязать элемент к самому себе.</translation> + <translation>Невозможно привязать элемент к самому себе.</translation> </message> <message> <source>Cannot specify top, bottom, and vcenter anchors.</source> - <translation type="unfinished">Невозможно задать верхнюю, нижнюю и среднюю привязки.</translation> + <translation>Невозможно задать верхнюю, нижнюю и среднюю привязки.</translation> </message> <message> <source>Baseline anchor cannot be used in conjunction with top, bottom, or vcenter anchors.</source> - <translation type="unfinished">Невозможно использовать базовую привязку вместе с верхней, нижней и центральной по вертикали.</translation> + <translation>Невозможно использовать базовую привязку вместе с верхней, нижней и центральной по вертикали.</translation> </message> <message> <source>Cannot anchor a vertical edge to a horizontal edge.</source> - <translation type="unfinished">Невозможно привязать вертикальный край к горизонтальному.</translation> + <translation>Невозможно привязать вертикальный край к горизонтальному.</translation> </message> </context> <context> @@ -1370,31 +1379,38 @@ to </message> </context> <context> + <name>QDeclarativeApplication</name> + <message> + <source>Application is an abstract class</source> + <translation>Класс Application - абстрактный</translation> + </message> +</context> +<context> <name>QDeclarativeBehavior</name> <message> <source>Cannot change the animation assigned to a Behavior.</source> - <translation type="unfinished">Невозможно изменить анимацию, назначенную поведению.</translation> + <translation>Невозможно изменить анимацию, назначенную поведению.</translation> </message> </context> <context> <name>QDeclarativeBinding</name> <message> <source>Binding loop detected for property "%1"</source> - <translation type="unfinished">Обнаружено зацикливание привязки для свойства "%1"</translation> + <translation>Обнаружено зацикливание привязки для свойства «%1»</translation> </message> </context> <context> <name>QDeclarativeCompiledBindings</name> <message> <source>Binding loop detected for property "%1"</source> - <translation type="unfinished">Обнаружена цикличная привязка для свойства "%1"</translation> + <translation>Обнаружена цикличная привязка для свойства «%1»</translation> </message> </context> <context> <name>QDeclarativeCompiler</name> <message> <source>Invalid property assignment: "%1" is a read-only property</source> - <translation>Некорректное присваивание свойства: "%1" свойство только для чтения</translation> + <translation>Некорректное присваивание свойства: «%1» свойство только для чтения</translation> </message> <message> <source>Invalid property assignment: unknown enumeration</source> @@ -1402,19 +1418,19 @@ to </message> <message> <source>Invalid property assignment: string expected</source> - <translation>Некорректное присваивание свойства: ожидается значение типа "string"</translation> + <translation>Некорректное присваивание свойства: ожидается значение типа «string»</translation> </message> <message> <source>Invalid property assignment: url expected</source> - <translation>Некорректное присваивание свойства: ожидается значение типа "url"</translation> + <translation>Некорректное присваивание свойства: ожидается значение типа «url»</translation> </message> <message> <source>Invalid property assignment: unsigned int expected</source> - <translation>Некорректное присваивание свойства: ожидается значение типа "unsigned int"</translation> + <translation>Некорректное присваивание свойства: ожидается значение типа «unsigned int»</translation> </message> <message> <source>Invalid property assignment: int expected</source> - <translation>Некорректное присваивание свойства: ожидается значение типа "int"</translation> + <translation>Некорректное присваивание свойства: ожидается значение типа «int»</translation> </message> <message> <source>Invalid property assignment: number expected</source> @@ -1422,31 +1438,31 @@ to </message> <message> <source>Invalid property assignment: color expected</source> - <translation>Некорректное присваивание свойства: ожидается значение типа "color"</translation> + <translation>Некорректное присваивание свойства: ожидается значение типа «color»</translation> </message> <message> <source>Invalid property assignment: date expected</source> - <translation>Некорректное присваивание свойства: ожидается значение типа "date"</translation> + <translation>Некорректное присваивание свойства: ожидается значение типа «date»</translation> </message> <message> <source>Invalid property assignment: time expected</source> - <translation>Некорректное присваивание свойства: ожидается значение типа "time"</translation> + <translation>Некорректное присваивание свойства: ожидается значение типа «time»</translation> </message> <message> <source>Invalid property assignment: datetime expected</source> - <translation>Некорректное присваивание свойства: ожидается значение типа "datetime"</translation> + <translation>Некорректное присваивание свойства: ожидается значение типа «datetime»</translation> </message> <message> <source>Invalid property assignment: point expected</source> - <translation>Некорректное присваивание свойства: ожидается значение типа "point"</translation> + <translation>Некорректное присваивание свойства: ожидается значение типа «point»</translation> </message> <message> <source>Invalid property assignment: size expected</source> - <translation>Некорректное присваивание свойства: ожидается значение типа "size"</translation> + <translation>Некорректное присваивание свойства: ожидается значение типа «size»</translation> </message> <message> <source>Invalid property assignment: rect expected</source> - <translation>Некорректное присваивание свойства: ожидается значение типа "rect"</translation> + <translation>Некорректное присваивание свойства: ожидается значение типа «rect»</translation> </message> <message> <source>Invalid property assignment: boolean expected</source> @@ -1454,11 +1470,11 @@ to </message> <message> <source>Invalid property assignment: 3D vector expected</source> - <translation>Некорректное присваивание свойства: ожидается значение типа "трёхмерный вектор"</translation> + <translation>Некорректное присваивание свойства: ожидается значение типа «трёхмерный вектор»</translation> </message> <message> <source>Invalid property assignment: unsupported type "%1"</source> - <translation>Некорректное присваивание свойства: неподдерживаемый тип "%1"</translation> + <translation>Некорректное присваивание свойства: неподдерживаемый тип «%1»</translation> </message> <message> <source>Element is not creatable.</source> @@ -1466,11 +1482,11 @@ to </message> <message> <source>Component elements may not contain properties other than id</source> - <translation type="unfinished">Элементы Component не могут содержать свойств кроме id</translation> + <translation>Элементы Component не могут содержать свойств кроме id</translation> </message> <message> <source>Invalid component id specification</source> - <translation type="unfinished">Некорректная спецификация id компонента</translation> + <translation>Некорректная спецификация id компонента</translation> </message> <message> <source>id is not unique</source> @@ -1478,60 +1494,68 @@ to </message> <message> <source>Invalid component body specification</source> - <translation type="unfinished">Некорректная спецификация тела компонента</translation> + <translation>Некорректная спецификация тела компонента</translation> </message> <message> <source>Component objects cannot declare new properties.</source> - <translation type="unfinished">Объекты Component не могут объявлять новые свойства.</translation> + <translation>Объекты Component не могут объявлять новые свойства.</translation> </message> <message> <source>Component objects cannot declare new signals.</source> - <translation type="unfinished">Объекты Component не могут объявлять новые сигналы.</translation> + <translation>Объекты Component не могут объявлять новые сигналы.</translation> </message> <message> <source>Component objects cannot declare new functions.</source> - <translation type="unfinished">Объекты Component не могут объявлять новые функции.</translation> + <translation>Объекты Component не могут объявлять новые функции.</translation> </message> <message> <source>Cannot create empty component specification</source> - <translation type="unfinished">Невозможно создать пустую спецификацю компонента</translation> + <translation>Невозможно создать пустую спецификацю компонента</translation> + </message> + <message> + <source>"%1.%2" is not available in %3 %4.%5.</source> + <translation>«%1.%2» не доступно в %3 %4.%5.</translation> + </message> + <message> + <source>"%1.%2" is not available due to component versioning.</source> + <translation>«%1.%2» не доступно из-за версии компоненты.</translation> </message> <message> <source>Incorrectly specified signal assignment</source> - <translation type="unfinished">Неверно указано назначение сигнала</translation> + <translation>Неверно указано назначение сигнала</translation> </message> <message> <source>Cannot assign a value to a signal (expecting a script to be run)</source> - <translation type="unfinished">Невозможно назначить значение сигналу (сценарий должен быть запущен)</translation> + <translation>Невозможно назначить значение сигналу (сценарий должен быть запущен)</translation> </message> <message> <source>Empty signal assignment</source> - <translation type="unfinished">Пустое назначение сигнала</translation> + <translation>Пустое назначение сигнала</translation> </message> <message> <source>Empty property assignment</source> - <translation type="unfinished">Пустое назначение свойства</translation> + <translation>Пустое назначение свойства</translation> </message> <message> <source>Attached properties cannot be used here</source> <translatorcomment>здесь - в данном контексте?</translatorcomment> - <translation type="unfinished">Прикреплённые свойства не могут быть использованы здесь</translation> + <translation>Прикреплённые свойства не могут быть использованы здесь</translation> </message> <message> <source>Non-existent attached object</source> - <translation type="unfinished">Несуществующий прикреплённый объект</translation> + <translation>Несуществующий прикреплённый объект</translation> </message> <message> <source>Invalid attached object assignment</source> - <translation type="unfinished">Некорректное назначение прикреплённого объекта</translation> + <translation>Некорректное назначение прикреплённого объекта</translation> </message> <message> <source>Cannot assign to non-existent default property</source> - <translation type="unfinished">Невозможно назначить несуществующему свойству по умолчанию</translation> + <translation>Невозможно назначить несуществующему свойству по умолчанию</translation> </message> <message> <source>Cannot assign to non-existent property "%1"</source> - <translation type="unfinished">Невозможно назначить несуществующему свойству "%1"</translation> + <translation>Невозможно назначить несуществующему свойству «%1»</translation> </message> <message> <source>Invalid use of namespace</source> @@ -1539,23 +1563,23 @@ to </message> <message> <source>Not an attached property name</source> - <translation type="unfinished">Не является именем привязанного свойства</translation> + <translation>Не является именем привязанного свойства</translation> </message> <message> <source>Invalid use of id property</source> - <translation type="unfinished">Некорректное использование свойства id</translation> + <translation>Некорректное использование свойства id</translation> </message> <message> <source>Property has already been assigned a value</source> - <translation type="unfinished">Свойству уже назначено значение</translation> + <translation>Свойству уже назначено значение</translation> </message> <message> <source>Invalid grouped property access</source> - <translation type="unfinished">Некорректный доступ к сгруппированному свойству</translation> + <translation>Некорректный доступ к сгруппированному свойству</translation> </message> <message> <source>Cannot assign a value directly to a grouped property</source> - <translation type="unfinished">Невозможно присвоить значение непосредственно сгруппированному свойству</translation> + <translation>Невозможно присвоить значение непосредственно сгруппированному свойству</translation> </message> <message> <source>Invalid property use</source> @@ -1563,55 +1587,55 @@ to </message> <message> <source>Property assignment expected</source> - <translation type="unfinished">Ожидается назначение свойства</translation> + <translation>Ожидается назначение свойства</translation> </message> <message> <source>Single property assignment expected</source> - <translation type="unfinished">Ожидается одиночное назначение свойства</translation> + <translation>Ожидается одиночное назначение свойства</translation> </message> <message> <source>Unexpected object assignment</source> - <translation type="unfinished">Неожиданное назначение объекта</translation> + <translation>Неожиданное назначение объекта</translation> </message> <message> <source>Cannot assign object to list</source> - <translation type="unfinished">Невозможно назначить объект списку</translation> + <translation>Невозможно назначить объект списку</translation> </message> <message> <source>Can only assign one binding to lists</source> - <translation type="unfinished">Можно назначить только одну связь для списка</translation> + <translation>Можно назначить только одну связь для списка</translation> </message> <message> <source>Cannot assign primitives to lists</source> - <translation type="unfinished">Невозможно назначить примитивы списку</translation> + <translation>Невозможно назначить примитивы списку</translation> </message> <message> <source>Cannot assign multiple values to a script property</source> - <translation type="unfinished">Невозможно назначить множественное значение свойству сценария</translation> + <translation>Невозможно назначить множественное значение свойству сценария</translation> </message> <message> <source>Invalid property assignment: script expected</source> - <translation type="unfinished">Некорректное присваивание свойства: ожидается сценарий</translation> + <translation>Некорректное присваивание свойства: ожидается сценарий</translation> </message> <message> <source>Cannot assign multiple values to a singular property</source> - <translation type="unfinished">Невозможно присвоить множество значений свойству, принимающему только одно</translation> + <translation>Невозможно присвоить множество значений свойству, принимающему только одно</translation> </message> <message> <source>Cannot assign object to property</source> - <translation type="unfinished">Невозможно назначить объектсвойству</translation> + <translation>Невозможно назначить объектсвойству</translation> </message> <message> <source>"%1" cannot operate on "%2"</source> - <translation>"%1" не может воздействовать на "%2"</translation> + <translation>«%1» не может воздействовать на «%2»</translation> </message> <message> <source>Duplicate default property</source> - <translation type="unfinished">Дублирование свойства по умолчанию</translation> + <translation>Дублирование свойства по умолчанию</translation> </message> <message> <source>Duplicate property name</source> - <translation type="unfinished">Дублирование названия свойства</translation> + <translation>Дублирование названия свойства</translation> </message> <message> <source>Property names cannot begin with an upper case letter</source> @@ -1623,7 +1647,7 @@ to </message> <message> <source>Duplicate signal name</source> - <translation type="unfinished">Дублирование названия сигнала</translation> + <translation>Дублирование названия сигнала</translation> </message> <message> <source>Signal names cannot begin with an upper case letter</source> @@ -1635,7 +1659,7 @@ to </message> <message> <source>Duplicate method name</source> - <translation type="unfinished">Дублирование название метода</translation> + <translation>Дублирование название метода</translation> </message> <message> <source>Method names cannot begin with an upper case letter</source> @@ -1647,11 +1671,11 @@ to </message> <message> <source>Property value set multiple times</source> - <translation type="unfinished">Значение свойства задано несколько раз</translation> + <translation>Значение свойства задано несколько раз</translation> </message> <message> <source>Invalid property nesting</source> - <translation type="unfinished">Некорректное вложенность свойств</translation> + <translation>Некорректное вложенность свойств</translation> </message> <message> <source>Cannot override FINAL property</source> @@ -1679,23 +1703,23 @@ to </message> <message> <source>ID illegally masks global JavaScript property</source> - <translation type="unfinished">Идентификатор неверно маскирует глобальное свойство JavaScript</translation> + <translation>Идентификатор неверно маскирует глобальное свойство JavaScript</translation> </message> <message> <source>No property alias location</source> - <translation type="unfinished">Отсутствует размещение псевдонима свойства</translation> + <translation>Отсутствует размещение псевдонима свойства</translation> </message> <message> <source>Invalid alias location</source> - <translation type="unfinished">Некорректное размещение псевдонима</translation> + <translation>Некорректное размещение псевдонима</translation> </message> <message> <source>Invalid alias reference. An alias reference must be specified as <id>, <id>.<property> or <id>.<value property>.<property></source> - <translation type="unfinished">Некорректная ссылка на псевдоним. Ссылка на псевдоним должна быть указана, как <id>, <id>.<свойство> или <id>.<свойство значения>.<свойство></translation> + <translation>Некорректная ссылка на псевдоним. Ссылка на псевдоним должна быть указана, как <id>, <id>.<свойство> или <id>.<свойство значения>.<свойство></translation> </message> <message> <source>Alias property exceeds alias bounds</source> - <translation type="unfinished">Свойство псевдонима выходит за границы</translation> + <translation>Свойство псевдонима выходит за границы</translation> </message> <message> <source>Invalid alias reference. An alias reference must be specified as <id> or <id>.<property></source> @@ -1703,7 +1727,7 @@ to </message> <message> <source>Invalid alias reference. Unable to find id "%1"</source> - <translation type="unfinished">Некорректная ссылка на псевдоним. Не удалось найти id "%1"</translation> + <translation>Некорректная ссылка на псевдоним. Не удалось найти id «%1»</translation> </message> </context> <context> @@ -1712,12 +1736,16 @@ to <source>Invalid empty URL</source> <translation>Пустой адрес URL</translation> </message> + <message> + <source>createObject: value is not an object</source> + <translation>createObject: значение не является объектом</translation> + </message> </context> <context> <name>QDeclarativeConnections</name> <message> <source>Cannot assign to non-existent property "%1"</source> - <translation>Невозможно назначить несуществующему свойству "%1"</translation> + <translation>Невозможно назначить несуществующему свойству «%1»</translation> </message> <message> <source>Connections: nested objects not allowed</source> @@ -1774,35 +1802,35 @@ to <name>QDeclarativeImportDatabase</name> <message> <source>cannot load module "%1": File name case mismatch for "%2"</source> - <translation type="unfinished">невозможно загрузить модуль "%1": Регистр имени файла не соответствует "%2"</translation> + <translation>невозможно загрузить модуль «%1»: Регистр имени файла не соответствует «%2»</translation> </message> <message> <source>module "%1" definition "%2" not readable</source> - <translation type="unfinished">невозможно прочитать определение "%2" модуля "%1"</translation> + <translation>невозможно прочитать определение «%2» модуля «%1»</translation> </message> <message> <source>plugin cannot be loaded for module "%1": %2</source> - <translation type="unfinished">модуль не может быть загружен для подмодуля "%1": %2</translation> + <translation>не удалось загрузить плагин для модуля «%1»: %2</translation> </message> <message> <source>module "%1" plugin "%2" not found</source> - <translation type="unfinished">подмодуль "%1" модуля "%2" не найден</translation> + <translation>модуль «%1» плагина «%2» не найден</translation> </message> <message> <source>module "%1" version %2.%3 is not installed</source> - <translation>модуль "%1" версии %2.%3 не установлен</translation> + <translation>модуль «%1» версии %2.%3 не установлен</translation> </message> <message> <source>module "%1" is not installed</source> - <translation>модуль "%1" не установлен</translation> + <translation>модуль «%1» не установлен</translation> </message> <message> <source>"%1": no such directory</source> - <translation>"%1": каталог не существует</translation> + <translation>«%1»: каталог не существует</translation> </message> <message> <source>import "%1" has no qmldir and no namespace</source> - <translation type="unfinished">каталог "%1" не содержит ни qmldir, ни namespace</translation> + <translation>каталог «%1» не содержит ни qmldir, ни namespace</translation> </message> <message> <source>- %1 is not a namespace</source> @@ -1834,21 +1862,32 @@ to </message> <message> <source>File name case mismatch for "%2"</source> - <translation type="unfinished">Регистр имени файла не соответствует "%2"</translation> + <translation>Регистр имени файла не соответствует «%2»</translation> </message> </context> <context> <name>QDeclarativeKeyNavigationAttached</name> <message> <source>KeyNavigation is only available via attached properties</source> - <translation type="unfinished">KeyNavigation доступна только через прикреплённые свойства</translation> + <translation>KeyNavigation доступна только через прикреплённые свойства</translation> </message> </context> <context> <name>QDeclarativeKeysAttached</name> <message> <source>Keys is only available via attached properties</source> - <translation type="unfinished">Keys доступны только через прикреплённые свойства</translation> + <translation>Keys доступны только через прикреплённые свойства</translation> + </message> +</context> +<context> + <name>QDeclarativeLayoutMirroringAttached</name> + <message> + <source>LayoutDirection attached property only works with Items</source> + <translation>Подключённое свойство LayoutDirection работает только с элементами</translation> + </message> + <message> + <source>LayoutMirroring is only available via attached properties</source> + <translation>LayoutMirroring доступно только через подключаемые свойства</translation> </message> </context> <context> @@ -1887,7 +1926,7 @@ to </message> <message> <source>ListElement: cannot use reserved "id" property</source> - <translation>ListElement: невозможно использовать зарезервированное свойство "id"</translation> + <translation>ListElement: невозможно использовать зарезервированное свойство «id»</translation> </message> <message> <source>ListElement: cannot use script for property value</source> @@ -1895,7 +1934,7 @@ to </message> <message> <source>ListModel: undefined property '%1'</source> - <translation>ListModel: неопределённое свойство "%1"</translation> + <translation>ListModel: неопределённое свойство «%1»</translation> </message> </context> <context> @@ -1971,7 +2010,7 @@ to </message> <message> <source>Invalid regular expression flag '%0'</source> - <translation>Некорректный флаг "%0" в регулярном выражении</translation> + <translation>Некорректный флаг «%0» в регулярном выражении</translation> </message> <message> <source>Unterminated regular expression backslash sequence</source> @@ -1987,15 +2026,15 @@ to </message> <message> <source>Unexpected token `%1'</source> - <translation>Неожиданный символ "%1"</translation> + <translation>Неожиданный символ «%1»</translation> </message> <message> <source>Expected token `%1'</source> - <translation>Ожидается символ "%1"</translation> + <translation>Ожидается символ «%1»</translation> </message> <message> <source>Property value set multiple times</source> - <translation type="unfinished">Значение свойства установлено несколько раз</translation> + <translation>Значение свойства установлено несколько раз</translation> </message> <message> <source>Expected type name</source> @@ -2003,11 +2042,11 @@ to </message> <message> <source>Invalid import qualifier ID</source> - <translation type="unfinished">Некорректный ID спецификатора импорта</translation> + <translation>Некорректный ID спецификатора импорта</translation> </message> <message> <source>Reserved name "Qt" cannot be used as an qualifier</source> - <translation>Зарезервированное имя "Qt" не может быть использовано в качестве спецификатора</translation> + <translation>Зарезервированное имя «Qt» не может быть использовано в качестве спецификатора</translation> </message> <message> <source>Script import qualifiers must be unique.</source> @@ -2019,7 +2058,7 @@ to </message> <message> <source>Library import requires a version</source> - <translation type="unfinished">Импорт библиотеки требует версию</translation> + <translation>Импорт библиотеки требует версию</translation> </message> <message> <source>Expected parameter type</source> @@ -2039,7 +2078,7 @@ to </message> <message> <source>Readonly not yet supported</source> - <translation type="unfinished">Readonly ещё не поддерживается</translation> + <translation>Readonly ещё не поддерживается</translation> </message> <message> <source>JavaScript declaration outside Script element</source> @@ -2079,26 +2118,26 @@ to <name>QDeclarativePropertyChanges</name> <message> <source>PropertyChanges does not support creating state-specific objects.</source> - <translation type="unfinished">PropertyChanges не поддерживают создание объектов, зависимых от состояния.</translation> + <translation>PropertyChanges не поддерживают создание объектов, зависимых от состояния.</translation> </message> <message> <source>Cannot assign to non-existent property "%1"</source> - <translation type="unfinished">Невозможно назначить несуществующему свойству "%1"</translation> + <translation>Невозможно назначить несуществующему свойству «%1»</translation> </message> <message> <source>Cannot assign to read-only property "%1"</source> - <translation type="unfinished">Невозможно назначить свойству только для чтения "%1"</translation> + <translation>Невозможно назначить свойству только для чтения «%1»</translation> </message> </context> <context> <name>QDeclarativeTextInput</name> <message> <source>Could not load cursor delegate</source> - <translation type="unfinished">Не удалось загрузить делегат курсора</translation> + <translation>Не удалось загрузить делегат курсора</translation> </message> <message> <source>Could not instantiate cursor delegate</source> - <translation type="unfinished">Не удалось инстанциировать делегат курсора</translation> + <translation>Не удалось инстанциировать делегат курсора</translation> </message> </context> <context> @@ -2109,11 +2148,11 @@ to </message> <message> <source>Type %1 unavailable</source> - <translation>Тип "%1" недоступен</translation> + <translation>Тип «%1» недоступен</translation> </message> <message> <source>Namespace %1 cannot be used as a type</source> - <translation>Пространство имён "%1" не может быть использовано в качестве типа</translation> + <translation>Пространство имён «%1» не может быть использовано в качестве типа</translation> </message> <message> <source>%1 %2</source> @@ -2124,46 +2163,46 @@ to <name>QDeclarativeVME</name> <message> <source>Unable to create object of type %1</source> - <translation>Невозможно создать объект типа "%1"</translation> + <translation>Невозможно создать объект типа «%1»</translation> </message> <message> <source>Cannot assign value %1 to property %2</source> - <translation>Невозможно установить значение "%1" свойству "%2"</translation> + <translation>Невозможно присвоить значение «%1» свойству «%2»</translation> </message> <message> <source>Cannot assign object type %1 with no default method</source> - <translation type="unfinished">Невозможно назначить объект типа %1 без метода по умолчанию</translation> + <translation>Невозможно присвоить объект типа «%1» без метода по умолчанию</translation> </message> <message> <source>Cannot connect mismatched signal/slot %1 %vs. %2</source> - <translation type="unfinished">Невозможно подключить отсутствующий сигнал/слот %1 к %2</translation> + <translation>Невозможно подключить отсутствующий сигнал/слот %1 к %2</translation> </message> <message> <source>Cannot assign an object to signal property %1</source> - <translation type="unfinished">Невозможно назначить объект к свойству сигнала %1</translation> + <translation>Невозможно назначить объект к свойству сигнала %1</translation> </message> <message> <source>Cannot assign object to list</source> - <translation type="unfinished">Невозможно назначить объект списку</translation> + <translation>Невозможно назначить объект списку</translation> </message> <message> <source>Cannot assign object to interface property</source> - <translation type="unfinished">Невозможно назначить объект свойству интерфейса</translation> + <translation>Невозможно назначить объект свойству интерфейса</translation> </message> <message> <source>Unable to create attached object</source> - <translation type="unfinished">Не удалось создать вложенный объект</translation> + <translation>Не удалось создать вложенный объект</translation> </message> <message> <source>Cannot set properties on %1 as it is null</source> - <translation type="unfinished">Невозможно установить свойства для %1, так как он нулевой</translation> + <translation>Невозможно установить свойства для %1, так как он нулевой</translation> </message> </context> <context> <name>QDeclarativeVisualDataModel</name> <message> <source>Delegate component must be Item type.</source> - <translation type="unfinished">Компинент делегата должен быть типа Item.</translation> + <translation>Компонента делегата должен быть типа Item.</translation> </message> </context> <context> @@ -2177,14 +2216,14 @@ to <name>QDeclarativeXmlListModelRole</name> <message> <source>An XmlRole query must not start with '/'</source> - <translation type="unfinished">Запрос XmlRole не должен начинаться с '/'</translation> + <translation>Запрос XmlRole не должен начинаться с «/»</translation> </message> </context> <context> <name>QDeclarativeXmlRoleList</name> <message> <source>An XmlListModel query must start with '/' or "//"</source> - <translation type="unfinished">Запрос XmlListModel должен начинаться с '/' или "//"</translation> + <translation>Запрос XmlListModel должен начинаться с «/» или «//»</translation> </message> </context> <context> @@ -2345,11 +2384,11 @@ to </message> <message> <source>Dock</source> - <translation type="unfinished">Прикрепить</translation> + <translation>Прикрепить</translation> </message> <message> <source>Float</source> - <translation type="unfinished">Открепить</translation> + <translation>Открепить</translation> </message> </context> <context> @@ -2478,7 +2517,7 @@ to <message> <source>'%1' is write protected. Do you want to delete it anyway?</source> - <translation>"%1" защищён от записи. + <translation>«%1» защищён от записи. Действительно желаете удалить?</translation> </message> <message> @@ -2553,7 +2592,7 @@ Please verify the correct directory name was given.</source> </message> <message> <source>Are sure you want to delete '%1'?</source> - <translation>Вы действительно хотите удалить "%1"?</translation> + <translation>Вы действительно хотите удалить «%1»?</translation> </message> <message> <source>Could not delete directory.</source> @@ -2652,7 +2691,7 @@ Please verify the correct directory name was given.</source> </message> <message> <source><b>The name "%1" can not be used.</b><p>Try using another name, with fewer characters or no punctuations marks.</source> - <translation><b>Имя "%1" не может быть использовано.</b><p>Попробуйте использовать имя меньшей длины и/или без символов пунктуации.</translation> + <translation><b>Имя «%1» не может быть использовано.</b><p>Попробуйте использовать имя меньшей длины и/или без символов пунктуации.</translation> </message> <message> <source>Name</source> @@ -3339,15 +3378,15 @@ Please verify the correct directory name was given.</source> <name>QLibrary</name> <message> <source>Plugin verification data mismatch in '%1'</source> - <translation>Проверочная информация для модуля "%1" не совпадает</translation> + <translation>Проверочная информация для модуля «%1» не совпадает</translation> </message> <message> <source>The plugin '%1' uses incompatible Qt library. (%2.%3.%4) [%5]</source> - <translation>Модуль "%1" использует несоместимую библиотеку Qt. (%2.%3.%4) [%5]</translation> + <translation>Модуль «%1» использует несоместимую библиотеку Qt. (%2.%3.%4) [%5]</translation> </message> <message> <source>The plugin '%1' uses incompatible Qt library. Expected build key "%2", got "%3"</source> - <translation>Модуль "%1" использует несоместимую библиотеку Qt. Ожидается ключ "%2", но получен ключ "%3"</translation> + <translation>Модуль «%1» использует несоместимую библиотеку Qt. Ожидается ключ «%2», но получен ключ «%3»</translation> </message> <message> <source>Unknown error</source> @@ -3359,11 +3398,11 @@ Please verify the correct directory name was given.</source> </message> <message> <source>The file '%1' is not a valid Qt plugin.</source> - <translation>Файл "%1" - не является корректным модулем Qt.</translation> + <translation>Файл «%1» - не является корректным модулем Qt.</translation> </message> <message> <source>The plugin '%1' uses incompatible Qt library. (Cannot mix debug and release libraries.)</source> - <translation>Модуль "%1" использует несоместимую библиотеку Qt. (Невозможно совместить релизные и отладочные библиотеки.)</translation> + <translation>Модуль «%1» использует несоместимую библиотеку Qt. (Невозможно совместить релизные и отладочные библиотеки.)</translation> </message> <message> <source>Cannot load library %1: %2</source> @@ -3375,7 +3414,7 @@ Please verify the correct directory name was given.</source> </message> <message> <source>Cannot resolve symbol "%1" in %2: %3</source> - <translation>Невозможно разрешить символ "%1" в %2: %3</translation> + <translation>Невозможно разрешить символ «%1» в %2: %3</translation> </message> </context> <context> @@ -3906,7 +3945,7 @@ Please verify the correct directory name was given.</source> </message> <message> <source>Protocol "%1" is unknown</source> - <translation>Неизвестный протокол "%1"</translation> + <translation>Неизвестный протокол «%1»</translation> </message> <message> <source>Network session error.</source> @@ -3936,7 +3975,7 @@ Please verify the correct directory name was given.</source> <message> <source>Roaming error</source> <translatorcomment>или перемещения?</translatorcomment> - <translation type="unfinished">Ошибка роуминга</translation> + <translation>Ошибка роуминга</translation> </message> <message> <source>Session aborted by user or system</source> @@ -3964,7 +4003,7 @@ Please verify the correct directory name was given.</source> </message> <message> <source>Roaming was aborted or is not possible.</source> - <translation type="unfinished">Роуминг прерван или невозможен.</translation> + <translation>Роуминг прерван или невозможен.</translation> </message> </context> <context> @@ -4057,7 +4096,7 @@ Please verify the correct directory name was given.</source> <name>QODBCResult</name> <message> <source>QODBCResult::reset: Unable to set 'SQL_CURSOR_STATIC' as statement attribute. Please check your ODBC driver configuration</source> - <translation>QODBCResult::reset: Невозможно установить "SQL_CURSOR_STATIC" атрибутом выражение. Проверьте настройки драйвера ODBC</translation> + <translation>QODBCResult::reset: Невозможно установить «SQL_CURSOR_STATIC» атрибутом выражение. Проверьте настройки драйвера ODBC</translation> </message> <message> <source>Unable to execute statement</source> @@ -4096,11 +4135,11 @@ Please verify the correct directory name was given.</source> <name>QObject</name> <message> <source>"%1" duplicates a previous role name and will be disabled.</source> - <translation>"%1" повторяет имя предыдущей роли и не будет использовано.</translation> + <translation>«%1» повторяет имя предыдущей роли и не будет использовано.</translation> </message> <message> <source>invalid query: "%1"</source> - <translation>Некорректный запрос: "%1"</translation> + <translation>Некорректный запрос: «%1»</translation> </message> <message> <source>PulseAudio Sound Server</source> @@ -4440,7 +4479,7 @@ Please choose a different file name.</source> </message> <message> <source>The 'From' value cannot be greater than the 'To' value.</source> - <translation>Значение "с" не может быть больше значения "по".</translation> + <translation>Значение «с» не может быть больше значения «по».</translation> </message> <message> <source>A0</source> @@ -6187,15 +6226,15 @@ Please choose a different file name.</source> </message> <message> <source>Code input</source> - <translation type="unfinished"></translation> + <translation type="unfinished">Ввод кода</translation> </message> <message> <source>Multiple Candidate</source> - <translation type="unfinished"></translation> + <translation type="unfinished">Несколько вариантов</translation> </message> <message> <source>Previous Candidate</source> - <translation type="unfinished"></translation> + <translation type="unfinished">Предыдущий вариант</translation> </message> <message> <source>Hangul</source> @@ -6285,23 +6324,23 @@ Please choose a different file name.</source> </message> <message> <source>Ctrl</source> - <translation type="unfinished">Ctrl</translation> + <translation></translation> </message> <message> <source>Shift</source> - <translation type="unfinished">Shift</translation> + <translation></translation> </message> <message> <source>Alt</source> - <translation type="unfinished">Alt</translation> + <translation></translation> </message> <message> <source>Meta</source> - <translation type="unfinished">Meta</translation> + <translation></translation> </message> <message> <source>+</source> - <translation type="unfinished">+</translation> + <translation></translation> </message> <message> <source>F%1</source> @@ -6514,6 +6553,10 @@ Please choose a different file name.</source> <translation>Ошибка создания сессии SSL: %1</translation> </message> <message> + <source>The peer certificate is blacklisted</source> + <translation>Сертификат узла в чёрном списке</translation> + </message> + <message> <source>Cannot provide a certificate with no key, %1</source> <translation>Невозможно предоставить сертификат без ключа, %1</translation> </message> @@ -6622,15 +6665,15 @@ Please choose a different file name.</source> <name>QStateMachine</name> <message> <source>Missing initial state in compound state '%1'</source> - <translation>Отсутствует исходное состояние в составном состоянии "%1"</translation> + <translation>Отсутствует исходное состояние в составном состоянии «%1»</translation> </message> <message> <source>Missing default state in history state '%1'</source> - <translation>Отсутствует состояние по умолчанию в историческом состоянии "%1"</translation> + <translation>Отсутствует состояние по умолчанию в историческом состоянии «%1»</translation> </message> <message> <source>No common ancestor for targets and source of transition from state '%1'</source> - <translation>Нет общего предка у источника и цели перехода из состояния "%1"</translation> + <translation>Нет общего предка у источника и цели перехода из состояния «%1»</translation> </message> <message> <source>Unknown error</source> @@ -7122,7 +7165,7 @@ Please choose a different file name.</source> <message> <source>Choose File</source> <comment>title for file button used in HTML forms</comment> - <translation>Обзор...</translation> + <translation>Выбрать файл</translation> </message> <message> <source>No file selected</source> @@ -7202,13 +7245,13 @@ Please choose a different file name.</source> <message> <source>No Guesses Found</source> <comment>No Guesses Found context menu item</comment> - <translation type="unfinished">Совпадений не найдено</translation> + <translation>Совпадений не найдено</translation> </message> <message> <source>Ignore</source> <comment>Ignore Spelling context menu item</comment> <translatorcomment>?Пропускать</translatorcomment> - <translation type="unfinished">Пропустить</translation> + <translation>Пропустить</translation> </message> <message> <source>Add To Dictionary</source> @@ -7218,12 +7261,12 @@ Please choose a different file name.</source> <message> <source>Search The Web</source> <comment>Search The Web context menu item</comment> - <translation type="unfinished">Искать в Интернет</translation> + <translation>Искать в Интернет</translation> </message> <message> <source>Look Up In Dictionary</source> <comment>Look Up in Dictionary context menu item</comment> - <translation type="unfinished">Искать в словаре</translation> + <translation>Искать в словаре</translation> </message> <message> <source>Open Link</source> @@ -7234,7 +7277,7 @@ Please choose a different file name.</source> <source>Ignore</source> <comment>Ignore Grammar context menu item</comment> <translatorcomment>?Пропускать</translatorcomment> - <translation type="unfinished">Пропустить</translation> + <translation>Пропустить</translation> </message> <message> <source>Spelling</source> @@ -7244,12 +7287,12 @@ Please choose a different file name.</source> <message> <source>Show Spelling and Grammar</source> <comment>menu item title</comment> - <translation type="unfinished">Показать панель проверки правописания</translation> + <translation>Показать панель проверки правописания</translation> </message> <message> <source>Hide Spelling and Grammar</source> <comment>menu item title</comment> - <translation type="unfinished">Скрыть панель проверки правописания</translation> + <translation>Скрыть панель проверки правописания</translation> </message> <message> <source>Check Spelling</source> @@ -7374,22 +7417,22 @@ Please choose a different file name.</source> <message> <source>Mute Button</source> <comment>Media controller element</comment> - <translation>Кнопка "Отключить звук"</translation> + <translation>Кнопка «Отключить звук»</translation> </message> <message> <source>Unmute Button</source> <comment>Media controller element</comment> - <translation>Кнопка "Включить звук"</translation> + <translation>Кнопка «Включить звук»</translation> </message> <message> <source>Play Button</source> <comment>Media controller element</comment> - <translation>Кнопка "Воспроизведение"</translation> + <translation>Кнопка «Воспроизведение»</translation> </message> <message> <source>Pause Button</source> <comment>Media controller element</comment> - <translation>Кнопка "Пауза"</translation> + <translation>Кнопка «Пауза»</translation> </message> <message> <source>Slider</source> @@ -7404,12 +7447,12 @@ Please choose a different file name.</source> <message> <source>Rewind Button</source> <comment>Media controller element</comment> - <translation>Кнопка "Перемотка назад"</translation> + <translation>Кнопка «Перемотка назад»</translation> </message> <message> <source>Return to Real-time Button</source> <comment>Media controller element</comment> - <translation type="unfinished">Кнопка "Вернуть в реальное время"</translation> + <translation>Кнопка «Вернуть в реальное время»</translation> </message> <message> <source>Elapsed Time</source> @@ -7429,17 +7472,17 @@ Please choose a different file name.</source> <message> <source>Fullscreen Button</source> <comment>Media controller element</comment> - <translation>Кнопка "На весь экран"</translation> + <translation>Кнопка «На весь экран»</translation> </message> <message> <source>Seek Forward Button</source> <comment>Media controller element</comment> - <translation>Кнопка "Перемотка вперёд"</translation> + <translation>Кнопка «Перемотка вперёд»</translation> </message> <message> <source>Seek Back Button</source> <comment>Media controller element</comment> - <translation>Кнопка "Перемотка назад"</translation> + <translation>Кнопка «Перемотка назад»</translation> </message> <message> <source>Audio element playback controls and status display</source> @@ -7474,12 +7517,12 @@ Please choose a different file name.</source> <message> <source>Movie time scrubber</source> <comment>Media controller element</comment> - <translation type="unfinished">Перемотка</translation> + <translation>Перемотка</translation> </message> <message> <source>Movie time scrubber thumb</source> <comment>Media controller element</comment> - <translation type="unfinished">Позиция перемотки</translation> + <translation>Позиция перемотки</translation> </message> <message> <source>Rewind movie</source> @@ -7489,7 +7532,7 @@ Please choose a different file name.</source> <message> <source>Return streaming movie to real-time</source> <comment>Media controller element</comment> - <translation type="unfinished">Возвращает потоковое видео к воспроизведению в реальном времени</translation> + <translation>Возвращает потоковое видео к воспроизведению в реальном времени</translation> </message> <message> <source>Current movie time</source> @@ -7602,7 +7645,7 @@ Please choose a different file name.</source> </message> <message> <source>Commit</source> - <translation>Передать</translation> + <translation>Подтвердить</translation> </message> <message> <source>Done</source> @@ -7806,11 +7849,11 @@ Please choose a different file name.</source> </message> <message> <source>Sequence ']]>' not allowed in content.</source> - <translation>Последовательность "]]>" недопустима в содержимом.</translation> + <translation>Последовательность «]]>» недопустима в содержимом.</translation> </message> <message> <source>Namespace prefix '%1' not declared</source> - <translation>Префикс пространства имён "%1" не объявлен</translation> + <translation>Префикс пространства имён «%1» не объявлен</translation> </message> <message> <source>Attribute redefined.</source> @@ -7818,7 +7861,7 @@ Please choose a different file name.</source> </message> <message> <source>Unexpected character '%1' in public id literal.</source> - <translation>Неожиданный символ "%1" в литерале открытого идентификатора.</translation> + <translation>Неожиданный символ «%1» в литерале открытого идентификатора.</translation> </message> <message> <source>Invalid XML version string.</source> @@ -7838,7 +7881,7 @@ Please choose a different file name.</source> </message> <message> <source>Standalone accepts only yes or no.</source> - <translation>Псевдоатрибут "standalone" может принимать только значения "yes" или "no".</translation> + <translation>Псевдоатрибут «standalone» может принимать только значения «yes» или «no».</translation> </message> <message> <source>Invalid attribute in XML declaration.</source> @@ -7906,15 +7949,15 @@ Please choose a different file name.</source> </message> <message> <source>Reference to unparsed entity '%1'.</source> - <translation>Ссылка на необработанный объект "%1".</translation> + <translation>Ссылка на необработанный объект «%1».</translation> </message> <message> <source>Entity '%1' not declared.</source> - <translation>Объект "%1" не объявлен.</translation> + <translation>Объект «%1» не объявлен.</translation> </message> <message> <source>Reference to external entity '%1' in attribute value.</source> - <translation>Ссылка на внешний объект "%1" в значении атрибута.</translation> + <translation>Ссылка на внешний объект «%1» в значении атрибута.</translation> </message> <message> <source>Invalid character reference.</source> @@ -7926,7 +7969,7 @@ Please choose a different file name.</source> </message> <message> <source>The standalone pseudo attribute must appear after the encoding.</source> - <translation>Псевдоатрибут "standalone" должен находиться после указания кодировки.</translation> + <translation>Псевдоатрибут «standalone» должен находиться после указания кодировки.</translation> </message> <message> <source>%1 is an invalid PUBLIC identifier.</source> @@ -7953,7 +7996,7 @@ Please choose a different file name.</source> </message> <message> <source>The data of a processing instruction cannot contain the string %1</source> - <translation>Данные обрабатываемой инструкции не могут содержать строку "%1"</translation> + <translation>Данные обрабатываемой инструкции не могут содержать строку «%1»</translation> </message> <message> <source>%1 is an invalid %2</source> @@ -7969,11 +8012,11 @@ Please choose a different file name.</source> </message> <message> <source>In the replacement string, %1 must be followed by at least one digit when not escaped.</source> - <translation>В замещаемой строке "%1" должно сопровождаться как минимум одной цифрой, если неэкранировано.</translation> + <translation>В замещаемой строке «%1» должно сопровождаться как минимум одной цифрой, если неэкранировано.</translation> </message> <message> <source>In the replacement string, %1 can only be used to escape itself or %2, not %3</source> - <translation>В замещаемой строке символ "%1" может использоваться только для экранирования самого себя или "%2", но не "%3"</translation> + <translation>В замещаемой строке символ «%1» может использоваться только для экранирования самого себя или «%2», но не «%3»</translation> </message> <message> <source>%1 matches newline characters</source> @@ -8165,7 +8208,7 @@ Please choose a different file name.</source> </message> <message> <source>At least one time component must appear after the %1-delimiter.</source> - <translation>Как минимум одна компонента времени должна следовать за разделителем '%1'.</translation> + <translation>Как минимум одна компонента времени должна следовать за разделителем «%1».</translation> </message> <message> <source>Dividing a value of type %1 by %2 (not-a-number) is not allowed.</source> @@ -8289,7 +8332,7 @@ Please choose a different file name.</source> </message> <message> <source>%1 must be followed by %2 or %3, not at the end of the replacement string.</source> - <translation>"%1" должно сопровождаться "%2" или "%3", но не в конце замещаемой строки.</translation> + <translation>«%1» должно сопровождаться «%2» или «%3», но не в конце замещаемой строки.</translation> </message> <message> <source>%1 and %2 match the start and end of a line.</source> @@ -8689,15 +8732,15 @@ Please choose a different file name.</source> </message> <message> <source>%1 has inheritance loop in its base type %2.</source> - <translation type="unfinished"></translation> + <translation type="unfinished">У %1 зациклено наследование в его базовом типе %2.</translation> </message> <message> <source>Circular inheritance of base type %1.</source> - <translation type="unfinished"></translation> + <translation>Цикличное наследование базового типа %1.</translation> </message> <message> <source>Circular inheritance of union %1.</source> - <translation type="unfinished"></translation> + <translation type="unfinished">Цикличное наследование базового объединения %1.</translation> </message> <message> <source>%1 is not allowed to derive from %2 by restriction as the latter defines it as final.</source> @@ -8709,19 +8752,19 @@ Please choose a different file name.</source> </message> <message> <source>Base type of simple type %1 cannot be complex type %2.</source> - <translation type="unfinished"></translation> + <translation>Базовым простого типа %1 не может быть сложный %2.</translation> </message> <message> <source>Simple type %1 cannot have direct base type %2.</source> - <translation type="unfinished"></translation> + <translation>У простого типа %1 %2 не может быть непосредственным базовым типом.</translation> </message> <message> <source>Simple type %1 is not allowed to have base type %2.</source> - <translation type="unfinished"></translation> + <translation>Недопустимо, чтобы простой тип %1 имел базовым %2.</translation> </message> <message> <source>Simple type %1 can only have simple atomic type as base type.</source> - <translation type="unfinished"></translation> + <translation>У простого типа %1 может быть только простой атомарный базовый тип.</translation> </message> <message> <source>Simple type %1 cannot derive from %2 as the latter defines restriction as final.</source> @@ -8729,11 +8772,11 @@ Please choose a different file name.</source> </message> <message> <source>Variety of item type of %1 must be either atomic or union.</source> - <translation type="unfinished"></translation> + <translation type="unfinished">Виды типов элементов %1 должны быть или атомарными, или объединениями.</translation> </message> <message> <source>Variety of member types of %1 must be atomic.</source> - <translation type="unfinished"></translation> + <translation type="unfinished">Виды внутренних типов %1 должны быть атомарными.</translation> </message> <message> <source>%1 is not allowed to derive from %2 by list as the latter defines it as final.</source> @@ -8741,11 +8784,11 @@ Please choose a different file name.</source> </message> <message> <source>Simple type %1 is only allowed to have %2 facet.</source> - <translation type="unfinished"></translation> + <translation>Простой тип %1 может иметь только фасет %2.</translation> </message> <message> <source>Base type of simple type %1 must have variety of type list.</source> - <translation type="unfinished"></translation> + <translation type="unfinished">Базовый тип простого типа %1 должен содержать какой-нибудь список.</translation> </message> <message> <source>Base type of simple type %1 has defined derivation by restriction as final.</source> @@ -8753,11 +8796,11 @@ Please choose a different file name.</source> </message> <message> <source>Item type of base type does not match item type of %1.</source> - <translation type="unfinished"></translation> + <translation>Тип элемента базового типа не совпадает с типом элемента %1.</translation> </message> <message> <source>Simple type %1 contains not allowed facet type %2.</source> - <translation type="unfinished"></translation> + <translation>Простой тип %1 содержит недопустимый фасет типа %2.</translation> </message> <message> <source>%1 is not allowed to derive from %2 by union as the latter defines it as final.</source> @@ -8765,11 +8808,11 @@ Please choose a different file name.</source> </message> <message> <source>%1 is not allowed to have any facets.</source> - <translation type="unfinished"></translation> + <translation>%1 не может имет никаких фасетов.</translation> </message> <message> <source>Base type %1 of simple type %2 must have variety of union.</source> - <translation type="unfinished"></translation> + <translation type="unfinished">Базовый тип %1 простого типа %2 должен содержать какое-то объединение.</translation> </message> <message> <source>Base type %1 of simple type %2 is not allowed to have restriction in %3 attribute.</source> @@ -8777,171 +8820,171 @@ Please choose a different file name.</source> </message> <message> <source>Member type %1 cannot be derived from member type %2 of %3's base type %4.</source> - <translation type="unfinished"></translation> + <translation type="unfinished">Внутренний тип %1 не может быть производным от типа %2, определённого в базовом типе типа %3 - %4.</translation> </message> <message> <source>Derivation method of %1 must be extension because the base type %2 is a simple type.</source> - <translation type="unfinished"></translation> + <translation>Метод наследования %1 должен быть «расширение», так как базовый тип %2 является простым.</translation> </message> <message> <source>Complex type %1 has duplicated element %2 in its content model.</source> - <translation type="unfinished"></translation> + <translation>Сложный тип %1 имеет повторяющийся элемент %2 в своей модели содержимого.</translation> </message> <message> <source>Complex type %1 has non-deterministic content.</source> - <translation type="unfinished"></translation> + <translation>Сложный тип %1 имеет недетерминированное содержимое.</translation> </message> <message> <source>Attributes of complex type %1 are not a valid extension of the attributes of base type %2: %3.</source> - <translation type="unfinished"></translation> + <translation>Атрибуты сложного типа %1 неверно дополняют атрибуты базового типа %2: %3.</translation> </message> <message> <source>Content model of complex type %1 is not a valid extension of content model of %2.</source> - <translation type="unfinished"></translation> + <translation>Модель содержимого сложного типа %1 неверно дополняет модель содержимого %2.</translation> </message> <message> <source>Complex type %1 must have simple content.</source> - <translation type="unfinished"></translation> + <translation>Сложный тип %1 должен иметь простое содержимое.</translation> </message> <message> <source>Complex type %1 must have the same simple type as its base class %2.</source> - <translation type="unfinished"></translation> + <translation>Сложный тип %1 должен содержать такой же простой тип, как и его базовый класс %2.</translation> </message> <message> <source>Complex type %1 cannot be derived from base type %2%3.</source> - <translation type="unfinished"></translation> + <translation>Сложный тип %1 не может быть производным от %2%3.</translation> </message> <message> <source>Attributes of complex type %1 are not a valid restriction from the attributes of base type %2: %3.</source> - <translation type="unfinished"></translation> + <translation>Атрибуты сложного типа %1 не являются верным ограничением атрибутов базового типа %2: %3.</translation> </message> <message> <source>Complex type %1 with simple content cannot be derived from complex base type %2.</source> - <translation type="unfinished"></translation> + <translation>Сложный тип %1 с простым содержимым не может быть производным от сложного типа %2.</translation> </message> <message> <source>Item type of simple type %1 cannot be a complex type.</source> - <translation type="unfinished"></translation> + <translation>Простой тип %1 не может содержать элементов сложных типов.</translation> </message> <message> <source>Member type of simple type %1 cannot be a complex type.</source> - <translation type="unfinished"></translation> + <translation>Простой тип %1 не может определять сложные типы.</translation> </message> <message> <source>%1 is not allowed to have a member type with the same name as itself.</source> - <translation type="unfinished"></translation> + <translation>Не допустимо, чтобы %1 определял внутренний тип с таким же именем.</translation> </message> <message> <source>%1 facet collides with %2 facet.</source> - <translation type="unfinished"></translation> + <translation>Фасет %1 противоречит %2.</translation> </message> <message> <source>%1 facet must have the same value as %2 facet of base type.</source> - <translation type="unfinished"></translation> + <translation>Фасет %1 должен иметь такое же значение, как и фасет %2 базового типа.</translation> </message> <message> <source>%1 facet must be equal or greater than %2 facet of base type.</source> - <translation type="unfinished"></translation> + <translation>Фасет %1 должен быть не менее фасета %2 базового типа.</translation> </message> <message> <source>%1 facet must be less than or equal to %2 facet of base type.</source> - <translation type="unfinished"></translation> + <translation>Фасет %1 должен быть не более фасета %2 базового типа.</translation> </message> <message> <source>%1 facet contains invalid regular expression</source> - <translation type="unfinished"></translation> + <translation>Фасет %1 содержит неверное регулярное выражение</translation> </message> <message> <source>Unknown notation %1 used in %2 facet.</source> - <translation type="unfinished"></translation> + <translation>В фасете %2 используется неизвестное обозначение %1.</translation> </message> <message> <source>%1 facet contains invalid value %2: %3.</source> - <translation type="unfinished"></translation> + <translation>Фасет %1 содержит неверное значение %2: %3.</translation> </message> <message> <source>%1 facet cannot be %2 or %3 if %4 facet of base type is %5.</source> - <translation type="unfinished"></translation> + <translation type="unfinished">Фасет %1 не может быть %2 или %3, если фасет %4 базового типа равен %5.</translation> </message> <message> <source>%1 facet cannot be %2 if %3 facet of base type is %4.</source> - <translation type="unfinished"></translation> + <translation type="unfinished">Фасет %1 не может быть %2, если фасет %3 базового типа равен %4.</translation> </message> <message> <source>%1 facet must be less than or equal to %2 facet.</source> - <translation type="unfinished"></translation> + <translation>Фасет %1 должен быть не более фасета %2.</translation> </message> <message> <source>%1 facet must be less than %2 facet of base type.</source> - <translation type="unfinished"></translation> + <translation>Фасет %1 должен быть менее фасета %2 базового типа.</translation> </message> <message> <source>%1 facet and %2 facet cannot appear together.</source> - <translation type="unfinished"></translation> + <translation>Фасеты %1 и %2 не могут быть одновременно.</translation> </message> <message> <source>%1 facet must be greater than %2 facet of base type.</source> - <translation type="unfinished"></translation> + <translation>Фасет %1 должен быть более фасета %2 базового типа.</translation> </message> <message> <source>%1 facet must be less than %2 facet.</source> - <translation type="unfinished"></translation> + <translation>Фасет %1 должен быть менее фасета %2.</translation> </message> <message> <source>%1 facet must be greater than or equal to %2 facet of base type.</source> - <translation type="unfinished"></translation> + <translation>Фасет %1 должен быть не менее фасета %2 базового типа.</translation> </message> <message> <source>Simple type contains not allowed facet %1.</source> - <translation type="unfinished"></translation> + <translation>Простой тип содержит недопустимый фасет %1.</translation> </message> <message> <source>%1, %2, %3, %4, %5 and %6 facets are not allowed when derived by list.</source> - <translation type="unfinished"></translation> + <translation type="unfinished">Недопустимы фасеты %1, %2, %3, %4, %5 и %6 при наследовании списком.</translation> </message> <message> <source>Only %1 and %2 facets are allowed when derived by union.</source> - <translation type="unfinished"></translation> + <translation>При наследовании объединением доступны только фасеты %1 и %2.</translation> </message> <message> <source>%1 contains %2 facet with invalid data: %3.</source> - <translation type="unfinished"></translation> + <translation>%1 содержит фасет %2 с неверными данными: %3.</translation> </message> <message> <source>Attribute group %1 contains attribute %2 twice.</source> - <translation type="unfinished"></translation> + <translation>Группа атрибутов %1 содержит два атрибута %2.</translation> </message> <message> <source>Attribute group %1 contains two different attributes that both have types derived from %2.</source> - <translation type="unfinished"></translation> + <translation>Группа атрибутов %1 содержит два разных атрибута, производных от %2.</translation> </message> <message> <source>Attribute group %1 contains attribute %2 that has value constraint but type that inherits from %3.</source> - <translation type="unfinished"></translation> + <translation type="unfinished">Группа атрибутов %1 содержит атрибут %2, на значение которого наложено ограничение, но тип наследован от %3.</translation> </message> <message> <source>Complex type %1 contains attribute %2 twice.</source> - <translation type="unfinished"></translation> + <translation>Сложный тип %1 содержит два атрибута %2.</translation> </message> <message> <source>Complex type %1 contains two different attributes that both have types derived from %2.</source> - <translation type="unfinished"></translation> + <translation>Сложный тип %1 содержит два разных атрибута, производных от %2.</translation> </message> <message> <source>Complex type %1 contains attribute %2 that has value constraint but type that inherits from %3.</source> - <translation type="unfinished"></translation> + <translation type="unfinished">Сложный тип %1 содержит атрибут %2, на значение которого наложено ограничение, но тип наследован от %3.</translation> </message> <message> <source>Element %1 is not allowed to have a value constraint if its base type is complex.</source> - <translation type="unfinished"></translation> + <translation type="unfinished">Элементу %1 недопустимо иметь ограничение на значения, если у его базовый тип сложный.</translation> </message> <message> <source>Element %1 is not allowed to have a value constraint if its type is derived from %2.</source> - <translation type="unfinished"></translation> + <translation type="unfinished">Элементу %1 недопустимо иметь ограничение на значения, если его тип производный от %2.</translation> </message> <message> <source>Value constraint of element %1 is not of elements type: %2.</source> - <translation type="unfinished"></translation> + <translation type="unfinished">Ограничение значения элемента %1 не типа элемента: %2.</translation> </message> <message> <source>Element %1 is not allowed to have substitution group affiliation as it is no global element.</source> @@ -8953,7 +8996,7 @@ Please choose a different file name.</source> </message> <message> <source>Value constraint of attribute %1 is not of attributes type: %2.</source> - <translation type="unfinished"></translation> + <translation>Ограничение значения атрибута %1 не типа атрибута: %2.</translation> </message> <message> <source>Attribute %1 has value constraint but has type derived from %2.</source> @@ -9369,179 +9412,179 @@ Please choose a different file name.</source> </message> <message> <source>String content does not match the length facet.</source> - <translation type="unfinished"></translation> + <translation>Содержимое строки не соответствует фасету length.</translation> </message> <message> <source>String content does not match the minLength facet.</source> - <translation type="unfinished"></translation> + <translation>Содержимое строки не соответствует фасету minLength.</translation> </message> <message> <source>String content does not match the maxLength facet.</source> - <translation type="unfinished"></translation> + <translation>Содержимое строки не соответствует фасету maxLength.</translation> </message> <message> <source>String content does not match pattern facet.</source> - <translation type="unfinished"></translation> + <translation>Содержимое строки не соответствует фасету pattern.</translation> </message> <message> <source>String content is not listed in the enumeration facet.</source> - <translation type="unfinished"></translation> + <translation>Содержимое строки отсутствует в фасете enumeration.</translation> </message> <message> <source>Signed integer content does not match the maxInclusive facet.</source> - <translation type="unfinished"></translation> + <translation>Знаковое целое не соответствует фасету maxInclusive.</translation> </message> <message> <source>Signed integer content does not match the maxExclusive facet.</source> - <translation type="unfinished"></translation> + <translation>Знаковое целое не соответствует фасету maxExclusive.</translation> </message> <message> <source>Signed integer content does not match the minInclusive facet.</source> - <translation type="unfinished"></translation> + <translation>Знаковое целое не соответствует фасету minInclusive.</translation> </message> <message> <source>Signed integer content does not match the minExclusive facet.</source> - <translation type="unfinished"></translation> + <translation>Знаковое целое не соответствует фасету minExclusive.</translation> </message> <message> <source>Signed integer content is not listed in the enumeration facet.</source> - <translation type="unfinished"></translation> + <translation>Знаковое целое отсутствует в фасете enumeration.</translation> </message> <message> <source>Signed integer content does not match pattern facet.</source> - <translation type="unfinished"></translation> + <translation>Знаковое целое не соответствует фасету pattern.</translation> </message> <message> <source>Signed integer content does not match in the totalDigits facet.</source> - <translation type="unfinished"></translation> + <translation>Знаковое целое не соответствует фасету totalDigits.</translation> </message> <message> <source>Unsigned integer content does not match the maxInclusive facet.</source> - <translation type="unfinished"></translation> + <translation>Беззнаковое целое не соответствует фасету maxInclusive.</translation> </message> <message> <source>Unsigned integer content does not match the maxExclusive facet.</source> - <translation type="unfinished"></translation> + <translation>Беззнаковое целое не соответствует фасету maxExclusive.</translation> </message> <message> <source>Unsigned integer content does not match the minInclusive facet.</source> - <translation type="unfinished"></translation> + <translation>Беззнаковое целое не соответствует фасету minInclusive.</translation> </message> <message> <source>Unsigned integer content does not match the minExclusive facet.</source> - <translation type="unfinished"></translation> + <translation>Беззнаковое целое не соответствует фасету minExclusive.</translation> </message> <message> <source>Unsigned integer content is not listed in the enumeration facet.</source> - <translation type="unfinished"></translation> + <translation>Беззнаковое целое отсутствует в фасете enumeration.</translation> </message> <message> <source>Unsigned integer content does not match pattern facet.</source> - <translation type="unfinished"></translation> + <translation>Беззнаковое целое не соответствует фасету pattern.</translation> </message> <message> <source>Unsigned integer content does not match in the totalDigits facet.</source> - <translation type="unfinished"></translation> + <translation>Беззнаковое целое не соответствует фасету totalDigits.</translation> </message> <message> <source>Double content does not match the maxInclusive facet.</source> - <translation type="unfinished"></translation> + <translation>Действительное число не соответствует фасету maxInclusive.</translation> </message> <message> <source>Double content does not match the maxExclusive facet.</source> - <translation type="unfinished"></translation> + <translation>Действительное число не соответствует фасету maxExclusive.</translation> </message> <message> <source>Double content does not match the minInclusive facet.</source> - <translation type="unfinished"></translation> + <translation>Действительное число не соответствует фасету minInclusive.</translation> </message> <message> <source>Double content does not match the minExclusive facet.</source> - <translation type="unfinished"></translation> + <translation>Действительное число не соответствует фасету minExclusive.</translation> </message> <message> <source>Double content is not listed in the enumeration facet.</source> - <translation type="unfinished"></translation> + <translation>Действительное число отсутствует в фасете enumeration.</translation> </message> <message> <source>Double content does not match pattern facet.</source> - <translation type="unfinished"></translation> + <translation>Действительное число не соответствует фасету pattern.</translation> </message> <message> <source>Decimal content does not match in the fractionDigits facet.</source> - <translation type="unfinished"></translation> + <translation>Десятичное не соответствует фасету fractionDigits.</translation> </message> <message> <source>Decimal content does not match in the totalDigits facet.</source> - <translation type="unfinished"></translation> + <translation>Десятичное не соответствует фасету totalDigits.</translation> </message> <message> <source>Date time content does not match the maxInclusive facet.</source> - <translation type="unfinished"></translation> + <translation>Дата-время не соответствует фасету maxInclusive.</translation> </message> <message> <source>Date time content does not match the maxExclusive facet.</source> - <translation type="unfinished"></translation> + <translation>Дата-время не соответствует фасету maxExclusive.</translation> </message> <message> <source>Date time content does not match the minInclusive facet.</source> - <translation type="unfinished"></translation> + <translation>Дата-время не соответствует фасету minInclusive.</translation> </message> <message> <source>Date time content does not match the minExclusive facet.</source> - <translation type="unfinished"></translation> + <translation>Дата-время не соответствует фасету minExclusive.</translation> </message> <message> <source>Date time content is not listed in the enumeration facet.</source> - <translation type="unfinished"></translation> + <translation>Дата-время отсутствует в фасете enumeration.</translation> </message> <message> <source>Date time content does not match pattern facet.</source> - <translation type="unfinished"></translation> + <translation>Дата-время не соответствует фасету pattern.</translation> </message> <message> <source>Duration content does not match the maxInclusive facet.</source> - <translation type="unfinished"></translation> + <translation>Длительность не соответствует фасету maxInclusive.</translation> </message> <message> <source>Duration content does not match the maxExclusive facet.</source> - <translation type="unfinished"></translation> + <translation>Длительность не соответствует фасету maxExclusive.</translation> </message> <message> <source>Duration content does not match the minInclusive facet.</source> - <translation type="unfinished"></translation> + <translation>Длительность не соответствует фасету minInclusive.</translation> </message> <message> <source>Duration content does not match the minExclusive facet.</source> - <translation type="unfinished"></translation> + <translation>Длительность не соответствует фасету minExclusive.</translation> </message> <message> <source>Duration content is not listed in the enumeration facet.</source> - <translation type="unfinished"></translation> + <translation>Длительность отсутствует в фасете enumeration.</translation> </message> <message> <source>Duration content does not match pattern facet.</source> - <translation type="unfinished"></translation> + <translation>Длительность не соответствует фасету pattern.</translation> </message> <message> <source>Boolean content does not match pattern facet.</source> - <translation type="unfinished"></translation> + <translation>Булевое число не соответствует фасету pattern.</translation> </message> <message> <source>Binary content does not match the length facet.</source> - <translation type="unfinished"></translation> + <translation>Двоичные данные не соответствуют фасету length.</translation> </message> <message> <source>Binary content does not match the minLength facet.</source> - <translation type="unfinished"></translation> + <translation>Двоичные данные не соответствуют фасету minLength.</translation> </message> <message> <source>Binary content does not match the maxLength facet.</source> - <translation type="unfinished"></translation> + <translation>Двоичные данные не соответствуют фасету maxLength.</translation> </message> <message> <source>Binary content is not listed in the enumeration facet.</source> - <translation type="unfinished"></translation> + <translation>Двоичные данные отсутствуют в фасете enumeration.</translation> </message> <message> <source>Invalid QName content: %1.</source> @@ -9549,43 +9592,43 @@ Please choose a different file name.</source> </message> <message> <source>QName content is not listed in the enumeration facet.</source> - <translation type="unfinished"></translation> + <translation>Содержимое QName отсутствует в фасете enumeration.</translation> </message> <message> <source>QName content does not match pattern facet.</source> - <translation type="unfinished"></translation> + <translation>Содержимое QName не соответствует фасету pattern.</translation> </message> <message> <source>Notation content is not listed in the enumeration facet.</source> - <translation type="unfinished"></translation> + <translation>Содержимое Notation не перечислено в фасете enumeration.</translation> </message> <message> <source>List content does not match length facet.</source> - <translation type="unfinished"></translation> + <translation>Список не соответствует фасету length.</translation> </message> <message> <source>List content does not match minLength facet.</source> - <translation type="unfinished"></translation> + <translation>Список не соответствует фасету minLength.</translation> </message> <message> <source>List content does not match maxLength facet.</source> - <translation type="unfinished"></translation> + <translation>Список не соответствует фасету maxLength.</translation> </message> <message> <source>List content is not listed in the enumeration facet.</source> - <translation type="unfinished"></translation> + <translation>Содержимое списка не перечислено в фасете enumeration.</translation> </message> <message> <source>List content does not match pattern facet.</source> - <translation type="unfinished"></translation> + <translation>Содержимое списка не соответствует фасету pattern.</translation> </message> <message> <source>Union content is not listed in the enumeration facet.</source> - <translation type="unfinished"></translation> + <translation>Объединение не перечислено в фасете enumeration.</translation> </message> <message> <source>Union content does not match pattern facet.</source> - <translation type="unfinished"></translation> + <translation>Объединение не соответствует фасету pattern.</translation> </message> <message> <source>Data of type %1 are not allowed to be empty.</source> @@ -9753,7 +9796,7 @@ Please choose a different file name.</source> </message> <message> <source>ID value '%1' is not unique.</source> - <translation>Значение ID "%1" неуникально.</translation> + <translation>Значение ID «%1» не уникально.</translation> </message> <message> <source>'%1' attribute contains invalid QName content: %2.</source> diff --git a/translations/qt_uk.ts b/translations/qt_uk.ts index 7f396ad..52e70a2 100644 --- a/translations/qt_uk.ts +++ b/translations/qt_uk.ts @@ -321,6 +321,10 @@ have libgstreamer-plugins-base installed.</source> <source>Playback complete</source> <translation>Відтворення завершене</translation> </message> + <message> + <source>Download error</source> + <translation>Помилка звантаження</translation> + </message> </context> <context> <name>Phonon::MMF::AbstractVideoPlayer</name> @@ -440,6 +444,10 @@ have libgstreamer-plugins-base installed.</source> <source>Error opening source: media type could not be determined</source> <translation>Помилка відкриття джерела: не вдалося визначити тип медіа-даних</translation> </message> + <message> + <source>Failed to set requested IAP</source> + <translation>Збій встановлення точки доступу до Інтернет</translation> + </message> </context> <context> <name>Phonon::MMF::StereoWidening</name> @@ -1200,6 +1208,11 @@ to <translation>%1: недостатньо ресурсів</translation> </message> <message> + <source>%1: permission denied</source> + <comment>QSystemSemaphore</comment> + <translation>%1: доступ заборонено</translation> + </message> + <message> <source>%1: unknown error %2</source> <comment>QSystemSemaphore</comment> <translation>%1: невідома помилка %2</translation> @@ -1366,6 +1379,13 @@ to </message> </context> <context> + <name>QDeclarativeApplication</name> + <message> + <source>Application is an abstract class</source> + <translation>Application - це абстрактний клас</translation> + </message> +</context> +<context> <name>QDeclarativeBehavior</name> <message> <source>Cannot change the animation assigned to a Behavior.</source> @@ -1493,6 +1513,14 @@ to <translation>Неможливо створити порожню специфікацію компоненти</translation> </message> <message> + <source>"%1.%2" is not available in %3 %4.%5.</source> + <translation>"%1.%2" не доступно в %3 %4.%5.</translation> + </message> + <message> + <source>"%1.%2" is not available due to component versioning.</source> + <translation>"%1.%2" не доступно через версіювання компонента.</translation> + </message> + <message> <source>Incorrectly specified signal assignment</source> <translation>Неправильно вказане призначення сигналу</translation> </message> @@ -1589,6 +1617,10 @@ to <translation>Неправильне присвоєння властивості: очікувався скрипт</translation> </message> <message> + <source>Cannot assign multiple values to a singular property</source> + <translation>Неможливо присвоїти декілька значенть до одиничної властивості</translation> + </message> + <message> <source>Cannot assign object to property</source> <translation>Неможливо призначити об'єкт властивості</translation> </message> @@ -1681,8 +1713,16 @@ to <translation>Непраильна позиція псевдоніму</translation> </message> <message> + <source>Invalid alias reference. An alias reference must be specified as <id>, <id>.<property> or <id>.<value property>.<property></source> + <translation>Неправильне посилання на псевдонім. Посилання на псевдонім повинно бути вказане як <id>, <id>.<властивість> або <id>.<властивість-значення>.<властивість></translation> + </message> + <message> + <source>Alias property exceeds alias bounds</source> + <translation>Властивість-псевдонім виходить за межі псевдоніму</translation> + </message> + <message> <source>Invalid alias reference. An alias reference must be specified as <id> or <id>.<property></source> - <translation>Неправильне посилання на псевдонім. Посилання на псевдонім має бути вказане, як <id> або <id>.<property></translation> + <translation type="obsolete">Неправильне посилання на псевдонім. Посилання на псевдонім має бути вказане, як <id> або <id>.<property></translation> </message> <message> <source>Invalid alias reference. Unable to find id "%1"</source> @@ -1695,6 +1735,10 @@ to <source>Invalid empty URL</source> <translation>Неправильний порожній URL</translation> </message> + <message> + <source>createObject: value is not an object</source> + <translation>createObject: значення не є об’єктом</translation> + </message> </context> <context> <name>QDeclarativeConnections</name> @@ -1756,6 +1800,10 @@ to <context> <name>QDeclarativeImportDatabase</name> <message> + <source>cannot load module "%1": File name case mismatch for "%2"</source> + <translation>неможливо завантажити модуль "%1": Регістр імені файлу не збігається для "%2"</translation> + </message> + <message> <source>module "%1" definition "%2" not readable</source> <translation>неможливо прочитати визначення "%2" модуля "%1"</translation> </message> @@ -1811,6 +1859,10 @@ to <source>is not a type</source> <translation>не є типом</translation> </message> + <message> + <source>File name case mismatch for "%2"</source> + <translation>Регістр імені файлу не збігається для "%2"</translation> + </message> </context> <context> <name>QDeclarativeKeyNavigationAttached</name> @@ -1827,6 +1879,17 @@ to </message> </context> <context> + <name>QDeclarativeLayoutMirroringAttached</name> + <message> + <source>LayoutDirection attached property only works with Items</source> + <translation>Прикріплена властивість LayoutDirection працює лише з Item</translation> + </message> + <message> + <source>LayoutMirroring is only available via attached properties</source> + <translation>LayoutMirroring доступна лише через прикріплені властивості</translation> + </message> +</context> +<context> <name>QDeclarativeListModel</name> <message> <source>remove: index %1 out of range</source> @@ -6591,6 +6654,10 @@ Do you want to overwrite it?</source> <source>Error during SSL handshake: %1</source> <translation>Помилка рукостискання SSL: %1</translation> </message> + <message> + <source>The peer certificate is blacklisted</source> + <translation>Сертифікат іншої сторони в чорному списку</translation> + </message> </context> <context> <name>QStateMachine</name> diff --git a/translations/qtconfig_ko.ts b/translations/qtconfig_ko.ts new file mode 100644 index 0000000..9708a22 --- /dev/null +++ b/translations/qtconfig_ko.ts @@ -0,0 +1,745 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="ko_KR"> +<context> + <name>MainWindow</name> + <message> + <source><p><b><font size+=2>Appearance</font></b></p><hr><p>Use this tab to customize the appearance of your Qt applications.</p><p>You can select the default GUI Style from the drop down list and customize the colors.</p><p>Any GUI Style plugins in your plugin path will automatically be added to the list of built-in Qt styles. (See the Library Paths tab for information on adding new plugin paths.)</p><p>When you choose 3-D Effects and Window Background colors, the Qt Configuration program will automatically generate a palette for you. To customize colors further, press the Tune Palette button to open the advanced palette editor.<p>The Preview Window shows what the selected Style and colors look like.</source> + <translation><p><b><font size+=2>모양</font></b></p><hr><p>이 탭을 사용하면 Qt 프로그램의 모양을 지정할 수 있습니다.</p><p>기본 GUI 스타일을 드롭 다운 목록에서 선택하고 색상을 사용자 정의할 수 있습니다.</p><p>플러그인 경로에 있는 GUI 스타일 플러그인이 Qt 내장 스타일과 더불어 추가될 것입니다. (새 플러그인 경로를 추가하려면 라이브러리 경로 탭을 참고하십시오.)</p><p>3차원 효과 및 창 배경색을 선택하면 Qt 설정 프로그램에서 자동으로 팔레트를 생성합니다. 색을 더 편집하려면 팔레트 조정 단추를 눌러서 고급 팔레트 편집기를 여십시오.<p>미리 보기 창에서 스타일과 색을 보여 줍니다.</translation> + </message> + <message> + <source><p><b><font size+=2>Fonts</font></b></p><hr><p>Use this tab to select the default font for your Qt applications. The selected font is shown (initially as 'Sample Text') in the line edit below the Family, Style and Point Size drop down lists.</p><p>Qt has a powerful font substitution feature that allows you to specify a list of substitute fonts. Substitute fonts are used when a font cannot be loaded, or if the specified font doesn't have a particular character.<p>For example, if you select the font Lucida, which doesn't have Korean characters, but need to show some Korean text using the Mincho font family you can do so by adding Mincho to the list. Once Mincho is added, any Korean characters that are not found in the Lucida font will be taken from the Mincho font. Because the font substitutions are lists, you can also select multiple families, such as Song Ti (for use with Chinese text).</source> + <translation><p><b><font size+=2>글꼴</font></b></p><hr><p>이 탭에서 Qt 프로그램의 글꼴을 설정할 수 있습니다. 선택한 글꼴은 글꼴 종류, 스타일, 포인트 크기 아래의 라인 편집기에 미리 보여집니다.(기본 텍스트는 '예제 텍스트')</p><p>Qt는 글꼴 대체 목록을 지정하는 기능을 갖추고 있습니다. 글꼴을 불러올 수 없거나 지정한 글꼴에 필요한 문자가 없는 경우 자동적으로 대체됩니다.<p>예를 들어 한글 글자가 없는 Lucida 글꼴을 선택한 경우, 한글을 명조체로 표시하고 싶다면 목록에 명조체를 추가하여 한글을 표시할 수 있습니다. 명조체를 추가하면 Lucida 글꼴에 없는 한글 글자는 명조체로 표시됩니다. 글꼴 대체는 목록으로 관리되므로, 중국어의 한자를 표시하고 싶은 경우에는 다른 글꼴을 추가할 수 있습니다.</translation> + </message> + <message> + <source><p><b><font size+=2>Interface</font></b></p><hr><p>Use this tab to customize the feel of your Qt applications.</p><p>If the Resolve Symlinks checkbox is checked Qt will follow symlinks when handling URLs. For example, in the file dialog, if this setting is turned on and /usr/tmp is a symlink to /var/tmp, entering the /usr/tmp directory will cause the file dialog to change to /var/tmp. With this setting turned off, symlinks are not resolved or followed.</p><p>The Global Strut setting is useful for people who require a minimum size for all widgets (e.g. when using a touch panel or for users who are visually impaired). Leaving the Global Strut width and height at 0 will disable the Global Strut feature</p><p>XIM (Extended Input Methods) are used for entering characters in languages that have large character sets, for example, Chinese and Japanese.</source> + <translation><p><b><font size+=2>인터페이스</font></b></p><hr><p>Qt 프로그램의 모습을 바꿀 수 있습니다.</p><p>심볼릭 링크 따라가기를 선택하면 Qt에서 URL을 처리할 때 심볼릭 링크를 따라갑니다. 예를 들어 이 설정이 활성화되어 있고 /usr/tmp가 /var/tmp를 향한 심볼릭 링크로 지정되어 있으면 /usr/tmp 디렉터리에 들어갔을 때 /var/tmp 디렉터리로 전환됩니다. 이 설정이 비활성화되어 있으면 심볼릭 링크를 따라가지 않습니다.</p><p>크기 제한 설정이 켜져 있으면 위젯의 최소 크기를 설정할 수 있습니다. 시각 장애가 있거나 터치 패널을 사용하는 등 최소 위젯 크기가 필요한 경우 사용할 수 있습니다. 크기 제한 설정을 0으로 설정하면 크기 제한 기능을 사용하지 않습니다.</p><p>XIM (X 입력기)는 한국어, 중국어, 일본어 등의 특수한 입력기를 사용하는 언어에 사용합니다.</translation> + </message> + <message> + <source><p><b><font size+=2>Printer</font></b></p><hr><p>Use this tab to configure the way Qt generates output for the printer.You can specify if Qt should try to embed fonts into its generated output.If you enable font embedding, the resulting postscript will be more portable and will more accurately reflect the visual output on the screen; however the resulting postscript file size will be bigger.<p>When using font embedding you can select additional directories where Qt should search for embeddable font files. By default, the X server font path is used.</source> + <translation><p><b><font size+=2>프린터</font></b></p><hr><p>Qt에서 프린터를 다루는 방식을 설정할 수 있습니다. Qt에서 생성한 출력물에 글꼴을 임베딩할 지 결정할 수 있습니다. 만약 글꼴 임베딩을 사용하면 생성된 포스트스크립트 파일은 지정한 글꼴이 없는 곳에서도 똑같이 출력할 수 있으나, 파일의 크기가 더 커집니다.<p>글꼴 임베딩을 사용하는 경우 Qt가 글꼴 파일을 찾을 추가 디렉터리를 설정할 수 있습니다. 기본적으로 X 글꼴 경로를 사용합니다.</translation> + </message> + <message> + <source><p><b><font size+=2>Phonon</font></b></p><hr><p>Use this tab to configure the Phonon GStreamer multimedia backend. <p>It is reccommended to leave all settings on "Auto" to let Phonon determine your settings automatically.</source> + <translation><p><b><font size+=2>Phonon</font></b></p><hr><p>이 탭을 사용하면 Phonon GStreamer 멀티미디어 백엔드를 설정할 수 있습니다.<p>모든 설정을 "자동"으로 설정하여 Phonon에서 자동으로 설정하도록 하는 것을 추천합니다.</translation> + </message> + <message> + <source>Desktop Settings (Default)</source> + <translation>데스크톱 설정 (기본값)</translation> + </message> + <message> + <source>Choose style and palette based on your desktop settings.</source> + <translation>데스크톱 설정을 기반으로 한 스타일과 팔레트를 선택하십시오.</translation> + </message> + <message> + <source>On The Spot</source> + <translation>On The Spot</translation> + </message> + <message> + <source>Auto (default)</source> + <translation>자동 (기본값)</translation> + </message> + <message> + <source>Choose audio output automatically.</source> + <translation>자동으로 오디오 출력을 선택합니다.</translation> + </message> + <message> + <source>aRts</source> + <translation>aRts</translation> + </message> + <message> + <source>Experimental aRts support for GStreamer.</source> + <translation>GStreamer의 실험적인 aRts 출력입니다.</translation> + </message> + <message> + <source>Phonon GStreamer backend not available.</source> + <translation>Phonon GStreamer 백엔드를 사용할 수 없습니다.</translation> + </message> + <message> + <source>Choose render method automatically</source> + <translation>렌더링 방식 자동으로 선택하기</translation> + </message> + <message> + <source>X11</source> + <translation>X11</translation> + </message> + <message> + <source>Use X11 Overlays</source> + <translation>X11 오버레이 사용하기</translation> + </message> + <message> + <source>OpenGL</source> + <translation>OpenGL</translation> + </message> + <message> + <source>Use OpenGL if available</source> + <translation>사용 가능한 경우 OpenGL 사용하기</translation> + </message> + <message> + <source>Software</source> + <translation>소프트웨어</translation> + </message> + <message> + <source>Use simple software rendering</source> + <translation>간단한 소프트웨어 렌더링 사용하기</translation> + </message> + <message> + <source>No changes to be saved.</source> + <translation>저장할 변경 사항이 없습니다.</translation> + </message> + <message> + <source>Saving changes...</source> + <translation>변경 사항 저장하는 중...</translation> + </message> + <message> + <source>Over The Spot</source> + <translation>Over The Spot</translation> + </message> + <message> + <source>Off The Spot</source> + <translation>Off The Spot</translation> + </message> + <message> + <source>Root</source> + <translation>루트</translation> + </message> + <message> + <source>Select a Directory</source> + <translation>디렉터리 선택</translation> + </message> + <message> + <source><h3>%1</h3><br/>Version %2<br/><br/>Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).</source> + <translation><h3>%1</h3><br/>버전 %2<br/><br/>저작권자 (C) 2010 Nokia Corporation and/or its subsidiary(-ies).</translation> + </message> + <message> + <source>Qt Configuration</source> + <translation>Qt 설정</translation> + </message> + <message> + <source>Save Changes</source> + <translation>변경 사항 저장</translation> + </message> + <message> + <source>Save changes to settings?</source> + <translation>변경 사항을 저장하시겠습니까?</translation> + </message> + <message> + <source>&Yes</source> + <translation>예(&Y)</translation> + </message> + <message> + <source>&No</source> + <translation>아니오(&N)</translation> + </message> + <message> + <source>&Cancel</source> + <translation>취소(&C)</translation> + </message> +</context> +<context> + <name>MainWindowBase</name> + <message> + <source>Qt Configuration</source> + <translation>Qt 설정</translation> + </message> + <message> + <source>Appearance</source> + <translation>모양</translation> + </message> + <message> + <source>GUI Style</source> + <translation>GUI 스타일</translation> + </message> + <message> + <source>Select GUI &Style:</source> + <translation>GUI 스타일 선택(&S):</translation> + </message> + <message> + <source>Preview</source> + <translation>미리 보기</translation> + </message> + <message> + <source>Select &Palette:</source> + <translation>팔레트 선택(&P):</translation> + </message> + <message> + <source>Active Palette</source> + <translation>활성 팔레트</translation> + </message> + <message> + <source>Inactive Palette</source> + <translation>비활성 팔레트</translation> + </message> + <message> + <source>Disabled Palette</source> + <translation>사용 불가 팔레트</translation> + </message> + <message> + <source>Build Palette</source> + <translation>팔레트 생성</translation> + </message> + <message> + <source>&3-D Effects:</source> + <translation>3차원 효과(&3):</translation> + </message> + <message> + <source>Window Back&ground:</source> + <translation>창 배경(&G):</translation> + </message> + <message> + <source>&Tune Palette...</source> + <translation>팔레트 조정(&T)...</translation> + </message> + <message> + <source>Please use the KDE Control Center to set the palette.</source> + <translation>KDE 제어판에서 팔레트를 조정하십시오.</translation> + </message> + <message> + <source>Fonts</source> + <translation>글꼴</translation> + </message> + <message> + <source>Default Font</source> + <translation>기본 글꼴</translation> + </message> + <message> + <source>&Style:</source> + <translation>스타일(&S):</translation> + </message> + <message> + <source>&Point Size:</source> + <translation>포인트 크기(&P):</translation> + </message> + <message> + <source>F&amily:</source> + <translation>종류(&A):</translation> + </message> + <message> + <source>Sample Text</source> + <translation>견본 텍스트</translation> + </message> + <message> + <source>Font Substitution</source> + <translation>글꼴 대체</translation> + </message> + <message> + <source>S&elect or Enter a Family:</source> + <translation>글꼴을 선택하거나 입력하십시오(&E):</translation> + </message> + <message> + <source>Current Substitutions:</source> + <translation>현재 대체 목록:</translation> + </message> + <message> + <source>Up</source> + <translation>위로</translation> + </message> + <message> + <source>Down</source> + <translation>아래로</translation> + </message> + <message> + <source>Remove</source> + <translation>삭제</translation> + </message> + <message> + <source>Select s&ubstitute Family:</source> + <translation>대체할 글꼴을 선택하십시오(&U):</translation> + </message> + <message> + <source>Add</source> + <translation>추가</translation> + </message> + <message> + <source>Interface</source> + <translation>인터페이스</translation> + </message> + <message> + <source>Feel Settings</source> + <translation>모양 설정</translation> + </message> + <message> + <source> ms</source> + <translation> ms</translation> + </message> + <message> + <source>&Double Click Interval:</source> + <translation>두 번 누름 간격(&D):</translation> + </message> + <message> + <source>No blinking</source> + <translation>깜빡임 없음</translation> + </message> + <message> + <source>&Cursor Flash Time:</source> + <translation>커서 깜빡임 시간(&C):</translation> + </message> + <message> + <source> lines</source> + <translation> 줄</translation> + </message> + <message> + <source>Wheel &Scroll Lines:</source> + <translation>휠 스크롤 줄 수(&S):</translation> + </message> + <message> + <source>Resolve symlinks in URLs</source> + <translation>URL의 심볼릭 링크 따라가기</translation> + </message> + <message> + <source>GUI Effects</source> + <translation>GUI 효과</translation> + </message> + <message> + <source>&Enable</source> + <translation>활성화(&E)</translation> + </message> + <message> + <source>Alt+E</source> + <translation>Alt+E</translation> + </message> + <message> + <source>&Menu Effect:</source> + <translation>메뉴 효과(&M):</translation> + </message> + <message> + <source>C&omboBox Effect:</source> + <translation>콤보 상자 효과(&O):</translation> + </message> + <message> + <source>&ToolTip Effect:</source> + <translation>풍선 도움말 효과(&T):</translation> + </message> + <message> + <source>Tool&Box Effect:</source> + <translation>도구 상자 효과(&B):</translation> + </message> + <message> + <source>Disable</source> + <translation>사용 안함</translation> + </message> + <message> + <source>Animate</source> + <translation>애니메이션</translation> + </message> + <message> + <source>Fade</source> + <translation>페이드</translation> + </message> + <message> + <source>Global Strut</source> + <translation>크기 제한</translation> + </message> + <message> + <source>Minimum &Width:</source> + <translation>최소 폭(&W):</translation> + </message> + <message> + <source>Minimum Hei&ght:</source> + <translation>최소 높이(&G):</translation> + </message> + <message> + <source> pixels</source> + <translation> 픽셀</translation> + </message> + <message> + <source>Enhanced support for languages written right-to-left</source> + <translation>오른쪽에서 왼쪽으로 쓰는 언어 지원 향상</translation> + </message> + <message> + <source>XIM Input Style:</source> + <translation>XIM 입력 방식:</translation> + </message> + <message> + <source>On The Spot</source> + <translation>On The Spot</translation> + </message> + <message> + <source>Over The Spot</source> + <translation>Over The Spot</translation> + </message> + <message> + <source>Off The Spot</source> + <translation>Off The Spot</translation> + </message> + <message> + <source>Root</source> + <translation>루트</translation> + </message> + <message> + <source>Default Input Method:</source> + <translation>기본 입력기:</translation> + </message> + <message> + <source>Printer</source> + <translation>프린터</translation> + </message> + <message> + <source>Enable Font embedding</source> + <translation>글꼴 임베딩 사용하기</translation> + </message> + <message> + <source>Font Paths</source> + <translation>글꼴 경로</translation> + </message> + <message> + <source>Browse...</source> + <translation>찾아보기...</translation> + </message> + <message> + <source>Press the <b>Browse</b> button or enter a directory and press Enter to add them to the list.</source> + <translation><b>찾아보기</b> 단추를 누르거나 디렉터리를 입력하고 Enter 키를 눌러서 목록에 추가할 수 있습니다.</translation> + </message> + <message> + <source>Phonon</source> + <translation>Phonon</translation> + </message> + <message> + <source>About Phonon</source> + <translation>Phonon 정보</translation> + </message> + <message> + <source>Current Version:</source> + <translation>현재 버전:</translation> + </message> + <message> + <source>Not available</source> + <translation>사용할 수 없음</translation> + </message> + <message> + <source>Website:</source> + <translation>웹 사이트:</translation> + </message> + <message> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://phonon.kde.org"><span style=" text-decoration: underline; color:#0000ff;">http://phonon.kde.org</span></a></p></body></html></source> + <translation><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://phonon.kde.org"><span style=" text-decoration: underline; color:#0000ff;">http://phonon.kde.org</span></a></p></body></html></translation> + </message> + <message> + <source>About GStreamer</source> + <translation>GStreamer 정보</translation> + </message> + <message> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://gstreamer.freedesktop.org/"><span style=" text-decoration: underline; color:#0000ff;">http://gstreamer.freedesktop.org/</span></a></p></body></html></source> + <translation><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><a href="http://gstreamer.freedesktop.org/"><span style=" text-decoration: underline; color:#0000ff;">http://gstreamer.freedesktop.org/</span></a></p></body></html></translation> + </message> + <message> + <source>GStreamer backend settings</source> + <translation>GStreamer 백엔드 설정</translation> + </message> + <message> + <source>Preferred audio sink:</source> + <translation>선호하는 오디오 싱크:</translation> + </message> + <message> + <source>Preferred render method:</source> + <translation>선호하는 렌더링 방법:</translation> + </message> + <message> + <source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Note: changes to these settings may prevent applications from starting up correctly.</span></p></body></html></source> + <translation><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">메모: 이 설정을 변경하면 프로그램이 시작되지 않을 수도 있습니다.</span></p></body></html></translation> + </message> + <message> + <source>&File</source> + <translation>파일(&F)</translation> + </message> + <message> + <source>&Help</source> + <translation>도움말(&H)</translation> + </message> + <message> + <source>&Save</source> + <translation>저장(&S)</translation> + </message> + <message> + <source>Save</source> + <translation>저장</translation> + </message> + <message> + <source>Ctrl+S</source> + <translation>Ctrl+S</translation> + </message> + <message> + <source>E&xit</source> + <translation>끝내기(&X)</translation> + </message> + <message> + <source>Exit</source> + <translation>끝내기</translation> + </message> + <message> + <source>&About</source> + <translation>정보(&A)</translation> + </message> + <message> + <source>About</source> + <translation>정보</translation> + </message> + <message> + <source>About &Qt</source> + <translation>Qt 정보(&Q)</translation> + </message> + <message> + <source>About Qt</source> + <translation>Qt 정보</translation> + </message> +</context> +<context> + <name>PaletteEditorAdvancedBase</name> + <message> + <source>Tune Palette</source> + <translation>팔레트 조정</translation> + </message> + <message> + <source><b>Edit Palette</b><p>Change the palette of the current widget or form.</p><p>Use a generated palette or select colors for each color group and each color role.</p><p>The palette can be tested with different widget layouts in the preview section.</p></source> + <translation><b>팔레트 조정</b><p>현재 위젯이나 폼의 팔레트를 변경합니다.</p><p>생성된 팔레트를 사용하거나, 각각 색상 그룹과 역할의 색을 선택하십시오.</p><p>미리 보기 섹션의 여러 위젯 레이아웃으로 팔레트를 테스트할 수 있습니다.</p></translation> + </message> + <message> + <source>Select &Palette:</source> + <translation>팔레트 선택(&P):</translation> + </message> + <message> + <source>Active Palette</source> + <translation>활성 팔레트</translation> + </message> + <message> + <source>Inactive Palette</source> + <translation>비활성 팔레트</translation> + </message> + <message> + <source>Disabled Palette</source> + <translation>사용 불가 팔레트</translation> + </message> + <message> + <source>Auto</source> + <translation>자동</translation> + </message> + <message> + <source>Build inactive palette from active</source> + <translation>활성 팔레트에서 비활성 팔레트 생성</translation> + </message> + <message> + <source>Build disabled palette from active</source> + <translation>활성 팔레트에서 사용 불가 팔레트 생성</translation> + </message> + <message> + <source>Central color &roles</source> + <translation>중심 색상 역할(&R)</translation> + </message> + <message> + <source>Choose central color role</source> + <translation>중심 색상 역할 선택</translation> + </message> + <message> + <source><b>Select a color role.</b><p>Available central roles are: <ul> <li>Window - general background color.</li> <li>WindowText - general foreground color. </li> <li>Base - used as background color for e.g. text entry widgets, usually white or another light color. </li> <li>Text - the foreground color used with Base. Usually this is the same as WindowText, in what case it must provide good contrast both with Window and Base. </li> <li>Button - general button background color, where buttons need a background different from Window, as in the Macintosh style. </li> <li>ButtonText - a foreground color used with the Button color. </li> <li>Highlight - a color to indicate a selected or highlighted item. </li> <li>HighlightedText - a text color that contrasts to Highlight. </li> <li>BrightText - a text color that is very different from WindowText and contrasts well with e.g. black. </li> </ul> </p></source> + <translation><b>색상 역할을 선택하십시오.</b><p>사용 가능한 색상 역할 목록: <ul> <li>창 - 일반적인 배경색.</li> <li>창 텍스트 - 일반적인 전경색. </li> <li>기본 - 텍스트 입력 위젯과 같은 곳의 배경색. 일반적으로 흰색 또는 밝은 색입니다.</li> <li>텍스트 - '기본'과 같이 사용되는 전경색입니다. 대개 창 텍스트와 같은 색을 사용합니다.</li> <li>단추 - 일반적인 단추 배경색. 매킨토시 스타일과 같이 단추와 창의 배경색이 다른 곳에서 사용합니다.</li> <li>단추 텍스트 - 단추 색과 같이 사용되는 전경색.</li> <li>강조 - 선택하거나 강조된 항목을 나타내는 색.</li> <li>강조 텍스트 - '강조'와 같이 사용되는 텍스트 색.</li> <li>밝은 텍스트 - 창 텍스트와 대조되는 텍스트 색. 예를 들어 검정색입니다.</li> </ul> </p></translation> + </message> + <message> + <source>Window</source> + <translation>창</translation> + </message> + <message> + <source>WindowText</source> + <translation>창 텍스트</translation> + </message> + <message> + <source>Button</source> + <translation>단추</translation> + </message> + <message> + <source>Base</source> + <translation>기본</translation> + </message> + <message> + <source>Text</source> + <translation>텍스트</translation> + </message> + <message> + <source>BrightText</source> + <translation>밝은 텍스트</translation> + </message> + <message> + <source>ButtonText</source> + <translation>단추 텍스트</translation> + </message> + <message> + <source>Highlight</source> + <translation>강조</translation> + </message> + <message> + <source>HighlightedText</source> + <translation>강조된 텍스트</translation> + </message> + <message> + <source>&Select Color:</source> + <translation>색 선택(&S):</translation> + </message> + <message> + <source>Choose a color</source> + <translation>색 선택</translation> + </message> + <message> + <source>Choose a color for the selected central color role.</source> + <translation>중심 색상 역할에 사용할 색상을 선택하십시오.</translation> + </message> + <message> + <source>3-D shadow &effects</source> + <translation>3차원 그림자 효과(&E)</translation> + </message> + <message> + <source>Build &from button color</source> + <translation>단추 색상에서 생성(&F)</translation> + </message> + <message> + <source>Generate shadings</source> + <translation>그림자 생성</translation> + </message> + <message> + <source>Check to let 3D-effect colors be calculated from button-color.</source> + <translation>3차원 효과 색상을 단추 색상에서 생성하려면 누르십시오.</translation> + </message> + <message> + <source>Choose 3D-effect color role</source> + <translation>3차원 효과 색상 역할 선택</translation> + </message> + <message> + <source><b>Select a color role.</b><p>Available effect roles are: <ul> <li>Light - lighter than Button color. </li> <li>Midlight - between Button and Light. </li> <li>Mid - between Button and Dark. </li> <li>Dark - darker than Button. </li> <li>Shadow - a very dark color. </li> </ul></source> + <translation><b>색상 역할을 선택하십시오.</b><p>사용 가능한 색상 역할 목록: <ul> <li>밝음 - 단추 색보다 밝음. </li> <li>약간 밝음 - '밝음'과 '단추 색'의 중간.</li> <li>중간 - '단추 색'과 '어두움'의 중간.</li> <li>어두움 - 단추 색보다 어두움.</li> <li>그림자 - 매우 어두운 색.</li> </ul></translation> + </message> + <message> + <source>Light</source> + <translation>밝음</translation> + </message> + <message> + <source>Midlight</source> + <translation>약간 밝음</translation> + </message> + <message> + <source>Mid</source> + <translation>중간</translation> + </message> + <message> + <source>Dark</source> + <translation>어두움</translation> + </message> + <message> + <source>Shadow</source> + <translation>그림자</translation> + </message> + <message> + <source>Select Co&lor:</source> + <translation>색 선택(&L):</translation> + </message> + <message> + <source>Choose a color for the selected effect color role.</source> + <translation>선택한 효과 색상 역할에 사용할 색을 선택하십시오.</translation> + </message> + <message> + <source>OK</source> + <translation>확인</translation> + </message> + <message> + <source>Close dialog and apply all changes.</source> + <translation>대화 상자를 닫고 변경 사항을 적용합니다.</translation> + </message> + <message> + <source>Cancel</source> + <translation>취소</translation> + </message> + <message> + <source>Close dialog and discard all changes.</source> + <translation>대화 상자를 닫고 변경 사항을 적용하지 않습니다.</translation> + </message> +</context> +<context> + <name>PreviewFrame</name> + <message> + <source>Desktop settings will only take effect after an application restart.</source> + <translation>데스크톱 설정은 프로그램을 다시 시작해야 적용됩니다.</translation> + </message> +</context> +<context> + <name>PreviewWidgetBase</name> + <message> + <source>Preview Window</source> + <translation>미리 보기 창</translation> + </message> + <message> + <source>ButtonGroup</source> + <translation>단추 그룹</translation> + </message> + <message> + <source>RadioButton1</source> + <translation>라디오 단추 1</translation> + </message> + <message> + <source>RadioButton2</source> + <translation>라디오 단추 2</translation> + </message> + <message> + <source>RadioButton3</source> + <translation>라디오 단추 3</translation> + </message> + <message> + <source>ButtonGroup2</source> + <translation>단추 그룹 2</translation> + </message> + <message> + <source>CheckBox1</source> + <translation>체크 상자 1</translation> + </message> + <message> + <source>CheckBox2</source> + <translation>체크 상자 2</translation> + </message> + <message> + <source>LineEdit</source> + <translation>라인 편집기</translation> + </message> + <message> + <source>ComboBox</source> + <translation>콤보 상자</translation> + </message> + <message> + <source>PushButton</source> + <translation>누름 단추</translation> + </message> + <message> + <source><p> +<a href="http://qt.nokia.com">http://qt.nokia.com</a> +</p> +<p> +<a href="http://www.kde.org">http://www.kde.org</a> +</p></source> + <translation><p> +<a href="http://qt.nokia.com">http://qt.nokia.com</a> +</p> +<p> +<a href="http://www.kde.org">http://www.kde.org</a> +</p></translation> + </message> +</context> +</TS> diff --git a/translations/qtconfig_uk.ts b/translations/qtconfig_uk.ts index 3b1e2e5..24a9b7d 100644 --- a/translations/qtconfig_uk.ts +++ b/translations/qtconfig_uk.ts @@ -4,6 +4,26 @@ <context> <name>MainWindow</name> <message> + <source><p><b><font size+=2>Appearance</font></b></p><hr><p>Use this tab to customize the appearance of your Qt applications.</p><p>You can select the default GUI Style from the drop down list and customize the colors.</p><p>Any GUI Style plugins in your plugin path will automatically be added to the list of built-in Qt styles. (See the Library Paths tab for information on adding new plugin paths.)</p><p>When you choose 3-D Effects and Window Background colors, the Qt Configuration program will automatically generate a palette for you. To customize colors further, press the Tune Palette button to open the advanced palette editor.<p>The Preview Window shows what the selected Style and colors look like.</source> + <translation type="unfinished"></translation> + </message> + <message> + <source><p><b><font size+=2>Fonts</font></b></p><hr><p>Use this tab to select the default font for your Qt applications. The selected font is shown (initially as 'Sample Text') in the line edit below the Family, Style and Point Size drop down lists.</p><p>Qt has a powerful font substitution feature that allows you to specify a list of substitute fonts. Substitute fonts are used when a font cannot be loaded, or if the specified font doesn't have a particular character.<p>For example, if you select the font Lucida, which doesn't have Korean characters, but need to show some Korean text using the Mincho font family you can do so by adding Mincho to the list. Once Mincho is added, any Korean characters that are not found in the Lucida font will be taken from the Mincho font. Because the font substitutions are lists, you can also select multiple families, such as Song Ti (for use with Chinese text).</source> + <translation type="unfinished"></translation> + </message> + <message> + <source><p><b><font size+=2>Interface</font></b></p><hr><p>Use this tab to customize the feel of your Qt applications.</p><p>If the Resolve Symlinks checkbox is checked Qt will follow symlinks when handling URLs. For example, in the file dialog, if this setting is turned on and /usr/tmp is a symlink to /var/tmp, entering the /usr/tmp directory will cause the file dialog to change to /var/tmp. With this setting turned off, symlinks are not resolved or followed.</p><p>The Global Strut setting is useful for people who require a minimum size for all widgets (e.g. when using a touch panel or for users who are visually impaired). Leaving the Global Strut width and height at 0 will disable the Global Strut feature</p><p>XIM (Extended Input Methods) are used for entering characters in languages that have large character sets, for example, Chinese and Japanese.</source> + <translation type="unfinished"></translation> + </message> + <message> + <source><p><b><font size+=2>Printer</font></b></p><hr><p>Use this tab to configure the way Qt generates output for the printer.You can specify if Qt should try to embed fonts into its generated output.If you enable font embedding, the resulting postscript will be more portable and will more accurately reflect the visual output on the screen; however the resulting postscript file size will be bigger.<p>When using font embedding you can select additional directories where Qt should search for embeddable font files. By default, the X server font path is used.</source> + <translation type="unfinished"></translation> + </message> + <message> + <source><p><b><font size+=2>Phonon</font></b></p><hr><p>Use this tab to configure the Phonon GStreamer multimedia backend. <p>It is reccommended to leave all settings on "Auto" to let Phonon determine your settings automatically.</source> + <translation type="unfinished"></translation> + </message> + <message> <source>Desktop Settings (Default)</source> <translation>Налаштування стільниці (Типово)</translation> </message> diff --git a/translations/qvfb_ko.ts b/translations/qvfb_ko.ts new file mode 100644 index 0000000..3d34090 --- /dev/null +++ b/translations/qvfb_ko.ts @@ -0,0 +1,415 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.0" language="ko_KR"> +<context> + <name>AnimationSaveWidget</name> + <message> + <source>Record</source> + <translation>녹화</translation> + </message> + <message> + <source>Reset</source> + <translation>초기화</translation> + </message> + <message> + <source>Save</source> + <translation>저장</translation> + </message> + <message> + <source>Save in MPEG format (requires netpbm package installed)</source> + <translation>MPEG로 저장 (netpbm 패키지가 필요함)</translation> + </message> + <message> + <source>Click record to begin recording.</source> + <translation>녹화를 누르면 녹화를 시작합니다.</translation> + </message> + <message> + <source>Finished saving.</source> + <translation>저장하였습니다.</translation> + </message> + <message> + <source>Paused. Click record to resume, or save if done.</source> + <translation>일시 정지됨. 녹화 단추를 누르면 다시 시작하며, 끝났으면 저장하십시오.</translation> + </message> + <message> + <source>Pause</source> + <translation>일시 정지</translation> + </message> + <message> + <source>Recording...</source> + <translation>녹화 중...</translation> + </message> + <message> + <source>Saving... </source> + <translation>저장 중...</translation> + </message> + <message> + <source>Save animation...</source> + <translation>애니메이션 저장 중...</translation> + </message> + <message> + <source>Save canceled.</source> + <translation>저장이 취소되었습니다.</translation> + </message> + <message> + <source>Save failed!</source> + <translation>저장에 실패하였습니다!</translation> + </message> +</context> +<context> + <name>Config</name> + <message> + <source>Configure</source> + <translation>설정</translation> + </message> + <message> + <source>Size</source> + <translation>크기</translation> + </message> + <message> + <source>176x220 "SmartPhone"</source> + <translation>176x220 "스마트폰"</translation> + </message> + <message> + <source>240x320 "PDA"</source> + <translation>240x320 "PDA"</translation> + </message> + <message> + <source>320x240 "TV" / "QVGA"</source> + <translation>320x240 "TV" / "QVGA"</translation> + </message> + <message> + <source>640x480 "VGA"</source> + <translation>640x480 "VGA"</translation> + </message> + <message> + <source>800x480</source> + <translation>800x480</translation> + </message> + <message> + <source>800x600</source> + <translation>800x600</translation> + </message> + <message> + <source>1024x768</source> + <translation>1024x768</translation> + </message> + <message> + <source>Custom</source> + <translation>사용자 정의</translation> + </message> + <message> + <source>Depth</source> + <translation>색 농도</translation> + </message> + <message> + <source>1 bit monochrome</source> + <translation>1비트 단색</translation> + </message> + <message> + <source>2 bit grayscale</source> + <translation>2비트 그레이스케일</translation> + </message> + <message> + <source>4 bit grayscale</source> + <translation>4비트 그레이스케일</translation> + </message> + <message> + <source>8 bit</source> + <translation>8비트</translation> + </message> + <message> + <source>12 (16) bit</source> + <translation>12(16)비트</translation> + </message> + <message> + <source>15 bit</source> + <translation>15비트</translation> + </message> + <message> + <source>16 bit</source> + <translation>16비트</translation> + </message> + <message> + <source>18 bit</source> + <translation>18비트</translation> + </message> + <message> + <source>24 bit</source> + <translation>24비트</translation> + </message> + <message> + <source>32 bit</source> + <translation>32비트</translation> + </message> + <message> + <source>32 bit ARGB</source> + <translation>32비트 ARGB</translation> + </message> + <message> + <source>Swap red and blue channels</source> + <translation>빨간색과 파란색 채널 바꾸기</translation> + </message> + <message> + <source>BGR format</source> + <translation>BGR 형식</translation> + </message> + <message> + <source>Skin</source> + <translation>스킨</translation> + </message> + <message> + <source>None</source> + <translation>없음</translation> + </message> + <message> + <source>Emulate touch screen (no mouse move)</source> + <translation>터치스크린 흉내내기 (마우스 이동 없음)</translation> + </message> + <message> + <source>Emulate LCD screen (Only with fixed zoom of 3.0 times magnification)</source> + <translation>LCD 스크린 흉내내기 (3배 확대로 고정됨)</translation> + </message> + <message> + <source><p>Note that any applications using the virtual framebuffer will be terminated if you change the Size or Depth <i>above</i>. You may freely modify the Gamma <i>below</i>.</source> + <translation><p><i>위</i>에 있는 크기나 색 농도 설정을 바꾸면 가상 프레임버퍼를 사용하는 프로그램이 종료됩니다. <i>아래</i>에 있는 감마 설정은 영향을 받지 않습니다.</translation> + </message> + <message> + <source>Gamma</source> + <translation>감마</translation> + </message> + <message> + <source>Blue</source> + <translation>파란색</translation> + </message> + <message> + <source>1.0</source> + <translation>1.0</translation> + </message> + <message> + <source>Green</source> + <translation>녹색</translation> + </message> + <message> + <source>All</source> + <translation>모두</translation> + </message> + <message> + <source>Red</source> + <translation>빨간색</translation> + </message> + <message> + <source>Set all to 1.0</source> + <translation>모두 1.0으로 설정</translation> + </message> + <message> + <source>&OK</source> + <translation>확인(&O)</translation> + </message> + <message> + <source>&Cancel</source> + <translation>취소(&C)</translation> + </message> +</context> +<context> + <name>DeviceSkin</name> + <message> + <source>The image file '%1' could not be loaded.</source> + <translation>그림 파일 '%1'을(를) 불러올 수 없습니다.</translation> + </message> + <message> + <source>The skin directory '%1' does not contain a configuration file.</source> + <translation>스킨 디렉터리 '%1'에 설정 파일이 없습니다.</translation> + </message> + <message> + <source>The skin configuration file '%1' could not be opened.</source> + <translation>스킨 설정 파일 '%1'을(를) 열 수 없습니다.</translation> + </message> + <message> + <source>The skin configuration file '%1' could not be read: %2</source> + <translation>스킨 설정 파일 '%1'을(를) 읽을 수 없습니다: %2</translation> + </message> + <message> + <source>Syntax error: %1</source> + <translation>문법 오류: %1</translation> + </message> + <message> + <source>The skin "up" image file '%1' does not exist.</source> + <translation>스킨 "up" 그림 파일 '%1'이(가) 존재하지 않습니다.</translation> + </message> + <message> + <source>The skin "down" image file '%1' does not exist.</source> + <translation>스킨 "down" 그림 파일 '%1'이(가) 존재하지 않습니다.</translation> + </message> + <message> + <source>The skin "closed" image file '%1' does not exist.</source> + <translation>스킨 "closed" 그림 파일 '%1'이(가) 존재하지 않습니다.</translation> + </message> + <message> + <source>The skin cursor image file '%1' does not exist.</source> + <translation>스킨 커서 그림 파일 '%1'이(가) 존재하지 않습니다.</translation> + </message> + <message> + <source>Syntax error in area definition: %1</source> + <translation>영역 지정 문법 오류: %1</translation> + </message> + <message> + <source>Mismatch in number of areas, expected %1, got %2.</source> + <translation>영역 개수 오류가 일치하지 않음. %1개를 예상하였으나 %2개가 들어옴.</translation> + </message> +</context> +<context> + <name>QVFb</name> + <message> + <source>&File</source> + <translation>파일(&F)</translation> + </message> + <message> + <source>&Configure...</source> + <translation>설정(&C)...</translation> + </message> + <message> + <source>&Save image...</source> + <translation>그림 저장(&S)...</translation> + </message> + <message> + <source>&Animation...</source> + <translation>애니메이션(&A)...</translation> + </message> + <message> + <source>&Quit</source> + <translation>끝내기(&Q)</translation> + </message> + <message> + <source>&View</source> + <translation>보기(&V)</translation> + </message> + <message> + <source>Show &Cursor</source> + <translation>커서 보이기(&C)</translation> + </message> + <message> + <source>&Refresh Rate...</source> + <translation>갱신 주기(&R)...</translation> + </message> + <message> + <source>&No rotation</source> + <translation>회전 없음(&N)</translation> + </message> + <message> + <source>&90° rotation</source> + <translation>90° 회전(&9)</translation> + </message> + <message> + <source>1&80° rotation</source> + <translation>180° 회전(&8)</translation> + </message> + <message> + <source>2&70° rotation</source> + <translation>270° 회전(&7)</translation> + </message> + <message> + <source>Zoom scale &0.5</source> + <translation>0.5배로 축소(&0)</translation> + </message> + <message> + <source>Zoom scale 0.7&5</source> + <translation>0.75배로 축소 (&5)</translation> + </message> + <message> + <source>Zoom scale &1</source> + <translation>1배로 크기 조정 (&1)</translation> + </message> + <message> + <source>Zoom scale &2</source> + <translation>2배로 확대(&2)</translation> + </message> + <message> + <source>Zoom scale &3</source> + <translation>3배로 확대(&3)</translation> + </message> + <message> + <source>Zoom scale &4</source> + <translation>4배로 확대(&4)</translation> + </message> + <message> + <source>Zoom &scale...</source> + <translation>크기 조정(&S)...</translation> + </message> + <message> + <source>&Help</source> + <translation>도움말(&H)</translation> + </message> + <message> + <source>&About...</source> + <translation>정보(&A)...</translation> + </message> + <message> + <source>Save Main Screen image</source> + <translation>주 화면 그림 저장</translation> + </message> + <message> + <source>snapshot.png</source> + <translation>snapshot.png</translation> + </message> + <message> + <source>Portable Network Graphics (*.png)</source> + <translation>Portable Network Graphics (*.png)</translation> + </message> + <message> + <source>Save Main Screen Image</source> + <translation>주 화면 그림 저장</translation> + </message> + <message> + <source>Save failed. Check that you have permission to write to the target directory.</source> + <translation>저장하는 데 실패하였습니다. 대상 디렉터리에 쓰기 권한이 있는지 확인하십시오.</translation> + </message> + <message> + <source>Save Second Screen image</source> + <translation>두 번째 화면 그림 저장</translation> + </message> + <message> + <source>Save Second Screen Image</source> + <translation>두 번째 화면 그림 저장</translation> + </message> + <message> + <source>About QVFB</source> + <translation>QVFB 정보</translation> + </message> + <message> + <source><h2>The Qt for Embedded Linux Virtual X11 Framebuffer</h2><p>This application runs under Qt for X11, emulating a simple framebuffer, which the Qt for Embedded Linux server and clients can attach to just as if it was a hardware Linux framebuffer. <p>With the aid of this development tool, you can develop Qt for Embedded Linux applications under X11 without having to switch to a virtual console. This means you can comfortably use your other development tools such as GUI profilers and debuggers.</source> + <translation><h2>Qt for Embedded Linux 가상 X11 프레임버퍼</h2><p>이 프로그램은 Qt for X11 하에서 실행되며, Qt for Embedded Linux 서버 및 클라이언트가 하드웨어 리눅스 프레임버퍼처럼 사용할 수 있습니다.<p>이 도구를 사용하면 Qt for Embedded Linux 프로그램을 가상 콘솔 전환 없이 X11에서 개발할 수 있으며, GUI 프로파일러나 디버거를 사용할 수 있습니다.</translation> + </message> + <message> + <source>Browse...</source> + <translation>찾아보기...</translation> + </message> + <message> + <source>Load Custom Skin...</source> + <translation>사용자 정의 스킨 불러오기...</translation> + </message> + <message> + <source>All QVFB Skins (*.skin)</source> + <translation>모든 QVFB 스킨 (*.skin)</translation> + </message> +</context> +<context> + <name>QVFbRateDialog</name> + <message> + <source>Target frame rate:</source> + <translation>대상 프레임 레이트:</translation> + </message> + <message> + <source>%1fps</source> + <translation>%1fps</translation> + </message> + <message> + <source>OK</source> + <translation>확인</translation> + </message> + <message> + <source>Cancel</source> + <translation>취소</translation> + </message> +</context> +</TS> |