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 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="author" content="Emanuel Eichhammer" />
<meta name="copyright" content="(C) 2013-2015 Emanuel Eichhammer" />
<title>QCPAxisRect Class Reference</title>
<link href="qt.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top">
<a class="headerLink" href="index.html">Main Page</a> ·
<a class="headerLink" href="classoverview.html">Class Overview</a> ·
<a class="headerLink" href="hierarchy.html">Hierarchy</a> ·
<a class="headerLink" href="annotated.html">All Classes</a> ·
<a class="headerLink" href="pages.html">Special Pages</a>
<!-- Generated by Doxygen 1.8.6 -->
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Functions</a> |
<a href="#pro-methods">Protected Functions</a> </div>
<div class="headertitle">
<div class="title">QCPAxisRect Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Holds multiple axes and arranges them in a rectangular shape.
<a href="classQCPAxisRect.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for QCPAxisRect:</div>
<div class="dyncontent">
<div class="center"><img src="classQCPAxisRect__inherit__graph.png" border="0" usemap="#QCPAxisRect_inherit__map" alt="Inheritance graph"/></div>
<map name="QCPAxisRect_inherit__map" id="QCPAxisRect_inherit__map">
<area shape="rect" id="node2" href="classQCPLayoutElement.html" title="The abstract base class for all objects that form the layout system. " alt="" coords="5,77,133,101"/><area shape="rect" id="node3" href="classQCPLayerable.html" title="Base class for all drawable objects. " alt="" coords="19,5,120,29"/></map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Functions</h2></td></tr>
<tr class="memitem:a60b31dece805462c1b82eea2e69ba042"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a60b31dece805462c1b82eea2e69ba042">QCPAxisRect</a> (<a class="el" href="classQCustomPlot.html">QCustomPlot</a> *parentPlot, bool setupDefaultAxes=true)</td></tr>
<tr class="separator:a60b31dece805462c1b82eea2e69ba042"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0daa1dadd2a62dbfa37b7f742edd0059"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0daa1dadd2a62dbfa37b7f742edd0059"></a>
QPixmap </td><td class="memItemRight" valign="bottom"><b>background</b> () const </td></tr>
<tr class="separator:a0daa1dadd2a62dbfa37b7f742edd0059"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a67c18777b88fe9c81dee3dd2b5f50e5c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67c18777b88fe9c81dee3dd2b5f50e5c"></a>
bool </td><td class="memItemRight" valign="bottom"><b>backgroundScaled</b> () const </td></tr>
<tr class="separator:a67c18777b88fe9c81dee3dd2b5f50e5c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3d0f42d6be11a0b3d4576402a2b0032d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3d0f42d6be11a0b3d4576402a2b0032d"></a>
Qt::AspectRatioMode </td><td class="memItemRight" valign="bottom"><b>backgroundScaledMode</b> () const </td></tr>
<tr class="separator:a3d0f42d6be11a0b3d4576402a2b0032d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af24b46954ce27a26b23770cdb8319080"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af24b46954ce27a26b23770cdb8319080"></a>
Qt::Orientations </td><td class="memItemRight" valign="bottom"><b>rangeDrag</b> () const </td></tr>
<tr class="separator:af24b46954ce27a26b23770cdb8319080"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3397fc60e5df29089090bc236e9f05f6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3397fc60e5df29089090bc236e9f05f6"></a>
Qt::Orientations </td><td class="memItemRight" valign="bottom"><b>rangeZoom</b> () const </td></tr>
<tr class="separator:a3397fc60e5df29089090bc236e9f05f6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6d7c22cfc54fac7a3d6ef80b133a8574"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPAxis.html">QCPAxis</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a6d7c22cfc54fac7a3d6ef80b133a8574">rangeDragAxis</a> (Qt::Orientation orientation)</td></tr>
<tr class="separator:a6d7c22cfc54fac7a3d6ef80b133a8574"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a679c63f2b8daccfe6ec5110dce3dd3b6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPAxis.html">QCPAxis</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a679c63f2b8daccfe6ec5110dce3dd3b6">rangeZoomAxis</a> (Qt::Orientation orientation)</td></tr>
<tr class="separator:a679c63f2b8daccfe6ec5110dce3dd3b6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae4e6c4d143aacc88d2d3c56f117c2fe1"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#ae4e6c4d143aacc88d2d3c56f117c2fe1">rangeZoomFactor</a> (Qt::Orientation orientation)</td></tr>
<tr class="separator:ae4e6c4d143aacc88d2d3c56f117c2fe1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af615ab5e52b8e0a9a0eff415b6559db5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#af615ab5e52b8e0a9a0eff415b6559db5">setBackground</a> (const QPixmap &pm)</td></tr>
<tr class="separator:af615ab5e52b8e0a9a0eff415b6559db5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac48a2d5d9b7732e73b86605c69c5e4c1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#ac48a2d5d9b7732e73b86605c69c5e4c1">setBackground</a> (const QPixmap &pm, bool scaled, Qt::AspectRatioMode mode=Qt::KeepAspectRatioByExpanding)</td></tr>
<tr class="separator:ac48a2d5d9b7732e73b86605c69c5e4c1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a22a22b8668735438dc06f9a55fe46b33"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a22a22b8668735438dc06f9a55fe46b33">setBackground</a> (const QBrush &brush)</td></tr>
<tr class="separator:a22a22b8668735438dc06f9a55fe46b33"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae6d36c3e0e968ffb991170a018e7b503"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#ae6d36c3e0e968ffb991170a018e7b503">setBackgroundScaled</a> (bool scaled)</td></tr>
<tr class="separator:ae6d36c3e0e968ffb991170a018e7b503"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5ef77ea829c9de7ba248e473f48f7305"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a5ef77ea829c9de7ba248e473f48f7305">setBackgroundScaledMode</a> (Qt::AspectRatioMode mode)</td></tr>
<tr class="separator:a5ef77ea829c9de7ba248e473f48f7305"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae6aef2f7211ba6097c925dcd26008418"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#ae6aef2f7211ba6097c925dcd26008418">setRangeDrag</a> (Qt::Orientations orientations)</td></tr>
<tr class="separator:ae6aef2f7211ba6097c925dcd26008418"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7960a9d222f1c31d558b064b60f86a31"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a7960a9d222f1c31d558b064b60f86a31">setRangeZoom</a> (Qt::Orientations orientations)</td></tr>
<tr class="separator:a7960a9d222f1c31d558b064b60f86a31"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a648cce336bd99daac4a5ca3e5743775d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a648cce336bd99daac4a5ca3e5743775d">setRangeDragAxes</a> (<a class="el" href="classQCPAxis.html">QCPAxis</a> *horizontal, <a class="el" href="classQCPAxis.html">QCPAxis</a> *vertical)</td></tr>
<tr class="separator:a648cce336bd99daac4a5ca3e5743775d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9442cca2aa358405f39a64d51eca13d2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a9442cca2aa358405f39a64d51eca13d2">setRangeZoomAxes</a> (<a class="el" href="classQCPAxis.html">QCPAxis</a> *horizontal, <a class="el" href="classQCPAxis.html">QCPAxis</a> *vertical)</td></tr>
<tr class="separator:a9442cca2aa358405f39a64d51eca13d2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a895d7ac745ea614e04056244b3c138ac"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a895d7ac745ea614e04056244b3c138ac">setRangeZoomFactor</a> (double horizontalFactor, double verticalFactor)</td></tr>
<tr class="separator:a895d7ac745ea614e04056244b3c138ac"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae83d187b03fc6fa4f00765ad50cd3fc3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#ae83d187b03fc6fa4f00765ad50cd3fc3">setRangeZoomFactor</a> (double factor)</td></tr>
<tr class="separator:ae83d187b03fc6fa4f00765ad50cd3fc3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a16e3e4646e52e4b5d5b865076c29ae58"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a16e3e4646e52e4b5d5b865076c29ae58">axisCount</a> (<a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a> type) const </td></tr>
<tr class="separator:a16e3e4646e52e4b5d5b865076c29ae58"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a560de44e47a4af0f86c59102a094b1e4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPAxis.html">QCPAxis</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a560de44e47a4af0f86c59102a094b1e4">axis</a> (<a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a> type, int index=0) const </td></tr>
<tr class="separator:a560de44e47a4af0f86c59102a094b1e4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a66654d51ca611ef036ded36250cd2518"><td class="memItemLeft" align="right" valign="top">QList< <a class="el" href="classQCPAxis.html">QCPAxis</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a66654d51ca611ef036ded36250cd2518">axes</a> (QCPAxis::AxisTypes types) const </td></tr>
<tr class="separator:a66654d51ca611ef036ded36250cd2518"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a18dcdc0dd6c7520bc9f3d15a7a3feec2"><td class="memItemLeft" align="right" valign="top">QList< <a class="el" href="classQCPAxis.html">QCPAxis</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a18dcdc0dd6c7520bc9f3d15a7a3feec2">axes</a> () const </td></tr>
<tr class="separator:a18dcdc0dd6c7520bc9f3d15a7a3feec2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2dc336092ccc57d44a46194c8a23e4f4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPAxis.html">QCPAxis</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a2dc336092ccc57d44a46194c8a23e4f4">addAxis</a> (<a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a> type, <a class="el" href="classQCPAxis.html">QCPAxis</a> *<a class="el" href="classQCPAxisRect.html#a560de44e47a4af0f86c59102a094b1e4">axis</a>=0)</td></tr>
<tr class="separator:a2dc336092ccc57d44a46194c8a23e4f4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a792e1f3d9cb1591fca135bb0de9b81fc"><td class="memItemLeft" align="right" valign="top">QList< <a class="el" href="classQCPAxis.html">QCPAxis</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a792e1f3d9cb1591fca135bb0de9b81fc">addAxes</a> (QCPAxis::AxisTypes types)</td></tr>
<tr class="separator:a792e1f3d9cb1591fca135bb0de9b81fc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a03c39cd9704f0d36fb6cf980cdddcbaa"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a03c39cd9704f0d36fb6cf980cdddcbaa">removeAxis</a> (<a class="el" href="classQCPAxis.html">QCPAxis</a> *<a class="el" href="classQCPAxisRect.html#a560de44e47a4af0f86c59102a094b1e4">axis</a>)</td></tr>
<tr class="separator:a03c39cd9704f0d36fb6cf980cdddcbaa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4114887c7141b59650b7488f930993e5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPLayoutInset.html">QCPLayoutInset</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a4114887c7141b59650b7488f930993e5">insetLayout</a> () const </td></tr>
<tr class="separator:a4114887c7141b59650b7488f930993e5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5fa906175447b14206954f77fc7f1ef4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a5fa906175447b14206954f77fc7f1ef4">setupFullAxesBox</a> (bool connectRanges=false)</td></tr>
<tr class="separator:a5fa906175447b14206954f77fc7f1ef4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5b0d629c8de5572945eeae79a142296e"><td class="memItemLeft" align="right" valign="top">QList< <a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a5b0d629c8de5572945eeae79a142296e">plottables</a> () const </td></tr>
<tr class="separator:a5b0d629c8de5572945eeae79a142296e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afa4ff90901d9275f670e24b40e3c1b25"><td class="memItemLeft" align="right" valign="top">QList< <a class="el" href="classQCPGraph.html">QCPGraph</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#afa4ff90901d9275f670e24b40e3c1b25">graphs</a> () const </td></tr>
<tr class="separator:afa4ff90901d9275f670e24b40e3c1b25"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0f17ed539962cfcbaca8ce0b1776c840"><td class="memItemLeft" align="right" valign="top">QList< <a class="el" href="classQCPAbstractItem.html">QCPAbstractItem</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a0f17ed539962cfcbaca8ce0b1776c840">items</a> () const </td></tr>
<tr class="separator:a0f17ed539962cfcbaca8ce0b1776c840"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a55b3ecf72a3a65b053f7651b88db458d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a55b3ecf72a3a65b053f7651b88db458d">left</a> () const </td></tr>
<tr class="separator:a55b3ecf72a3a65b053f7651b88db458d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6d0f989fc552aa2b563cf82f8fc81e61"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a6d0f989fc552aa2b563cf82f8fc81e61">right</a> () const </td></tr>
<tr class="separator:a6d0f989fc552aa2b563cf82f8fc81e61"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac45aef1eb75cea46b241b6303028a607"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#ac45aef1eb75cea46b241b6303028a607">top</a> () const </td></tr>
<tr class="separator:ac45aef1eb75cea46b241b6303028a607"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af2b5982ebe7e6f781b9bf1cc371a60d8"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#af2b5982ebe7e6f781b9bf1cc371a60d8">bottom</a> () const </td></tr>
<tr class="separator:af2b5982ebe7e6f781b9bf1cc371a60d8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a45bf5c17f4ca29131b7eb0db06efc259"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a45bf5c17f4ca29131b7eb0db06efc259">width</a> () const </td></tr>
<tr class="separator:a45bf5c17f4ca29131b7eb0db06efc259"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1c55c4f3bef40cf01b21820316c8469e"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a1c55c4f3bef40cf01b21820316c8469e">height</a> () const </td></tr>
<tr class="separator:a1c55c4f3bef40cf01b21820316c8469e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a871b9fe49e92b39a3cbe29a59e458536"><td class="memItemLeft" align="right" valign="top">QSize </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a871b9fe49e92b39a3cbe29a59e458536">size</a> () const </td></tr>
<tr class="separator:a871b9fe49e92b39a3cbe29a59e458536"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a88acbe716bcf5072790a6f95637c40d8"><td class="memItemLeft" align="right" valign="top">QPoint </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a88acbe716bcf5072790a6f95637c40d8">topLeft</a> () const </td></tr>
<tr class="separator:a88acbe716bcf5072790a6f95637c40d8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a232409546394c23b59407bc62fa460a8"><td class="memItemLeft" align="right" valign="top">QPoint </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a232409546394c23b59407bc62fa460a8">topRight</a> () const </td></tr>
<tr class="separator:a232409546394c23b59407bc62fa460a8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a724b0333971ea6a338f0dbd814dc97ae"><td class="memItemLeft" align="right" valign="top">QPoint </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a724b0333971ea6a338f0dbd814dc97ae">bottomLeft</a> () const </td></tr>
<tr class="separator:a724b0333971ea6a338f0dbd814dc97ae"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a49ea3c7dff834b47e266cbf3d79f78b9"><td class="memItemLeft" align="right" valign="top">QPoint </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a49ea3c7dff834b47e266cbf3d79f78b9">bottomRight</a> () const </td></tr>
<tr class="separator:a49ea3c7dff834b47e266cbf3d79f78b9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aea5e6042bca198424fa1bc02fc282e59"><td class="memItemLeft" align="right" valign="top">QPoint </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#aea5e6042bca198424fa1bc02fc282e59">center</a> () const </td></tr>
<tr class="separator:aea5e6042bca198424fa1bc02fc282e59"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a255080a017df9083a60a321ef2ba9ed8"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a255080a017df9083a60a321ef2ba9ed8">update</a> (<a class="el" href="classQCPLayoutElement.html#a0d83360e05735735aaf6d7983c56374d">UpdatePhase</a> phase)</td></tr>
<tr class="separator:a255080a017df9083a60a321ef2ba9ed8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2bda6bf2b5b5797f92583cecd01c8949"><td class="memItemLeft" align="right" valign="top">virtual QList< <a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a2bda6bf2b5b5797f92583cecd01c8949">elements</a> (bool recursive) const </td></tr>
<tr class="separator:a2bda6bf2b5b5797f92583cecd01c8949"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classQCPLayoutElement"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classQCPLayoutElement')"><img src="closed.png" alt="-"/> Public Functions inherited from <a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a></td></tr>
<tr class="memitem:a8947f0ada17e672aaba3d424cbbb67e3 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a8947f0ada17e672aaba3d424cbbb67e3">QCPLayoutElement</a> (<a class="el" href="classQCustomPlot.html">QCustomPlot</a> *parentPlot=0)</td></tr>
<tr class="separator:a8947f0ada17e672aaba3d424cbbb67e3 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6235f5384db871fc6e3387a1bc558b0d inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPLayout.html">QCPLayout</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a6235f5384db871fc6e3387a1bc558b0d">layout</a> () const </td></tr>
<tr class="separator:a6235f5384db871fc6e3387a1bc558b0d inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:affdfea003469aac3d0fac5f4e06171bc inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">QRect </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a> () const </td></tr>
<tr class="separator:affdfea003469aac3d0fac5f4e06171bc inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a60bbddee2d1230c2414bd776f44d17b8 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a60bbddee2d1230c2414bd776f44d17b8"></a>
QRect </td><td class="memItemRight" valign="bottom"><b>outerRect</b> () const </td></tr>
<tr class="separator:a60bbddee2d1230c2414bd776f44d17b8 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a85ff977dfcced84eef32d9f819ec9543 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a85ff977dfcced84eef32d9f819ec9543"></a>
QMargins </td><td class="memItemRight" valign="bottom"><b>margins</b> () const </td></tr>
<tr class="separator:a85ff977dfcced84eef32d9f819ec9543 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a60ec7f377c26726174d536bffb632002 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a60ec7f377c26726174d536bffb632002"></a>
QMargins </td><td class="memItemRight" valign="bottom"><b>minimumMargins</b> () const </td></tr>
<tr class="separator:a60ec7f377c26726174d536bffb632002 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2f499b1179b3126e22d0d7508124ccb3 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2f499b1179b3126e22d0d7508124ccb3"></a>
QCP::MarginSides </td><td class="memItemRight" valign="bottom"><b>autoMargins</b> () const </td></tr>
<tr class="separator:a2f499b1179b3126e22d0d7508124ccb3 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae71f9230171d2d898e21dc461fc3df03 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae71f9230171d2d898e21dc461fc3df03"></a>
QSize </td><td class="memItemRight" valign="bottom"><b>minimumSize</b> () const </td></tr>
<tr class="separator:ae71f9230171d2d898e21dc461fc3df03 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1fc85c79e15c2ab8051eccd455fccc4a inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1fc85c79e15c2ab8051eccd455fccc4a"></a>
QSize </td><td class="memItemRight" valign="bottom"><b>maximumSize</b> () const </td></tr>
<tr class="separator:a1fc85c79e15c2ab8051eccd455fccc4a inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a22cb1bb62c452fd802e43ca2524660db inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a22cb1bb62c452fd802e43ca2524660db"></a>
<a class="el" href="classQCPMarginGroup.html">QCPMarginGroup</a> * </td><td class="memItemRight" valign="bottom"><b>marginGroup</b> (<a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54">QCP::MarginSide</a> side) const </td></tr>
<tr class="separator:a22cb1bb62c452fd802e43ca2524660db inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac43921c997570389c14a1671bc3ea499 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac43921c997570389c14a1671bc3ea499"></a>
QHash< <a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54">QCP::MarginSide</a>, <br class="typebreak"/>
<a class="el" href="classQCPMarginGroup.html">QCPMarginGroup</a> * > </td><td class="memItemRight" valign="bottom"><b>marginGroups</b> () const </td></tr>
<tr class="separator:ac43921c997570389c14a1671bc3ea499 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a38975ea13e36de8e53391ce41d94bc0f inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a38975ea13e36de8e53391ce41d94bc0f">setOuterRect</a> (const QRect &<a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>)</td></tr>
<tr class="separator:a38975ea13e36de8e53391ce41d94bc0f inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8f450b1f3f992ad576fce2c63d8b79cf inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a8f450b1f3f992ad576fce2c63d8b79cf">setMargins</a> (const QMargins &margins)</td></tr>
<tr class="separator:a8f450b1f3f992ad576fce2c63d8b79cf inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0a8a17abc16b7923159fcc7608f94673 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a0a8a17abc16b7923159fcc7608f94673">setMinimumMargins</a> (const QMargins &margins)</td></tr>
<tr class="separator:a0a8a17abc16b7923159fcc7608f94673 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:accfda49994e3e6d51ed14504abf9d27d inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#accfda49994e3e6d51ed14504abf9d27d">setAutoMargins</a> (QCP::MarginSides sides)</td></tr>
<tr class="separator:accfda49994e3e6d51ed14504abf9d27d inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5dd29a3c8bc88440c97c06b67be7886b inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a5dd29a3c8bc88440c97c06b67be7886b">setMinimumSize</a> (const QSize &size)</td></tr>
<tr class="separator:a5dd29a3c8bc88440c97c06b67be7886b inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8e0447614a0bf92de9a7304588c6b96e inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a8e0447614a0bf92de9a7304588c6b96e">setMinimumSize</a> (int width, int height)</td></tr>
<tr class="separator:a8e0447614a0bf92de9a7304588c6b96e inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a74eb5280a737ab44833d506db65efd95 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a74eb5280a737ab44833d506db65efd95">setMaximumSize</a> (const QSize &size)</td></tr>
<tr class="separator:a74eb5280a737ab44833d506db65efd95 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a03e0e9c48f230217c529b0819f832d84 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a03e0e9c48f230217c529b0819f832d84">setMaximumSize</a> (int width, int height)</td></tr>
<tr class="separator:a03e0e9c48f230217c529b0819f832d84 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a516e56f76b6bc100e8e71d329866847d inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a516e56f76b6bc100e8e71d329866847d">setMarginGroup</a> (QCP::MarginSides sides, <a class="el" href="classQCPMarginGroup.html">QCPMarginGroup</a> *group)</td></tr>
<tr class="separator:a516e56f76b6bc100e8e71d329866847d inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aebe14fb71f858c0f98caf8d342a9864a inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">virtual QSize </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#aebe14fb71f858c0f98caf8d342a9864a">minimumSizeHint</a> () const </td></tr>
<tr class="separator:aebe14fb71f858c0f98caf8d342a9864a inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adbd3a00fec44c977150c6be7329eb801 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">virtual QSize </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#adbd3a00fec44c977150c6be7329eb801">maximumSizeHint</a> () const </td></tr>
<tr class="separator:adbd3a00fec44c977150c6be7329eb801 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9fcf5d0ea19f2c23b2b528bce2c6f095 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a9fcf5d0ea19f2c23b2b528bce2c6f095">selectTest</a> (const QPointF &pos, bool onlySelectable, QVariant *details=0) const </td></tr>
<tr class="separator:a9fcf5d0ea19f2c23b2b528bce2c6f095 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classQCPLayerable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classQCPLayerable')"><img src="closed.png" alt="-"/> Public Functions inherited from <a class="el" href="classQCPLayerable.html">QCPLayerable</a></td></tr>
<tr class="memitem:a74c0fa237f29bf0e49565013fc5d1ec0 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a74c0fa237f29bf0e49565013fc5d1ec0">QCPLayerable</a> (<a class="el" href="classQCustomPlot.html">QCustomPlot</a> *plot, QString targetLayer=QString(), <a class="el" href="classQCPLayerable.html">QCPLayerable</a> *<a class="el" href="classQCPLayerable.html#a98d79f5b716d45eac4347befe546d0ec">parentLayerable</a>=0)</td></tr>
<tr class="separator:a74c0fa237f29bf0e49565013fc5d1ec0 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a10a3cc92e0fa63e4a929e61d34e275a7 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a10a3cc92e0fa63e4a929e61d34e275a7"></a>
bool </td><td class="memItemRight" valign="bottom"><b>visible</b> () const </td></tr>
<tr class="separator:a10a3cc92e0fa63e4a929e61d34e275a7 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab7e0e94461566093d36ffc0f5312b109 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab7e0e94461566093d36ffc0f5312b109"></a>
<a class="el" href="classQCustomPlot.html">QCustomPlot</a> * </td><td class="memItemRight" valign="bottom"><b>parentPlot</b> () const </td></tr>
<tr class="separator:ab7e0e94461566093d36ffc0f5312b109 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a98d79f5b716d45eac4347befe546d0ec inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPLayerable.html">QCPLayerable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a98d79f5b716d45eac4347befe546d0ec">parentLayerable</a> () const </td></tr>
<tr class="separator:a98d79f5b716d45eac4347befe546d0ec inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aea67e8c19145e70d68c286a36f6b8300 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aea67e8c19145e70d68c286a36f6b8300"></a>
<a class="el" href="classQCPLayer.html">QCPLayer</a> * </td><td class="memItemRight" valign="bottom"><b>layer</b> () const </td></tr>
<tr class="separator:aea67e8c19145e70d68c286a36f6b8300 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aef5cb4aa899ed9dc9384fd614560291e inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aef5cb4aa899ed9dc9384fd614560291e"></a>
bool </td><td class="memItemRight" valign="bottom"><b>antialiased</b> () const </td></tr>
<tr class="separator:aef5cb4aa899ed9dc9384fd614560291e inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3bed99ddc396b48ce3ebfdc0418744f8 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">setVisible</a> (bool on)</td></tr>
<tr class="separator:a3bed99ddc396b48ce3ebfdc0418744f8 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab0d0da6d2de45a118886d2c8e16d5a54 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">Q_SLOT bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#ab0d0da6d2de45a118886d2c8e16d5a54">setLayer</a> (<a class="el" href="classQCPLayer.html">QCPLayer</a> *layer)</td></tr>
<tr class="separator:ab0d0da6d2de45a118886d2c8e16d5a54 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab25a0e7b897993b44447caee0f142083 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#ab25a0e7b897993b44447caee0f142083">setLayer</a> (const QString &layerName)</td></tr>
<tr class="separator:ab25a0e7b897993b44447caee0f142083 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4fd43e89be4a553ead41652565ff0581 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a4fd43e89be4a553ead41652565ff0581">setAntialiased</a> (bool enabled)</td></tr>
<tr class="separator:a4fd43e89be4a553ead41652565ff0581 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a30809f7455e9794bca7b6c737622fa63 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a30809f7455e9794bca7b6c737622fa63">realVisibility</a> () const </td></tr>
<tr class="separator:a30809f7455e9794bca7b6c737622fa63 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Functions</h2></td></tr>
<tr class="memitem:a9a6dd0763701cbc7d01f899bcbb3f9ca"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a9a6dd0763701cbc7d01f899bcbb3f9ca">applyDefaultAntialiasingHint</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter) const </td></tr>
<tr class="separator:a9a6dd0763701cbc7d01f899bcbb3f9ca"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afb1bbbbda8345cd2710d92ee48440b53"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#afb1bbbbda8345cd2710d92ee48440b53">draw</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter)</td></tr>
<tr class="separator:afb1bbbbda8345cd2710d92ee48440b53"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae79f18302e6507586aa8c032a5f9ed1c"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#ae79f18302e6507586aa8c032a5f9ed1c">calculateAutoMargin</a> (<a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54">QCP::MarginSide</a> side)</td></tr>
<tr class="separator:ae79f18302e6507586aa8c032a5f9ed1c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a77501dbeccdac7256f7979b05077c04e"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a77501dbeccdac7256f7979b05077c04e">mousePressEvent</a> (QMouseEvent *event)</td></tr>
<tr class="separator:a77501dbeccdac7256f7979b05077c04e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4baf3d5dd69166788f6ceda0ea182c6e"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a4baf3d5dd69166788f6ceda0ea182c6e">mouseMoveEvent</a> (QMouseEvent *event)</td></tr>
<tr class="separator:a4baf3d5dd69166788f6ceda0ea182c6e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adf6c99780cea55ab39459a6eaad3a94a"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#adf6c99780cea55ab39459a6eaad3a94a">mouseReleaseEvent</a> (QMouseEvent *event)</td></tr>
<tr class="separator:adf6c99780cea55ab39459a6eaad3a94a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5acf41fc30aa68ea263246ecfad85c31"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a5acf41fc30aa68ea263246ecfad85c31">wheelEvent</a> (QWheelEvent *event)</td></tr>
<tr class="separator:a5acf41fc30aa68ea263246ecfad85c31"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab49d338d1ce74b476fcead5b32cf06dc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#ab49d338d1ce74b476fcead5b32cf06dc">drawBackground</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter)</td></tr>
<tr class="separator:ab49d338d1ce74b476fcead5b32cf06dc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6024ccdc74f5dc0e8a0fe482e5b28a20"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPAxisRect.html#a6024ccdc74f5dc0e8a0fe482e5b28a20">updateAxesOffset</a> (<a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a> type)</td></tr>
<tr class="separator:a6024ccdc74f5dc0e8a0fe482e5b28a20"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classQCPLayoutElement"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classQCPLayoutElement')"><img src="closed.png" alt="-"/> Protected Functions inherited from <a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a></td></tr>
<tr class="memitem:aa8fef6486cb6ceb7c82cbdd50bc32ee9 inherit pro_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#aa8fef6486cb6ceb7c82cbdd50bc32ee9">mouseDoubleClickEvent</a> (QMouseEvent *event)</td></tr>
<tr class="separator:aa8fef6486cb6ceb7c82cbdd50bc32ee9 inherit pro_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1478899e80e8244b411e96ec3b2e5ce2 inherit pro_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a1478899e80e8244b411e96ec3b2e5ce2">parentPlotInitialized</a> (<a class="el" href="classQCustomPlot.html">QCustomPlot</a> *parentPlot)</td></tr>
<tr class="separator:a1478899e80e8244b411e96ec3b2e5ce2 inherit pro_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classQCPLayerable"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classQCPLayerable')"><img src="closed.png" alt="-"/> Protected Functions inherited from <a class="el" href="classQCPLayerable.html">QCPLayerable</a></td></tr>
<tr class="memitem:aa4035e586b7f317a06ba7e74e242a5ea inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037">QCP::Interaction</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#aa4035e586b7f317a06ba7e74e242a5ea">selectionCategory</a> () const </td></tr>
<tr class="separator:aa4035e586b7f317a06ba7e74e242a5ea inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a07a8f746640c3704b09910df297afcba inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">virtual QRect </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a07a8f746640c3704b09910df297afcba">clipRect</a> () const </td></tr>
<tr class="separator:a07a8f746640c3704b09910df297afcba inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7498c2d0d081cf7cad0fb3bb93aa0e91 inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a7498c2d0d081cf7cad0fb3bb93aa0e91">selectEvent</a> (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged)</td></tr>
<tr class="separator:a7498c2d0d081cf7cad0fb3bb93aa0e91 inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae546370644a5551c76af739afc008bee inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#ae546370644a5551c76af739afc008bee">deselectEvent</a> (bool *selectionStateChanged)</td></tr>
<tr class="separator:ae546370644a5551c76af739afc008bee inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8cbe5a0c9a5674249982f5ca5f8e02bc inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a8cbe5a0c9a5674249982f5ca5f8e02bc">initializeParentPlot</a> (<a class="el" href="classQCustomPlot.html">QCustomPlot</a> *parentPlot)</td></tr>
<tr class="separator:a8cbe5a0c9a5674249982f5ca5f8e02bc inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa23c893671f1f6744ac235cf2204cf3a inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#aa23c893671f1f6744ac235cf2204cf3a">setParentLayerable</a> (<a class="el" href="classQCPLayerable.html">QCPLayerable</a> *<a class="el" href="classQCPLayerable.html#a98d79f5b716d45eac4347befe546d0ec">parentLayerable</a>)</td></tr>
<tr class="separator:aa23c893671f1f6744ac235cf2204cf3a inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af94484cfb7cbbddb7de522e9be71d9a4 inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#af94484cfb7cbbddb7de522e9be71d9a4">moveToLayer</a> (<a class="el" href="classQCPLayer.html">QCPLayer</a> *layer, bool prepend)</td></tr>
<tr class="separator:af94484cfb7cbbddb7de522e9be71d9a4 inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a62bd552d1a45aa9accb24b310542279e inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a62bd552d1a45aa9accb24b310542279e">applyAntialiasingHint</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter, bool localAntialiased, <a class="el" href="namespaceQCP.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a> overrideElement) const </td></tr>
<tr class="separator:a62bd552d1a45aa9accb24b310542279e inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_classQCPLayoutElement"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classQCPLayoutElement')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a></td></tr>
<tr class="memitem:a0d83360e05735735aaf6d7983c56374d inherit pub_types_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a0d83360e05735735aaf6d7983c56374d">UpdatePhase</a> </td></tr>
<tr class="separator:a0d83360e05735735aaf6d7983c56374d inherit pub_types_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header signals_classQCPLayerable"><td colspan="2" onclick="javascript:toggleInherit('signals_classQCPLayerable')"><img src="closed.png" alt="-"/> Signals inherited from <a class="el" href="classQCPLayerable.html">QCPLayerable</a></td></tr>
<tr class="memitem:abbf8657cedea73ac1c3499b521c90eba inherit signals_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#abbf8657cedea73ac1c3499b521c90eba">layerChanged</a> (<a class="el" href="classQCPLayer.html">QCPLayer</a> *newLayer)</td></tr>
<tr class="separator:abbf8657cedea73ac1c3499b521c90eba inherit signals_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Holds multiple axes and arranges them in a rectangular shape. </p>
<p>This class represents an axis rect, a rectangular area that is bounded on all sides with an arbitrary number of axes.</p>
<p>Initially <a class="el" href="classQCustomPlot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> has one axis rect, accessible via <a class="el" href="classQCustomPlot.html#a4a37a1add5fe63060ac518cf0a4c4050">QCustomPlot::axisRect()</a>. However, the layout system allows to have multiple axis rects, e.g. arranged in a grid layout (<a class="el" href="classQCustomPlot.html#afd280d4d621ae64a106543a545c508d7">QCustomPlot::plotLayout</a>).</p>
<p>By default, <a class="el" href="classQCPAxisRect.html" title="Holds multiple axes and arranges them in a rectangular shape. ">QCPAxisRect</a> comes with four axes, at bottom, top, left and right. They can be accessed via <a class="el" href="classQCPAxisRect.html#a560de44e47a4af0f86c59102a094b1e4">axis</a> by providing the respective axis type (<a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a>) and index. If you need all axes in the axis rect, use <a class="el" href="classQCPAxisRect.html#a66654d51ca611ef036ded36250cd2518">axes</a>. The top and right axes are set to be invisible initially (<a class="el" href="classQCPLayerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">QCPAxis::setVisible</a>). To add more axes to a side, use <a class="el" href="classQCPAxisRect.html#a2dc336092ccc57d44a46194c8a23e4f4">addAxis</a> or <a class="el" href="classQCPAxisRect.html#a792e1f3d9cb1591fca135bb0de9b81fc">addAxes</a>. To remove an axis, use <a class="el" href="classQCPAxisRect.html#a03c39cd9704f0d36fb6cf980cdddcbaa">removeAxis</a>.</p>
<p>The axis rect layerable itself only draws a background pixmap or color, if specified (<a class="el" href="classQCPAxisRect.html#af615ab5e52b8e0a9a0eff415b6559db5">setBackground</a>). It is placed on the "background" layer initially (see <a class="el" href="classQCPLayer.html">QCPLayer</a> for an explanation of the <a class="el" href="classQCustomPlot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> layer system). The axes that are held by the axis rect can be placed on other layers, independently of the axis rect.</p>
<p>Every axis rect has a child layout of type <a class="el" href="classQCPLayoutInset.html">QCPLayoutInset</a>. It is accessible via <a class="el" href="classQCPAxisRect.html#a4114887c7141b59650b7488f930993e5">insetLayout</a> and can be used to have other layout elements (or even other layouts with multiple elements) hovering inside the axis rect.</p>
<p>If an axis rect is clicked and dragged, it processes this by moving certain axis ranges. The behaviour can be controlled with <a class="el" href="classQCPAxisRect.html#ae6aef2f7211ba6097c925dcd26008418">setRangeDrag</a> and <a class="el" href="classQCPAxisRect.html#a648cce336bd99daac4a5ca3e5743775d">setRangeDragAxes</a>. If the mouse wheel is scrolled while the cursor is on the axis rect, certain axes are scaled. This is controllable via <a class="el" href="classQCPAxisRect.html#a7960a9d222f1c31d558b064b60f86a31">setRangeZoom</a>, <a class="el" href="classQCPAxisRect.html#a9442cca2aa358405f39a64d51eca13d2">setRangeZoomAxes</a> and <a class="el" href="classQCPAxisRect.html#a895d7ac745ea614e04056244b3c138ac">setRangeZoomFactor</a>. These interactions are only enabled if <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> contains <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037a2c4432b9aceafb94000be8d1b589ef18">QCP::iRangeDrag</a> and <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037abee1e94353525a636aeaf0ba32b72e14">QCP::iRangeZoom</a>.</p>
<div class="image">
<img src="AxisRectSpacingOverview.png" alt="AxisRectSpacingOverview.png"/>
</div>
<center>Overview of the spacings and paddings that define the geometry of an axis. The dashed line on the far left indicates the viewport/widget border.</center> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="a60b31dece805462c1b82eea2e69ba042"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QCPAxisRect::QCPAxisRect </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCustomPlot.html">QCustomPlot</a> * </td>
<td class="paramname"><em>parentPlot</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>setupDefaultAxes</em> = <code>true</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a <a class="el" href="classQCPAxisRect.html" title="Holds multiple axes and arranges them in a rectangular shape. ">QCPAxisRect</a> instance and sets default values. An axis is added for each of the four sides, the top and right axes are set invisible initially. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a6d7c22cfc54fac7a3d6ef80b133a8574"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPAxis.html">QCPAxis</a> * QCPAxisRect::rangeDragAxis </td>
<td>(</td>
<td class="paramtype">Qt::Orientation </td>
<td class="paramname"><em>orientation</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the range drag axis of the <em>orientation</em> provided.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a648cce336bd99daac4a5ca3e5743775d">setRangeDragAxes</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a679c63f2b8daccfe6ec5110dce3dd3b6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPAxis.html">QCPAxis</a> * QCPAxisRect::rangeZoomAxis </td>
<td>(</td>
<td class="paramtype">Qt::Orientation </td>
<td class="paramname"><em>orientation</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the range zoom axis of the <em>orientation</em> provided.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a9442cca2aa358405f39a64d51eca13d2">setRangeZoomAxes</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ae4e6c4d143aacc88d2d3c56f117c2fe1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">double QCPAxisRect::rangeZoomFactor </td>
<td>(</td>
<td class="paramtype">Qt::Orientation </td>
<td class="paramname"><em>orientation</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the range zoom factor of the <em>orientation</em> provided.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a895d7ac745ea614e04056244b3c138ac">setRangeZoomFactor</a> </dd></dl>
</div>
</div>
<a class="anchor" id="af615ab5e52b8e0a9a0eff415b6559db5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPAxisRect::setBackground </td>
<td>(</td>
<td class="paramtype">const QPixmap & </td>
<td class="paramname"><em>pm</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets <em>pm</em> as the axis background pixmap. The axis background pixmap will be drawn inside the axis rect. Since axis rects place themselves on the "background" layer by default, the axis rect backgrounds are usually drawn below everything else.</p>
<p>For cases where the provided pixmap doesn't have the same size as the axis rect, scaling can be enabled with <a class="el" href="classQCPAxisRect.html#ae6d36c3e0e968ffb991170a018e7b503">setBackgroundScaled</a> and the scaling mode (i.e. whether and how the aspect ratio is preserved) can be set with <a class="el" href="classQCPAxisRect.html#a5ef77ea829c9de7ba248e473f48f7305">setBackgroundScaledMode</a>. To set all these options in one call, consider using the overloaded version of this function.</p>
<p>Below the pixmap, the axis rect may be optionally filled with a brush, if specified with <a class="el" href="classQCPAxisRect.html#a22a22b8668735438dc06f9a55fe46b33">setBackground(const QBrush &brush)</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#ae6d36c3e0e968ffb991170a018e7b503">setBackgroundScaled</a>, <a class="el" href="classQCPAxisRect.html#a5ef77ea829c9de7ba248e473f48f7305">setBackgroundScaledMode</a>, <a class="el" href="classQCPAxisRect.html#a22a22b8668735438dc06f9a55fe46b33">setBackground(const QBrush &brush)</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ac48a2d5d9b7732e73b86605c69c5e4c1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPAxisRect::setBackground </td>
<td>(</td>
<td class="paramtype">const QPixmap & </td>
<td class="paramname"><em>pm</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>scaled</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Qt::AspectRatioMode </td>
<td class="paramname"><em>mode</em> = <code>Qt::KeepAspectRatioByExpanding</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function.</p>
<p>Allows setting the background pixmap of the axis rect, whether it shall be scaled and how it shall be scaled in one call.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#af615ab5e52b8e0a9a0eff415b6559db5">setBackground(const QPixmap &pm)</a>, <a class="el" href="classQCPAxisRect.html#ae6d36c3e0e968ffb991170a018e7b503">setBackgroundScaled</a>, <a class="el" href="classQCPAxisRect.html#a5ef77ea829c9de7ba248e473f48f7305">setBackgroundScaledMode</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a22a22b8668735438dc06f9a55fe46b33"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPAxisRect::setBackground </td>
<td>(</td>
<td class="paramtype">const QBrush & </td>
<td class="paramname"><em>brush</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function.</p>
<p>Sets <em>brush</em> as the background brush. The axis rect background will be filled with this brush. Since axis rects place themselves on the "background" layer by default, the axis rect backgrounds are usually drawn below everything else.</p>
<p>The brush will be drawn before (under) any background pixmap, which may be specified with <a class="el" href="classQCPAxisRect.html#af615ab5e52b8e0a9a0eff415b6559db5">setBackground(const QPixmap &pm)</a>.</p>
<p>To disable drawing of a background brush, set <em>brush</em> to Qt::NoBrush.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#af615ab5e52b8e0a9a0eff415b6559db5">setBackground(const QPixmap &pm)</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ae6d36c3e0e968ffb991170a018e7b503"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPAxisRect::setBackgroundScaled </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>scaled</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets whether the axis background pixmap shall be scaled to fit the axis rect or not. If <em>scaled</em> is set to true, you may control whether and how the aspect ratio of the original pixmap is preserved with <a class="el" href="classQCPAxisRect.html#a5ef77ea829c9de7ba248e473f48f7305">setBackgroundScaledMode</a>.</p>
<p>Note that the scaled version of the original pixmap is buffered, so there is no performance penalty on replots. (Except when the axis rect dimensions are changed continuously.)</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#af615ab5e52b8e0a9a0eff415b6559db5">setBackground</a>, <a class="el" href="classQCPAxisRect.html#a5ef77ea829c9de7ba248e473f48f7305">setBackgroundScaledMode</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a5ef77ea829c9de7ba248e473f48f7305"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPAxisRect::setBackgroundScaledMode </td>
<td>(</td>
<td class="paramtype">Qt::AspectRatioMode </td>
<td class="paramname"><em>mode</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If scaling of the axis background pixmap is enabled (<a class="el" href="classQCPAxisRect.html#ae6d36c3e0e968ffb991170a018e7b503">setBackgroundScaled</a>), use this function to define whether and how the aspect ratio of the original pixmap passed to <a class="el" href="classQCPAxisRect.html#af615ab5e52b8e0a9a0eff415b6559db5">setBackground</a> is preserved. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#af615ab5e52b8e0a9a0eff415b6559db5">setBackground</a>, <a class="el" href="classQCPAxisRect.html#ae6d36c3e0e968ffb991170a018e7b503">setBackgroundScaled</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ae6aef2f7211ba6097c925dcd26008418"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPAxisRect::setRangeDrag </td>
<td>(</td>
<td class="paramtype">Qt::Orientations </td>
<td class="paramname"><em>orientations</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets which axis orientation may be range dragged by the user with mouse interaction. What orientation corresponds to which specific axis can be set with <a class="el" href="classQCPAxisRect.html#a648cce336bd99daac4a5ca3e5743775d">setRangeDragAxes(QCPAxis *horizontal, QCPAxis *vertical)</a>. By default, the horizontal axis is the bottom axis (xAxis) and the vertical axis is the left axis (yAxis).</p>
<p>To disable range dragging entirely, pass 0 as <em>orientations</em> or remove <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037a2c4432b9aceafb94000be8d1b589ef18">QCP::iRangeDrag</a> from <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a>. To enable range dragging for both directions, pass <code>Qt::Horizontal | Qt::Vertical</code> as <em>orientations</em>.</p>
<p>In addition to setting <em>orientations</em> to a non-zero value, make sure <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> contains <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037a2c4432b9aceafb94000be8d1b589ef18">QCP::iRangeDrag</a> to enable the range dragging interaction.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a7960a9d222f1c31d558b064b60f86a31">setRangeZoom</a>, <a class="el" href="classQCPAxisRect.html#a648cce336bd99daac4a5ca3e5743775d">setRangeDragAxes</a>, <a class="el" href="classQCustomPlot.html#a775bdcb6329d44701aeaa6135b0e5265">QCustomPlot::setNoAntialiasingOnDrag</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a7960a9d222f1c31d558b064b60f86a31"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPAxisRect::setRangeZoom </td>
<td>(</td>
<td class="paramtype">Qt::Orientations </td>
<td class="paramname"><em>orientations</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets which axis orientation may be zoomed by the user with the mouse wheel. What orientation corresponds to which specific axis can be set with <a class="el" href="classQCPAxisRect.html#a9442cca2aa358405f39a64d51eca13d2">setRangeZoomAxes</a>(<a class="el" href="classQCPAxis.html" title="Manages a single axis inside a QCustomPlot. ">QCPAxis</a> *horizontal, <a class="el" href="classQCPAxis.html" title="Manages a single axis inside a QCustomPlot. ">QCPAxis</a> *vertical). By default, the horizontal axis is the bottom axis (xAxis) and the vertical axis is the left axis (yAxis).</p>
<p>To disable range zooming entirely, pass 0 as <em>orientations</em> or remove <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037abee1e94353525a636aeaf0ba32b72e14">QCP::iRangeZoom</a> from <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a>. To enable range zooming for both directions, pass <code>Qt::Horizontal | Qt::Vertical</code> as <em>orientations</em>.</p>
<p>In addition to setting <em>orientations</em> to a non-zero value, make sure <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> contains <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037abee1e94353525a636aeaf0ba32b72e14">QCP::iRangeZoom</a> to enable the range zooming interaction.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a895d7ac745ea614e04056244b3c138ac">setRangeZoomFactor</a>, <a class="el" href="classQCPAxisRect.html#a9442cca2aa358405f39a64d51eca13d2">setRangeZoomAxes</a>, <a class="el" href="classQCPAxisRect.html#ae6aef2f7211ba6097c925dcd26008418">setRangeDrag</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a648cce336bd99daac4a5ca3e5743775d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPAxisRect::setRangeDragAxes </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPAxis.html">QCPAxis</a> * </td>
<td class="paramname"><em>horizontal</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classQCPAxis.html">QCPAxis</a> * </td>
<td class="paramname"><em>vertical</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the axes whose range will be dragged when <a class="el" href="classQCPAxisRect.html#ae6aef2f7211ba6097c925dcd26008418">setRangeDrag</a> enables mouse range dragging on the <a class="el" href="classQCustomPlot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a9442cca2aa358405f39a64d51eca13d2">setRangeZoomAxes</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a9442cca2aa358405f39a64d51eca13d2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPAxisRect::setRangeZoomAxes </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPAxis.html">QCPAxis</a> * </td>
<td class="paramname"><em>horizontal</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classQCPAxis.html">QCPAxis</a> * </td>
<td class="paramname"><em>vertical</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the axes whose range will be zoomed when <a class="el" href="classQCPAxisRect.html#a7960a9d222f1c31d558b064b60f86a31">setRangeZoom</a> enables mouse wheel zooming on the <a class="el" href="classQCustomPlot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> widget. The two axes can be zoomed with different strengths, when different factors are passed to <a class="el" href="classQCPAxisRect.html#a895d7ac745ea614e04056244b3c138ac">setRangeZoomFactor(double horizontalFactor, double verticalFactor)</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a648cce336bd99daac4a5ca3e5743775d">setRangeDragAxes</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a895d7ac745ea614e04056244b3c138ac"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPAxisRect::setRangeZoomFactor </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>horizontalFactor</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>verticalFactor</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets how strong one rotation step of the mouse wheel zooms, when range zoom was activated with <a class="el" href="classQCPAxisRect.html#a7960a9d222f1c31d558b064b60f86a31">setRangeZoom</a>. The two parameters <em>horizontalFactor</em> and <em>verticalFactor</em> provide a way to let the horizontal axis zoom at different rates than the vertical axis. Which axis is horizontal and which is vertical, can be set with <a class="el" href="classQCPAxisRect.html#a9442cca2aa358405f39a64d51eca13d2">setRangeZoomAxes</a>.</p>
<p>When the zoom factor is greater than one, scrolling the mouse wheel backwards (towards the user) will zoom in (make the currently visible range smaller). For zoom factors smaller than one, the same scrolling direction will zoom out. </p>
</div>
</div>
<a class="anchor" id="ae83d187b03fc6fa4f00765ad50cd3fc3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPAxisRect::setRangeZoomFactor </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>factor</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function.</p>
<p>Sets both the horizontal and vertical zoom <em>factor</em>. </p>
</div>
</div>
<a class="anchor" id="a16e3e4646e52e4b5d5b865076c29ae58"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int QCPAxisRect::axisCount </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a> </td>
<td class="paramname"><em>type</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the number of axes on the axis rect side specified with <em>type</em>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a560de44e47a4af0f86c59102a094b1e4">axis</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a560de44e47a4af0f86c59102a094b1e4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPAxis.html">QCPAxis</a> * QCPAxisRect::axis </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a> </td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>index</em> = <code>0</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the axis with the given <em>index</em> on the axis rect side specified with <em>type</em>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a16e3e4646e52e4b5d5b865076c29ae58">axisCount</a>, <a class="el" href="classQCPAxisRect.html#a66654d51ca611ef036ded36250cd2518">axes</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a66654d51ca611ef036ded36250cd2518"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QList< <a class="el" href="classQCPAxis.html">QCPAxis</a> * > QCPAxisRect::axes </td>
<td>(</td>
<td class="paramtype">QCPAxis::AxisTypes </td>
<td class="paramname"><em>types</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns all axes on the axis rect sides specified with <em>types</em>.</p>
<p><em>types</em> may be a single <a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a> or an <code>or</code>-combination, to get the axes of multiple sides.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a560de44e47a4af0f86c59102a094b1e4">axis</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a18dcdc0dd6c7520bc9f3d15a7a3feec2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QList< <a class="el" href="classQCPAxis.html">QCPAxis</a> * > QCPAxisRect::axes </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function.</p>
<p>Returns all axes of this axis rect. </p>
</div>
</div>
<a class="anchor" id="a2dc336092ccc57d44a46194c8a23e4f4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPAxis.html">QCPAxis</a> * QCPAxisRect::addAxis </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a> </td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classQCPAxis.html">QCPAxis</a> * </td>
<td class="paramname"><em>axis</em> = <code>0</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a new axis to the axis rect side specified with <em>type</em>, and returns it. If <em>axis</em> is 0, a new <a class="el" href="classQCPAxis.html" title="Manages a single axis inside a QCustomPlot. ">QCPAxis</a> instance is created internally.</p>
<p>You may inject <a class="el" href="classQCPAxis.html" title="Manages a single axis inside a QCustomPlot. ">QCPAxis</a> instances (or sublasses of <a class="el" href="classQCPAxis.html" title="Manages a single axis inside a QCustomPlot. ">QCPAxis</a>) by setting <em>axis</em> to an axis that was previously created outside <a class="el" href="classQCustomPlot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>. It is important to note that <a class="el" href="classQCustomPlot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> takes ownership of the axis, so you may not delete it afterwards. Further, the <em>axis</em> must have been created with this axis rect as parent and with the same axis type as specified in <em>type</em>. If this is not the case, a debug output is generated, the axis is not added, and the method returns 0.</p>
<p>This method can not be used to move <em>axis</em> between axis rects. The same <em>axis</em> instance must not be added multiple times to the same or different axis rects.</p>
<p>If an axis rect side already contains one or more axes, the lower and upper endings of the new axis (<a class="el" href="classQCPAxis.html#a08af1c72db9ae4dc8cb8a973d44405ab">QCPAxis::setLowerEnding</a>, <a class="el" href="classQCPAxis.html#a69119b892fc306f651763596685aa377">QCPAxis::setUpperEnding</a>) are set to <a class="el" href="classQCPLineEnding.html#a5ef16e6876b4b74959c7261d8d4c2cd5a126c390f0c359fcd8df1fc5e38d26d5b">QCPLineEnding::esHalfBar</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a792e1f3d9cb1591fca135bb0de9b81fc">addAxes</a>, <a class="el" href="classQCPAxisRect.html#a5fa906175447b14206954f77fc7f1ef4">setupFullAxesBox</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a792e1f3d9cb1591fca135bb0de9b81fc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QList< <a class="el" href="classQCPAxis.html">QCPAxis</a> * > QCPAxisRect::addAxes </td>
<td>(</td>
<td class="paramtype">QCPAxis::AxisTypes </td>
<td class="paramname"><em>types</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a new axis with <a class="el" href="classQCPAxisRect.html#a2dc336092ccc57d44a46194c8a23e4f4">addAxis</a> to each axis rect side specified in <em>types</em>. This may be an <code>or</code>-combination of <a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a>, so axes can be added to multiple sides at once.</p>
<p>Returns a list of the added axes.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a2dc336092ccc57d44a46194c8a23e4f4">addAxis</a>, <a class="el" href="classQCPAxisRect.html#a5fa906175447b14206954f77fc7f1ef4">setupFullAxesBox</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a03c39cd9704f0d36fb6cf980cdddcbaa"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCPAxisRect::removeAxis </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPAxis.html">QCPAxis</a> * </td>
<td class="paramname"><em>axis</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes the specified <em>axis</em> from the axis rect and deletes it.</p>
<p>Returns true on success, i.e. if <em>axis</em> was a valid axis in this axis rect.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a2dc336092ccc57d44a46194c8a23e4f4">addAxis</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a4114887c7141b59650b7488f930993e5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPLayoutInset.html">QCPLayoutInset</a> * QCPAxisRect::insetLayout </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the inset layout of this axis rect. It can be used to place other layout elements (or even layouts with multiple other elements) inside/on top of an axis rect.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPLayoutInset.html" title="A layout that places child elements aligned to the border or arbitrarily positioned. ">QCPLayoutInset</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a5fa906175447b14206954f77fc7f1ef4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPAxisRect::setupFullAxesBox </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>connectRanges</em> = <code>false</code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Convenience function to create an axis on each side that doesn't have any axes yet and set their visibility to true. Further, the top/right axes are assigned the following properties of the bottom/left axes:</p>
<ul>
<li>range (<a class="el" href="classQCPAxis.html#aebdfea5d44c3a0ad2b4700cd4d25b641">QCPAxis::setRange</a>) </li>
<li>range reversed (<a class="el" href="classQCPAxis.html#a2172fdb196b1a0dc3f40992fcad8e9e1">QCPAxis::setRangeReversed</a>) </li>
<li>scale type (<a class="el" href="classQCPAxis.html#adef29cae617af4f519f6c40d1a866ca6">QCPAxis::setScaleType</a>) </li>
<li>scale log base (<a class="el" href="classQCPAxis.html#a726186054be90487885a748aa1b42188">QCPAxis::setScaleLogBase</a>) </li>
<li>ticks (<a class="el" href="classQCPAxis.html#ac891409315bc379e3b1abdb162c1a011">QCPAxis::setTicks</a>) </li>
<li>auto (major) tick count (<a class="el" href="classQCPAxis.html#a7c7111cbeac9ec5fcb40f93a1ef51a0b">QCPAxis::setAutoTickCount</a>) </li>
<li>sub tick count (<a class="el" href="classQCPAxis.html#a4b1554ead9d7f9799650d51383e326dd">QCPAxis::setSubTickCount</a>) </li>
<li>auto sub ticks (<a class="el" href="classQCPAxis.html#adcbdec7a60054b88571e89599f4a45bf">QCPAxis::setAutoSubTicks</a>) </li>
<li>tick step (<a class="el" href="classQCPAxis.html#af727db0acc6492c4c774c0700e738205">QCPAxis::setTickStep</a>) </li>
<li>auto tick step (<a class="el" href="classQCPAxis.html#a99fe77b034e06f5b723995beab96e741">QCPAxis::setAutoTickStep</a>) </li>
<li>number format (<a class="el" href="classQCPAxis.html#ae585a54dc2aac662e90a2ca82f002590">QCPAxis::setNumberFormat</a>) </li>
<li>number precision (<a class="el" href="classQCPAxis.html#a21dc8023ad7500382ad9574b48137e63">QCPAxis::setNumberPrecision</a>) </li>
<li>tick label type (<a class="el" href="classQCPAxis.html#a54f24f5ce8feea25209388a863d7e448">QCPAxis::setTickLabelType</a>) </li>
<li>date time format (<a class="el" href="classQCPAxis.html#a2ee0191daa03524a682113e63e05f7a7">QCPAxis::setDateTimeFormat</a>) </li>
<li>date time spec (<a class="el" href="classQCPAxis.html#a262e06731debed7eee11fa6a81d67eaf">QCPAxis::setDateTimeSpec</a>)</li>
</ul>
<p>Tick labels (<a class="el" href="classQCPAxis.html#a04ba16e1f6f78d70f938519576ed32c8">QCPAxis::setTickLabels</a>) of the right and top axes are set to false.</p>
<p>If <em>connectRanges</em> is true, the <a class="el" href="classQCPAxis.html#a0894084e4c16a1736534c4095746f910">rangeChanged</a> signals of the bottom and left axes are connected to the <a class="el" href="classQCPAxis.html#aebdfea5d44c3a0ad2b4700cd4d25b641">QCPAxis::setRange</a> slots of the top and right axes. </p>
</div>
</div>
<a class="anchor" id="a5b0d629c8de5572945eeae79a142296e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QList< <a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> * > QCPAxisRect::plottables </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a list of all the plottables that are associated with this axis rect.</p>
<p>A plottable is considered associated with an axis rect if its key or value axis (or both) is in this axis rect.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#afa4ff90901d9275f670e24b40e3c1b25">graphs</a>, <a class="el" href="classQCPAxisRect.html#a0f17ed539962cfcbaca8ce0b1776c840">items</a> </dd></dl>
</div>
</div>
<a class="anchor" id="afa4ff90901d9275f670e24b40e3c1b25"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QList< <a class="el" href="classQCPGraph.html">QCPGraph</a> * > QCPAxisRect::graphs </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a list of all the graphs that are associated with this axis rect.</p>
<p>A graph is considered associated with an axis rect if its key or value axis (or both) is in this axis rect.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a5b0d629c8de5572945eeae79a142296e">plottables</a>, <a class="el" href="classQCPAxisRect.html#a0f17ed539962cfcbaca8ce0b1776c840">items</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a0f17ed539962cfcbaca8ce0b1776c840"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QList< <a class="el" href="classQCPAbstractItem.html">QCPAbstractItem</a> * > QCPAxisRect::items </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a list of all the items that are associated with this axis rect.</p>
<p>An item is considered associated with an axis rect if any of its positions has key or value axis set to an axis that is in this axis rect, or if any of its positions has <a class="el" href="classQCPItemPosition.html#a0cd9b326fb324710169e92e8ca0041c2">QCPItemPosition::setAxisRect</a> set to the axis rect, or if the clip axis rect (<a class="el" href="classQCPAbstractItem.html#a7dc75fcbcd10206fe0b75d757ea7a347">QCPAbstractItem::setClipAxisRect</a>) is set to this axis rect.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a5b0d629c8de5572945eeae79a142296e">plottables</a>, <a class="el" href="classQCPAxisRect.html#afa4ff90901d9275f670e24b40e3c1b25">graphs</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a55b3ecf72a3a65b053f7651b88db458d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int QCPAxisRect::left </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the pixel position of the left border of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>. </p>
</div>
</div>
<a class="anchor" id="a6d0f989fc552aa2b563cf82f8fc81e61"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int QCPAxisRect::right </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the pixel position of the right border of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>. </p>
</div>
</div>
<a class="anchor" id="ac45aef1eb75cea46b241b6303028a607"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int QCPAxisRect::top </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the pixel position of the top border of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>. </p>
</div>
</div>
<a class="anchor" id="af2b5982ebe7e6f781b9bf1cc371a60d8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int QCPAxisRect::bottom </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the pixel position of the bottom border of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>. </p>
</div>
</div>
<a class="anchor" id="a45bf5c17f4ca29131b7eb0db06efc259"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int QCPAxisRect::width </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the pixel width of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>. </p>
</div>
</div>
<a class="anchor" id="a1c55c4f3bef40cf01b21820316c8469e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int QCPAxisRect::height </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the pixel height of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>. </p>
</div>
</div>
<a class="anchor" id="a871b9fe49e92b39a3cbe29a59e458536"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QSize QCPAxisRect::size </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the pixel size of this axis rect. Margins are not taken into account here, so the returned value is with respect to the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>. </p>
</div>
</div>
<a class="anchor" id="a88acbe716bcf5072790a6f95637c40d8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QPoint QCPAxisRect::topLeft </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the top left corner of this axis rect in pixels. Margins are not taken into account here, so the returned value is with respect to the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>. </p>
</div>
</div>
<a class="anchor" id="a232409546394c23b59407bc62fa460a8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QPoint QCPAxisRect::topRight </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the top right corner of this axis rect in pixels. Margins are not taken into account here, so the returned value is with respect to the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>. </p>
</div>
</div>
<a class="anchor" id="a724b0333971ea6a338f0dbd814dc97ae"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QPoint QCPAxisRect::bottomLeft </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the bottom left corner of this axis rect in pixels. Margins are not taken into account here, so the returned value is with respect to the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>. </p>
</div>
</div>
<a class="anchor" id="a49ea3c7dff834b47e266cbf3d79f78b9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QPoint QCPAxisRect::bottomRight </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the bottom right corner of this axis rect in pixels. Margins are not taken into account here, so the returned value is with respect to the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>. </p>
</div>
</div>
<a class="anchor" id="aea5e6042bca198424fa1bc02fc282e59"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QPoint QCPAxisRect::center </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the center of this axis rect in pixels. Margins are not taken into account here, so the returned value is with respect to the inner <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a>. </p>
</div>
</div>
<a class="anchor" id="a255080a017df9083a60a321ef2ba9ed8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPAxisRect::update </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPLayoutElement.html#a0d83360e05735735aaf6d7983c56374d">UpdatePhase</a> </td>
<td class="paramname"><em>phase</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This method is called automatically upon replot and doesn't need to be called by users of <a class="el" href="classQCPAxisRect.html" title="Holds multiple axes and arranges them in a rectangular shape. ">QCPAxisRect</a>.</p>
<p>Calls the base class implementation to update the margins (see <a class="el" href="classQCPLayoutElement.html#a929c2ec62e0e0e1d8418eaa802e2af9b">QCPLayoutElement::update</a>), and finally passes the <a class="el" href="classQCPLayoutElement.html#affdfea003469aac3d0fac5f4e06171bc">rect</a> to the inset layout (<a class="el" href="classQCPAxisRect.html#a4114887c7141b59650b7488f930993e5">insetLayout</a>) and calls its QCPInsetLayout::update function. </p>
<p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#a929c2ec62e0e0e1d8418eaa802e2af9b">QCPLayoutElement</a>.</p>
</div>
</div>
<a class="anchor" id="a2bda6bf2b5b5797f92583cecd01c8949"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QList< <a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a> * > QCPAxisRect::elements </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>recursive</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a list of all child elements in this layout element. If <em>recursive</em> is true, all sub-child elements are included in the list, too.</p>
<dl class="section warning"><dt>Warning</dt><dd>There may be entries with value 0 in the returned list. (For example, <a class="el" href="classQCPLayoutGrid.html" title="A layout that arranges child elements in a grid. ">QCPLayoutGrid</a> may have empty cells which yield 0 at the respective index.) </dd></dl>
<p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#a311d60d78e62ef8eaaedb1b6ceb9e788">QCPLayoutElement</a>.</p>
</div>
</div>
<a class="anchor" id="a9a6dd0763701cbc7d01f899bcbb3f9ca"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPAxisRect::applyDefaultAntialiasingHint </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPPainter.html">QCPPainter</a> * </td>
<td class="paramname"><em>painter</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This function applies the default antialiasing setting to the specified <em>painter</em>, using the function <a class="el" href="classQCPLayerable.html#a62bd552d1a45aa9accb24b310542279e">applyAntialiasingHint</a>. It is the antialiasing state the painter is put in, when <a class="el" href="classQCPAxisRect.html#afb1bbbbda8345cd2710d92ee48440b53">draw</a> is called on the layerable. If the layerable has multiple entities whose antialiasing setting may be specified individually, this function should set the antialiasing state of the most prominent entity. In this case however, the <a class="el" href="classQCPAxisRect.html#afb1bbbbda8345cd2710d92ee48440b53">draw</a> function usually calls the specialized versions of this function before drawing each entity, effectively overriding the setting of the default antialiasing hint.</p>
<p><b>First example:</b> <a class="el" href="classQCPGraph.html" title="A plottable representing a graph in a plot. ">QCPGraph</a> has multiple entities that have an antialiasing setting: The graph line, fills, scatters and error bars. Those can be configured via <a class="el" href="classQCPLayerable.html#a4fd43e89be4a553ead41652565ff0581">QCPGraph::setAntialiased</a>, <a class="el" href="classQCPAbstractPlottable.html#a089d6b5577120239b55c39ed27c39536">QCPGraph::setAntialiasedFill</a>, <a class="el" href="classQCPAbstractPlottable.html#a2f03f067ede2ed4da6f7d0e4777a3f02">QCPGraph::setAntialiasedScatters</a> etc. Consequently, there isn't only the <a class="el" href="classQCPAbstractPlottable.html#a76e9d6cc7972dc1528f526d163766aca">QCPGraph::applyDefaultAntialiasingHint</a> function (which corresponds to the graph line's antialiasing), but specialized ones like <a class="el" href="classQCPAbstractPlottable.html#ac08a480155895e674dbfe5a5670e0ff3">QCPGraph::applyFillAntialiasingHint</a> and <a class="el" href="classQCPAbstractPlottable.html#a753272ee225a62827e90c3e1e78de4b1">QCPGraph::applyScattersAntialiasingHint</a>. So before drawing one of those entities, <a class="el" href="classQCPGraph.html#a659218cc62c2a7786213d9dd429c1c8d">QCPGraph::draw</a> calls the respective specialized applyAntialiasingHint function.</p>
<p><b>Second example:</b> <a class="el" href="classQCPItemLine.html" title="A line from one point to another. ">QCPItemLine</a> consists only of a line so there is only one antialiasing setting which can be controlled with <a class="el" href="classQCPLayerable.html#a4fd43e89be4a553ead41652565ff0581">QCPItemLine::setAntialiased</a>. (This function is inherited by all layerables. The specialized functions, as seen on <a class="el" href="classQCPGraph.html" title="A plottable representing a graph in a plot. ">QCPGraph</a>, must be added explicitly to the respective layerable subclass.) Consequently it only has the normal <a class="el" href="classQCPAbstractItem.html#a0839031abdd71067e2256a4d53c7a011">QCPItemLine::applyDefaultAntialiasingHint</a>. The <a class="el" href="classQCPItemLine.html#a1fc045dd33919f8006df0692aeb0e84a">QCPItemLine::draw</a> function doesn't need to care about setting any antialiasing states, because the default antialiasing hint is already set on the painter when the <a class="el" href="classQCPAxisRect.html#afb1bbbbda8345cd2710d92ee48440b53">draw</a> function is called, and that's the state it wants to draw the line with. </p>
<p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#ad6d2b4bb0291c2441b2e1ca3d5296df5">QCPLayoutElement</a>.</p>
</div>
</div>
<a class="anchor" id="afb1bbbbda8345cd2710d92ee48440b53"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPAxisRect::draw </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPPainter.html">QCPPainter</a> * </td>
<td class="paramname"><em>painter</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This function draws the layerable with the specified <em>painter</em>. It is only called by <a class="el" href="classQCustomPlot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a>, if the layerable is visible (<a class="el" href="classQCPLayerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">setVisible</a>).</p>
<p>Before this function is called, the painter's antialiasing state is set via <a class="el" href="classQCPAxisRect.html#a9a6dd0763701cbc7d01f899bcbb3f9ca">applyDefaultAntialiasingHint</a>, see the documentation there. Further, the clipping rectangle was set to <a class="el" href="classQCPLayerable.html#a07a8f746640c3704b09910df297afcba">clipRect</a>. </p>
<p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#a547bcc1e6e2be5645ca781efe0834653">QCPLayoutElement</a>.</p>
</div>
</div>
<a class="anchor" id="ae79f18302e6507586aa8c032a5f9ed1c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int QCPAxisRect::calculateAutoMargin </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54">QCP::MarginSide</a> </td>
<td class="paramname"><em>side</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the margin size for this <em>side</em>. It is used if automatic margins is enabled for this <em>side</em> (see <a class="el" href="classQCPLayoutElement.html#accfda49994e3e6d51ed14504abf9d27d">setAutoMargins</a>). If a minimum margin was set with <a class="el" href="classQCPLayoutElement.html#a0a8a17abc16b7923159fcc7608f94673">setMinimumMargins</a>, the returned value will not be smaller than the specified minimum margin.</p>
<p>The default implementation just returns the respective manual margin (<a class="el" href="classQCPLayoutElement.html#a8f450b1f3f992ad576fce2c63d8b79cf">setMargins</a>) or the minimum margin, whichever is larger. </p>
<p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#a005c9f0fe84bc1591a2cf2c46fd477b4">QCPLayoutElement</a>.</p>
</div>
</div>
<a class="anchor" id="a77501dbeccdac7256f7979b05077c04e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPAxisRect::mousePressEvent </td>
<td>(</td>
<td class="paramtype">QMouseEvent * </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Event handler for when a mouse button is pressed on the axis rect. If the left mouse button is pressed, the range dragging interaction is initialized (the actual range manipulation happens in the <a class="el" href="classQCPAxisRect.html#a4baf3d5dd69166788f6ceda0ea182c6e">mouseMoveEvent</a>).</p>
<p>The mDragging flag is set to true and some anchor points are set that are needed to determine the distance the mouse was dragged in the mouse move/release events later.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a4baf3d5dd69166788f6ceda0ea182c6e">mouseMoveEvent</a>, <a class="el" href="classQCPAxisRect.html#adf6c99780cea55ab39459a6eaad3a94a">mouseReleaseEvent</a> </dd></dl>
<p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#a2d82ea21fe0ee628f177bd824bc51a71">QCPLayoutElement</a>.</p>
</div>
</div>
<a class="anchor" id="a4baf3d5dd69166788f6ceda0ea182c6e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPAxisRect::mouseMoveEvent </td>
<td>(</td>
<td class="paramtype">QMouseEvent * </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Event handler for when the mouse is moved on the axis rect. If range dragging was activated in a preceding <a class="el" href="classQCPAxisRect.html#a77501dbeccdac7256f7979b05077c04e">mousePressEvent</a>, the range is moved accordingly.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#a77501dbeccdac7256f7979b05077c04e">mousePressEvent</a>, <a class="el" href="classQCPAxisRect.html#adf6c99780cea55ab39459a6eaad3a94a">mouseReleaseEvent</a> </dd></dl>
<p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#a14f4acf58cdb8dd2c6c571479c4c4a40">QCPLayoutElement</a>.</p>
</div>
</div>
<a class="anchor" id="adf6c99780cea55ab39459a6eaad3a94a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPAxisRect::mouseReleaseEvent </td>
<td>(</td>
<td class="paramtype">QMouseEvent * </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This event is called, if the mouse was previously pressed inside the outer rect of this layout element and is now released. </p>
<p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#ae526ac828cce1e5bb94eaa85776d7404">QCPLayoutElement</a>.</p>
</div>
</div>
<a class="anchor" id="a5acf41fc30aa68ea263246ecfad85c31"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPAxisRect::wheelEvent </td>
<td>(</td>
<td class="paramtype">QWheelEvent * </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Event handler for mouse wheel events. If rangeZoom is Qt::Horizontal, Qt::Vertical or both, the ranges of the axes defined as rangeZoomHorzAxis and rangeZoomVertAxis are scaled. The center of the scaling operation is the current cursor position inside the axis rect. The scaling factor is dependant on the mouse wheel delta (which direction the wheel was rotated) to provide a natural zooming feel. The Strength of the zoom can be controlled via <a class="el" href="classQCPAxisRect.html#a895d7ac745ea614e04056244b3c138ac">setRangeZoomFactor</a>.</p>
<p>Note, that event->delta() is usually +/-120 for single rotation steps. However, if the mouse wheel is turned rapidly, many steps may bunch up to one event, so the event->delta() may then be multiples of 120. This is taken into account here, by calculating <em>wheelSteps</em> and using it as exponent of the range zoom factor. This takes care of the wheel direction automatically, by inverting the factor, when the wheel step is negative (f^-1 = 1/f). </p>
<p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#a300521d2fd18a893c1b85f6be11ce2bf">QCPLayoutElement</a>.</p>
</div>
</div>
<a class="anchor" id="ab49d338d1ce74b476fcead5b32cf06dc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPAxisRect::drawBackground </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPPainter.html">QCPPainter</a> * </td>
<td class="paramname"><em>painter</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws the background of this axis rect. It may consist of a background fill (a QBrush) and a pixmap.</p>
<p>If a brush was given via <a class="el" href="classQCPAxisRect.html#a22a22b8668735438dc06f9a55fe46b33">setBackground(const QBrush &brush)</a>, this function first draws an according filling inside the axis rect with the provided <em>painter</em>.</p>
<p>Then, if a pixmap was provided via <a class="el" href="classQCPAxisRect.html#af615ab5e52b8e0a9a0eff415b6559db5">setBackground</a>, this function buffers the scaled version depending on <a class="el" href="classQCPAxisRect.html#ae6d36c3e0e968ffb991170a018e7b503">setBackgroundScaled</a> and <a class="el" href="classQCPAxisRect.html#a5ef77ea829c9de7ba248e473f48f7305">setBackgroundScaledMode</a> and then draws it inside the axis rect with the provided <em>painter</em>. The scaled version is buffered in mScaledBackgroundPixmap to prevent expensive rescaling at every redraw. It is only updated, when the axis rect has changed in a way that requires a rescale of the background pixmap (this is dependant on the <a class="el" href="classQCPAxisRect.html#a5ef77ea829c9de7ba248e473f48f7305">setBackgroundScaledMode</a>), or when a differend axis backgroud pixmap was set.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAxisRect.html#af615ab5e52b8e0a9a0eff415b6559db5">setBackground</a>, <a class="el" href="classQCPAxisRect.html#ae6d36c3e0e968ffb991170a018e7b503">setBackgroundScaled</a>, <a class="el" href="classQCPAxisRect.html#a5ef77ea829c9de7ba248e473f48f7305">setBackgroundScaledMode</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a6024ccdc74f5dc0e8a0fe482e5b28a20"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPAxisRect::updateAxesOffset </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPAxis.html#ae2bcc1728b382f10f064612b368bc18a">QCPAxis::AxisType</a> </td>
<td class="paramname"><em>type</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This function makes sure multiple axes on the side specified with <em>type</em> don't collide, but are distributed according to their respective space requirement (<a class="el" href="classQCPAxis.html#a47bdb0a55de6759489ee47665199aebb">QCPAxis::calculateMargin</a>).</p>
<p>It does this by setting an appropriate offset (<a class="el" href="classQCPAxis.html#a04a652603cbe50eba9969ee6d68873c3">QCPAxis::setOffset</a>) on all axes except the one with index zero.</p>
<p>This function is called by <a class="el" href="classQCPAxisRect.html#ae79f18302e6507586aa8c032a5f9ed1c">calculateAutoMargin</a>. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/layoutelements/layoutelement-axisrect.h</li>
<li>src/layoutelements/layoutelement-axisrect.cpp</li>
</ul>
</div><!-- contents -->
</body>
</html>
|