QSize is a class in the Qt library that represents a 2D size with width and height. The isNull() function returns true if the size is a null size, which means that both the width and height are zero.
QSize size;
if(size.isNull()) {
qDebug() << "Size is null";
}
This function is part of the Qt Core library.
C++ (Cpp) QSize::isNull - 4 examples found. These are the top rated real world C++ (Cpp) examples of QSize::isNull from package c-semantics extracted from open source projects. You can rate examples to help us improve the quality of examples.