mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-23 02:10:52 +01:00
Amelioration de l'integration de certains dialogues sous MacOS.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@730 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -750,6 +750,9 @@ void ElementScene::slot_editSizeHotSpot() {
|
||||
// cree un dialogue
|
||||
QDialog dialog_sh(element_editor);
|
||||
dialog_sh.setModal(true);
|
||||
#ifdef Q_WS_MAC
|
||||
dialog_sh.setWindowFlags(Qt::Sheet);
|
||||
#endif
|
||||
dialog_sh.setWindowTitle(tr("\311diter la taille et le point de saisie", "window title"));
|
||||
QVBoxLayout *dialog_layout = new QVBoxLayout(&dialog_sh);
|
||||
|
||||
@@ -789,6 +792,9 @@ void ElementScene::slot_editOrientations() {
|
||||
// cree un dialogue
|
||||
QDialog dialog_ori(element_editor);
|
||||
dialog_ori.setModal(true);
|
||||
#ifdef Q_WS_MAC
|
||||
dialog_ori.setWindowFlags(Qt::Sheet);
|
||||
#endif
|
||||
dialog_ori.setMinimumSize(400, 260);
|
||||
dialog_ori.setWindowTitle(tr("\311diter les orientations", "window title"));
|
||||
QVBoxLayout *dialog_layout = new QVBoxLayout(&dialog_ori);
|
||||
@@ -834,6 +840,9 @@ void ElementScene::slot_editNames() {
|
||||
|
||||
// cree un dialogue
|
||||
QDialog dialog(element_editor);
|
||||
#ifdef Q_WS_MAC
|
||||
dialog.setWindowFlags(Qt::Sheet);
|
||||
#endif
|
||||
dialog.setModal(true);
|
||||
dialog.setMinimumSize(400, 330);
|
||||
dialog.setWindowTitle(tr("\311diter les noms", "window title"));
|
||||
|
||||
Reference in New Issue
Block a user