Download src/initializing.cc from dlxjj/goldendict-ng: direct link, hf CLI and curl.
- Browser
- Download file 981 Bytes
-
https://huggingface.co/datasets/dlxjj/goldendict-ng/resolve/main/src/initializing.cc
- Command line
-
hf download hf://datasets/dlxjj/goldendict-ng/src/initializing.cc
-
curl -L -o initializing.cc https://huggingface.co/datasets/dlxjj/goldendict-ng/resolve/main/src/initializing.cc
981 Bytes
| /* This file is (c) 2008-2012 Konstantin Isakov <ikm@goldendict.org> | |
| * Part of GoldenDict. Licensed under GPLv3 or later, see the LICENSE file */ | |
| Initializing::Initializing( QWidget * parent, bool showSplashWindow ): | |
| QDialog( parent ) | |
| { | |
| ui.setupUi( this ); | |
| setWindowFlags( Qt::Dialog | Qt::FramelessWindowHint ); | |
| setWindowIcon( QIcon( ":/icons/programicon.png" ) ); | |
| if ( showSplashWindow ) { | |
| ui.operation->setText( tr( "Please wait..." ) ); | |
| ui.dictionary->setText( "" ); | |
| show(); | |
| } | |
| } | |
| void Initializing::indexing( const QString & dictionaryName ) | |
| { | |
| ui.operation->setText( tr( "Indexing..." ) ); | |
| ui.dictionary->setText( dictionaryName ); | |
| } | |
| void Initializing::loading( const QString & dictionaryName ) | |
| { | |
| ui.operation->setText( tr( "Loading..." ) ); | |
| ui.dictionary->setText( dictionaryName ); | |
| } | |
| void Initializing::closeEvent( QCloseEvent * ev ) | |
| { | |
| ev->ignore(); | |
| } | |
| void Initializing::reject() {} | |