Add QtPaintDevice and initial QtWidget

This commit is contained in:
Jonathan Schleifer 2017-04-03 01:00:47 +02:00
parent f38ff5fbc2
commit 1d907ed62d
No known key found for this signature in database
GPG key ID: 28D65178B37F33E3
8 changed files with 764 additions and 7 deletions

View file

@ -48,14 +48,14 @@
[self qApplication]->setDoubleClickInterval(doubleClickInterval);
}
- (QSize)globalStrut
- (of_dimension_t)globalStrut
{
return [self qApplication]->globalStrut();
return QToOFDimension([self qApplication]->globalStrut());
}
- (void)setGlobalStrut: (QSize)globalStrut
- (void)setGlobalStrut: (of_dimension_t)globalStrut
{
[self qApplication]->setGlobalStrut(globalStrut);
[self qApplication]->setGlobalStrut(OFToQSize(globalStrut));
}
- (int)keyboardInputInterval