guiconstants.h 1002 B

123456789101112131415161718192021222324252627282930313233
  1. // ECOin - Copyright (c) - 2014/2021 - GPLv3 - epsylon@riseup.net (https://03c8.net)
  2. #ifndef GUICONSTANTS_H
  3. #define GUICONSTANTS_H
  4. /* Milliseconds between model updates */
  5. static const int MODEL_UPDATE_DELAY = 500;
  6. /* AskPassphraseDialog -- Maximum passphrase length */
  7. static const int MAX_PASSPHRASE_SIZE = 1024;
  8. /* EcoinGUI -- Size of icons in status bar */
  9. static const int STATUSBAR_ICONSIZE = 16;
  10. /* Invalid field background style */
  11. #define STYLE_INVALID "background:#FF8080"
  12. /* Transaction list -- unconfirmed transaction */
  13. #define COLOR_UNCONFIRMED QColor(128, 128, 128)
  14. /* Transaction list -- negative amount */
  15. #define COLOR_NEGATIVE QColor(255, 0, 0)
  16. /* Transaction list -- bare address (without label) */
  17. #define COLOR_BAREADDRESS QColor(140, 140, 140)
  18. static const int TOOLTIP_WRAP_THRESHOLD = 80;
  19. /* Maximum allowed URI length */
  20. static const int MAX_URI_LENGTH = 255;
  21. /* QRCodeDialog -- size of exported QR Code image */
  22. #define EXPORT_IMAGE_SIZE 256
  23. #endif // GUICONSTANTS_H