KDEUI
#include "kruler.h"
#include <QFont>
#include <QPolygon>
#include <QStylePainter>
#include "kruler.moc"
Go to the source code of this file.
Macro Definition Documentation
#define BASE_MARK_LENGTH (LITTLE_MARK_LENGTH/2) |
Definition at line 61 of file kruler.cpp.
#define BASE_MARK_X1 (BASE_MARK_X2 - BASE_MARK_LENGTH) |
Definition at line 63 of file kruler.cpp.
#define BASE_MARK_X2 LINE_END |
Definition at line 62 of file kruler.cpp.
#define BIG_MARK_LENGTH (END_MARK_LENGTH*3/4) |
Definition at line 52 of file kruler.cpp.
#define BIG_MARK_X1 (BIG_MARK_X2 - BIG_MARK_LENGTH) |
Definition at line 54 of file kruler.cpp.
#define BIG_MARK_X2 LINE_END |
Definition at line 53 of file kruler.cpp.
#define END_LABEL_X 4 |
Definition at line 66 of file kruler.cpp.
#define END_LABEL_Y (END_LABEL_X + LABEL_SIZE - 2) |
Definition at line 67 of file kruler.cpp.
#define END_MARK_LENGTH (FIX_WIDTH - 6) |
Definition at line 49 of file kruler.cpp.
#define END_MARK_X1 (END_MARK_X2 - END_MARK_LENGTH) |
Definition at line 51 of file kruler.cpp.
#define END_MARK_X2 LINE_END |
Definition at line 50 of file kruler.cpp.
#define FIX_WIDTH 20 /* widget width in pixel */ |
Definition at line 47 of file kruler.cpp.
#define INIT_BIG_MARK_DISTANCE (INIT_LITTLE_MARK_DISTANCE * 10) |
Definition at line 33 of file kruler.cpp.
#define INIT_END_OFFSET 0 |
Definition at line 45 of file kruler.cpp.
#define INIT_LENGTH_FIX true |
Definition at line 44 of file kruler.cpp.
#define INIT_LITTLE_MARK_DISTANCE 5 |
Definition at line 31 of file kruler.cpp.
#define INIT_MAX_VALUE 100 |
Definition at line 29 of file kruler.cpp.
#define INIT_MIDDLE_MARK_DISTANCE (INIT_LITTLE_MARK_DISTANCE * 2) |
Definition at line 32 of file kruler.cpp.
#define INIT_MIN_VALUE 0 |
Definition at line 28 of file kruler.cpp.
#define INIT_OFFSET (-20) |
Definition at line 43 of file kruler.cpp.
#define INIT_PIXEL_PER_MARK (double)10.0 /* distance between 2 base marks in pixel */ |
Definition at line 42 of file kruler.cpp.
#define INIT_SHOW_BIG_MARK true |
Definition at line 37 of file kruler.cpp.
#define INIT_SHOW_END_LABEL true |
Definition at line 40 of file kruler.cpp.
#define INIT_SHOW_END_MARK true |
Definition at line 38 of file kruler.cpp.
#define INIT_SHOW_LITTLE_MARK true |
Definition at line 35 of file kruler.cpp.
#define INIT_SHOW_MEDIUM_MARK true |
Definition at line 36 of file kruler.cpp.
#define INIT_SHOW_POINTER true |
Definition at line 39 of file kruler.cpp.
#define INIT_SHOW_TINY_MARK false |
Definition at line 34 of file kruler.cpp.
#define INIT_TINY_MARK_DISTANCE 1 |
Definition at line 30 of file kruler.cpp.
#define INIT_VALUE 0 |
Definition at line 27 of file kruler.cpp.
#define LABEL_SIZE 8 |
Definition at line 65 of file kruler.cpp.
#define LINE_END (FIX_WIDTH - 3) |
Definition at line 48 of file kruler.cpp.
#define LITTLE_MARK_LENGTH (MIDDLE_MARK_LENGTH/2) |
Definition at line 58 of file kruler.cpp.
#define LITTLE_MARK_X1 (LITTLE_MARK_X2 - LITTLE_MARK_LENGTH) |
Definition at line 60 of file kruler.cpp.
#define LITTLE_MARK_X2 LINE_END |
Definition at line 59 of file kruler.cpp.
#define MIDDLE_MARK_LENGTH (END_MARK_LENGTH/2) |
Definition at line 55 of file kruler.cpp.
#define MIDDLE_MARK_X1 (MIDDLE_MARK_X2 - MIDDLE_MARK_LENGTH) |
Definition at line 57 of file kruler.cpp.
#define MIDDLE_MARK_X2 LINE_END |
Definition at line 56 of file kruler.cpp.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:01 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.