home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / qt3_emx.zip / examples / README
Text File  |  2001-06-22  |  8KB  |  247 lines

  1. - aclock
  2.   This example displays an analog clock widget.
  3.  
  4. - addressbook
  5.   This examples shows how to write a very simple, but complete application
  6.   using a very simple address book as example.
  7.  
  8. - biff (Unix only)
  9.   Biff is a simple graphical program to indicate whether there is new mail;
  10.   it looks exactly like xbiff but is much shorter.
  11.  
  12. - dclock
  13.   This example displays a digital LCD clock and can switch between time
  14.   and date.
  15.  
  16. - fileiconview
  17.   This example implements a simple and not full functional file manager using
  18.   a widget derived from QIconView to display the current directory and the
  19.   widget of the DirectoryView example to display the directory tree.
  20.  
  21. - life
  22.   An implementation of the life game.  Very UNIX-ish GUI design ;-)
  23.  
  24. - helpviewer
  25.   The HelpViewer example implements a simple HTML help browser using
  26.   Qt's richtext capabilities.
  27.  
  28. - movies
  29.   The Movies example displays animated GIF files using the QMovie and
  30.   QLabel classes.
  31.  
  32. - qdir
  33.   Shows how to use and customize Qt's file dialog.  See
  34.       qdir --help
  35.   for details
  36.  
  37. - qfd
  38.   This example program displays all characters of a font.
  39.  
  40. - qmag
  41.   This is a simple magnifier-type program.  It shows how one can do
  42.   some quite low-level operations portably using Qt.
  43.  
  44.   Run it, click in the magnifier window, then click where you want to
  45.   magnify or drag out a rectangle.  Two combo boxes let you select
  46.   amplification and refresh frequency, a text label tells you the color
  47.   of the pixel the cursor is on, and a button lets you save the
  48.   magnified area as a .bmp file.
  49.  
  50. - qwerty
  51.   Small text editor to test different character encodings.
  52.  
  53. - scribble
  54.   This example implements the famous scribble example.  You can draw
  55.   around in the canvas with different pens and save the result as picture.
  56.  
  57. - showimg
  58.   This example reads and displays an image in any supported image
  59.   format (GIF, BMP, PPM, XMP etc.)
  60.  
  61. - tetrix
  62.   This is the Qt implementation of the well known game Tetris.
  63.  
  64. - tictac
  65.   This is an implementation of the Tic-tac-toe game.
  66.  
  67.   We didn't put much effort in making a clever algorithm so it's not a
  68.   challenge to play against the computer. Instead, study the source code
  69.   to see how you can make reusable components such as the TicTacGameBoard
  70.   widget.
  71.  
  72. - application
  73.   This example program looks like a complete modern application.  It has
  74.   a menu bar, it has a tool bar, it has a status bar and works like a
  75.   simple text editor.
  76.  
  77. - action
  78.  Just like the application example but uses QAction to build
  79.   the menu and the toolbar.
  80.  
  81.  
  82. - buttongroups
  83.   This examples shows different types of Groupboxes (Buttongroups, etc.)
  84.   and lots of different kinds of Buttons (Checkboxes, Radiobuttons,
  85.   Pushbuttons, etc.)
  86.  
  87. - checklists
  88.   This example program shows how to use Listviews with different types
  89.   of checkable Items.
  90.  
  91. - cursor
  92.   This example shows how to set a mouse cursor for a widget.
  93.  
  94. - customlayout
  95.   This examples demonstrates how to write a customized layout (geometry)
  96.   manager, like a Card-Layout, Border-Layout and Flow-Layout.
  97.  
  98. - desktop
  99.   The desktop demo contains three routines, each of which draws something
  100.   on the desktop.  It does some nice stuff with QPainter, and also
  101.   demonstrates how one can treat the desktop as a widget like any other.
  102.  
  103. - dirview
  104.   This example program demonstrates how to use a ListView and ListView
  105.   Items to build a multi-column hierarchical, memory- and CPU-efficient
  106.   directory browser. It also demonstrates how to use Drag'n'Drop in a
  107.   Listview.
  108.  
  109. - dragdrop
  110.   This examples shows how to work with Qt's Drag'n'Drop.
  111.  
  112. - drawdemo
  113.   This example demonstrates several drawing functions and printer output.
  114.   You can easily add you own drawing functions.  See "ourDrawFunctions".
  115.  
  116. - drawlines
  117.   This example shows very simple mouse-based user interaction and
  118.   painting without any world transform matrix or other advanced
  119.   features.  Run the program, click the button, move the mouse,
  120.   release the button, and watch the lines get drawn.
  121.  
  122. - forever
  123.   This example continuously draws rectangles in a window and
  124.   has another widget that counts the number of rectangles that
  125.   are drawn per second.
  126.  
  127. - hello
  128.   This example brings up the words "Hello, World" moving up and down,
  129.   and in different colors.
  130.  
  131. - i18n
  132.   This example shows how to internationalize applications. Start it with
  133.       # i18n de
  134.   to get a german version and with
  135.       # i18n en
  136.   to get the english version.
  137.  
  138. - iconview
  139.   This example implements a flexible icon view which can store
  140.   lots of icon items. It supports Drag'n'Drop, different selection modes,
  141.   view modes, rubberband selection, etc.
  142.  
  143. - layout
  144.   This example shows simple and intermediate use of Qt's layout
  145.   classes, QGridLaout, QBoxLayout etc.
  146.  
  147. - linedits
  148.   The Lineedits example shows how to work with single Lineedit widgets, and
  149.   how to use different Echo Modes and Validators.
  150.  
  151. - listboxcombo
  152.   This example program demonstrates how to use Listboxes (with single
  153.   selection and multi selection) and Comboboxes (editable and non-editable).
  154.  
  155. - listviews
  156.   This examples shows how to work with Listviews (hierarchical and
  157.   multi-columns).  It also shows how to subclass Listview Items for
  158.   special reasons. It looks and works like the mainwindow of a mail client.
  159.  
  160. - mdi
  161.   This example program is just like the application example, but designed as
  162.   Multiple Document Interface (MDI).
  163.  
  164. - menu
  165.   This example demonstrates simple use of menus (a menu bar and
  166.   pull-down menus).  Qt also supports popup menus, but this example
  167.   doesn't contain any.
  168.  
  169. - picture
  170.   This example shows how to make, store to file, and read a picture as
  171.   a set of drawing commands.
  172.  
  173. - popup
  174.   This examples shows how to implement widgets which should
  175.   popup.
  176.  
  177. - progress
  178.   This example displays either a simple (text-only) or a
  179.   custom-labelled (user-supplied widget) progress dialog.  It also
  180.   demonstrates simple use of menus.
  181.  
  182. - progressbar
  183.   This example shows how to use a progressbar.
  184.  
  185. - rangecontrols
  186.   This examples shows the different types of Rangecontrols which
  187.   are supported by Qt. These are Dials, Spinboxes and Sliders.
  188.  
  189. - richtext
  190.   In this examples it's demonstrated how to display rich text, using
  191.   Qt, in a widget.  In this example some sayings taken from the famous
  192.   Unix "Fortune" are displayed nicely formatted.
  193.  
  194. - rot13
  195.   In this example you can enter a text in one Mulitilinedit widget
  196.   and it is displayed in the edit widget at the right transformed using
  197.   the rot13 algorithm.
  198.  
  199. - scrollview
  200.   This example shows how to use Qt's Scrollview.  This is a widget
  201.   which can contain a very large contents and is very optimized for
  202.   that.  Also child widgets can be inserted.
  203.  
  204. - splitter
  205.   This example shows how to use Splitters.  Splitters can contain
  206.   multiple child items and using the Splitter the user can decide
  207.   herself/himself, how much space each child should get.
  208.  
  209. - tabdialog
  210.   This example shows how to use a dialog with multiple tabs (pages).
  211.   When starting it you have to specify a filename as first argument.
  212.   The dialog shows then infos about that file seperated into some tabs.
  213.  
  214. - table
  215.   The table program displays a spreadsheet-like table.  It is an example
  216.   of how to inherit the QScrollView widget for presentations of 2D data
  217.   arrays.
  218.  
  219.   Left-click the mouse to set a current cell.  Press the arrow buttons to
  220.   move the current mark around.  Type something to edit a cell's contents.
  221.  
  222. - themes
  223.   This examples demonstrates how to let widgets draw in different
  224.   styles (themes).  As example, themes looking like wood and metal
  225.   are implemented.  You can switch between the different styles
  226.   during runtime using the pulldown menu.
  227.  
  228. - tooltip
  229.   This example widget demonstrates how to use tool tips for static and
  230.   dynamic regions within a widget.
  231.  
  232.   It displays two blue and one red rectangle.  The blue ones move every
  233.   time you click on them, the red one is static.  There are dynamic
  234.   tool tips on the blue rectangles and a static tool tip on the red one.
  235.  
  236. - validator
  237.   In this example you see how to write and use an own validator.
  238.  
  239. - wizard
  240.   This example shows the usage of Qt's wizard class. A wizard
  241.   should be used to help a user with complicated actions.
  242.  
  243. - xform
  244.   This example lets the user rotate, shear and scale text and graphics
  245.   arbitrarily.
  246.  
  247.