monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] Revision 539e31df277be9a0213b5858c41ae39db69fae


From: monotone
Subject: [Monotone-commits-diffs] Revision 539e31df277be9a0213b5858c41ae39db69fae96
Date: Thu, 29 Jul 2010 17:24:28 +0200

-----------------------------------------------------------------
Revision: 539e31df277be9a0213b5858c41ae39db69fae96
Ancestor: d38d15ae58263e84e9534a64c404e0fe476951bb
Author: address@hidden
Date: 07/29/10 17:21:23
Branch: net.venge.monotone.guitone.remote-stdio-support

Deleted entries:
        res/forms/dialogs/source_picker.ui
        src/view/dialogs/SourcePicker.cpp
        src/view/dialogs/SourcePicker.h
Added files:
        res/forms/dialogs/connect_server.ui
        src/view/dialogs/ConnectServerDialog.cpp
        src/view/dialogs/ConnectServerDialog.h
        src/view/dialogs/FileDialog.cpp
        src/view/dialogs/FileDialog.h
Modified files:
        sources.pri src/view/dialogs/DialogManager.cpp
        src/view/dialogs/DialogManager.h
        src/view/dialogs/OpenPrompt.cpp
        src/view/mainwindows/ServerWindow.cpp
        src/view/widgets/MenuBar.cpp

ChangeLog: 

Rework the source picker so that it is only used for server connections
now, for file and directory selections we use a hacked QFileDialog
which doesn't look as good as a native dialog, but is still better than
the hand-cuffed code I had in there earlier. As a result of this
"two-way" solution and since I wanted to keep the single interface
in the dialog manager (showSourcePicker), we now open distinct dialogs
depending on what kind of handle type is expected, as there is no way
in Qt to make both, the new file dialog and the connect server dialog,
based on one Dialog-based class. And since I cannot reparent QFileDialog
to Dialog either, the code to handle open dialogs now uses QDialog
pointers everywhere as well.

Attachment: txtFR3_5gawWK.txt
Description: Diff [d38d15ae58263e84e9534a64c404e0fe476951bb] -> [539e31df277be9a0213b5858c41ae39db69fae96]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]