Re: [Development] App name in window title

2012-06-23 Thread David Faure
On Friday 22 June 2012 15:24:48 David Faure wrote: * Doing this on all 3 desktop platforms, for more consistency among all Qt applications, and consistency between platforms for a given Qt application. This prevents the risk that a Windows Qt developer does setWindowTitle(foo - KMail), i.e.

Re: [Development] App name in window title

2012-06-22 Thread David Faure
On Thursday 21 June 2012 23:41:12 Mark wrote: So: it's only being set afaict when setWindowTitle from QWidget is called otherwise it's the executable name minus extension. Thanks. Found that code in qwidget_win.cpp in Qt4. That's just fallback to avoid empty titles though, it doesn't touch

[Development] App name in window title

2012-06-21 Thread David Faure
KDE4 (KDialog) has a nice feature that makes the application name appear in the window title bar. I think it's very nice to know which application a window comes from. Especially for the worst case: error message boxes :) QDialog itself doesn't do that, which leads to the question of: how

Re: [Development] App name in window title

2012-06-21 Thread Иван Комиссаров
Modal dialogs on Mac doesn't show any title at all. So this will be platform-dependent (kde only?) feature:) 21.06.2012, в 18:38, David Faure написал(а): KDE4 (KDialog) has a nice feature that makes the application name appear in the window title bar. I think it's very nice to know which

Re: [Development] App name in window title

2012-06-21 Thread David Faure
On Thursday 21 June 2012 21:27:32 Иван Комиссаров wrote: Modal dialogs on Mac doesn't show any title at all. OK, thanks for this information. However what about non-modal windows on Mac? Dialogs were just an example, really, the same applies to all toplevel windows in KDE4. So this will be

Re: [Development] App name in window title

2012-06-21 Thread Mark
On Thu, Jun 21, 2012 at 9:55 PM, David Faure fa...@kde.org wrote: On Thursday 21 June 2012 21:27:32 Иван Комиссаров wrote: Modal dialogs on Mac doesn't show any title at all. OK, thanks for this information. However what about non-modal windows on Mac? Dialogs were just an example, really,

Re: [Development] App name in window title

2012-06-21 Thread David Faure
On Thursday 21 June 2012 22:05:24 Mark wrote: On Thu, Jun 21, 2012 at 9:55 PM, David Faure fa...@kde.org wrote: On Thursday 21 June 2012 21:27:32 Иван Комиссаров wrote: Modal dialogs on Mac doesn't show any title at all. OK, thanks for this information. However what about non-modal

Re: [Development] App name in window title

2012-06-21 Thread Mark
On Thu, Jun 21, 2012 at 10:23 PM, David Faure fa...@kde.org wrote: On Thursday 21 June 2012 22:05:24 Mark wrote: On Thu, Jun 21, 2012 at 9:55 PM, David Faure fa...@kde.org wrote: On Thursday 21 June 2012 21:27:32 Иван Комиссаров wrote: Modal dialogs on Mac doesn't show any title at all.

Re: [Development] App name in window title

2012-06-21 Thread bradley.hughes
On Jun 21, 2012, at 4:38 PM, ext David Faure wrote: KDE4 (KDialog) has a nice feature that makes the application name appear in the window title bar. I think it's very nice to know which application a window comes from. Especially for the worst case: error message boxes :) QDialog

Re: [Development] App name in window title

2012-06-21 Thread Иван Комиссаров
There's no common standard for other windows on mac. For example, Mail and Safari don't show appname, but iPhoto and iCal does. The only standard if that document-based apps (1 file == 1 window) shows filename in window title, without appname. 21.06.2012, в 23:55, David Faure написал(а): On