blob: e352e609819551698d4fae4d85ebf2b0b1c20de6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#include "../LuminaRandR.h"
#include <QDebug>
#include <QApplication>
int main(int argc, char** argv){
QApplication A(argc, argv);
qDebug() << "Load Monitor Device Information";
OutputDeviceList devList;
qDebug() << "Detected Information:";
for(int i=0; i<devList.length(); i++){
qDebug() << "["+devList[i].ID()+"]";
qDebug() << " - isEnabled:" << devList[i].isEnabled();
qDebug() << " - isPrimary:" << devList[i].isPrimary();
qDebug() << " - isAutomatic:" << devList[i].isAutomatic();
qDebug() << " - Current Geometry:" << devList[i].currentGeometry();
qDebug() << " - Physical Size (mm):" << devList[i].physicalSizeMM();
qDebug() << " - Available Resolutions:" << devList[i].availableResolutions();
}
return 0;
}
|