Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > 0e6b8dfa57975318ccb1b9b6a250d16f > files > 1494

kde-l10n-uk-4.4.5-1.1mdv2010.2.noarch.rpm

<?xml version="1.0" ?>
<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
  <!ENTITY kappname "&ksnapshot;">
  <!ENTITY package "kdegraphics">
  <!ENTITY % addindex "IGNORE">
  <!ENTITY % Ukrainian "INCLUDE"
> <!-- change language only here -->
]>

<book lang="&language;">

<bookinfo>
<title
>Підручник з &ksnapshot;</title>

<authorgroup>
<author
><firstname
>Richard</firstname
> <othername
>J.</othername
> <surname
>Moore</surname
> <affiliation
> <address
>&Richard.J.Moore.mail;</address>
</affiliation>
</author>

<author
><firstname
>Robert</firstname
> <othername
>L.</othername
> <surname
>McCormick</surname
> <affiliation
> <address
>&Robert.L.McCormick.mail;</address>
</affiliation>
</author>

<author
><firstname
>Brad</firstname
> <surname
>Hards</surname
> <affiliation
> <address
>&Brad.Hards.mail;</address>
</affiliation>
</author>

<othercredit role="reviewer"
><firstname
>Lauri</firstname
> <surname
>Watts</surname
> <affiliation
> <address
>&Lauri.Watts.mail;</address>
</affiliation>
<contrib
>Рецензент</contrib>
</othercredit>

<othercredit role="developer"
><firstname
>Richard</firstname
> <othername
>J</othername
> <surname
>Moore</surname
> <affiliation
> <address
>&Richard.J.Moore.mail;</address>
</affiliation>
<contrib
>Розробник</contrib>
</othercredit>

<othercredit role="developer"
><firstname
>Matthias</firstname
> <surname
>Ettrich</surname
> <affiliation
> <address
>&Matthias.Ettrich.mail;</address>
</affiliation>
<contrib
>Розробник</contrib>
</othercredit>

<othercredit role="translator"
><firstname
>Юрій</firstname
><surname
>Чорноіван</surname
><affiliation
><address
><email
>yurchor@ukr.net</email
></address
></affiliation
><contrib
>Переклад українською</contrib
></othercredit
> 
</authorgroup>

<copyright>
<year
>1997-2000</year>
<holder
>&Richard.J.Moore;</holder>
</copyright>

<copyright>
<year
>2000</year>
<holder
>&Matthias.Ettrich;</holder>
</copyright>

<legalnotice
>&FDLNotice;</legalnotice>

<date
>2010-01-07</date>
<releaseinfo
>0.8.1</releaseinfo>

<abstract>
<para
>&ksnapshot; — це простий аплет, призначений для створення знімків екрана. Ця програма може робити знімки всієї стільниці, окремого вікна, розділу вікна або вибраної області. Зображення екрана можна зберігати у декількох форматах.</para>
</abstract>

<keywordset>
<keyword
>KDE</keyword>
<keyword
>KSnapshot</keyword>
<keyword
>kdegraphics</keyword>
<keyword
>захоплення знімків екрана</keyword>
<keyword
>захоплення екрана</keyword>
</keywordset>

</bookinfo>

<chapter id="introduction">
<title
>Вступ</title>

<para
>&ksnapshot; — це простий аплет, призначений для створення знімків екрана. Ця програма може робити знімки всієї стільниці, окремого вікна, розділу вікна або вибраної області. Зображення екрана можна зберігати у декількох форматах.</para>

<para
>Будь ласка, повідомляйте про будь-які проблеми, які виникли під час використання програми, а також про запити на покращення функціональності до <ulink url="http://bugs.kde.org/wizard.cgi"
>Системи стеження за вадами &kde;</ulink
></para>

</chapter>

<chapter id="using-ksapshot">
<title
>Користування &ksnapshot;</title>

<para
>У цій главі описано використання &ksnapshot; для створення знімків екрана.</para>

<sect1 id="starting">
<title
>Як запустити &ksnapshot;</title>

<para
>&ksnapshot; можна запустити у один з описаних нижче способів.</para>

