QT/C++ Programming

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    4 Favorites

    QT/C++ Programming - Presentation Transcript

    1. Qt/C++ Programming Ankur Gupta
    2. What is this cutey thing ?? Qt is a cross-platform C++ GUI toolkit. ● It also comes along with ● An extensive C++ class library of over 400 classes – GUI, Database, Core, XML, Networking, Open GL, ● Multithreading, and more Advanced cross-platform development tools for: – GUI layout and forms design ● Internationalization ● Documentation ●
    3. QT Cross Platform How-To Qt builds directly on the OS graphics layer ● Qt applications are native, compiled executables ● Result: ● High performance, memory-efficient applications with native – look and feel
    4. So who uses QT ? Skype, K Desktop Environment, Adobe Photo Album, Google Earth.
    5. Rapid Application Development • Qt Designer is a powerful, drag-and-drop GUI layout and forms builder Features ● Supports forms and dialog creation with instant preview – Integrates with Qt layout system – Extensive collection of standard widgets – Support for custom widgets and dialogs – Seamless integration with Microsoft® Visual Studio .NET – Benefits ● Greatly speeds the interface design process – Enables native look and feel across all supported platforms – Developers work within the environment of their choice, leveraging existing skills –
    6. VB anyone ;-)
    7. what you drag is what you get
    8. Talk is cheap - Show me the code #ifndef HELLO_WORLD_H_H #define HELLO_WORLD_H_H #include <QApplication> #include <QLabel> int main(int argc, char **argv) { QApplication helloWorldApp(argc, argv); QLabel aLabel("Hello Barcamp", 0); aLabel.show(); return helloWorldApp.exec(); } #endif /* Compilation Steps 1. qmake -project 2. qmake projectfile.pro 3. make The executable/binary will be created */
    9. Talk is cheap - Show me the code QApplication helloWorldApp(argc, argv); QWidget *aWidget = new QWidget; QPushButton *aPushButton = new QPushButton("Click Me", aWidget); QMessageBox *aPopup = new QMessageBox("Barcamp", "From QT to Barcamp. Howdy ... Having Fun ...", QMessageBox::Question, QMessageBox::Yes | QMessageBox::Default, QMessageBox::No | QMessageBox::Escape, QMessageBox::NoButton); QObject::connect(aPushButton, SIGNAL(clicked()), aPopup, SLOT(exec())); aWidget->show(); return helloWorldApp.exec();
    10. Signal and Slot – Callbacks Signals and slots are used for communication between objects A signal is emitted when a particular event occurs. A slot is a function that is called in response to a particular signal.
    11. Ok I am sold on this cutey thing How do I get started ? • Qt Assistant is a fully customizable, redistributable help file/documentation browser Features ● Simple, web-browser-like navigation, – bookmarking and linking of documentation files Support for rich text and HTML – Full text and keyword lookup – Can be customized and shipped with Qt – applications Benefits ● No longer have to build a help system from – scratch Leverage existing HTML skills – Deliver documentation in an easily searchable – and navigable format to your end users • http://trolltech.com ( The Company behind QT ) • http://qtcenter.org ( QT Help Forum )
    12. Yet another library management software
    13. Wake up its over ? Questions

    + Ankur GuptaAnkur Gupta, 3 years ago

    custom

    3000 views, 4 favs, 5 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 3000
      • 2957 on SlideShare
      • 43 from embeds
    • Comments 0
    • Favorites 4
    • Downloads 1
    Most viewed embeds
    • 25 views on http://skypejournal.com
    • 8 views on http://bitblog.web-cafe.ro
    • 7 views on http://sed.ucla.edu.ve
    • 2 views on http://www.skypejournal.com
    • 1 views on http://feeds.feedburner.com

    more

    All embeds
    • 25 views on http://skypejournal.com
    • 8 views on http://bitblog.web-cafe.ro
    • 7 views on http://sed.ucla.edu.ve
    • 2 views on http://www.skypejournal.com
    • 1 views on http://feeds.feedburner.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories