A bit beautification of "Save unchanged" dialog.

* focus set to the list instead of the button
* list shows file icons
* replace hack that tried to avoid resizing save button by real fix
* Mac: left-aligned "do not save" button
* Mac: alternating colors in list
* Mac: same sized "cancel" and "save" buttons

Task-number: QTCREATORBUG-1120
Change-Id: Ic6aca8fca105517c3aaddc451640def43e955b77
Reviewed-by: Virva Auvinen <virva.auvinen@nokia.com>
Reviewed-by: David Schulz <david.schulz@nokia.com>
This commit is contained in:
Eike Ziller
2012-03-08 11:12:23 +01:00
parent 502ddea099
commit 87decf9f79
2 changed files with 44 additions and 3 deletions

View File

@@ -70,6 +70,8 @@ private slots:
void updateSaveButton();
private:
void adjustButtonWidths();
Ui::SaveItemsDialog m_ui;
QList<Core::IDocument*> m_itemsToSave;
};