I found the problem
Was:
const QString Attr
::FILE_NAME_LABEL = tr
( "File name: " );
.....
Attr::Attr( QWidget* const in_parent,
const QString
& in_dir,
const ViewTable
::SelectedItems& in_items
) .....
, d_fname_label
( new QLabel( FILE_NAME_LABEL ,
this ) ){
}
const QString Attr::FILE_NAME_LABEL = tr( "File name: " );
.....
Attr::Attr( QWidget* const in_parent, const QString& in_dir, const ViewTable::SelectedItems& in_items )
: QDialog( in_parent )
.....
, d_fname_label ( new QLabel( FILE_NAME_LABEL , this ) )
{
}
To copy to clipboard, switch view to plain text mode
And now:
, d_fname_label
( new QLabel( tr
( FILE_NAME_LABEL
),
this ) )
, d_fname_label ( new QLabel( tr( FILE_NAME_LABEL ), this ) )
To copy to clipboard, switch view to plain text mode
In initialisation in constructor must be 'tr' !!!!!!
Best Regards
Piotr
Bookmarks