3 hours ago · Tech · hide · 0 comments

A couple of months ago I improved some of our dialogs and this time I worked on some more. Did you know that you can just paste the clipboard’s content into the Dolphin file manager or on the desktop to create a new file from it? Just paste your clipboard’s content to create a new file Tobias Fella added a proper “platform message dialog” for Qt to use. This replaces the hideous Qt Quick message dialogs you could see in some places. With that, we are also finally able to play our message box sounds for Qt-only applications using QMessageBox (instead of KMessageBox or KMessageDialog). To do this, Qt sends an QAccessible::Alert event that is then handled by the relevant platform accessibility integration. On Windows it for example calls the win32 PlaySound API. However, I didn’t want to mess with Qt’s AT-SPI1 stack just for this. Now that we provide a custom dialog, we might as well play the sound from there. Just like the “New File” dialog, the paste dialog mentioned above also…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.