admin [Fri, 7 Mar 2008 07:44:17 +0000 (07:44 +0000)]
This commit was generated by cvs2git to create branch 'For_CTH_V12'.
Cherrypick from master 2008-03-07 07:44:13 UTC jfa <jfa@opencascade.com> 'Join modifications from BR_Dev_For_4_0 tag V4_1_1.':
src/ObjBrowser/OB_FindDlg.cxx
src/ObjBrowser/OB_FindDlg.h
src/ObjBrowser/OB_ObjSearch.cxx
src/ObjBrowser/OB_ObjSearch.h
sln [Tue, 20 Nov 2007 10:55:29 +0000 (10:55 +0000)]
savePreferences(); method is called after study->closeDocument(); method call because closeDocument method can influence on visibility of tool bar(CTH17800)
Protection from automatic generation of titles using curve\92s titles is added. Before this protection user could specify the titles manually using \93Plot 2d View Settings\94 dialog box. There was situation when titles generated automatically in updateTitles method and user lost his changes. Now there are myTitleAutoGeneration, myXTitleAutoGeneration, myYTitleAutoGeneration fields. They are true by default but if user changes titles they becomes true and automatic generation is not performed. Also corresponding methods for setting/getting these fields are added. Signal titleChangedByUser( const int theObjectType ) added too.
QtxWorkstackArea::removeWidget method updated. Now if active window is removed then activated( activeWidget() )signal is emited in order to notify QtxWorkstack about change of active window
sln [Thu, 22 Mar 2007 12:39:00 +0000 (12:39 +0000)]
myNbMarkers field is added. This field is specified number of markers for steps. Sets number of markers for steps. If number of markers is equal to 1 (default) then markers are displayed for steps only. If number of markers is equal to 3 (for example) then markers are displayed for steps and two markers are displayed between steps.
sln [Thu, 22 Mar 2007 12:36:54 +0000 (12:36 +0000)]
Plot2d_SetupCurvesDlg is added.
New class Plot2d_PlotCurve is added. The class is derived from QwtPlotCurve. Its main purpose is redefining drawSymbols virtual method in order to provide possibility to change number of markers between steps.
New methods are added in Plot2d_Plot2d:
bool setCurveNbMarkers( long key, const int nb );
int curveNbMarkers( long key ) const;
sln [Thu, 22 Mar 2007 12:34:19 +0000 (12:34 +0000)]
Plot2d_SetupCurvesDlg is added
Dialog contains table with parameters of curves and \93-\94 button for removing curves.
Table columns:
\93Fig\94\96 read-only column for preview of marker. It depends on values of \93Marker\94 and \93Color\94 columns. If values of this columns are changed then preview of marker is updated accordingly.
\93Text\94\96 column for changing name of legend
\93Marker\94 - column for changing type of marker
\93Color\94\96 column for changing color of curve and curve\92s marker
\93Nb markers\94\96 column for changing number of marker\92s for steps. If number of markers is equal to 1 then markers are displayed for steps only. If number of markers is equal to 3 (for example) then markers are displayed for steps and two markers are displayed between side by side steps.
sln [Thu, 22 Mar 2007 12:32:47 +0000 (12:32 +0000)]
Dialog contains table with parameters of curves and \93-\94 button for removing curves.
Table columns:
\93Fig\94\96 read-only column for preview of marker. It depends on values of \93Marker\94 and \93Color\94 columns. If values of this columns are changed then preview of marker is updated accordingly.
\93Text\94\96 column for changing name of legend
\93Marker\94 - column for changing type of marker
\93Color\94\96 column for changing color of curve and curve\92s marker
\93Nb markers\94\96 column for changing number of marker\92s for steps. If number of markers is equal to 1 then markers are displayed for steps only. If number of markers is equal to 3 (for example) then markers are displayed for steps and two markers are displayed between side by side steps.
sln [Tue, 31 Oct 2006 07:36:47 +0000 (07:36 +0000)]
Merged with BR_L_2_3_5
// Protection against QwtCurve::drawLines() bug in Qwt 0.4.x:
// sometimes it crashes (FPE) if draws curve with big abciss or ordinate cooridates
// after curve with small values
double getMaxX() const;
double getMaxY() const;
Identificator assignment moved on the base level - SUIT_ViewManager. Useless id's removed from inherit classes.
Title mechanism in the SUIT_ViewManager was changed. Now view manager support title for views with specific tags: %M - view manager number, %V - view number.
Identificator assignment moved on the base level - SUIT_ViewManager. Useless id's removed from inherit classes.
Title mechanism in the SUIT_ViewManager was changed. Now view manager support title for views with specific tags: %M - view manager number, %V - view number.
Slot onDeleteView() renamed as onClosingView().
Handler QWidget::closeEvent() not invoked for SUIT_ViewWindow. View window hides and removes by the virtual method SUIT_ViewManager::closeView(). User can define own behavior of window closing.
Identificator assignment moved on the base level - SUIT_ViewManager. Useless id's removed from inherit classes.
Title mechanism in the SUIT_ViewManager was changed. Now view manager support title for views with specific tags: %M - view manager number, %V - view number.