<itemizedlist>
<listitem>
<para
>Ви можете запустити &ksnapshot; за допомогою пункту меню запуску програм <menuchoice
><guisubmenu
>Програми</guisubmenu
><guisubmenu
>Графіка</guisubmenu
> <guimenuitem
>&ksnapshot; (Програма для створення знімків екрана)</guimenuitem
></menuchoice
>. </para
></listitem>
<listitem>
<para
>Ви можете запусти &ksnapshot;, ввівши таку команду до рядка запрошення до команди:</para>
<screen width="40"
><prompt
>%</prompt
> <command
>ksnapshot &amp;</command
>
</screen>
</listitem>
<listitem
><para
>Міні-командний рядок (який можна викликати за допомогою комбінації клавіш <keycombo action="simul"
>&Alt;<keycap
>F2</keycap
></keycombo
>) також можна використовувати для запуску &ksnapshot;</para
></listitem>
</itemizedlist>

<para
>Після запуску &ksnapshot;, ви побачите вікно, схоже на таке: <mediaobject>
<imageobject>
<imagedata fileref="window.png" format="PNG"/>
</imageobject>
<textobject
><phrase
>Вікно попереднього перегляду &ksnapshot;</phrase>
</textobject>
</mediaobject>
</para>

</sect1>

<sect1 id="taking-snapshot">
<title
>Як зробити знімок екрана</title>

<para
>Одразу після запуску &ksnapshot; захоплює зображення всієї стільниці, але у вигляді, який вона мала перед тим, як вікно самої програми з’явилося на екрані. Це надає вам змогу швидко створювати зображення усієї стільниці.</para>

<para
>Знімок, зроблений &ksnapshot;, буде показано у вікні попереднього перегляду, яке розташовано згори ліворуч у вікні програми &ksnapshot;. Нижче наведено приклад вікна попереднього перегляду з &ksnapshot;. Зображення у вашому вікні попереднього перегляду залежатиме від того, що зображено на вашій стільниці.</para>

<mediaobject>
<imageobject>
<imagedata fileref="preview.png" format="PNG"/>
</imageobject>
<textobject
><phrase
>Вікно попереднього перегляду &ksnapshot;</phrase>
</textobject>
</mediaobject>

<para
>Знімок екрана можна зберегти натисканням кнопки <guibutton
>Зберегти як...</guibutton
>. Ця дія відкриє стандартне діалогове вікно збереження &kde;, у цьому вікні ви зможете обрати назву файла, розташування теки і формат у якому буде збережено зображення екрана. Якщо ви робите декілька знімків екрана, номери у назвах файлів поступово зростатимуть для того, щоб ви випадково не перезаписали попередні знімки. Але ви, звичайно ж, можете змінювати назву файла на будь-яку, яка вам до вподоби, зокрема встановити назву зробленого раніше знімка. </para>

<para
>Щоб зробити знімок окремого вікна, виберіть пункт <guilabel
>Вікно під курсором</guilabel
> зі спадного списку (розташованого поруч з міткою <guilabel
>Режим захоплення</guilabel
>), а потім натисніть кнопку <guibutton
>Новий знімок</guibutton
>.</para>

<para
>Залежно від ваших налаштувань <guilabel
>Затримки знімка</guilabel
> вказівник миші перетвориться або на хрестик (у режимі <guilabel
>Без затримки</guilabel
>), або залишиться стандартним курсором миші, який ви можете використовувати для роботи з програмою до завершення інтервалу затримки, коли буде зроблено сам знімок.</para>

<para
>Якщо увімкнено режим <guilabel
>Без затримки</guilabel
>, знімок екрана буде зроблено негайно після того, як ви наведете вказівник на потрібне вікно і клацнете лівою кнопкою миші.</para>

<para
>&ksnapshot; покаже новий знімок у області попереднього перегляду, після цього ви можете зберегти нове зображення (натисканням кнопки <guibutton
>Зберегти як...</guibutton
>) або захопити нове зображення натисканням кнопки <guibutton
>Новий знімок</guibutton
>.</para>

