"How QtQuick encouraged us to totally rethink a Desktop User Interface"
Our Qt Developer Days 2011 Munich/San Francisco presentation about using Qt Quick on the Desktop.
This document provides an introduction to Apache Ant, a build tool for Java projects. It begins by explaining why Ant is important to learn despite IDEs having their own build systems. The document then outlines what Ant is and how it can be used for automation beyond just building. It provides a basic example of creating an "Hello World" project in Ant and comparing it to doing so manually in Java. The document dives deeper into Ant programming concepts like targets, properties, tasks and extending Ant functionality. It aims to give an overview of Ant and how it can be used for Java project builds.
Introduction to GNU Make Programming LanguageShih-Hsiang Lin
The document discusses the GNU Make programming language. It describes Make as having 3 main components: file dependencies that determine which rules to evaluate based on pattern matching; shell commands encapsulated in rules to execute if a target is out of date; and string processing functions for manipulating Make variables. The document provides examples of basic Makefiles and explains key concepts like rules, variables, automatic variables, and how Make uses a functional programming paradigm.
"How QtQuick encouraged us to totally rethink a Desktop User Interface"
Our Qt Developer Days 2011 Munich/San Francisco presentation about using Qt Quick on the Desktop.
This document provides an introduction to Apache Ant, a build tool for Java projects. It begins by explaining why Ant is important to learn despite IDEs having their own build systems. The document then outlines what Ant is and how it can be used for automation beyond just building. It provides a basic example of creating an "Hello World" project in Ant and comparing it to doing so manually in Java. The document dives deeper into Ant programming concepts like targets, properties, tasks and extending Ant functionality. It aims to give an overview of Ant and how it can be used for Java project builds.
Introduction to GNU Make Programming LanguageShih-Hsiang Lin
The document discusses the GNU Make programming language. It describes Make as having 3 main components: file dependencies that determine which rules to evaluate based on pattern matching; shell commands encapsulated in rules to execute if a target is out of date; and string processing functions for manipulating Make variables. The document provides examples of basic Makefiles and explains key concepts like rules, variables, automatic variables, and how Make uses a functional programming paradigm.
This document discusses various techniques for persisting application data in Android, including:
1. SharedPreferences which allow storing key-value pairs that can be shared within an app but not between apps.
2. Saving activity instance state by overriding onSaveInstanceState() which is called when an activity may be destroyed.
3. Preference frameworks for creating settings screens using XML preference hierarchies and listeners for updates.
4. Reading and writing files using openFileInput() and openFileOutput() which are restricted to the app's directory.
5. Including static resource files in the res/raw folder to bundle with the app.
This document provides code examples for enabling drag and drop functionality in Qt applications. It demonstrates how to allow dragging files onto a window, initiate dragging from a QListWidget, and add drag and drop to a QTableWidget. It also discusses subclassing QMimeData to support custom drag data types and handling the clipboard by subclassing QMimeData and setting it on the clipboard.
Ch5 intent broadcast receivers adapters and internetShih-Hsiang Lin
The document provides an overview of intents, broadcast receivers, adapters, and using internet resources in Android applications. It discusses how intents allow interaction between applications through message passing and how they can be used to start activities, broadcast events, and start services. It covers explicit and implicit intents, returning results from activities, and registering broadcast receivers and activities to handle intents through intent filters. The document also discusses linkify for making links in text views, broadcasting events with intents, and registering broadcast receivers in the manifest.
This document discusses creating user interfaces for Android applications. It introduces views, layouts, activities and terminology used in Android UI development. It covers creating activities with views, inflating layouts, optimizing layouts, creating new views by modifying existing views or creating custom views. The document also discusses drawable resources, resolution independence, and creating and using menus in Android.
This document provides an overview of how to structure Android applications and work with resources. It discusses the main building blocks of an Android application including activities, services, intents, content providers, broadcast receivers, and widgets. It also covers the application manifest file, application lifecycles and priority levels. Additionally, it explains how to externalize and access resources through the R class and resource getter methods.
This document discusses function pointers, callback functions, functors, and the observer pattern in C and C++. It begins by explaining the syntax of function pointers and how they can point to the address of a function. It then discusses how callback functions allow a caller function to pass a function pointer as an argument, uncoupling the caller from the callee. Functors are described as functions with state that can act like functions through operator overloading. The observer pattern is explained as defining dependencies between objects so that one object (the subject) notifies observer objects of any state changes.
This document introduces homography and projective geometry concepts. It discusses that homography is a projective transformation represented by a 3x3 matrix that maps points from one projective plane to another. The document outlines key homography topics like the line at infinity, mapping between image planes using homography, and the Direct Linear Transform (DLT) algorithm to estimate homography from point correspondences between images. It also provides an overview of homography functions in the OpenCV library.
This document provides an introduction and overview of Git, including:
1. An overview of centralized (CVCS) and distributed (DVCS) version control systems and how Git is a DVCS that uses snapshots, not differences.
2. Instructions on installing Git and setting user configuration.
3. Descriptions of basic Git commands like init, add, commit, tag, log, clone, branch, checkout.
4. An explanation of how to set up a Git repository in Dropbox for cloud backup and collaboration.
This document discusses how to download and host open source projects using TortoiseSVN and Google Code. It provides instructions on how to download other developers' projects from Google Code using TortoiseSVN checkout and how to host your own projects on Google Code by creating a local working directory, adding and committing files.
This document provides an introduction to Hidden Markov Models (HMMs). It begins by explaining the key differences between Markov Models and HMMs, noting that in HMMs the states are hidden and can only be indirectly observed through observations. It then outlines the main elements of an HMM - the number of states, observations, state transition probabilities, observation probabilities, and initial state distribution. An example HMM is provided. Finally, it briefly introduces three common problems in HMMs - determining the most likely model given observations, determining the most likely state sequence, and determining the model parameters that are most likely to have generated the observations.
This document discusses various techniques for persisting application data in Android, including:
1. SharedPreferences which allow storing key-value pairs that can be shared within an app but not between apps.
2. Saving activity instance state by overriding onSaveInstanceState() which is called when an activity may be destroyed.
3. Preference frameworks for creating settings screens using XML preference hierarchies and listeners for updates.
4. Reading and writing files using openFileInput() and openFileOutput() which are restricted to the app's directory.
5. Including static resource files in the res/raw folder to bundle with the app.
This document provides code examples for enabling drag and drop functionality in Qt applications. It demonstrates how to allow dragging files onto a window, initiate dragging from a QListWidget, and add drag and drop to a QTableWidget. It also discusses subclassing QMimeData to support custom drag data types and handling the clipboard by subclassing QMimeData and setting it on the clipboard.
Ch5 intent broadcast receivers adapters and internetShih-Hsiang Lin
The document provides an overview of intents, broadcast receivers, adapters, and using internet resources in Android applications. It discusses how intents allow interaction between applications through message passing and how they can be used to start activities, broadcast events, and start services. It covers explicit and implicit intents, returning results from activities, and registering broadcast receivers and activities to handle intents through intent filters. The document also discusses linkify for making links in text views, broadcasting events with intents, and registering broadcast receivers in the manifest.
This document discusses creating user interfaces for Android applications. It introduces views, layouts, activities and terminology used in Android UI development. It covers creating activities with views, inflating layouts, optimizing layouts, creating new views by modifying existing views or creating custom views. The document also discusses drawable resources, resolution independence, and creating and using menus in Android.
This document provides an overview of how to structure Android applications and work with resources. It discusses the main building blocks of an Android application including activities, services, intents, content providers, broadcast receivers, and widgets. It also covers the application manifest file, application lifecycles and priority levels. Additionally, it explains how to externalize and access resources through the R class and resource getter methods.
This document discusses function pointers, callback functions, functors, and the observer pattern in C and C++. It begins by explaining the syntax of function pointers and how they can point to the address of a function. It then discusses how callback functions allow a caller function to pass a function pointer as an argument, uncoupling the caller from the callee. Functors are described as functions with state that can act like functions through operator overloading. The observer pattern is explained as defining dependencies between objects so that one object (the subject) notifies observer objects of any state changes.
This document introduces homography and projective geometry concepts. It discusses that homography is a projective transformation represented by a 3x3 matrix that maps points from one projective plane to another. The document outlines key homography topics like the line at infinity, mapping between image planes using homography, and the Direct Linear Transform (DLT) algorithm to estimate homography from point correspondences between images. It also provides an overview of homography functions in the OpenCV library.
This document provides an introduction and overview of Git, including:
1. An overview of centralized (CVCS) and distributed (DVCS) version control systems and how Git is a DVCS that uses snapshots, not differences.
2. Instructions on installing Git and setting user configuration.
3. Descriptions of basic Git commands like init, add, commit, tag, log, clone, branch, checkout.
4. An explanation of how to set up a Git repository in Dropbox for cloud backup and collaboration.
This document discusses how to download and host open source projects using TortoiseSVN and Google Code. It provides instructions on how to download other developers' projects from Google Code using TortoiseSVN checkout and how to host your own projects on Google Code by creating a local working directory, adding and committing files.
This document provides an introduction to Hidden Markov Models (HMMs). It begins by explaining the key differences between Markov Models and HMMs, noting that in HMMs the states are hidden and can only be indirectly observed through observations. It then outlines the main elements of an HMM - the number of states, observations, state transition probabilities, observation probabilities, and initial state distribution. An example HMM is provided. Finally, it briefly introduces three common problems in HMMs - determining the most likely model given observations, determining the most likely state sequence, and determining the model parameters that are most likely to have generated the observations.
3. Outline 4.1 The Central Widget 4.2 Subclassing QTableWidget 4.3 Loading and Saving 4.4 Implementing the Edit Menu 4.5 Implementing the Other Menu 4.6 Subclassing QTableWidgetItem
8. Outline 4.1 The Central Widget 4.2 Subclassing QTableWidget 4.3 Loading and Saving 4.4 Implementing the Edit Menu 4.5 Implementing the Other Menu 4.6 Subclassing QTableWidgetItem
13. Outline 4.1 The Central Widget 4.2 Subclassing QTableWidget 4.3 Loading and Saving 4.4 Implementing the Edit Menu 4.5 Implementing the Other Menu 4.6 Subclassing QTableWidgetItem
15. Outline 4.1 The Central Widget 4.2 Subclassing QTableWidget 4.3 Loading and Saving 4.4 Implementing the Edit Menu 4.5 Implementing the Other Menu 4.6 Subclassing QTableWidgetItem
17. Outline 4.1 The Central Widget 4.2 Subclassing QTableWidget 4.3 Loading and Saving 4.4 Implementing the Edit Menu 4.5 Implementing the Other Menu 4.6 Subclassing QTableWidgetItem
18. Other Menu 4.5 一開頭講 spreadsheet 變更後的自動刷新,關於 setDirty() 機制可以留待 4.6 釐清
22. Outline 4.1 The Central Widget 4.2 Subclassing QTableWidget 4.3 Loading and Saving 4.4 Implementing the Edit Menu 4.5 Implementing the Other Menu 4.6 Subclassing QTableWidgetItem