#include "widgets/city/governor_widget.h"
#include "fc_types.h"
#include "governor.h"
#include "cm.h"
#include <QSlider>
#include <QTimer>
Go to the source code of this file.
◆ get_output
| #define get_output |
( |
|
name, |
|
|
|
O_TYPE |
|
) |
| |
Value: params.minimal_surplus[O_TYPE] = ui.name##_surplus->value(); \
params.factor[O_TYPE] = ui.name##_priority->value();
◆ sync_output
| #define sync_output |
( |
|
name, |
|
|
|
O_TYPE |
|
) |
| |
Value: ui.name##_surplus->setValue(params.minimal_surplus[O_TYPE]); \
ui.name##_priority->setValue(params.factor[O_TYPE]);