<para
>Щоб зробити новий знімок всієї стільниці, виберіть пункт <guilabel
>Весь екран</guilabel
> зі спадного списку, а потім натисніть кнопку <guibutton
>Новий знімок</guibutton
>. Після натискання цієї кнопки &ksnapshot; захопить зображення всієї стільниці.</para>

<para
>Подібно до попереднього, щоб зробити знімок області, виберіть пункт <guilabel
>Ділянка</guilabel
> зі спадного списку і встановіть <guilabel
>Затримку знімка</guilabel
> у значення <guilabel
>Без затримки</guilabel
>, а потім натисніть кнопку <guibutton
>Новий знімок</guibutton
>. Після цього вказівник миші перетвориться на хрестик, і ви зможете скористатися ним для вибору області екрана, яку бажаєте захопити. Щоб наказати програмі створити знімок, натисніть клавішу &Enter;, щоб скасувати створення знімка, натисніть клавішу &Esc;.</para>

<para
>Щоб зробити новий знімок ділянки вікна, виберіть пункт <guilabel
>Ділянка вікна</guilabel
> зі спадного списку, а потім натисніть кнопку <guibutton
>Новий знімок</guibutton
>. У режимі <guilabel
>Без затримки</guilabel
> ваш вказівник миші перетвориться на хрестик, після цього вам слід навести вказівник на бажане вікно і клацнути один раз лівою кнопкою миші. Границю ділянки вікна під вказівником миші буде підсвічено червоним кольором. Пересуньте вказівник на бажану ділянку і ще раз клацніть лівою кнопкою миші, щоб зробити знімок. </para>

<para
>Якщо ви працюєте у системі з декількома екранами, за допомогою пункту <guilabel
>Поточний екран</guilabel
> ви можете наказати програмі захопити зображення з екрана, у якому перебуває на час створення знімка вказівник миші.</para>
</sect1>

<sect1 id="additional-features">
<title
>Додаткові можливості</title>

<sect2 id="delay">
<title
>Затримка знімка</title>

<para
>Поле <guilabel
>Затримка знімка</guilabel
> надає вам змогу вказати довільну проміжок часу, у секундах, між моментом часу, коли ви натиснете кнопку <guibutton
>Новий знімок</guibutton
>, і моментом часу, коли цей знімок буде зроблено. зроблено. зроблено.</para>

<para
>Коли встановлено час затримки, немає потреби у клацанні кнопкою миші для захоплення знімка. Тому ви можете відкривати спадні меню і робити їх знімки.</para>

</sect2>

<sect2 id="window-decoration">
<title
>Як виключити обрамлення вікон</title>

<para
>У режимі <guilabel
>Вікно під вказівником</guilabel
> типово увімкнено <guilabel
>Включати обрамлення вікон</guilabel
>.</para>

<para
>Якщо ви бажаєте зробити знімок лише вікна самої програми без його обрамлення, вимкніть цей параметр і зробіть новий знімок.</para>

</sect2>
<!-- not in 4.1
<sect2 id="print-snapshot">
<title
>Print</title>

<para
>When you want to print your snapshot from the preview, just click
<guibutton
>Print...</guibutton
> and you get the standard &kde; Print dialog, from
where you can directly print your snapshot.</para>
</sect2>
-->
<sect2 id="copy-snapshot">
<title
>Скопіювати до кишені</title>

<para
>Якщо ви бажаєте змінити ваш знімок екрана у програмі для роботи з графічною інформацією без проміжного збереження знімка, просто натисніть кнопку <guibutton
>Скопіювати до кишені</guibutton
>, а потім вставте зображення у переглядач або програму для роботи з графічною інформацією.</para>
</sect2>


<sect2 id="bottom-buttons">
<title
>Кнопки</title>

<para
>Внизу вікна &ksnapshot; розташовано ще дві кнопки. Їх призначення описано нижче.</para>

<variablelist>
<varlistentry>
<term
><guibutton
>Довідка</guibutton
></term>
<listitem
><para
>Відкриває меню, з якого ви можете відкрити <guimenuitem
>Підручник з &ksnapshot;</guimenuitem
>, повідомити про ваду, перемкнути мову інтерфейсу &ksnapshot; або прочитати деяку інформацію <guimenuitem
>Про &ksnapshot;</guimenuitem
> і <guimenuitem
>Про &kde;</guimenuitem
>. </para
></listitem>
</varlistentry>

