setWindowTitle( qtr( "Open a Media" ) );
/* Tab definition and creation */
- fileOpenPanel = new FileOpenPanel( ui.Tab, p_intf );
- discOpenPanel = new DiscOpenPanel( ui.Tab, p_intf );
- netOpenPanel = new NetOpenPanel( ui.Tab, p_intf );
- captureOpenPanel = new CaptureOpenPanel( ui.Tab, p_intf );
+ fileOpenPanel = new FileOpenPanel( this, p_intf );
+ discOpenPanel = new DiscOpenPanel( this, p_intf );
+ netOpenPanel = new NetOpenPanel( this, p_intf );
+ captureOpenPanel = new CaptureOpenPanel( this, p_intf );
/* Insert the tabs */
ui.Tab->insertTab( OPEN_FILE_TAB, fileOpenPanel, qtr( "&File" ) );
storedMethod = "";
newCachingMethod( "file-caching" );
- resize( getSettings()->value( "opendialog-size", QSize( 400, 490 ) ).toSize() );
+ setMinimumSize( sizeHint() );
+ resize( getSettings()->value( "opendialog-size", QSize( 500, 490 ) ).toSize() );
}
OpenDialog::~OpenDialog()
<rect>
<x>0</x>
<y>0</y>
- <width>519</width>
- <height>282</height>
+ <width>571</width>
+ <height>271</height>
</rect>
</property>
<property name="sizePolicy" >
- <sizepolicy vsizetype="Minimum" hsizetype="Preferred" >
+ <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>