Wednesday, April 29, 2015

Why Qt?

Qt software framework has become a popular cross-platform application framework since its release in 1995. It is widely utilized for developing industrial application software with professional graphical user interfaces (GUIs). With Qt, C++ programmers are easy to build user interface for their applications by dragging and dropping using its GUIs designer. Beside GUIs, Qt is also allowed us to instantiate the class or subclass in order to construct GUIs. Throughout this tutorial, we are going to talk about how to do subclass and instantiate of Qt widgets later. Qt provides main window are generally divided into five sections. In the first section is occupied by the menus followed by toolbars in the second section. 


Qt also provides a wide variety of classes in order for rendering 3D objects by using QGLWidget. With QGLWidget, it enables us to draw 3D geometric objects and render a scene with raw OpengL or with the convenient QPainter API respectively. Recently, another widget, QWindow, were added to allow user to render content into a window. There are two Qt APIs that can be utilized to render content into a window.
  1. QBackingStore for rendering with a QPainter and flushing the contents to a window with type QSurface::RasterSurface

  2. QOpenGLContext for rendering with OpenGL to a window with type QSurface::OpenGLSurface

No comments:

Post a Comment