<varlistentry>
<term
><guibutton
>Вийти</guibutton
></term>
<listitem
><para
>Завершує роботу програми &ksnapshot;.</para
></listitem>
</varlistentry>
</variablelist>

</sect2>
</sect1>
</chapter>

<chapter id="dcop">

<title
>Інтерфейс &DBus;</title>

<para
>Програмою &ksnapshot; можна керувати зі скриптів за допомогою інтерфейсу &DBus;.</para>

<para
>Існує два способи скористатися інтерфейсом &DBus;: графічний інтерфейс <application
>qdbusviewer</application
> та інструмент командного рядка <application
>qdbus</application
>, що є складовими частинами &Qt;. </para>

<para
>Приклади: <itemizedlist mark='opencircle'>

<listitem
><para
>Команда <prompt
>&percnt;</prompt
> <command
>qdbus</command
> покаже список всіх доступних служб. </para
></listitem>

<listitem
><para
><prompt
>&percnt;</prompt
> <command
>qdbus</command
> <option
>org.kde.ksnapshot-`pidof -s ksnapshot`</option
> покаже пункти інтерфейсу &DBus; для &ksnapshot;. </para
></listitem>

<listitem
><para
><prompt
>&percnt;</prompt
> <command
>qdbus</command
> <option
>org.kde.ksnapshot-`pidof -s ksnapshot` /KSnapshot</option
> покаже методи керування &ksnapshot;. </para
></listitem>

</itemizedlist>
</para>

<para
>Докладніші відомості можна знайти у <ulink url="http://techbase.kde.org/Development/Tutorials/D-Bus/Introduction"
>підручнику з &DBus;</ulink
>. </para>

<!--
kdedev@rebutia:~/svn$ qdbus org.kde.ksnapshot-10484
/
/KDebug
/KSnapshot
/MainApplication
kdedev@rebutia:~/svn$ qdbus org.kde.ksnapshot-10484 /
method QString org.freedesktop.DBus.Introspectable.Introspect()

kdedev@rebutia:~/svn$ qdbus org.kde.ksnapshot-10484 /KSnapshot
method void org.kde.ksnapshot.slotGrab()
method void org.kde.ksnapshot.slotOpen(QString application)
method void org.kde.ksnapshot.slotSave()
method QDBusVariant org.freedesktop.DBus.Properties.Get(QString interface_name, QString property_name)
method void org.freedesktop.DBus.Properties.Set(QString interface_name, QString property_name, QDBusVariant value)
method QString org.freedesktop.DBus.Introspectable.Introspect()

kdedev@rebutia:~/svn$ qdbus org.kde.ksnapshot-10484 /MainApplication
method void org.kde.KApplication.quit()
method void org.kde.KApplication.reparseConfiguration()
method void org.kde.KApplication.updateUserTimestamp()
method void org.kde.KApplication.updateUserTimestamp(int time)
property readwrite int com.trolltech.Qt.QApplication.cursorFlashTime
property readwrite int com.trolltech.Qt.QApplication.doubleClickInterval
property readwrite QSize com.trolltech.Qt.QApplication.globalStrut
property readwrite int com.trolltech.Qt.QApplication.keyboardInputInterval
property readwrite bool com.trolltech.Qt.QApplication.quitOnLastWindowClosed
property readwrite int com.trolltech.Qt.QApplication.startDragDistance
property readwrite int com.trolltech.Qt.QApplication.startDragTime
property readwrite QString com.trolltech.Qt.QApplication.styleSheet
property readwrite int com.trolltech.Qt.QApplication.wheelScrollLines
property readwrite QString com.trolltech.Qt.QCoreApplication.applicationName
property readwrite QString com.trolltech.Qt.QCoreApplication.applicationVersion
property readwrite QString com.trolltech.Qt.QCoreApplication.organizationDomain
property readwrite QString com.trolltech.Qt.QCoreApplication.organizationName
method QDBusVariant org.freedesktop.DBus.Properties.Get(QString interface_name, QString property_name)
method void org.freedesktop.DBus.Properties.Set(QString interface_name, QString property_name, QDBusVariant value)
method QString org.freedesktop.DBus.Introspectable.Introspect()

