QT Intro. 김기형

Slides:



Advertisements
Similar presentations
First Steps with Qt Julien Finet Kitware Inc. Jan. 05 th 2010.
Advertisements

Sven Johannsen C++ User Group Aachen 01/08/15
Integrated Development Environments, Source Control Repositories, Automated Testing Tools, Bug Tracking, Code Analysis Tools, Build Tools, Project Hosting.
Lecture 4: Embedded Application Framework Qt Tutorial Cheng-Liang (Paul) Hsieh ECE 424 Embedded Systems Design.
QT GUI Programming CS340 – Software Design © 2009 – Jason Leigh University of Illinois at Chicago.
Programming Basic Concepts © Juhani Välimäki 2003.
February 2007Aalborg University, Mobile Device Group Mobile Software Technologies Course Morten Lisborg Jørgensen.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Lecture 2: OS Programming Interface T.Yang, CS
Client Server Model The client machine (or the client process) makes the request for some resource or service, and the server machine (the server process)
Linux GUI X-Windows System. X-Windows System A stable and extremely powerful GUI system that provides a complete Client/Server framework. The X-org foundation.
Linux Qt Graphical User Interface (GUI) Development In this session, we will cover Qt GUI development tools including: Qt Creator for remote debug and.
LAMAD Symbian Qt install and deploy Installing Qt SDK and deploying Qt applications.
Cross-platform approach to create the interactive application based on ROOT and Qt GUI libraries Rene Brun (CERN) Valeri Fine (BNL,
An Overview of Qt - asankar1. Agenda About Qt –A brief intro of Qt Qt development tools –Tools used for building Qt application Qt Architecture –The underlying.
WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.
LAMAD Symbian Qt Symbian OS One of the first modern mobile operating systems Most popular smartphone OS until the end of 2010 Main Nokia OS.
Oct ROOT 2002, CERN, Geneva Qt-Based Implementation of Low Level ROOT Graphical Layer By V.Fine.
Qt Igor November 8, 2002 Friday’s HENP Group Meeting.
EPICS Qt Update Paul Martin 1. Australian Synchrotron 3GeV, 216m circumference synchrotron 8 Beamlines 12 Software Engineers IMBL – Worlds Widest Beam.
Mobile Programming Lecture 1 Getting Started. Today's Agenda About the Eclipse IDE Hello, World! Project Android Project Structure Intro to Activities,
Blanchette and Summerfield, Ch. 2
Cross-platform GUI Frameworks for 3D Apps and Games: Qt vs wxWidgets
FLTK Tutorial.
Android for Java Developers Denver Java Users Group Jan 11, Mike
© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp.
BLU-ICE and the Distributed Control System Constraints for Software Development Strategies Timothy M. McPhillips Stanford Synchrotron Radiation Laboratory.
Lecture 1: Introduction. Pick Your Version of GLUT OpenGL and the GLUT are available for Windows, Linux and many other Operating Systems and platforms.
Ch 1. A Python Q&A Session Spring Why do people use Python? Software quality Developer productivity Program portability Support libraries Component.
Using Qt for GUI development Brad Whitlock March 2002.
SE-3910 Real-time Systems Week 7, Class 1 – GStreamer – QT SE Dr. Josiah Yoder Slide style: Dr. Hornick Much Material: Dr. Schilling, Some from.
Dale Roberts Introduction to Visual Programming Dale Roberts, Lecturer Computer Science, IUPUI Department of Computer and.
Cross-platform C++ development using Qt®
-1- National Alliance for Medical Image Computing First Steps with Qt Julien Finet Kitware Inc. Jan. 05 th 2010.
Department of Computer Engineering Dongguk University Prof. Jin-Woo Jung Practice hour : 2008/11/14 8. Qt / Embedded.
 Installation of Android Development Environment  Creating the App with OpenGL ES API  Running the App on Emulator Android App Development.
QT Programming QT Programming Ruku Roychowdhury. Background QT is a cross platform application framework. Widely used to develop GUI applications. Originally.
Department of Computer Engineering Dongguk University Prof. Jin-Woo Jung T.A. Han-Mu Park
. The ideas behind Qt and a live demo Qt in Education.
GUIs Basic Concepts. GUI GUI : Graphical User Interface Window/Frame : a window on the screen Controls/Widgets : GUI components.
Nachos Overview Lecturer: Hao-Hua Chu TA: Chun-Po Wang (Artoo) Date: 2008/09/18 Material Provided by Yuan-Hao Chang, Yung-Feng Lu.
QT – Introduction C++ GUI Programming with Qt 4
SE-3910 Real-time Systems Week 7, Class 1 – Announcement – GStreamer – Bins Boardshots – QT Swing & Qt Signals & Slots – Code – Example SE Dr. Josiah.
© 2012 Pearson Education, Inc. All rights reserved types of Java programs Application – Stand-alone program (run without a web browser) – Relaxed.
Introduction to Objective-C Spring Goals An introduction to Objective-C As implemented by the Apple LLVM Compiler 4.0 (a.k.a. Clang) Only the basics…
QT – Windows, menus, and such C++ GUI Programming with Qt 4 Qt 4.5 Reference Documentation Blanchette and Summerfield, Ch. 3.
 Before you continue you should have a basic understanding of the following:  HTML  CSS  JavaScript.
Qt Development Frameworks Past, Present and Future by Knut Yrvin – Dec 2009.
1. 2 Qt Toolkit ● C++ toolkit for cross-platform GUI application development – GUI functions (GUI = graphical user interface) – Data access components,
Qt What is Qt ● Not Apple Quick Time :) ● GUI Toolkit ● General Toolkit ● Multi Platform ●
September 24th 2006, aKademy The Design and Implementation of KJSEmbed Richard Moore,
Fundamental of Databases
Mobile Application Development with MeeGo™ - Touch Apps & UI Design
Mark Redekopp David Kempe
DPF DISTRHO Plugin Framework github.com / falkTX / DPF.
Jonathan Riddell Canonical Kubuntu Ubuntu KDE
CMPE 135: Object-Oriented Analysis and Design November 21 Class Meeting Department of Computer Engineering San Jose State University Fall 2017 Instructor:
CMPE Data Structures and Algorithms in C++ December 7 Class Meeting
QT graphical user interface framework
Mobile Application Development with MeeGo™ - Programming with SDK
Qt Programming.
សេចក្តីផ្តើមពី Programming
The Designer.
Custom Widgets & Events
GTK + Programming.
SOFTWARE TECHNOLOGIES
A multi-platform GUI-building program
FEATURES OF PYTHON.
CMPE 135: Object-Oriented Analysis and Design March 14 Class Meeting
A multi-platform GUI-building program
Web Application Development Using PHP
Presentation transcript:

