Log of /trunk/gui/gui/inc/TGFileDialog.h
Parent Directory
Revision
19001 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jun 12 08:15:20 2007 UTC (7 years, 7 months ago) by
antcheva
Original Path:
trunk/gui/inc/TGFileDialog.h
File length: 4944 byte(s)
Diff to
previous 15849
Several improvements and fixes:
1) Replaced fOverWR and fMultiSel check buttons with a single
one fCheckB. The functionality of fOverWR assigned to fCheckB
in case the file dialog is created as SaveAs dialog; accordingly
the functionality of fMultiSel is assigned to fCheckB in case of
Open file dialog.
2) Fixed several memory leaks.
3) Fixed SegV when Cancel button was clicked before the file
list was created/visualized in the dialog. It happens because of
changes in Revision 1.38 of TGFSContainer. The GUI events cannot be
allowed without any control/protection of user interaction.
4) Fixed SegV because of double deletion when closing the dialog via WM.
Revision
15849 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 26 13:36:44 2006 UTC (8 years, 6 months ago) by
rdm
Original Path:
trunk/gui/inc/TGFileDialog.h
File length: 4906 byte(s)
Diff to
previous 15844
Instead of providing default implementations for copy ctor's and assignment
operators we better make them private (and not implemented) to avoid people
from accidentally using them. Especially the collections classes and the
TQObject derived classes. In these classes the default implementations would
cause havoc due to multiple deletions of the same objects and other
potential memory corruptions.
Revision
15844 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Jul 24 16:11:45 2006 UTC (8 years, 6 months ago) by
rdm
Original Path:
trunk/gui/inc/TGFileDialog.h
File length: 4795 byte(s)
Diff to
previous 15134
From David Gonzalez Maline and Bertrand:
A bunch of modifications in TGFileDialog (mainly user requests):
- Sort files by name and not by type anymore.
- Increased the vertical scroll size.
- Implemented multiple file selection; can be turned on/off with a
checkbox on the TGFileDialog.
Here is an example of how to use multiple selection:
TGFileInfo fi;
new TGFileDialog(fClient->GetDefaultRoot(), this, kFDOpen,&fi);
if (fi.fMultipleSelection && fi.fFileNamesList) {
TObjString *el;
TIter next(fi.fFileNamesList);
while ((el = (TObjString *) next())) {
new TFile(el->GetString(), "update");
}
}
else if (fi.fFilename) {
new TFile(fi.fFilename, "update");
}
Revision
15134 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue May 23 04:47:42 2006 UTC (8 years, 8 months ago) by
brun
Original Path:
trunk/gui/inc/TGFileDialog.h
File length: 4470 byte(s)
Diff to
previous 15040
From Federico Carminati:
"I have implemented all copy and equal operators needed to silence all
warnings in AliRoot, as requested. I have implemented shallow copies as
would do the default operators synthetized by the compiler.
Most operators are protected. If users complain, you just have to move
them into the public area, but class derivation is of course supported.
It has been a terrible job, I have modified 278 files, but the changes
are backward compabile, and this goes a long way to permitting user to
use the effc++ flag with root headers."
Revision
11142 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Feb 18 09:26:54 2005 UTC (9 years, 11 months ago) by
rdm
Original Path:
trunk/gui/inc/TGFileDialog.h
File length: 4289 byte(s)
Diff to
previous 10694
Frol Ilka:
class TGFileInfo:
- a new data member: Bool_t fOverwrite (if true overwrite the file with
existing name on save without the confirmation message)
class TGFileDialog:
- added a new data member TGCheckButton *fOverWR for setting file
overwriting on/off via the GUI; setting the check box ON will
suppress the confirmation message for overwriting an existing file;
the user choice is saved for the next time the Save dialog is shown
- layout changes
- code cleaning
Revision
9945 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 8 08:13:11 2004 UTC (10 years, 4 months ago) by
brun
Original Path:
trunk/gui/inc/TGFileDialog.h
File length: 4496 byte(s)
Diff to
previous 2474
From Valeriy Onuchin:
- provide default constructors for most TGxxx classes.
The goal:
1. required for guibuilder
2. providing ROOT I/O for GUI classes.
In all default constructors parent window is NULL,
that means that parent window is currently editted window.
Revision
2474 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jun 27 16:43:55 2001 UTC (13 years, 7 months ago) by
rdm
Original Path:
trunk/gui/inc/TGFileDialog.h
File length: 4474 byte(s)
Diff to
previous 2110
in the TGFileInfo argument it is now possible to set the initial directory
(fIniDir). On return this fIniDir is set to the directory containing the
selected file. This makes it easy to open the dialog again in the previously
selected directory. For an example see $ROOTSYS/test/guitest.cxx. To
implement this change the TGFileInfo behaviour has changed in a backward
incompatible way:
1) the fFileTypes field is now "const char**" (was "char**")
2) the fFilename and fIniDir strings are now deleted by the TGFileInfo
dtor and not anymore in the user code. This change requires you to
remove any "delete [] fi.fFilename" statements from your code.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.