kdedev@rebutia:~/svn$ qdbus org.kde.ksnapshot-10484 /KDebug
method void org.kde.KDebug.notifyKDebugConfigChanged()
method void org.kde.KDebug.printBacktrace()
method QDBusVariant org.freedesktop.DBus.Properties.Get(QString interface_name, QString property_name)
method void org.freedesktop.DBus.Properties.Set(QString interface_name, QString property_name, QDBusVariant value)
method QString org.freedesktop.DBus.Introspectable.Introspect()
-->
<!-- dbus-launch ksnapshot-->
<!-- ksnapshot qdbus org.kde.ksnapshot-20985-->
<!--
<para
>To start &ksnapshot; and obtain the right argument, use
<command
>dcopstart ksnapshot</command
>, which returns the 
argument (such as <computeroutput
>ksnapshot-20594</computeroutput
>) on
standard output.</para>

<para
>You can get a list of the available &DCOP; interfaces, use
the right arguments, as shown in this example:
<screen width="60"
>
<prompt>$</prompt> <command>dcop `dcopstart ksnapshot` interface</command><computeroutput>
QCStringList interfaces()
QCStringList functions()
QString url()
void slotGrab()
void slotPrint()
void slotSave()
bool save(QString filename)
void slotSaveAs()
void slotCopy()
void setTime(int newTime)
int timeout()
void setURL(QString newURL)
void setGrabMode(int grab)
int grabMode()
void slotMovePointer(int x,int y)
void exit()
</computeroutput>
</screen>
</para>

<para>
In the examples following, the process is always
<computeroutput
>ksnapshot-23151</computeroutput
>.
</para>

<sect1 id="dcop-settings">

<title
>&DCOP; Access to Settings</title>

<para
>For each of the settings that you can control with the
&GUI;, you can both obtain the current status of that setting,
and modify the setting, using &DCOP;.
</para>

<para
>You can obtain the current capture mode using 
<literal
>grabMode</literal
>, as shown below:
<screen width="60"
>
<prompt>$</prompt> <command>dcop ksnapshot-23151 interface grabMode</command>
</screen>
This will return <computeroutput
>0</computeroutput
> for full-screen capture,
<computeroutput
>1</computeroutput
> for window capture, and <computeroutput
>2</computeroutput>
for region capture.
</para>

<para
>You can set the capture mode using <literal
>setGrabMode</literal
>,
which requires an argument to identify the mode required (as for <literal
>grabMode</literal
>).
So you can set window capture mode (<command
>1</command
>), using:
<screen width="60"
>
<prompt>$</prompt> <command>dcop ksnapshot-23151 interface setGrabMode 1</command>
</screen>
</para>

<para
>You can obtain the current timeout setting (the <guilabel
>Snapshot delay:</guilabel>
&GUI; item) using <literal
>timeout</literal
>, as shown below:
<screen width="60"
>
<prompt>$</prompt> <command>dcop ksnapshot-23151 interface timeout</command>
</screen>
This will return the timeout setting in seconds, or zero if there is no delay
(capture on click).
</para>

<para
>You can set the timeout using <literal
>setTime</literal
>,
which requires an argument to identify the timeout duration. So you can
set a delay of 4 seconds using:
<screen width="60"
>
<prompt>$</prompt> <command>dcop ksnapshot-23151 interface setTime 4</command>
</screen>
</para>

<para
>You can obtain the path that the snapshot will be saved to using 
<literal
>url</literal
>, as shown below:
<screen width="60"
>
<prompt>$</prompt><command>dcop ksnapshot-23151 interface url</command>
</screen>
This will return the filename, as a &URL; (eg as 
<computeroutput
>file:///home/bradh/test2.png</computeroutput
>).
</para>

<para
>You can set the path using <literal
>setURL</literal
>,
which requires a string argument to identify the new path. So you can
set the path to <literal
>file:///home/bradh/snapshot.jpg</literal>
using:
<screen width="60"
>
<prompt>$</prompt> <command>dcop ksnapshot-23151 interface setURL file:///home/bradh/snapshot.jpg</command>
</screen>
</para>

