mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
use "static const" - variables instead of multiple times values in source-code
use multiplication-sign "×" instead of asterisk "*" between widht and height
This commit is contained in:
@@ -79,6 +79,11 @@ class ExportDialog : public QDialog {
|
||||
QSignalMapper *reset_mapper_;
|
||||
QSignalMapper *clipboard_mapper_;
|
||||
|
||||
// constants for exporting images:
|
||||
static const int BMPmaxSize = 32767;
|
||||
static const int JPGmaxSize = 65535;
|
||||
static const int GeneralMaxSize = 100000;
|
||||
|
||||
// project whose diagrams are to be exported
|
||||
QETProject *project_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user