QT Intro. 김기형

2/23 Made and Designed by KKHSOFT. SPARCS GUI in Linux

3/23 Made and Designed by KKHSOFT. SPARCS GUI in Linux

4/23 Made and Designed by KKHSOFT. SPARCS Program by QT

5/23 Made and Designed by KKHSOFT. SPARCS What is QT? Especially, for GUI progrmming – For database, networking, XML, OpenGL, etc. Cross Platform Qt is a comprehensive C++ application development framework. It includes a class library and tools for cross-platform development and internationalization.

6/23 Made and Designed by KKHSOFT. SPARCS What is QT? “ Write Once, Run Everywhere ” Open Source – Free in Linux, Unix ( – Free in both Windows and Mac recently ( QPL(Q Public License) with GPL – Free except for commercial use XlibGDICarbon Unix/LinuxMS WindowsMac OS X Embedded Linux QT API QT Application Source Code

7/23 Made and Designed by KKHSOFT. SPARCS Before Start.. Knowledge about C++ – At first, you can use C – Recommend C seminar leaded by battery Understanding of OOP How to install – By yourself..

8/23 Made and Designed by KKHSOFT. SPARCS How to use QApplication – Necessary header file Widget in QT – Include [widget_name].h – Interface that provide control QObject – Basic class – Provide signal & slot #include

9/23 Made and Designed by KKHSOFT. SPARCS How to use Why qmake? – Just easy … int main(int argc, char *argv[]) { QApplication app (argc, argv); QLabel *label = new QLabel("Hello Qt!", 0); app.setMainWidget(label); label->show(); return app.exec(); } qmake -project qmake hello.pro Makefile hello.pro

10/23 Made and Designed by KKHSOFT. SPARCS How to use Signal & Slot – Connect(), disconnect() Moc (Meta Object Compiler) – Make source file that C++ compiler can understand from your well-defined file (generally from header file)

11/23 Made and Designed by KKHSOFT. SPARCS How to use Header file class FindDialog : public QDialog { Q_OBJECT public: FindDialog(QWidget *parent=0, const char *name=0); signals: void findNext(const QString &str, bool caseSensitive); … private slots: void findClicked(); void enableFindButton(const QString &text); private: … };

12/23 Made and Designed by KKHSOFT. SPARCS How to use Source file (cpp) #include "finddialog.h ” … FindDialog::FindDialog(QWidget *parent, const char *name) : QDialog(parent, name) { … connect(findButton, SIGNAL(clicked()), this, SLOT(findClicked())); … void FindDialog::findClicked() { QString text=lineEdit->text(); bool caseSensitive = caseCheckBox->isOn(); if (backwardCheckBox->isOn()) emit findPrev(text,caseSensitive); else emit findNext(text,caseSensitive); }

13/23 Made and Designed by KKHSOFT. SPARCS Qt Designer Powerful GUI layout and forms builder – Save time to make UI – Easy for connection

14/23 Made and Designed by KKHSOFT. SPARCS Qt Designer How to make Connections How to modify Source Right click on the widget

15/23 Made and Designed by KKHSOFT. SPARCS Qt Designer

16/23 Made and Designed by KKHSOFT. SPARCS Qt Designer Very useful! Make layout, form and connection Don ’ t program in Qt designer! Just design and use vim

17/23 Made and Designed by KKHSOFT. SPARCS Qt-embedded Use Qt for Embedded Programming For mobile, PDA and embedded linux QT Application Source Code Binary file for X86 Binary file for Embedded Linux Qt-embedded-x86 Qt-embedded Virtual Frame Buffer Embedded Machine redirection porting

18/23 Made and Designed by KKHSOFT. SPARCS Qt-embedded qt-embedded-free – Qvfb, qt-embedded compiler QT Virtual Frame Buffer – Embedded machine use Frame buffer, not X – Test in host before porting application qvfb – width 640 – height 480 – depth 32 &

19/23 Made and Designed by KKHSOFT. SPARCS Qt-embedded Execution in qvfb Unexpected Error – With sudo.../demofile -qws Semop unlock failure 부적 절한 인수 Semop lock failure 부적절 한 인수

20/23 Made and Designed by KKHSOFT. SPARCS Others from Qt Qtopia – an application platform and user interface for embedded Linux Binding for other Language – Python, Ruby, Perl, etc. Qt Linguist, Qt Assistant, QSA, and so on.

21/23 Made and Designed by KKHSOFT. SPARCS Further Work Qt study..? – More than 5 people who wanna learn more about Qt Qt Embedded Programming..? – Other members who have interest – Need more support More specific Qt seminar – Enough time, many attendances – But, 귀차니즘 …

22/23 Made and Designed by KKHSOFT. SPARCS Reference Trolltech – Qt 4 Open Source Edition download – Qt 4.1 Refernce Document – Qt Community site –

23/23 Made and Designed by KKHSOFT. SPARCS Thank you! Any Question..?