diff options
Diffstat (limited to 'src-qt5/core/libLumina/test')
-rw-r--r-- | src-qt5/core/libLumina/test/main.cpp | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src-qt5/core/libLumina/test/main.cpp b/src-qt5/core/libLumina/test/main.cpp index 309fb938..b2ec9e41 100644 --- a/src-qt5/core/libLumina/test/main.cpp +++ b/src-qt5/core/libLumina/test/main.cpp @@ -5,9 +5,16 @@ int main(int argc, char** argv){ QApplication A(argc, argv); - qDebug() << "Starting monitor scan..."; - QList<OutputDevice> outputs = OutputDevice::availableMonitors(); - qDebug() << "Finished monitor Scan"; - OutputDeviceList(); + 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() << " - Available Resolutions:" << devList[i].availableResolutions(); + } return 0; } |