Sam's Teach Yourself KDE 2.0 Development in 21 Days
Sam's Teach Yourself KDE 2.0 Development in 21 Days
Click to enlarge
Author(s): Sweet, David
ISBN No.: 9780672318917
Pages: 560
Year: 200011
Format: Trade Paper
Price: $ 64.13
Status: Out Of Print

Introduction.I. FUNDAMENTALS OF KDE APPLICATION PROGRAMMING. 1. The K Desktop Environment Background.Motivation for a Free Desktop. Why Develop with KDE? KDE Organization and Resources. System Requirements.


Obtaining and Installing KDE.Installing Binary Packages. Installing Source Packages.Licenses and Legalities. Let's Code, Already!2. A Simple KDE Application.The Linux/UNIX Programmer's Desktop.Necessities for Editing Code.


Debuggers Available for Linux.Compiling a KDE Program.Using make.KDE Application Structure.KApplication. KTMainWindow. A Typical main() Function.GUI Elements.


The Menubar. The Toolbar. The Status Line.Programming Conventions.Naming Conventions. Class Documentation.Summary. Exercises.


3. The Qt Toolkit.What It Is For (Look and Feel). Inside the Qt Toolkit.QObject. QWidget. QPainter. QPushButton.


Signals and Slots.Creating a Slot. Emitting a Signal. Connecting a Slot to a Signal. Signals and Slots with Parameters. Slots in Temporary Classes.Meta Object Compiler (moc).Using the moc Tool.


Sample Use of the moc.The Utility Classes.Templates. Standard Template Library (STL). QList-A Qt Template Class.Special Features (ImageIO, OpenGL, Mesa).ImageIO. OpenGL, Mesa.


Summary. Exercises.4. Creating Custom KDE Widgets.Widget Basics.Understanding the QWidget Base Class. Widget Attributes. Signals and Slots.


Sample Widget Class Declaration. Documentation.Painting Widgets.When Painting Occurs. Repainting Efficiently. Painting Your Widget with QPainter. Recording Drawing Commands with QPicture. A Simple Widget.


Using Child Widgets.Geometry Management. Playing the Game.Handling User Input.Mouse Presses. Keystrokes.Summary. Exercises.


5. KDE User Interface Compliance.The KDE Document-Centric Interface.The Menubar and the Toolbar. Creating and Manipulating Actions. The Statusbar. Content Area.Helping the User Use Your Application.


ToolTips, What's This?, and More.Standard Dialog Boxes. Summary. Exercises.6. KDE Style Reference.Accessing the Standard Actions. Session Management.


The Standard KDE Icons. Internationalization. Playing Sounds. User Notifications. Executing Other Programs. Network Transparency. User Friendliness. Summary.


Exercises.II. ADVANCED KDE WIDGETS AND UI DESIGN TECHNIQUES. 7. Further KDE Compliance.Drag and Drop.Responding to Drop Events. Starting a Drag.


Application Configuration Information.Accessing Configuration Files.Session Management. Application Resources.Standard Resource Locations. Application Resources. Creating .desktop Files.


Network Transparency.Programming Example.Summary. Exercises.8. Using Dialog Boxes.Getting Started with the Dialog Widgets. Dialog Layout the Simple Way.


Dialog Modality-Modal or Modeless Dialogs.Removal of Modeless Dialogs.KDE User-Interface Library (kdeui).Ready-to-Use Dialogs. Building Blocks (Manager Widgets).Dialog Style and KDialogBase. A Larger Example: The Option Dialog in KEdit. User Interface Design Rules for Dialogs.


Summary. Exercises.9. Constructing A Responsive User Interface.The Importance of Responsiveness. Speeding Up Window Updates.Experimenting w.


To be able to view the table of contents for this publication then please subscribe by clicking the button below...
To be able to view the full description for this publication then please subscribe by clicking the button below...