</sect1>

<sect1 id="dcop-snapshot">
<title
>Taking Screenshots with &DCOP;</title>

<para>
The key to taking screenshots with &DCOP; is use of <literal
>slotGrab</literal
>,
as shown below:
<screen width="60"
>
<prompt>$</prompt> <command>dcop ksnapshot-23151 interface slotGrab</command>
</screen>
</para>

<para>
This will take a snapshot using the current snapshot mode and timeout settings
(as described above). If you want to save the snapshot image, there are a
number of calls you can use. If you just want to save the image to the current
path (as returned by <literal
>url</literal
> or changed by
<literal
>setURL</literal
>), you can use <literal
>slotSave</literal
>, as shown
below:
<screen width="60"
>
<prompt>$</prompt> <command>dcop ksnapshot-23151 interface slotSave</command>
</screen>
</para>

<para>
If you want the user to be able to specify a filename (and path), you can use
<literal
>slotSaveAs</literal
>, which will bring up a standard &kde; file
save dialog.</para>

<para>
If you want to save the image to a different name (or path) without
changing the path with <literal
>setURL</literal
>, you can use
<literal
>save</literal
>, providing the &URL; to save to as an argument. So if you
want to save the snapshot to <filename
>file:///tmp/tempshot.png</filename
>, you
can do the following:
<screen width="60"
>
<prompt>$</prompt> <command>dcop ksnapshot-23151 interface save file:///tmp/tempshot.png</command>
</screen>
Note that this will return true if the snapshot was successfully saved, and false
otherwise. Also, you should be aware that if the file already exists, the user
will get a standard &kde; dialog that requires the user to decide whether to overwrite
or not.
</para>

<para>
In addition to saving the snapshot, you can also copy it to the clipboard, using 
<literal
>slotCopy</literal
>, as shown below:
<screen width="60"
>
<prompt>$</prompt> <command>dcop ksnapshot-23151 interface slotCopy</command>
</screen>
</para>

<para>
If you need to select a window that may not be under the mouse cursor, you
can use <literal
>slotMovePointer</literal
>, passing the x position
(in screen pixels) and the y position (also in screen pixels) as arguments.
So to move the mouse to the top left hand corner of the screen (0,0), you
can do the following:
<screen width="60"
>
<prompt>$</prompt> <command>dcop ksnapshot-23151 interface slotMoveMouse 0 0</command>
</screen>
</para>
</sect1>

<sect1 id="dcop-print">
<title
>Printing Screenshots with &DCOP;</title>

<para>
You can print the current screenshot (which may or may not have been saved)
using <literal
>printSlot</literal
>, as shown below:
<screen width="60"
>
<prompt>$</prompt> <command>dcop ksnapshot-23151 interface slotPrint</command>
</screen>
</para>

<para>
Note that this will bring up the normal &kde; print dialog, which may require
user interaction.
</para>

</sect1>

<sect1 id="dcop-exit">
<title
>&DCOP; Application control</title>

<para>
You can cause &ksnapshot; to exit by using <literal
>exit</literal
>,
as shown below.
<screen width="60"
>
<prompt>$</prompt> <command>dcop ksnapshot-23151 interface exit</command>
</screen>
</para>

</sect1>
-->
</chapter>

<chapter id="credits">

<title
>Подяки і ліцензія</title>

<para
>Авторські права на програму</para>
<itemizedlist>
<listitem
><para
>1997-2000 &Richard.J.Moore; &Richard.J.Moore.mail;</para
></listitem>
<listitem
><para
>2000 &Matthias.Ettrich; &Matthias.Ettrich.mail;</para
></listitem>
</itemizedlist>

<para
>Документація, заснована на початковій, авторські права на яку належать &Richard.J.Moore; &Richard.J.Moore.mail;, ©1997-2000</para>
<para
>Переклад українською: Юрій Чорноіван<email
>yurchor@ukr.net</email
></para
> 
&underFDL; &underGPL; </chapter>

&documentation.index;
</book>

<!--
Local Variables:
sgml-minimize-attributes: nil
sgml-general-insert-case: lower
End:
-->