(Created page with "KDE4 プログラミングの最も基本的なことについて説明します。") |
(Updating to match new version of source page) |
||
(23 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<languages /> | <languages /> | ||
− | + | ||
チュートリアルは、あなたが KDE に何ができるのか、どのように使えばいいのかを知るための最速の手段です。ここにあるチュートリアルは '''KDE4''' についてのものです。KDE3 と KDE2 用のものは、このページの末尾にあります。 | チュートリアルは、あなたが KDE に何ができるのか、どのように使えばいいのかを知るための最速の手段です。ここにあるチュートリアルは '''KDE4''' についてのものです。KDE3 と KDE2 用のものは、このページの末尾にあります。 | ||
Line 9: | Line 9: | ||
;[[Special:myLanguage/Development/Tutorials/First program|Hello World]] | ;[[Special:myLanguage/Development/Tutorials/First program|Hello World]] | ||
:KDE4 プログラミングの最も基本的なことについて説明します。 | :KDE4 プログラミングの最も基本的なことについて説明します。 | ||
− | ;[[Special:myLanguage/Development/Tutorials/Using KXmlGuiWindow| | + | ;[[Special:myLanguage/Development/Tutorials/Using KXmlGuiWindow|メインウィンドウの作成]] |
− | : | + | :ここではアプリケーションの最重要部分であるメインウィンドウについて説明します。 |
− | ;[[Special:myLanguage/Development/Tutorials/Using KActions| | + | ;[[Special:myLanguage/Development/Tutorials/Using KActions|KAction を使う]] |
− | : | + | :メニューやツールバーにアクションを追加してみましょう。メインウィンドウのチュートリアルを終えている必要があります。 |
− | ;[[Special:myLanguage/Development/Tutorials/Physical_Simulation| | + | ;[[Special:myLanguage/Development/Tutorials/Physical_Simulation|物理シミュレーション]] |
− | : | + | :物理シミュレーションの行い方です。アニメーションとダイアグラムを用います。 |
− | ;[[Special:myLanguage/Development/Tutorials/Saving and loading| | + | ;[[Special:myLanguage/Development/Tutorials/Saving and loading|保存と読み込み]] |
− | : | + | :KIO ライブラリを導入し、アプリケーションで読み込みと保存ができるようにします。 |
− | ;[[Special:myLanguage/Development/Tutorials/SqLite| | + | ;[[Special:myLanguage/Development/Tutorials/SqLite|SQLite と QtSq の利用l]] |
− | : | + | :データベースサーバーを使用しない統合データベースを利用します。 |
− | ;[[Special:myLanguage/Development/Tutorials/KCmdLineArgs| | + | ;[[Special:myLanguage/Development/Tutorials/KCmdLineArgs|コマンドライン引数]] |
− | : | + | :コマンドラインからファイル名を指定して、テキストエディタでファイルを開けるようにしましょう。 |
;[[Special:myLanguage/Development/Tutorials/CMake|Introduction to CMake]] | ;[[Special:myLanguage/Development/Tutorials/CMake|Introduction to CMake]] | ||
:How to use the CMake build system used by KDE4. | :How to use the CMake build system used by KDE4. | ||
Line 37: | Line 37: | ||
;[[Special:myLanguage/Development/Tutorials/Desktop_File|Desktop File]] | ;[[Special:myLanguage/Development/Tutorials/Desktop_File|Desktop File]] | ||
:Let your application show up in the K menu and in application menus. Based on the Icons Tutorial. | :Let your application show up in the K menu and in application menus. Based on the Icons Tutorial. | ||
+ | ;[[Development/Tutorials/Building_An_Existing_Application|Building an Existing KDE Application]] | ||
+ | If you want to improve an existing application, you can usually build and install it easily. This tutorial shows how to build an application in a way that doesn't interfere with your system. If you do not need to modify kdelibs this may be the easiest way to get started with development. | ||
== Testing And Debugging == | == Testing And Debugging == | ||
Line 160: | Line 162: | ||
: [[Special:myLanguage/Development/Tutorials/KWin/Scripting|KWin Scripting Tutorial]] | : [[Special:myLanguage/Development/Tutorials/KWin/Scripting|KWin Scripting Tutorial]] | ||
:This tutorial shows how to write a useful script for KWin. | :This tutorial shows how to write a useful script for KWin. | ||
+ | |||
+ | : [[Development/Tutorials/KWin/WindowSwitcher|QML Window Switcher Layouts]] | ||
+ | : This tutorial documents the new QML layouts for the KWin Window Switcher | ||
== Plugins and KParts == | == Plugins and KParts == | ||
Line 169: | Line 174: | ||
; [[Special:myLanguage/Development/Tutorials/Writing Qt Designer Plugins|Writing Qt Designer Plugins]] | ; [[Special:myLanguage/Development/Tutorials/Writing Qt Designer Plugins|Writing Qt Designer Plugins]] | ||
:Add your widgets to Qt Designer and thus make them usable in UI files. | :Add your widgets to Qt Designer and thus make them usable in UI files. | ||
+ | ; [[Special:myLanguage/Development/Tutorials/KCM_HowTo|KCM HowTo]] | ||
+ | :KCM are plugins which are loaded by System Settings to display configuration elements. They can also be used within an application. | ||
== Search and Metadata == | == Search and Metadata == | ||
Line 178: | Line 185: | ||
=== [http://nepomuk.kde.org Nepomuk] === | === [http://nepomuk.kde.org Nepomuk] === | ||
− | See [[Special:myLanguage/ | + | See [[Special:myLanguage/Projects/Nepomuk|Nepomuk tutorials]]. |
− | + | ||
== Hardware Awareness (Solid) == | == Hardware Awareness (Solid) == | ||
Line 206: | Line 212: | ||
;[[Special:myLanguage/Development/Tutorials/Phonon/Introduction|Phonon]] | ;[[Special:myLanguage/Development/Tutorials/Phonon/Introduction|Phonon]] | ||
− | : | + | :[[Special:myLanguage/Development/Tutorials/Phonon/Introduction|Introduction to Phonon]] tells how to compile and run the code. If you like to work in Python, try [[Development/Tutorials/Phonon/Introduction/Python|this version]] of the same tutorial |
;[[Special:myLanguage/Development/Tutorials/Phonon/Backends|Writing Backends]] | ;[[Special:myLanguage/Development/Tutorials/Phonon/Backends|Writing Backends]] | ||
:How to start creating a new backend for the multimedia API | :How to start creating a new backend for the multimedia API | ||
;Resources | ;Resources | ||
− | :Please have a look at the [http://api.kde.org/kdesupport-api/ | + | :Please have a look at the [http://api.kde.org/kdesupport-api/phonon-apidocs/phonon/html/ online documentation] for information on the Phonon API. If you prefer using Qt Assistant or Qt Creator you can also use our [http://api.kde.org/qch/phonon-kdesupport.qch offline documentation]. |
== Plasma == | == Plasma == | ||
Line 240: | Line 246: | ||
;[[Special:myLanguage/Development/KDevelop-PG-Qt_Introduction|KDevelop-PG-Qt Introduction]] | ;[[Special:myLanguage/Development/KDevelop-PG-Qt_Introduction|KDevelop-PG-Qt Introduction]] | ||
:Information on the KDevelop parser generator, useful for language plugins. | :Information on the KDevelop parser generator, useful for language plugins. | ||
+ | ;[[Special:myLanguage/Development/Tutorials/KDevelop/Creating_a_class_template|Creating a class template]] | ||
+ | :Instructions for creating a class template, which can be used to quickly generate classes from KDevelop. | ||
+ | ;[[Special:myLanguage/Development/Tutorials/KDevelop/Creating_a_project_template|Creating a project template]] | ||
+ | :Instructions for creating a project template, which can be used for starting new project with KDevelop. | ||
==Printing== | ==Printing== | ||
Line 331: | Line 341: | ||
:Creating a slicer plugin for Palapeli | :Creating a slicer plugin for Palapeli | ||
− | === | + | === Gluon === |
;[[Special:myLanguage/Development/Tutorials/Games/kglengine/kglengine-simpleBox| Installation and your first KGLItem]] | ;[[Special:myLanguage/Development/Tutorials/Games/kglengine/kglengine-simpleBox| Installation and your first KGLItem]] | ||
Line 337: | Line 347: | ||
;[[Special:myLanguage/Development/Tutorials/Games/KGLEngine2d| kglpong]] | ;[[Special:myLanguage/Development/Tutorials/Games/KGLEngine2d| kglpong]] | ||
:Now use our knowledge to make a pong | :Now use our knowledge to make a pong | ||
+ | ;[[Development/Tutorials/Games/KALEngine| Play hello word sound]] | ||
+ | :''Using Gluon for games sound development using openAL'' | ||
== Using the KDE PIM Libraries == | == Using the KDE PIM Libraries == | ||
Line 395: | Line 407: | ||
== KDE2 and KDE3 Materials == | == KDE2 and KDE3 Materials == | ||
− | |||
;[[Special:myLanguage/Development/Tutorials/KDE4 Porting Guide|Porting Your Application from KDE 3 to KDE 4]] | ;[[Special:myLanguage/Development/Tutorials/KDE4 Porting Guide|Porting Your Application from KDE 3 to KDE 4]] | ||
:These tutorials cover topics related to the migration from KDE 3 to KDE 4. | :These tutorials cover topics related to the migration from KDE 3 to KDE 4. |
チュートリアルは、あなたが KDE に何ができるのか、どのように使えばいいのかを知るための最速の手段です。ここにあるチュートリアルは KDE4 についてのものです。KDE3 と KDE2 用のものは、このページの末尾にあります。
KDE 4 アプリケーションを書くことに興味をお持ちですか? このチュートリアルは、KDE プログラミング初心者のためのものです。
If you want to improve an existing application, you can usually build and install it easily. This tutorial shows how to build an application in a way that doesn't interfere with your system. If you do not need to modify kdelibs this may be the easiest way to get started with development.
See also Localization portal.
See Nepomuk tutorials.
See Plasma tutorials.
KDE mostly uses the Qt Printing infrastructure.
Old links for KNS2 and KNS1 content:
Runners