mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-30 15:50:52 +01:00
Include some fonts to QElectroTech
- include Liberation-Fonts and osifont (thanks elevatormind!) - use "Liberation Sans" as default-font - adjust License-Tab in About-Form - Bugfix: When selecting a font, the current font is highlighted in dialog - adjust some whitespace and English comments
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
#include <QVBoxLayout>
|
||||
|
||||
/**
|
||||
Constructeur
|
||||
Constructeur / Constructor
|
||||
@param editor L'editeur d'element concerne
|
||||
@param p La partie a editer
|
||||
@param parent le Widget parent
|
||||
@@ -582,17 +582,17 @@ bool StyleEditor::isStyleEditable(QList<CustomElementPart *> cep_list)
|
||||
*/
|
||||
void StyleEditor::activeConnections(bool active) {
|
||||
if (active) {
|
||||
connect (outline_color, SIGNAL(activated(int)), this, SLOT(updatePartColor()));
|
||||
connect(line_style, SIGNAL(activated(int)), this, SLOT(updatePartLineStyle()));
|
||||
connect(size_weight, SIGNAL(activated(int)), this, SLOT(updatePartLineWeight()));
|
||||
connect(filling_color, SIGNAL(activated(int)), this, SLOT(updatePartFilling()));
|
||||
connect(antialiasing, SIGNAL(stateChanged(int)), this, SLOT(updatePartAntialiasing()));
|
||||
connect (outline_color, SIGNAL(activated(int)), this, SLOT(updatePartColor()));
|
||||
connect(line_style, SIGNAL(activated(int)), this, SLOT(updatePartLineStyle()));
|
||||
connect(size_weight, SIGNAL(activated(int)), this, SLOT(updatePartLineWeight()));
|
||||
connect(filling_color, SIGNAL(activated(int)), this, SLOT(updatePartFilling()));
|
||||
connect(antialiasing, SIGNAL(stateChanged(int)), this, SLOT(updatePartAntialiasing()));
|
||||
} else {
|
||||
disconnect(outline_color, SIGNAL(activated(int)), this, SLOT(updatePartColor()));
|
||||
disconnect(line_style, SIGNAL(activated(int)), this, SLOT(updatePartLineStyle()));
|
||||
disconnect(size_weight, SIGNAL(activated(int)), this, SLOT(updatePartLineWeight()));
|
||||
disconnect(filling_color, SIGNAL(activated(int)), this, SLOT(updatePartFilling()));
|
||||
disconnect(antialiasing, SIGNAL(stateChanged(int)), this, SLOT(updatePartAntialiasing()));
|
||||
disconnect(outline_color, SIGNAL(activated(int)), this, SLOT(updatePartColor()));
|
||||
disconnect(line_style, SIGNAL(activated(int)), this, SLOT(updatePartLineStyle()));
|
||||
disconnect(size_weight, SIGNAL(activated(int)), this, SLOT(updatePartLineWeight()));
|
||||
disconnect(filling_color, SIGNAL(activated(int)), this, SLOT(updatePartFilling()));
|
||||
disconnect(antialiasing, SIGNAL(stateChanged(int)), this, SLOT(updatePartAntialiasing()));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user