Diffstat (limited to 'noncore/apps/zsafe/scqtfiledlg.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/zsafe/scqtfiledlg.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/apps/zsafe/scqtfiledlg.cpp b/noncore/apps/zsafe/scqtfiledlg.cpp index c67bbd5..f036101 100644 --- a/noncore/apps/zsafe/scqtfiledlg.cpp +++ b/noncore/apps/zsafe/scqtfiledlg.cpp | |||
@@ -122,55 +122,55 @@ ScQtFileDlg::ScQtFileDlg( QWidget* parent, const char* name, bool modal, WFlags | |||
122 | TypeComboBox->setInsertionPolicy( QComboBox::AtBottom ); | 122 | TypeComboBox->setInsertionPolicy( QComboBox::AtBottom ); |
123 | TypeComboBox->setAutoCompletion( FALSE ); | 123 | TypeComboBox->setAutoCompletion( FALSE ); |
124 | TypeComboBox->setDuplicatesEnabled( FALSE ); | 124 | TypeComboBox->setDuplicatesEnabled( FALSE ); |
125 | QToolTip::add( TypeComboBox, tr( "file type filter" ) ); | 125 | QToolTip::add( TypeComboBox, tr( "file type filter" ) ); |
126 | QWhatsThis::add( TypeComboBox, tr( "ComboBox FileTypeFilter\n" | 126 | QWhatsThis::add( TypeComboBox, tr( "ComboBox FileTypeFilter\n" |
127 | "\n" | 127 | "\n" |
128 | "edit or select the filter" ) ); | 128 | "edit or select the filter" ) ); |
129 | Layout3->addWidget( TypeComboBox ); | 129 | Layout3->addWidget( TypeComboBox ); |
130 | QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); | 130 | QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); |
131 | Layout3->addItem( spacer ); | 131 | Layout3->addItem( spacer ); |
132 | 132 | ||
133 | OkButton = new QToolButton( this, "OkButton" ); | 133 | OkButton = new QToolButton( this, "OkButton" ); |
134 | OkButton->setText( tr( "" ) ); | 134 | OkButton->setText( "" ); |
135 | OkButton->setPixmap( image0 ); | 135 | OkButton->setPixmap( image0 ); |
136 | OkButton->setUsesBigPixmap( FALSE ); | 136 | OkButton->setUsesBigPixmap( FALSE ); |
137 | QToolTip::add( OkButton, tr( "confirms the selection and closes the form" ) ); | 137 | QToolTip::add( OkButton, tr( "confirms the selection and closes the form" ) ); |
138 | QWhatsThis::add( OkButton, tr( "OKButton" ) ); | 138 | QWhatsThis::add( OkButton, tr( "OKButton" ) ); |
139 | Layout3->addWidget( OkButton ); | 139 | Layout3->addWidget( OkButton ); |
140 | 140 | ||
141 | CancelButton = new QToolButton( this, "CancelButton" ); | 141 | CancelButton = new QToolButton( this, "CancelButton" ); |
142 | CancelButton->setText( tr( "" ) ); | 142 | CancelButton->setText( "" ); |
143 | CancelButton->setPixmap( image1 ); | 143 | CancelButton->setPixmap( image1 ); |
144 | CancelButton->setUsesBigPixmap( FALSE ); | 144 | CancelButton->setUsesBigPixmap( FALSE ); |
145 | QToolTip::add( CancelButton, tr( "cancels the selection and closes the form" ) ); | 145 | QToolTip::add( CancelButton, tr( "cancels the selection and closes the form" ) ); |
146 | QWhatsThis::add( CancelButton, tr( "CancelButton" ) ); | 146 | QWhatsThis::add( CancelButton, tr( "CancelButton" ) ); |
147 | Layout3->addWidget( CancelButton ); | 147 | Layout3->addWidget( CancelButton ); |
148 | Layout4->addLayout( Layout3 ); | 148 | Layout4->addLayout( Layout3 ); |
149 | 149 | ||
150 | Layout3_2 = new QHBoxLayout; | 150 | Layout3_2 = new QHBoxLayout; |
151 | Layout3_2->setSpacing( 6 ); | 151 | Layout3_2->setSpacing( 6 ); |
152 | Layout3_2->setMargin( 0 ); | 152 | Layout3_2->setMargin( 0 ); |
153 | 153 | ||
154 | FNameLineEdit = new QLineEdit( this, "FNameLineEdit" ); | 154 | FNameLineEdit = new QLineEdit( this, "FNameLineEdit" ); |
155 | QToolTip::add( FNameLineEdit, tr( "shows the selected filename" ) ); | 155 | QToolTip::add( FNameLineEdit, tr( "shows the selected filename" ) ); |
156 | QWhatsThis::add( FNameLineEdit, tr( "Filename LineEdit\n" | 156 | QWhatsThis::add( FNameLineEdit, tr( "Filename LineEdit\n" |
157 | "\n" | 157 | "\n" |
158 | "shows the selected file\n" | 158 | "shows the selected file\n" |
159 | "and allows the direct filename\n" | 159 | "and allows the direct filename\n" |
160 | "edit" ) ); | 160 | "edit" ) ); |
161 | Layout3_2->addWidget( FNameLineEdit ); | 161 | Layout3_2->addWidget( FNameLineEdit ); |
162 | 162 | ||
163 | MkDirButton = new QToolButton( this, "MkDirButton" ); | 163 | MkDirButton = new QToolButton( this, "MkDirButton" ); |
164 | MkDirButton->setText( tr( "" ) ); | 164 | MkDirButton->setText( "" ); |
165 | MkDirButton->setPixmap( image2 ); | 165 | MkDirButton->setPixmap( image2 ); |
166 | MkDirButton->setUsesBigPixmap( FALSE ); | 166 | MkDirButton->setUsesBigPixmap( FALSE ); |
167 | QToolTip::add( MkDirButton, tr( "confirms the selection and closes the form" ) ); | 167 | QToolTip::add( MkDirButton, tr( "confirms the selection and closes the form" ) ); |
168 | QWhatsThis::add( MkDirButton, tr( "OKButton" ) ); | 168 | QWhatsThis::add( MkDirButton, tr( "OKButton" ) ); |
169 | Layout3_2->addWidget( MkDirButton ); | 169 | Layout3_2->addWidget( MkDirButton ); |
170 | Layout4->addLayout( Layout3_2 ); | 170 | Layout4->addLayout( Layout3_2 ); |
171 | 171 | ||
172 | DirComboBox = new QComboBox( FALSE, this, "DirComboBox" ); | 172 | DirComboBox = new QComboBox( FALSE, this, "DirComboBox" ); |
173 | DirComboBox->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, DirComboBox->sizePolicy().hasHeightForWidth() ) ); | 173 | DirComboBox->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, DirComboBox->sizePolicy().hasHeightForWidth() ) ); |
174 | DirComboBox->setEditable( TRUE ); | 174 | DirComboBox->setEditable( TRUE ); |
175 | DirComboBox->setDuplicatesEnabled( FALSE ); | 175 | DirComboBox->setDuplicatesEnabled( FALSE ); |
176 | QWhatsThis::add( DirComboBox, tr( "ComboBox Directory \n" | 176 | QWhatsThis::add( DirComboBox, tr( "ComboBox Directory \n" |