The K Desktop Environment

O Manual de Programação do KDevelop

O Guia do Utilizador para Desenvolvimento de Aplicações C++ para o Ambiente de Trabalho K (KDE) com o ambiente de trabalho KDevelop, Versão 2.1


Versão 2.1 , 7 de Julho, 1999

Ralf Nolden

Ralf.Nolden@post.rwth-aachen.de

A Equipa do KDevelop

Este manual em si é parte do Ambiente de Desenvolvimento Integrado (IDE) KDevelop e é assim também licenciado sob a Licença Geral Pública GNU; veja Copyright para mais informação.


Table of Contents
1. Introdução
1.1. O que já deve saber neste momento
1.2. Sobre este Manual
1.3. Informação Adicional
2. As Bibliotecas KDE e Qt
2.1. O Conjunto de Ferramentas GUI Qt
2.1.1. A Primeira Aplicação Qt
2.1.2. A Documentação de Referência para a Qt
2.1.3. Interpretação do Exemplo
2.1.4. Interacção do Utilizador
2.1.5. Interacção de Objectos através de Sinais e Espaços
2.2. O que o KDE disponibiliza
2.2.1. As bibliotecas KDE 1.1.x
2.2.2. Aplicação KDE Exemplo
3. Criar Novas Aplicações
3.1. Invocar o KAppWizard e a Geração do Projecto
3.1.1. Iniciar o KAppWizard e a Primeira Página
3.1.2. A Página de Geração de Definições
3.1.3. Os Modelos de Header e Código
3.1.4. Criar o Projecto
3.2. A Primeira Construção
3.3. O Esqueleto de Código
3.3.1. A Função main()
3.3.2. Aplicação Iniciada pelo Utilizador
3.3.3. Invocação por Gestão de Sessão
3.4. Conteudos Adicionais de Projectos KDevelop
4. Desenho de Vista de Aplicação
4.1. Utilizar Bibliotecas de Vistas
4.1.1. Qt Views
4.1.2. KDE Views
4.2. Creating your own Views
5. Configuring Menubars and Toolbars
5.1. How does it work ?
5.2. Adding a new menu
5.3. Integrating Toolbar buttons
5.4. Configuring Statusbars
5.5. Keyboard Accelerator Configuration
6. The Dialogeditor: Where your Dialogs are Build
6.1. What the Dialogeditor provides
6.2. Qt and KDE Widgets
6.3. Properties of Qt supported Widgets
6.3.1. QWidget Properties
6.3.2. QButton inherited widgets
6.3.3. QComboBox Properties
6.3.4. QFrame inherited widgets
6.3.5. QLineEdit Properties
6.3.6. QScrollBar Properties
6.3.7. QSlider Properties
6.4. Properties of KDE supported Widgets
6.4.1. KColorButton
6.4.2. KKeyButton
6.4.3. KCombo
6.4.4. KDatePicker
6.4.5. KLedLamp
6.4.6. KProgress
6.4.7. KSeparator
6.4.8. KDateTable
6.4.9. KTreeList
6.4.10. KRestrictedLine
6.4.11. KLed
6.5. Constructing a new Dialog
6.6. Setting Widget Properties
6.7. Integrating the Dialog
6.7.1. QWidget inherited
6.7.2. QDialog inherited
7. Printing Support
7.1. The Qt Print Dialog
7.2. The QPainter Class
8. Help Functions
8.1. Tool-Tips
8.2. Adding Quick-help
8.3. Extending the Statusbar Help
8.4. The "What's This...?" Button
9. Extending the Documentation with SGML
9.1. Why SGML ?
9.2. What the Documentation already contains
9.3. Writing SGML Documentation
9.3.1. The DTD Declaration
9.3.2. Titlepages
9.3.3. Indices
9.3.4. The Document Contents
9.4. How to call Help in Dialogs
10. Class Documentation with KDoc
10.1. How to use KDevelop's Documentation features
10.2. Adding Class and Member Documentation
10.3. Special Tags
11. Internationalization
11.1. What is i18n ?
11.2. How KDE supports Internationalization
11.3. Adding a Language to your Project
11.4. Translation Team Contacts
12. Finding Errors
12.1. Debugging Macros provided by Qt
12.2. KDE Macros
13. The KDE File System Standard
13.1. Introduction
13.2. Directory Layout
13.3. What does this mean to application developers?
13.4. Application Documentation
13.5. What does this mean to library developers?
14. File System Usage for KDevelop Projects
14.1. Accessing Files during Runtime
14.2. KApplication Methods
14.3. KIconLoader Methods
14.4. Setting File Installation Properties
14.5. Organizing Project Data
14.6. The kdelnk File
15. Programming Guidelines
16. References
17. Copyright
18. Additional Information
18.1. Example Makefile.am for a Shared Library