C++ (Qt)bool operator <(QSize currentSize, QSize minSize){ if (currentSize.width() < minSize.width()) return true; return false;}
C++ (Qt)QSize size;size = insertDialog->minimumSize();dialWindowSize < size;
C++ (Qt)dialWindowSize < insertDialog->minimumSize();
C++ (Qt)if (dialWindowSize.isEmpty() || (dialWindowSize < insertDialog->minimumSize())) dialWindowSize = insertDialog->minimumSize();insertDialog->resize(dialWindowSize);
bool operator <(const QSize ¤tSize, const QSize& minSize){ if (currentSize.width() < minSize.width()) return true; return false;}
C++ (Qt)if (dialWindowSize.isEmpty() || (dialWindowSize < insertDialog->minimumSize()) || dialWindowSize > insertDialog->maximumSize()) dialWindowSize = insertDialog->minimumSize(); insertDialog->resize(dialWindowSize);
C++ (Qt)bool operator <(QSize currentSize, QSize minSize){ if (currentSize.width() < minSize.width()) return true; else if (currentSize.height() < minSize.height()) return true; return false;} bool operator >(QSize currentSize, QSize maxSize){ if (currentSize.width() > maxSize.width()) return true; else if (currentSize.height() > maxSize.height()) return true; return false;}
C++ (Qt)if (dialWindowSize.isEmpty() || (dialWindowSize < insertDialog->minimumSize()) || dialWindowSize > insertDialog->maximumSize()) dialWindowSize = insertDialog->minimumSize();
bool operator >(const QSize& currentSize, const QSize& maxSize)bool operator >(QSize currentSize, QSize maxSize)
bool operator >(QSize& currentSize, QSize& maxSize)
C++ (Qt)bool Analysis_of_accidents::operator <(const QSize& minSize){ if (this->width() < minSize.width()) return true; else if (this->height() < minSize.height()) return true; return false;} bool Analysis_of_accidents::operator >(const QSize& maxSize){ if (this->width() > maxSize.width()) return true; else if (this->height() > maxSize.height()) return true; return false;}