mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-28 14:20:34 +05:00
23049: [CEA 1475] Increase the size of some dialog boxes
This commit is contained in:
parent
3b8dd51d87
commit
718926b36c
@ -150,6 +150,8 @@
|
|||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QMenu>
|
#include <QMenu>
|
||||||
#include <QTextStream>
|
#include <QTextStream>
|
||||||
|
#include <QListView>
|
||||||
|
#include <QTreeView>
|
||||||
|
|
||||||
// BOOST includes
|
// BOOST includes
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
@ -716,6 +718,16 @@ namespace
|
|||||||
fd->setDirectory( anInitialPath );
|
fd->setDirectory( anInitialPath );
|
||||||
fd->selectFile(aMeshName);
|
fd->selectFile(aMeshName);
|
||||||
|
|
||||||
|
|
||||||
|
QListView *lview = fd->findChild<QListView*>("listView");
|
||||||
|
if( lview ) {
|
||||||
|
lview->setMinimumHeight(200);
|
||||||
|
}
|
||||||
|
QTreeView *tview = fd->findChild<QTreeView*>("treeView");
|
||||||
|
if( tview ) {
|
||||||
|
tview->setMinimumHeight(200);
|
||||||
|
}
|
||||||
|
|
||||||
SMESHGUI_FileValidator* fv = new SMESHGUI_FileValidator( fd );
|
SMESHGUI_FileValidator* fv = new SMESHGUI_FileValidator( fd );
|
||||||
fd->setValidator( fv );
|
fd->setValidator( fv );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user