컴퓨터 해상도 구하기(QDesktopWidget::screenGeometry) 내가 책을 보면서도 컴퓨터 해상도를 구하기를 찾지 못하여 결국은 Qt Assistant에서 찾아 보았다. 일단 아는 정보가 없기 때문에 Screen이라는 검색어로 찾아 보니 결국은 있었다. 간단한 예제 소스를 보게 되면, #include #include #include int main(int argc, char *argv[]) { QApplication app(argc, argv); QMessageBox *box = new QMessageBox; QString str; int widthNumber; int heightNumber; widthNumber = QApplication::desktop()->screenGeometry().width(); heightNumber = QApplication::desk.. 더보기 이전 1 ··· 36 37 38 39 40 41 42 ··· 250 다음