Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Cơ sở Thư viện QtCore QtCore là một thư viện một phần yêu cầu của tất cả các chương trình Qt. Trong số những thứ khác, nó làm cho sẵn sau đây: loại dữ liệu cơ bản, chẳng hạn như QString và dữ liệu cấu trúc cơ bản QByteArray | 1 Basics Tools and First Code include QtGui However these library header files are very long which considerably increases the length of the compiling process. This won t be a problem if the compiler supports precompiled header files but only the more recent compilers do such as with GCC from version 3.4 on . The Base Library QtCore QtCore is a partial library required by every Qt program. Among other things it makes available the following Basic data types such as QString and QByteArray Basic data structures such as QList QVector and QHash Input output classes such as QIODevice QTextStream and QFile Classes with which multiple threads can be programmed including QWaitCon-dition and QThread The classes QObject and QCoreApplication the base class for QApplication None of these classes depends on GUI components. This separation from the GUI allows Qt applications such as command-line programs to be written that do not implement a GUI In nongraphical programs the QCoreApplication class takes on the role of the QAp-plication class in GUI applications It makes an event loop available. This is useful if you require asynchronous communication whether between different threads or via network sockets.11 The GUI Library QtGui The QtGui library contains all classes that are necessary for programming graphical user interfaces including the following The QWidget class and classes derived from it such as QLabel and QPushButton The layout classes including QVBoxLayout QHBoxLayout and QGridLayout Classes such as QMainWindow and QMenu which are needed if you want to add menus to an application 11 QtCore does not contain any network classes but the QtNetwork library can be used with QtCore if networking is required. I 44 1.5 Qt at a Glance I Classes for drawing such as QPainter QPen and QBrush Classes providing ready-to-use dialogs including QFileDialog and QPrintDialog The QApplication class QtGui requires the QtCore library. The Network Library QtNetwork The partial library .