mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-09-13 20:23:04 +02:00
Add icon system to language switch
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2781 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
parent
6d1d4e3bb8
commit
25b1be1e88
BIN
ico/22x22/applications-development-translation.png
Normal file
BIN
ico/22x22/applications-development-translation.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
@ -224,5 +224,6 @@
|
||||
<file>ico/24x16/sl.png</file>
|
||||
<file>ico/24x16/gr.png</file>
|
||||
<file>ico/24x16/it.png</file>
|
||||
<file>ico/22x22/applications-development-translation.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
@ -227,7 +227,7 @@ QString GeneralConfigurationPage::title() const {
|
||||
* fill all available lang in @lang_combo_box
|
||||
*/
|
||||
void GeneralConfigurationPage::fillLang(QSettings &settings) {
|
||||
lang_combo_box->addItem(tr("Syst\350me"), "system");
|
||||
lang_combo_box->addItem(QET::Icons::translation, tr("Syst\350me"), "system");
|
||||
lang_combo_box->insertSeparator(1);
|
||||
|
||||
// all lang available on lang directory
|
||||
|
@ -169,6 +169,7 @@ namespace QET {
|
||||
QIcon ro;
|
||||
QIcon ru;
|
||||
QIcon sl;
|
||||
QIcon translation;
|
||||
}
|
||||
}
|
||||
|
||||
@ -418,4 +419,5 @@ void QET::Icons::initIcons() {
|
||||
ro .addFile(":/ico/24x16/ro.png");
|
||||
ru .addFile(":/ico/24x16/ru.png");
|
||||
sl .addFile(":/ico/24x16/sl.png");
|
||||
translation .addFile(":/ico/22x22/applications-development-translation.png");
|
||||
}
|
||||
|
@ -178,6 +178,7 @@ namespace QET {
|
||||
extern QIcon ro;
|
||||
extern QIcon ru;
|
||||
extern QIcon sl;
|
||||
extern QIcon translation;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user