Salome HOME
projects
/
modules
/
gui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PAL10110 - incorrect title of dialog of file selection for file preference item
[modules/gui.git]
/
src
/
ObjBrowser
/
OB_Browser.cxx
diff --git
a/src/ObjBrowser/OB_Browser.cxx
b/src/ObjBrowser/OB_Browser.cxx
index 129503b0d782dd4fba4316da5b0b35a7591bede6..a660a57d762860607f6a1f12c68544be83fdc7ef 100755
(executable)
--- a/
src/ObjBrowser/OB_Browser.cxx
+++ b/
src/ObjBrowser/OB_Browser.cxx
@@
-456,6
+456,12
@@
void OB_Browser::setColumnShown( const int id, const bool on )
myView->setShown( myColumnIds[id], on );
}
myView->setShown( myColumnIds[id], on );
}
+void OB_Browser::setWidthMode( QListView::WidthMode mode )
+{
+ for ( int i = 0, n = myView->columns(); i < n; i++ )
+ myView->setColumnWidthMode( i, mode );
+}
+
QValueList<int> OB_Browser::columns() const
{
QValueList<int> lst;
QValueList<int> OB_Browser::columns() const
{
QValueList<int> lst;