1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028
|
.TH "QwtWheel" 3 "Thu Dec 11 2014" "Version 6.1.2" "Qwt User's Guide" \" -*- nroff -*-
.ad l
.nh
.SH NAME
QwtWheel \-
.PP
The Wheel Widget\&.
.SH SYNOPSIS
.br
.PP
.PP
\fC#include <qwt_wheel\&.h>\fP
.PP
Inherits QWidget\&.
.SS "Public Slots"
.in +1c
.ti -1c
.RI "void \fBsetValue\fP (double)"
.br
.RI "\fISet a new value without adjusting to the step raster\&. \fP"
.ti -1c
.RI "void \fBsetTotalAngle\fP (double)"
.br
.RI "\fISet the total angle which the wheel can be turned\&. \fP"
.ti -1c
.RI "void \fBsetViewAngle\fP (double)"
.br
.RI "\fISpecify the visible portion of the wheel\&. \fP"
.ti -1c
.RI "void \fBsetMass\fP (double)"
.br
.RI "\fISet the slider's mass for flywheel effect\&. \fP"
.in -1c
.SS "Signals"
.in +1c
.ti -1c
.RI "void \fBvalueChanged\fP (double \fBvalue\fP)"
.br
.RI "\fINotify a change of value\&. \fP"
.ti -1c
.RI "void \fBwheelPressed\fP ()"
.br
.ti -1c
.RI "void \fBwheelReleased\fP ()"
.br
.ti -1c
.RI "void \fBwheelMoved\fP (double \fBvalue\fP)"
.br
.in -1c
.SS "Public Member Functions"
.in +1c
.ti -1c
.RI "\fBQwtWheel\fP (QWidget *parent=NULL)"
.br
.RI "\fIConstructor\&. \fP"
.ti -1c
.RI "virtual \fB~QwtWheel\fP ()"
.br
.RI "\fIDestructor\&. \fP"
.ti -1c
.RI "double \fBvalue\fP () const "
.br
.ti -1c
.RI "void \fBsetOrientation\fP (Qt::Orientation)"
.br
.RI "\fISet the wheel's orientation\&. \fP"
.ti -1c
.RI "Qt::Orientation \fBorientation\fP () const "
.br
.ti -1c
.RI "double \fBtotalAngle\fP () const "
.br
.ti -1c
.RI "double \fBviewAngle\fP () const "
.br
.ti -1c
.RI "void \fBsetTickCount\fP (int)"
.br
.RI "\fIAdjust the number of grooves in the wheel's surface\&. \fP"
.ti -1c
.RI "int \fBtickCount\fP () const "
.br
.ti -1c
.RI "void \fBsetWheelWidth\fP (int)"
.br
.RI "\fISet the width of the wheel\&. \fP"
.ti -1c
.RI "int \fBwheelWidth\fP () const "
.br
.ti -1c
.RI "void \fBsetWheelBorderWidth\fP (int)"
.br
.RI "\fISet the wheel border width of the wheel\&. \fP"
.ti -1c
.RI "int \fBwheelBorderWidth\fP () const "
.br
.ti -1c
.RI "void \fBsetBorderWidth\fP (int)"
.br
.RI "\fISet the border width\&. \fP"
.ti -1c
.RI "int \fBborderWidth\fP () const "
.br
.ti -1c
.RI "void \fBsetInverted\fP (bool tf)"
.br
.RI "\fIEn/Disable inverted appearance\&. \fP"
.ti -1c
.RI "bool \fBisInverted\fP () const "
.br
.ti -1c
.RI "void \fBsetWrapping\fP (bool tf)"
.br
.RI "\fIEn/Disable wrapping\&. \fP"
.ti -1c
.RI "bool \fBwrapping\fP () const "
.br
.ti -1c
.RI "void \fBsetSingleStep\fP (double)"
.br
.RI "\fISet the step size of the counter\&. \fP"
.ti -1c
.RI "double \fBsingleStep\fP () const "
.br
.ti -1c
.RI "void \fBsetPageStepCount\fP (int)"
.br
.RI "\fISet the page step count\&. \fP"
.ti -1c
.RI "int \fBpageStepCount\fP () const "
.br
.ti -1c
.RI "void \fBsetStepAlignment\fP (bool on)"
.br
.RI "\fIEn/Disable step alignment\&. \fP"
.ti -1c
.RI "bool \fBstepAlignment\fP () const "
.br
.ti -1c
.RI "void \fBsetRange\fP (double vmin, double vmax)"
.br
.RI "\fISet the minimum and maximum values\&. \fP"
.ti -1c
.RI "void \fBsetMinimum\fP (double min)"
.br
.ti -1c
.RI "double \fBminimum\fP () const "
.br
.ti -1c
.RI "void \fBsetMaximum\fP (double max)"
.br
.ti -1c
.RI "double \fBmaximum\fP () const "
.br
.ti -1c
.RI "void \fBsetUpdateInterval\fP (int)"
.br
.RI "\fISpecify the update interval when the wheel is flying\&. \fP"
.ti -1c
.RI "int \fBupdateInterval\fP () const "
.br
.ti -1c
.RI "void \fBsetTracking\fP (bool enable)"
.br
.RI "\fIEn/Disable tracking\&. \fP"
.ti -1c
.RI "bool \fBisTracking\fP () const "
.br
.ti -1c
.RI "double \fBmass\fP () const "
.br
.in -1c
.SS "Protected Member Functions"
.in +1c
.ti -1c
.RI "virtual void \fBpaintEvent\fP (QPaintEvent *)"
.br
.RI "\fIQt Paint Event\&. \fP"
.ti -1c
.RI "virtual void \fBmousePressEvent\fP (QMouseEvent *)"
.br
.RI "\fIMouse press event handler\&. \fP"
.ti -1c
.RI "virtual void \fBmouseReleaseEvent\fP (QMouseEvent *)"
.br
.RI "\fIMouse Release Event handler\&. \fP"
.ti -1c
.RI "virtual void \fBmouseMoveEvent\fP (QMouseEvent *)"
.br
.RI "\fIMouse Move Event handler\&. \fP"
.ti -1c
.RI "virtual void \fBkeyPressEvent\fP (QKeyEvent *)"
.br
.ti -1c
.RI "virtual void \fBwheelEvent\fP (QWheelEvent *)"
.br
.RI "\fIHandle wheel events\&. \fP"
.ti -1c
.RI "virtual void \fBtimerEvent\fP (QTimerEvent *)"
.br
.RI "\fIQt timer event\&. \fP"
.ti -1c
.RI "void \fBstopFlying\fP ()"
.br
.RI "\fIStop the flying movement of the wheel\&. \fP"
.ti -1c
.RI "QRect \fBwheelRect\fP () const "
.br
.ti -1c
.RI "virtual QSize \fBsizeHint\fP () const "
.br
.ti -1c
.RI "virtual QSize \fBminimumSizeHint\fP () const "
.br
.ti -1c
.RI "virtual void \fBdrawTicks\fP (QPainter *, const QRectF &)"
.br
.ti -1c
.RI "virtual void \fBdrawWheelBackground\fP (QPainter *, const QRectF &)"
.br
.ti -1c
.RI "virtual double \fBvalueAt\fP (const QPoint &) const "
.br
.in -1c
.SH "Detailed Description"
.PP
The Wheel Widget\&.
The wheel widget can be used to change values over a very large range in very small steps\&. Using the \fBsetMass()\fP member, it can be configured as a flying wheel\&.
.PP
The default range of the wheel is [0\&.0, 100\&.0]
.PP
\fBSee Also:\fP
.RS 4
The radio example\&.
.RE
.PP
.SH "Member Function Documentation"
.PP
.SS "int QwtWheel::borderWidth () const"
.PP
\fBReturns:\fP
.RS 4
Border width
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetBorderWidth()\fP
.RE
.PP
.SS "void QwtWheel::drawTicks (QPainter *painter, const QRectF &rect)\fC [protected]\fP, \fC [virtual]\fP"
Draw the Wheel's ticks
.PP
\fBParameters:\fP
.RS 4
\fIpainter\fP Painter
.br
\fIrect\fP Geometry for the wheel
.RE
.PP
.SS "void QwtWheel::drawWheelBackground (QPainter *painter, const QRectF &rect)\fC [protected]\fP, \fC [virtual]\fP"
Draw the Wheel's background gradient
.PP
\fBParameters:\fP
.RS 4
\fIpainter\fP Painter
.br
\fIrect\fP Geometry for the wheel
.RE
.PP
.SS "bool QwtWheel::isInverted () const"
.PP
\fBReturns:\fP
.RS 4
True, when the wheel is inverted
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetInverted()\fP
.RE
.PP
.SS "bool QwtWheel::isTracking () const"
.PP
\fBReturns:\fP
.RS 4
True, when tracking is enabled
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetTracking()\fP, \fBvalueChanged()\fP, \fBwheelMoved()\fP
.RE
.PP
.SS "void QwtWheel::keyPressEvent (QKeyEvent *event)\fC [protected]\fP, \fC [virtual]\fP"
Handle key events
.PP
.IP "\(bu" 2
Qt::Key_Home
.br
Step to \fBminimum()\fP
.IP "\(bu" 2
Qt::Key_End
.br
Step to \fBmaximum()\fP
.IP "\(bu" 2
Qt::Key_Up
.br
In case of a horizontal or not inverted vertical wheel the value will be incremented by the step size\&. For an inverted vertical wheel the value will be decremented by the step size\&.
.IP "\(bu" 2
Qt::Key_Down
.br
In case of a horizontal or not inverted vertical wheel the value will be decremented by the step size\&. For an inverted vertical wheel the value will be incremented by the step size\&.
.IP "\(bu" 2
Qt::Key_PageUp
.br
The value will be incremented by pageStepSize() * singleStepSize()\&.
.IP "\(bu" 2
Qt::Key_PageDown
.br
The value will be decremented by pageStepSize() * singleStepSize()\&.
.PP
.PP
\fBParameters:\fP
.RS 4
\fIevent\fP Key event
.RE
.PP
.SS "double QwtWheel::mass () const"
.PP
\fBReturns:\fP
.RS 4
mass
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetMass()\fP
.RE
.PP
.SS "double QwtWheel::maximum () const"
.PP
\fBReturns:\fP
.RS 4
The maximum of the range
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetRange()\fP, \fBsetMaximum()\fP, \fBminimum()\fP
.RE
.PP
.SS "double QwtWheel::minimum () const"
.PP
\fBReturns:\fP
.RS 4
The minimum of the range
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetRange()\fP, \fBsetMinimum()\fP, \fBmaximum()\fP
.RE
.PP
.SS "QSize QwtWheel::minimumSizeHint () const\fC [protected]\fP, \fC [virtual]\fP"
.PP
\fBReturns:\fP
.RS 4
Minimum size hint
.RE
.PP
\fBWarning:\fP
.RS 4
The return value is based on the wheel width\&.
.RE
.PP
.SS "void QwtWheel::mouseMoveEvent (QMouseEvent *event)\fC [protected]\fP, \fC [virtual]\fP"
.PP
Mouse Move Event handler\&. Turn the wheel according to the mouse position
.PP
\fBParameters:\fP
.RS 4
\fIevent\fP Mouse event
.RE
.PP
.SS "void QwtWheel::mousePressEvent (QMouseEvent *event)\fC [protected]\fP, \fC [virtual]\fP"
.PP
Mouse press event handler\&. Start movement of the wheel\&.
.PP
\fBParameters:\fP
.RS 4
\fIevent\fP Mouse event
.RE
.PP
.SS "void QwtWheel::mouseReleaseEvent (QMouseEvent *event)\fC [protected]\fP, \fC [virtual]\fP"
.PP
Mouse Release Event handler\&. When the wheel has no mass the movement of the wheel stops, otherwise it starts flying\&.
.PP
\fBParameters:\fP
.RS 4
\fIevent\fP Mouse event
.RE
.PP
.SS "Qt::Orientation QwtWheel::orientation () const"
.PP
\fBReturns:\fP
.RS 4
Orientation
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetOrientation()\fP
.RE
.PP
.SS "int QwtWheel::pageStepCount () const"
.PP
\fBReturns:\fP
.RS 4
Page step count
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetPageStepCount()\fP, \fBsingleStep()\fP
.RE
.PP
.SS "void QwtWheel::paintEvent (QPaintEvent *event)\fC [protected]\fP, \fC [virtual]\fP"
.PP
Qt Paint Event\&.
.PP
\fBParameters:\fP
.RS 4
\fIevent\fP Paint event
.RE
.PP
.SS "void QwtWheel::setBorderWidth (intwidth)"
.PP
Set the border width\&. The border defaults to 2\&.
.PP
\fBParameters:\fP
.RS 4
\fIwidth\fP Border width
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBborderWidth()\fP
.RE
.PP
.SS "void QwtWheel::setInverted (boolon)"
.PP
En/Disable inverted appearance\&. An inverted wheel increases its values in the opposite direction\&. The direction of an inverted horizontal wheel will be from right to left an inverted vertical wheel will increase from bottom to top\&.
.PP
\fBParameters:\fP
.RS 4
\fIon\fP En/Disable inverted appearance
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBisInverted()\fP
.RE
.PP
.SS "void QwtWheel::setMass (doublemass)\fC [slot]\fP"
.PP
Set the slider's mass for flywheel effect\&. If the slider's mass is greater then 0, it will continue to move after the mouse button has been released\&. Its speed decreases with time at a rate depending on the slider's mass\&. A large mass means that it will continue to move for a long time\&.
.PP
Derived widgets may overload this function to make it public\&.
.PP
\fBParameters:\fP
.RS 4
\fImass\fP New mass in kg
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBmass()\fP
.RE
.PP
.SS "void QwtWheel::setMaximum (doublevalue)"
Set the maximum value of the range
.PP
\fBParameters:\fP
.RS 4
\fIvalue\fP Maximum value
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetRange()\fP, \fBsetMinimum()\fP, \fBmaximum()\fP
.RE
.PP
.SS "void QwtWheel::setMinimum (doublevalue)"
Set the minimum value of the range
.PP
\fBParameters:\fP
.RS 4
\fIvalue\fP Minimum value
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetRange()\fP, \fBsetMaximum()\fP, \fBminimum()\fP
.RE
.PP
\fBNote:\fP
.RS 4
The maximum is adjusted if necessary to ensure that the range remains valid\&.
.RE
.PP
.SS "void QwtWheel::setOrientation (Qt::Orientationorientation)"
.PP
Set the wheel's orientation\&. The default orientation is Qt::Horizontal\&.
.PP
\fBParameters:\fP
.RS 4
\fIorientation\fP Qt::Horizontal or Qt::Vertical\&.
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBorientation()\fP
.RE
.PP
.SS "void QwtWheel::setPageStepCount (intcount)"
.PP
Set the page step count\&. pageStepCount is a multiplicator for the single step size that typically corresponds to the user pressing PageUp or PageDown\&.
.PP
A value of 0 disables page stepping\&.
.PP
The default value is 1\&.
.PP
\fBParameters:\fP
.RS 4
\fIcount\fP Multiplicator for the single step size
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBpageStepCount()\fP, \fBsetSingleStep()\fP
.RE
.PP
.SS "void QwtWheel::setRange (doublemin, doublemax)"
.PP
Set the minimum and maximum values\&. The maximum is adjusted if necessary to ensure that the range remains valid\&. The value might be modified to be inside of the range\&.
.PP
\fBParameters:\fP
.RS 4
\fImin\fP Minimum value
.br
\fImax\fP Maximum value
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBminimum()\fP, \fBmaximum()\fP
.RE
.PP
.SS "void QwtWheel::setSingleStep (doublestepSize)"
.PP
Set the step size of the counter\&. A value <= 0\&.0 disables stepping
.PP
\fBParameters:\fP
.RS 4
\fIstepSize\fP Single step size
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsingleStep()\fP, \fBsetPageStepCount()\fP
.RE
.PP
.SS "void QwtWheel::setStepAlignment (boolon)"
.PP
En/Disable step alignment\&. When step alignment is enabled value changes initiated by user input ( mouse, keyboard, wheel ) are aligned to the multiples of the single step\&.
.PP
\fBParameters:\fP
.RS 4
\fIon\fP On/Off
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBstepAlignment()\fP, \fBsetSingleStep()\fP
.RE
.PP
.SS "void QwtWheel::setTickCount (intcount)"
.PP
Adjust the number of grooves in the wheel's surface\&. The number of grooves is limited to 6 <= count <= 50\&. Values outside this range will be clipped\&. The default value is 10\&.
.PP
\fBParameters:\fP
.RS 4
\fIcount\fP Number of grooves per 360 degrees
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBtickCount()\fP
.RE
.PP
.SS "void QwtWheel::setTotalAngle (doubleangle)\fC [slot]\fP"
.PP
Set the total angle which the wheel can be turned\&. One full turn of the wheel corresponds to an angle of 360 degrees\&. A total angle of n*360 degrees means that the wheel has to be turned n times around its axis to get from the minimum value to the maximum value\&.
.PP
The default setting of the total angle is 360 degrees\&.
.PP
\fBParameters:\fP
.RS 4
\fIangle\fP total angle in degrees
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBtotalAngle()\fP
.RE
.PP
.SS "void QwtWheel::setTracking (boolenable)"
.PP
En/Disable tracking\&. If tracking is enabled (the default), the wheel emits the \fBvalueChanged()\fP signal while the wheel is moving\&. If tracking is disabled, the wheel emits the \fBvalueChanged()\fP signal only when the wheel movement is terminated\&.
.PP
The \fBwheelMoved()\fP signal is emitted regardless id tracking is enabled or not\&.
.PP
\fBParameters:\fP
.RS 4
\fIenable\fP On/Off
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBisTracking()\fP
.RE
.PP
.SS "void QwtWheel::setUpdateInterval (intinterval)"
.PP
Specify the update interval when the wheel is flying\&. Default and minimum value is 50 ms\&.
.PP
\fBParameters:\fP
.RS 4
\fIinterval\fP Interval in milliseconds
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBupdateInterval()\fP, \fBsetMass()\fP, \fBsetTracking()\fP
.RE
.PP
.SS "void QwtWheel::setValue (doublevalue)\fC [slot]\fP"
.PP
Set a new value without adjusting to the step raster\&.
.PP
\fBParameters:\fP
.RS 4
\fIvalue\fP New value
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBvalue()\fP, \fBvalueChanged()\fP
.RE
.PP
\fBWarning:\fP
.RS 4
The value is clipped when it lies outside the range\&.
.RE
.PP
.SS "void QwtWheel::setViewAngle (doubleangle)\fC [slot]\fP"
.PP
Specify the visible portion of the wheel\&. You may use this function for fine-tuning the appearance of the wheel\&. The default value is 175 degrees\&. The value is limited from 10 to 175 degrees\&.
.PP
\fBParameters:\fP
.RS 4
\fIangle\fP Visible angle in degrees
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBviewAngle()\fP, \fBsetTotalAngle()\fP
.RE
.PP
.SS "void QwtWheel::setWheelBorderWidth (intborderWidth)"
.PP
Set the wheel border width of the wheel\&. The wheel border must not be smaller than 1 and is limited in dependence on the wheel's size\&. Values outside the allowed range will be clipped\&.
.PP
The wheel border defaults to 2\&.
.PP
\fBParameters:\fP
.RS 4
\fIborderWidth\fP Border width
.RE
.PP
\fBSee Also:\fP
.RS 4
internalBorder()
.RE
.PP
.SS "void QwtWheel::setWheelWidth (intwidth)"
.PP
Set the width of the wheel\&. Corresponds to the wheel height for horizontal orientation, and the wheel width for vertical orientation\&.
.PP
\fBParameters:\fP
.RS 4
\fIwidth\fP the wheel's width
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBwheelWidth()\fP
.RE
.PP
.SS "void QwtWheel::setWrapping (boolon)"
.PP
En/Disable wrapping\&. If wrapping is true stepping up from \fBmaximum()\fP value will take you to the \fBminimum()\fP value and vice versa\&.
.PP
\fBParameters:\fP
.RS 4
\fIon\fP En/Disable wrapping
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBwrapping()\fP
.RE
.PP
.SS "double QwtWheel::singleStep () const"
.PP
\fBReturns:\fP
.RS 4
Single step size
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetSingleStep()\fP
.RE
.PP
.SS "QSize QwtWheel::sizeHint () const\fC [protected]\fP, \fC [virtual]\fP"
.PP
\fBReturns:\fP
.RS 4
a size hint
.RE
.PP
.SS "bool QwtWheel::stepAlignment () const"
.PP
\fBReturns:\fP
.RS 4
True, when the step alignment is enabled
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetStepAlignment()\fP, \fBsingleStep()\fP
.RE
.PP
.SS "int QwtWheel::tickCount () const"
.PP
\fBReturns:\fP
.RS 4
Number of grooves in the wheel's surface\&.
.RE
.PP
\fBSee Also:\fP
.RS 4
setTickCnt()
.RE
.PP
.SS "void QwtWheel::timerEvent (QTimerEvent *event)\fC [protected]\fP, \fC [virtual]\fP"
.PP
Qt timer event\&. The flying wheel effect is implemented using a timer
.PP
\fBParameters:\fP
.RS 4
\fIevent\fP Timer event
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBupdateInterval()\fP
.RE
.PP
.SS "double QwtWheel::totalAngle () const"
.PP
\fBReturns:\fP
.RS 4
Total angle which the wheel can be turned\&.
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetTotalAngle()\fP
.RE
.PP
.SS "int QwtWheel::updateInterval () const"
.PP
\fBReturns:\fP
.RS 4
Update interval when the wheel is flying
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetUpdateInterval()\fP, \fBmass()\fP, \fBisTracking()\fP
.RE
.PP
.SS "double QwtWheel::value () const"
.PP
\fBReturns:\fP
.RS 4
Current value of the wheel
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetValue()\fP, \fBvalueChanged()\fP
.RE
.PP
.SS "double QwtWheel::valueAt (const QPoint &pos) const\fC [protected]\fP, \fC [virtual]\fP"
Determine the value corresponding to a specified point
.PP
\fBParameters:\fP
.RS 4
\fIpos\fP Position
.RE
.PP
\fBReturns:\fP
.RS 4
Value corresponding to pos
.RE
.PP
.SS "void QwtWheel::valueChanged (doublevalue)\fC [signal]\fP"
.PP
Notify a change of value\&. When tracking is enabled this signal will be emitted every time the value changes\&.
.PP
\fBParameters:\fP
.RS 4
\fIvalue\fP new value
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetTracking()\fP
.RE
.PP
.SS "double QwtWheel::viewAngle () const"
.PP
\fBReturns:\fP
.RS 4
Visible portion of the wheel
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetViewAngle()\fP, \fBtotalAngle()\fP
.RE
.PP
.SS "int QwtWheel::wheelBorderWidth () const"
.PP
\fBReturns:\fP
.RS 4
Wheel border width
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetWheelBorderWidth()\fP
.RE
.PP
.SS "void QwtWheel::wheelEvent (QWheelEvent *event)\fC [protected]\fP, \fC [virtual]\fP"
.PP
Handle wheel events\&. In/Decrement the value
.PP
\fBParameters:\fP
.RS 4
\fIevent\fP Wheel event
.RE
.PP
.SS "void QwtWheel::wheelMoved (doublevalue)\fC [signal]\fP"
This signal is emitted when the user moves the wheel with the mouse\&.
.PP
\fBParameters:\fP
.RS 4
\fIvalue\fP new value
.RE
.PP
.SS "void QwtWheel::wheelPressed ()\fC [signal]\fP"
This signal is emitted when the user presses the the wheel with the mouse
.SS "QRect QwtWheel::wheelRect () const\fC [protected]\fP"
.PP
\fBReturns:\fP
.RS 4
Rectangle of the wheel without the outer border
.RE
.PP
.SS "void QwtWheel::wheelReleased ()\fC [signal]\fP"
This signal is emitted when the user releases the mouse
.SS "int QwtWheel::wheelWidth () const"
.PP
\fBReturns:\fP
.RS 4
Width of the wheel
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetWheelWidth()\fP
.RE
.PP
.SS "bool QwtWheel::wrapping () const"
.PP
\fBReturns:\fP
.RS 4
True, when wrapping is set
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetWrapping()\fP
.RE
.PP
.SH "Author"
.PP
Generated automatically by Doxygen for Qwt User's Guide from the source code\&.
|