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
|
.TH "QwtScaleWidget" 3 "Thu Dec 11 2014" "Version 6.1.2" "Qwt User's Guide" \" -*- nroff -*-
.ad l
.nh
.SH NAME
QwtScaleWidget \-
.PP
A Widget which contains a scale\&.
.SH SYNOPSIS
.br
.PP
.PP
\fC#include <qwt_scale_widget\&.h>\fP
.PP
Inherits QWidget\&.
.SS "Public Types"
.in +1c
.ti -1c
.RI "enum \fBLayoutFlag\fP { \fBTitleInverted\fP = 1 }"
.br
.RI "\fILayout flags of the title\&. \fP"
.ti -1c
.RI "typedef QFlags< \fBLayoutFlag\fP > \fBLayoutFlags\fP"
.br
.RI "\fILayout flags of the title\&. \fP"
.in -1c
.SS "Signals"
.in +1c
.ti -1c
.RI "void \fBscaleDivChanged\fP ()"
.br
.RI "\fISignal emitted, whenever the scale division changes\&. \fP"
.in -1c
.SS "Public Member Functions"
.in +1c
.ti -1c
.RI "\fBQwtScaleWidget\fP (QWidget *parent=NULL)"
.br
.RI "\fICreate a scale with the position QwtScaleWidget::Left\&. \fP"
.ti -1c
.RI "\fBQwtScaleWidget\fP (\fBQwtScaleDraw::Alignment\fP, QWidget *parent=NULL)"
.br
.RI "\fIConstructor\&. \fP"
.ti -1c
.RI "virtual \fB~QwtScaleWidget\fP ()"
.br
.RI "\fIDestructor\&. \fP"
.ti -1c
.RI "void \fBsetTitle\fP (const QString &\fBtitle\fP)"
.br
.ti -1c
.RI "void \fBsetTitle\fP (const \fBQwtText\fP &\fBtitle\fP)"
.br
.ti -1c
.RI "\fBQwtText\fP \fBtitle\fP () const "
.br
.ti -1c
.RI "void \fBsetLayoutFlag\fP (\fBLayoutFlag\fP, bool on)"
.br
.ti -1c
.RI "bool \fBtestLayoutFlag\fP (\fBLayoutFlag\fP) const "
.br
.ti -1c
.RI "void \fBsetBorderDist\fP (int start, int end)"
.br
.ti -1c
.RI "int \fBstartBorderDist\fP () const "
.br
.ti -1c
.RI "int \fBendBorderDist\fP () const "
.br
.ti -1c
.RI "void \fBgetBorderDistHint\fP (int &start, int &end) const "
.br
.RI "\fICalculate a hint for the border distances\&. \fP"
.ti -1c
.RI "void \fBgetMinBorderDist\fP (int &start, int &end) const "
.br
.ti -1c
.RI "void \fBsetMinBorderDist\fP (int start, int end)"
.br
.ti -1c
.RI "void \fBsetMargin\fP (int)"
.br
.RI "\fISpecify the margin to the colorBar/base line\&. \fP"
.ti -1c
.RI "int \fBmargin\fP () const "
.br
.ti -1c
.RI "void \fBsetSpacing\fP (int td)"
.br
.RI "\fISpecify the distance between color bar, scale and title\&. \fP"
.ti -1c
.RI "int \fBspacing\fP () const "
.br
.ti -1c
.RI "void \fBsetScaleDiv\fP (const \fBQwtScaleDiv\fP &sd)"
.br
.RI "\fIAssign a scale division\&. \fP"
.ti -1c
.RI "void \fBsetTransformation\fP (\fBQwtTransform\fP *)"
.br
.ti -1c
.RI "void \fBsetScaleDraw\fP (\fBQwtScaleDraw\fP *)"
.br
.ti -1c
.RI "const \fBQwtScaleDraw\fP * \fBscaleDraw\fP () const "
.br
.ti -1c
.RI "\fBQwtScaleDraw\fP * \fBscaleDraw\fP ()"
.br
.ti -1c
.RI "void \fBsetLabelAlignment\fP (Qt::Alignment)"
.br
.RI "\fIChange the alignment for the labels\&. \fP"
.ti -1c
.RI "void \fBsetLabelRotation\fP (double rotation)"
.br
.RI "\fIChange the rotation for the labels\&. See \fBQwtScaleDraw::setLabelRotation()\fP\&. \fP"
.ti -1c
.RI "void \fBsetColorBarEnabled\fP (bool)"
.br
.ti -1c
.RI "bool \fBisColorBarEnabled\fP () const "
.br
.ti -1c
.RI "void \fBsetColorBarWidth\fP (int)"
.br
.ti -1c
.RI "int \fBcolorBarWidth\fP () const "
.br
.ti -1c
.RI "void \fBsetColorMap\fP (const \fBQwtInterval\fP &, \fBQwtColorMap\fP *)"
.br
.ti -1c
.RI "\fBQwtInterval\fP \fBcolorBarInterval\fP () const "
.br
.ti -1c
.RI "const \fBQwtColorMap\fP * \fBcolorMap\fP () const "
.br
.ti -1c
.RI "virtual QSize \fBsizeHint\fP () const "
.br
.ti -1c
.RI "virtual QSize \fBminimumSizeHint\fP () const "
.br
.ti -1c
.RI "int \fBtitleHeightForWidth\fP (int width) const "
.br
.RI "\fIFind the height of the title for a given width\&. \fP"
.ti -1c
.RI "int \fBdimForLength\fP (int length, const QFont &scaleFont) const "
.br
.RI "\fIFind the minimum dimension for a given length\&. dim is the height, length the width seen in direction of the title\&. \fP"
.ti -1c
.RI "void \fBdrawColorBar\fP (QPainter *painter, const QRectF &) const "
.br
.ti -1c
.RI "void \fBdrawTitle\fP (QPainter *painter, \fBQwtScaleDraw::Alignment\fP, const QRectF &rect) const "
.br
.ti -1c
.RI "void \fBsetAlignment\fP (\fBQwtScaleDraw::Alignment\fP)"
.br
.ti -1c
.RI "\fBQwtScaleDraw::Alignment\fP \fBalignment\fP () const "
.br
.ti -1c
.RI "QRectF \fBcolorBarRect\fP (const QRectF &) const "
.br
.in -1c
.SS "Protected Member Functions"
.in +1c
.ti -1c
.RI "virtual void \fBpaintEvent\fP (QPaintEvent *)"
.br
.RI "\fIpaintEvent \fP"
.ti -1c
.RI "virtual void \fBresizeEvent\fP (QResizeEvent *)"
.br
.ti -1c
.RI "void \fBdraw\fP (QPainter *p) const "
.br
.RI "\fIdraw the scale \fP"
.ti -1c
.RI "void \fBscaleChange\fP ()"
.br
.RI "\fINotify a change of the scale\&. \fP"
.ti -1c
.RI "void \fBlayoutScale\fP (bool update=true)"
.br
.in -1c
.SH "Detailed Description"
.PP
A Widget which contains a scale\&.
This Widget can be used to decorate composite widgets with a scale\&.
.SH "Member Enumeration Documentation"
.PP
.SS "enum \fBQwtScaleWidget::LayoutFlag\fP"
.PP
Layout flags of the title\&.
.PP
\fBEnumerator\fP
.in +1c
.TP
\fB\fITitleInverted \fP\fP
The title of vertical scales is painted from top to bottom\&. Otherwise it is painted from bottom to top\&.
.SH "Constructor & Destructor Documentation"
.PP
.SS "QwtScaleWidget::QwtScaleWidget (QWidget *parent = \fCNULL\fP)\fC [explicit]\fP"
.PP
Create a scale with the position QwtScaleWidget::Left\&.
.PP
\fBParameters:\fP
.RS 4
\fIparent\fP Parent widget
.RE
.PP
.SS "QwtScaleWidget::QwtScaleWidget (\fBQwtScaleDraw::Alignment\fPalign, QWidget *parent = \fCNULL\fP)\fC [explicit]\fP"
.PP
Constructor\&.
.PP
\fBParameters:\fP
.RS 4
\fIalign\fP Alignment\&.
.br
\fIparent\fP Parent widget
.RE
.PP
.SH "Member Function Documentation"
.PP
.SS "\fBQwtScaleDraw::Alignment\fP QwtScaleWidget::alignment () const"
.PP
\fBReturns:\fP
.RS 4
position
.RE
.PP
\fBSee Also:\fP
.RS 4
setPosition()
.RE
.PP
.SS "\fBQwtInterval\fP QwtScaleWidget::colorBarInterval () const"
.PP
\fBReturns:\fP
.RS 4
Value interval for the color bar
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetColorMap()\fP, \fBcolorMap()\fP
.RE
.PP
.SS "QRectF QwtScaleWidget::colorBarRect (const QRectF &rect) const"
Calculate the the rectangle for the color bar
.PP
\fBParameters:\fP
.RS 4
\fIrect\fP Bounding rectangle for all components of the scale
.RE
.PP
\fBReturns:\fP
.RS 4
Rectangle for the color bar
.RE
.PP
.SS "int QwtScaleWidget::colorBarWidth () const"
.PP
\fBReturns:\fP
.RS 4
Width of the color bar
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetColorBarEnabled()\fP, \fBsetColorBarEnabled()\fP
.RE
.PP
.SS "const \fBQwtColorMap\fP * QwtScaleWidget::colorMap () const"
.PP
\fBReturns:\fP
.RS 4
Color map
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetColorMap()\fP, \fBcolorBarInterval()\fP
.RE
.PP
.SS "int QwtScaleWidget::dimForLength (intlength, const QFont &scaleFont) const"
.PP
Find the minimum dimension for a given length\&. dim is the height, length the width seen in direction of the title\&.
.PP
\fBParameters:\fP
.RS 4
\fIlength\fP width for horizontal, height for vertical scales
.br
\fIscaleFont\fP Font of the scale
.RE
.PP
\fBReturns:\fP
.RS 4
height for horizontal, width for vertical scales
.RE
.PP
.SS "void QwtScaleWidget::drawColorBar (QPainter *painter, const QRectF &rect) const"
Draw the color bar of the scale widget
.PP
\fBParameters:\fP
.RS 4
\fIpainter\fP Painter
.br
\fIrect\fP Bounding rectangle for the color bar
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetColorBarEnabled()\fP
.RE
.PP
.SS "void QwtScaleWidget::drawTitle (QPainter *painter, \fBQwtScaleDraw::Alignment\fPalign, const QRectF &rect) const"
Rotate and paint a title according to its position into a given rectangle\&.
.PP
\fBParameters:\fP
.RS 4
\fIpainter\fP Painter
.br
\fIalign\fP Alignment
.br
\fIrect\fP Bounding rectangle
.RE
.PP
.SS "int QwtScaleWidget::endBorderDist () const"
.PP
\fBReturns:\fP
.RS 4
end border distance
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetBorderDist()\fP
.RE
.PP
.SS "void QwtScaleWidget::getBorderDistHint (int &start, int &end) const"
.PP
Calculate a hint for the border distances\&. This member function calculates the distance of the scale's endpoints from the widget borders which is required for the mark labels to fit into the widget\&. The maximum of this distance an the minimum border distance is returned\&.
.PP
\fBParameters:\fP
.RS 4
\fIstart\fP Return parameter for the border width at the beginning of the scale
.br
\fIend\fP Return parameter for the border width at the end of the scale
.RE
.PP
\fBWarning:\fP
.RS 4
.PD 0
.IP "\(bu" 2
The minimum border distance depends on the font\&.
.PP
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetMinBorderDist()\fP, \fBgetMinBorderDist()\fP, \fBsetBorderDist()\fP
.RE
.PP
.SS "void QwtScaleWidget::getMinBorderDist (int &start, int &end) const"
Get the minimum value for the distances of the scale's endpoints from the widget borders\&.
.PP
\fBParameters:\fP
.RS 4
\fIstart\fP Return parameter for the border width at the beginning of the scale
.br
\fIend\fP Return parameter for the border width at the end of the scale
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetMinBorderDist()\fP, \fBgetBorderDistHint()\fP
.RE
.PP
.SS "bool QwtScaleWidget::isColorBarEnabled () const"
.PP
\fBReturns:\fP
.RS 4
true, when the color bar is enabled
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetColorBarEnabled()\fP, \fBsetColorBarWidth()\fP
.RE
.PP
.SS "void QwtScaleWidget::layoutScale (boolupdate_geometry = \fCtrue\fP)\fC [protected]\fP"
Recalculate the scale's geometry and layout based on the current geometry and fonts\&.
.PP
\fBParameters:\fP
.RS 4
\fIupdate_geometry\fP Notify the layout system and call update to redraw the scale
.RE
.PP
.SS "int QwtScaleWidget::margin () const"
.PP
\fBReturns:\fP
.RS 4
margin
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetMargin()\fP
.RE
.PP
.SS "QSize QwtScaleWidget::minimumSizeHint () const\fC [virtual]\fP"
.PP
\fBReturns:\fP
.RS 4
a minimum size hint
.RE
.PP
.SS "void QwtScaleWidget::resizeEvent (QResizeEvent *event)\fC [protected]\fP, \fC [virtual]\fP"
Event handler for resize events
.PP
\fBParameters:\fP
.RS 4
\fIevent\fP Resize event
.RE
.PP
.SS "void QwtScaleWidget::scaleChange ()\fC [protected]\fP"
.PP
Notify a change of the scale\&. This virtual function can be overloaded by derived classes\&. The default implementation updates the geometry and repaints the widget\&.
.SS "const \fBQwtScaleDraw\fP * QwtScaleWidget::scaleDraw () const"
.PP
\fBReturns:\fP
.RS 4
scaleDraw of this scale
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetScaleDraw()\fP, QwtScaleDraw::setScaleDraw()
.RE
.PP
.SS "\fBQwtScaleDraw\fP * QwtScaleWidget::scaleDraw ()"
.PP
\fBReturns:\fP
.RS 4
scaleDraw of this scale
.RE
.PP
\fBSee Also:\fP
.RS 4
QwtScaleDraw::setScaleDraw()
.RE
.PP
.SS "void QwtScaleWidget::setAlignment (\fBQwtScaleDraw::Alignment\fPalignment)"
Change the alignment
.PP
\fBParameters:\fP
.RS 4
\fIalignment\fP New alignment
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBalignment()\fP
.RE
.PP
.SS "void QwtScaleWidget::setBorderDist (intdist1, intdist2)"
Specify distances of the scale's endpoints from the widget's borders\&. The actual borders will never be less than minimum border distance\&.
.PP
\fBParameters:\fP
.RS 4
\fIdist1\fP Left or top Distance
.br
\fIdist2\fP Right or bottom distance
.RE
.PP
\fBSee Also:\fP
.RS 4
borderDist()
.RE
.PP
.SS "void QwtScaleWidget::setColorBarEnabled (boolon)"
En/disable a color bar associated to the scale
.PP
\fBSee Also:\fP
.RS 4
\fBisColorBarEnabled()\fP, \fBsetColorBarWidth()\fP
.RE
.PP
.SS "void QwtScaleWidget::setColorBarWidth (intwidth)"
Set the width of the color bar
.PP
\fBParameters:\fP
.RS 4
\fIwidth\fP Width
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBcolorBarWidth()\fP, \fBsetColorBarEnabled()\fP
.RE
.PP
.SS "void QwtScaleWidget::setColorMap (const \fBQwtInterval\fP &interval, \fBQwtColorMap\fP *colorMap)"
Set the color map and value interval, that are used for displaying the color bar\&.
.PP
\fBParameters:\fP
.RS 4
\fIinterval\fP Value interval
.br
\fIcolorMap\fP Color map
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBcolorMap()\fP, \fBcolorBarInterval()\fP
.RE
.PP
.SS "void QwtScaleWidget::setLabelAlignment (Qt::Alignmentalignment)"
.PP
Change the alignment for the labels\&.
.PP
\fBSee Also:\fP
.RS 4
\fBQwtScaleDraw::setLabelAlignment()\fP, \fBsetLabelRotation()\fP
.RE
.PP
.SS "void QwtScaleWidget::setLabelRotation (doublerotation)"
.PP
Change the rotation for the labels\&. See \fBQwtScaleDraw::setLabelRotation()\fP\&.
.PP
\fBParameters:\fP
.RS 4
\fIrotation\fP Rotation
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBQwtScaleDraw::setLabelRotation()\fP, setLabelFlags()
.RE
.PP
.SS "void QwtScaleWidget::setLayoutFlag (\fBLayoutFlag\fPflag, boolon)"
Toggle an layout flag
.PP
\fBParameters:\fP
.RS 4
\fIflag\fP Layout flag
.br
\fIon\fP true/false
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBtestLayoutFlag()\fP, \fBLayoutFlag\fP
.RE
.PP
.SS "void QwtScaleWidget::setMargin (intmargin)"
.PP
Specify the margin to the colorBar/base line\&.
.PP
\fBParameters:\fP
.RS 4
\fImargin\fP Margin
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBmargin()\fP
.RE
.PP
.SS "void QwtScaleWidget::setMinBorderDist (intstart, intend)"
Set a minimum value for the distances of the scale's endpoints from the widget borders\&. This is useful to avoid that the scales are 'jumping', when the tick labels or their positions change often\&.
.PP
\fBParameters:\fP
.RS 4
\fIstart\fP Minimum for the start border
.br
\fIend\fP Minimum for the end border
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBgetMinBorderDist()\fP, \fBgetBorderDistHint()\fP
.RE
.PP
.SS "void QwtScaleWidget::setScaleDiv (const \fBQwtScaleDiv\fP &scaleDiv)"
.PP
Assign a scale division\&. The scale division determines where to set the tick marks\&.
.PP
\fBParameters:\fP
.RS 4
\fIscaleDiv\fP Scale Division
.RE
.PP
\fBSee Also:\fP
.RS 4
For more information about scale divisions, see \fBQwtScaleDiv\fP\&.
.RE
.PP
.SS "void QwtScaleWidget::setScaleDraw (\fBQwtScaleDraw\fP *scaleDraw)"
Set a scale draw
.PP
scaleDraw has to be created with new and will be deleted in \fB~QwtScaleWidget()\fP or the next call of \fBsetScaleDraw()\fP\&. scaleDraw will be initialized with the attributes of the previous scaleDraw object\&.
.PP
\fBParameters:\fP
.RS 4
\fIscaleDraw\fP ScaleDraw object
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBscaleDraw()\fP
.RE
.PP
.SS "void QwtScaleWidget::setSpacing (intspacing)"
.PP
Specify the distance between color bar, scale and title\&.
.PP
\fBParameters:\fP
.RS 4
\fIspacing\fP Spacing
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBspacing()\fP
.RE
.PP
.SS "void QwtScaleWidget::setTitle (const QString &title)"
Give title new text contents
.PP
\fBParameters:\fP
.RS 4
\fItitle\fP New title
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBtitle()\fP, \fBsetTitle(const QwtText &)\fP;
.RE
.PP
.SS "void QwtScaleWidget::setTitle (const \fBQwtText\fP &title)"
Give title new text contents
.PP
\fBParameters:\fP
.RS 4
\fItitle\fP New title
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBtitle()\fP
.RE
.PP
\fBWarning:\fP
.RS 4
The title flags are interpreted in direction of the label, AlignTop, AlignBottom can't be set as the title will always be aligned to the scale\&.
.RE
.PP
.SS "void QwtScaleWidget::setTransformation (\fBQwtTransform\fP *transformation)"
Set the transformation
.PP
\fBParameters:\fP
.RS 4
\fItransformation\fP Transformation
.RE
.PP
\fBSee Also:\fP
.RS 4
QwtAbstractScaleDraw::scaleDraw(), \fBQwtScaleMap\fP
.RE
.PP
.SS "QSize QwtScaleWidget::sizeHint () const\fC [virtual]\fP"
.PP
\fBReturns:\fP
.RS 4
a size hint
.RE
.PP
.SS "int QwtScaleWidget::spacing () const"
.PP
\fBReturns:\fP
.RS 4
distance between scale and title
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetMargin()\fP
.RE
.PP
.SS "int QwtScaleWidget::startBorderDist () const"
.PP
\fBReturns:\fP
.RS 4
start border distance
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetBorderDist()\fP
.RE
.PP
.SS "bool QwtScaleWidget::testLayoutFlag (\fBLayoutFlag\fPflag) const"
Test a layout flag
.PP
\fBParameters:\fP
.RS 4
\fIflag\fP Layout flag
.RE
.PP
\fBReturns:\fP
.RS 4
true/false
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetLayoutFlag()\fP, \fBLayoutFlag\fP
.RE
.PP
.SS "\fBQwtText\fP QwtScaleWidget::title () const"
.PP
\fBReturns:\fP
.RS 4
title
.RE
.PP
\fBSee Also:\fP
.RS 4
\fBsetTitle()\fP
.RE
.PP
.SS "int QwtScaleWidget::titleHeightForWidth (intwidth) const"
.PP
Find the height of the title for a given width\&.
.PP
\fBParameters:\fP
.RS 4
\fIwidth\fP Width
.RE
.PP
\fBReturns:\fP
.RS 4
height Height
.RE
.PP
.SH "Author"
.PP
Generated automatically by Doxygen for Qwt User's Guide from the source code\&.
|