C++ (Qt)QFileDialog dlg;customize(dlg); // реализация находится в *_win.cpp и в *_mac.m(m)dlg.exec();
C++ (Qt)NSView *dlgView = dlg.winId();
Objective-C NSTextField *textField = [[NSTextField alloc] initWithFrame:CGRectMake(0, 0, 50, 20)]; [textField setStringValue:@"test"]; NSOpenPanel *openPanel = [NSOpenPanel openPanel]; [openPanel setAccessoryView:textField]; [openPanel setAllowsMultipleSelection:YES]; [openPanel beginWithCompletionHandler:^(NSInteger result) { if (result) { NSLog(@"selected file(s): %@", [openPanel URLs]); } }];