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 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174
|
<!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>QCustomPlot 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-types">Public Types</a> |
<a href="#pub-methods">Public Functions</a> |
<a href="#pub-attribs">Public Members</a> |
<a href="#signals">Signals</a> |
<a href="#pro-methods">Protected Functions</a> </div>
<div class="headertitle">
<div class="title">QCustomPlot Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>The central class of the library. This is the QWidget which displays the plot and interacts with the user.
<a href="classQCustomPlot.html#details">More...</a></p>
<p>Inherits QWidget.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a75a8afbe6ef333b1f3d47abb25b9add7"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a75a8afbe6ef333b1f3d47abb25b9add7">LayerInsertMode</a> </td></tr>
<tr class="separator:a75a8afbe6ef333b1f3d47abb25b9add7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a45d61392d13042e712a956d27762aa39"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a45d61392d13042e712a956d27762aa39">RefreshPriority</a> </td></tr>
<tr class="separator:a45d61392d13042e712a956d27762aa39"><td class="memSeparator" colspan="2"> </td></tr>
</table><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:a45b99626558651a6428b83972b0b34b8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a45b99626558651a6428b83972b0b34b8">QCustomPlot</a> (QWidget *parent=0)</td></tr>
<tr class="separator:a45b99626558651a6428b83972b0b34b8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a953ecdbc28018e7e84cb6213ad3d88c2"><td class="memItemLeft" align="right" valign="top">QRect </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a953ecdbc28018e7e84cb6213ad3d88c2">viewport</a> () const </td></tr>
<tr class="separator:a953ecdbc28018e7e84cb6213ad3d88c2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4643ddc8249cc4f51725650677c2b779"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4643ddc8249cc4f51725650677c2b779"></a>
QPixmap </td><td class="memItemRight" valign="bottom"><b>background</b> () const </td></tr>
<tr class="separator:a4643ddc8249cc4f51725650677c2b779"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af9a6e0fe88e4b8ae5504ee9646abb121"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af9a6e0fe88e4b8ae5504ee9646abb121"></a>
bool </td><td class="memItemRight" valign="bottom"><b>backgroundScaled</b> () const </td></tr>
<tr class="separator:af9a6e0fe88e4b8ae5504ee9646abb121"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3394512baf54fbcdc7613ac44a07c3b6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3394512baf54fbcdc7613ac44a07c3b6"></a>
Qt::AspectRatioMode </td><td class="memItemRight" valign="bottom"><b>backgroundScaledMode</b> () const </td></tr>
<tr class="separator:a3394512baf54fbcdc7613ac44a07c3b6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afd280d4d621ae64a106543a545c508d7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPLayoutGrid.html">QCPLayoutGrid</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#afd280d4d621ae64a106543a545c508d7">plotLayout</a> () const </td></tr>
<tr class="separator:afd280d4d621ae64a106543a545c508d7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a81e954fbb485bb44c609e5707f0067b3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a81e954fbb485bb44c609e5707f0067b3"></a>
QCP::AntialiasedElements </td><td class="memItemRight" valign="bottom"><b>antialiasedElements</b> () const </td></tr>
<tr class="separator:a81e954fbb485bb44c609e5707f0067b3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8060cee59757213764382a78d3196189"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8060cee59757213764382a78d3196189"></a>
QCP::AntialiasedElements </td><td class="memItemRight" valign="bottom"><b>notAntialiasedElements</b> () const </td></tr>
<tr class="separator:a8060cee59757213764382a78d3196189"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad1599fc3fd1833b5988f6b89c1f616ca"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad1599fc3fd1833b5988f6b89c1f616ca"></a>
bool </td><td class="memItemRight" valign="bottom"><b>autoAddPlottableToLegend</b> () const </td></tr>
<tr class="separator:ad1599fc3fd1833b5988f6b89c1f616ca"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a12401c02b6949a717f5749bb28c62983"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a12401c02b6949a717f5749bb28c62983"></a>
const QCP::Interactions </td><td class="memItemRight" valign="bottom"><b>interactions</b> () const </td></tr>
<tr class="separator:a12401c02b6949a717f5749bb28c62983"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7b738074c75e80070ef6a10263c6cd69"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7b738074c75e80070ef6a10263c6cd69"></a>
int </td><td class="memItemRight" valign="bottom"><b>selectionTolerance</b> () const </td></tr>
<tr class="separator:a7b738074c75e80070ef6a10263c6cd69"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae07f2895a34d13a97a10cae4d8e17a36"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae07f2895a34d13a97a10cae4d8e17a36"></a>
bool </td><td class="memItemRight" valign="bottom"><b>noAntialiasingOnDrag</b> () const </td></tr>
<tr class="separator:ae07f2895a34d13a97a10cae4d8e17a36"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a130b55e205697a5288081e9fc11e443e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a130b55e205697a5288081e9fc11e443e"></a>
QCP::PlottingHints </td><td class="memItemRight" valign="bottom"><b>plottingHints</b> () const </td></tr>
<tr class="separator:a130b55e205697a5288081e9fc11e443e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9b6b1a0fea8da3fda6d5e3d687202877"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9b6b1a0fea8da3fda6d5e3d687202877"></a>
Qt::KeyboardModifier </td><td class="memItemRight" valign="bottom"><b>multiSelectModifier</b> () const </td></tr>
<tr class="separator:a9b6b1a0fea8da3fda6d5e3d687202877"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3f9bc4b939dd8aaba9339fd09f273fc4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a3f9bc4b939dd8aaba9339fd09f273fc4">setViewport</a> (const QRect &rect)</td></tr>
<tr class="separator:a3f9bc4b939dd8aaba9339fd09f273fc4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a130358592cfca353ff3cf5571b49fb00"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a130358592cfca353ff3cf5571b49fb00">setBackground</a> (const QPixmap &pm)</td></tr>
<tr class="separator:a130358592cfca353ff3cf5571b49fb00"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8513971d6aa24d8b0d6a68d45b542130"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a8513971d6aa24d8b0d6a68d45b542130">setBackground</a> (const QPixmap &pm, bool scaled, Qt::AspectRatioMode mode=Qt::KeepAspectRatioByExpanding)</td></tr>
<tr class="separator:a8513971d6aa24d8b0d6a68d45b542130"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8ed256cf467bfa7ba1f9feaae62c3bd0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a8ed256cf467bfa7ba1f9feaae62c3bd0">setBackground</a> (const QBrush &brush)</td></tr>
<tr class="separator:a8ed256cf467bfa7ba1f9feaae62c3bd0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a36f0fa1317325dc7b7efea615ee2de1f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a36f0fa1317325dc7b7efea615ee2de1f">setBackgroundScaled</a> (bool scaled)</td></tr>
<tr class="separator:a36f0fa1317325dc7b7efea615ee2de1f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4c0eb4865b7949f62e1cb97db04a3de0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a4c0eb4865b7949f62e1cb97db04a3de0">setBackgroundScaledMode</a> (Qt::AspectRatioMode mode)</td></tr>
<tr class="separator:a4c0eb4865b7949f62e1cb97db04a3de0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af6f91e5eab1be85f67c556e98c3745e8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#af6f91e5eab1be85f67c556e98c3745e8">setAntialiasedElements</a> (const QCP::AntialiasedElements &antialiasedElements)</td></tr>
<tr class="separator:af6f91e5eab1be85f67c556e98c3745e8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aeef813bcf7efab8e765f9f87ec454691"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#aeef813bcf7efab8e765f9f87ec454691">setAntialiasedElement</a> (<a class="el" href="namespaceQCP.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a> antialiasedElement, bool enabled=true)</td></tr>
<tr class="separator:aeef813bcf7efab8e765f9f87ec454691"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae10d685b5eabea2999fb8775ca173c24"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#ae10d685b5eabea2999fb8775ca173c24">setNotAntialiasedElements</a> (const QCP::AntialiasedElements &notAntialiasedElements)</td></tr>
<tr class="separator:ae10d685b5eabea2999fb8775ca173c24"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afc657938a707c890e449ae89203a076d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#afc657938a707c890e449ae89203a076d">setNotAntialiasedElement</a> (<a class="el" href="namespaceQCP.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a> notAntialiasedElement, bool enabled=true)</td></tr>
<tr class="separator:afc657938a707c890e449ae89203a076d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad8858410c2db47b7104040a3aa61c3fc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#ad8858410c2db47b7104040a3aa61c3fc">setAutoAddPlottableToLegend</a> (bool on)</td></tr>
<tr class="separator:ad8858410c2db47b7104040a3aa61c3fc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5ee1e2f6ae27419deca53e75907c27e5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a> (const QCP::Interactions &interactions)</td></tr>
<tr class="separator:a5ee1e2f6ae27419deca53e75907c27e5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a422bf1bc6d56dac75a3d805d9a65902c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a422bf1bc6d56dac75a3d805d9a65902c">setInteraction</a> (const <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037">QCP::Interaction</a> &interaction, bool enabled=true)</td></tr>
<tr class="separator:a422bf1bc6d56dac75a3d805d9a65902c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4dc31241d7b09680950e19e5f971ed93"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a4dc31241d7b09680950e19e5f971ed93">setSelectionTolerance</a> (int pixels)</td></tr>
<tr class="separator:a4dc31241d7b09680950e19e5f971ed93"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a775bdcb6329d44701aeaa6135b0e5265"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a775bdcb6329d44701aeaa6135b0e5265">setNoAntialiasingOnDrag</a> (bool enabled)</td></tr>
<tr class="separator:a775bdcb6329d44701aeaa6135b0e5265"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a94a33cbdadbbac5934843508bcfc210d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a94a33cbdadbbac5934843508bcfc210d">setPlottingHints</a> (const QCP::PlottingHints &hints)</td></tr>
<tr class="separator:a94a33cbdadbbac5934843508bcfc210d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3b7c97bb6c16464e9e15190c07abe9a9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a3b7c97bb6c16464e9e15190c07abe9a9">setPlottingHint</a> (<a class="el" href="namespaceQCP.html#a5400e5fcb9528d92002ddb938c1f4ef4">QCP::PlottingHint</a> hint, bool enabled=true)</td></tr>
<tr class="separator:a3b7c97bb6c16464e9e15190c07abe9a9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8fc96e3b5138a06759a2a90c166df516"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a8fc96e3b5138a06759a2a90c166df516">setMultiSelectModifier</a> (Qt::KeyboardModifier modifier)</td></tr>
<tr class="separator:a8fc96e3b5138a06759a2a90c166df516"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a32de81ff53e263e785b83b52ecd99d6f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a> (int index)</td></tr>
<tr class="separator:a32de81ff53e263e785b83b52ecd99d6f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adea38bdc660da9412ba69fb939031567"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#adea38bdc660da9412ba69fb939031567">plottable</a> ()</td></tr>
<tr class="separator:adea38bdc660da9412ba69fb939031567"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab7ad9174f701f9c6f64e378df77927a6"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a> (<a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> *<a class="el" href="classQCustomPlot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a>)</td></tr>
<tr class="separator:ab7ad9174f701f9c6f64e378df77927a6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af3dafd56884208474f311d6226513ab2"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#af3dafd56884208474f311d6226513ab2">removePlottable</a> (<a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> *<a class="el" href="classQCustomPlot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a>)</td></tr>
<tr class="separator:af3dafd56884208474f311d6226513ab2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afc210e0021480f8119bccf37839dbcc8"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#afc210e0021480f8119bccf37839dbcc8">removePlottable</a> (int index)</td></tr>
<tr class="separator:afc210e0021480f8119bccf37839dbcc8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9a409bb3201878adb7ffba1c89c4e004"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a9a409bb3201878adb7ffba1c89c4e004">clearPlottables</a> ()</td></tr>
<tr class="separator:a9a409bb3201878adb7ffba1c89c4e004"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2dbfbf15dc38713f9a1c445a3dd2e989"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a2dbfbf15dc38713f9a1c445a3dd2e989">plottableCount</a> () const </td></tr>
<tr class="separator:a2dbfbf15dc38713f9a1c445a3dd2e989"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6721b8c689bb7f2f400987e580508fe8"><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="classQCustomPlot.html#a6721b8c689bb7f2f400987e580508fe8">selectedPlottables</a> () const </td></tr>
<tr class="separator:a6721b8c689bb7f2f400987e580508fe8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac1d1bc6ae4e13616fb02cef6d9e2188e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#ac1d1bc6ae4e13616fb02cef6d9e2188e">plottableAt</a> (const QPointF &pos, bool onlySelectable=false) const </td></tr>
<tr class="separator:ac1d1bc6ae4e13616fb02cef6d9e2188e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4fc28914e2ee91aab424b7ce46b6bdf1"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a4fc28914e2ee91aab424b7ce46b6bdf1">hasPlottable</a> (<a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> *<a class="el" href="classQCustomPlot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a>) const </td></tr>
<tr class="separator:a4fc28914e2ee91aab424b7ce46b6bdf1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6d3ed93c2bf46ab7fa670d66be4cddaf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPGraph.html">QCPGraph</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a6d3ed93c2bf46ab7fa670d66be4cddaf">graph</a> (int index) const </td></tr>
<tr class="separator:a6d3ed93c2bf46ab7fa670d66be4cddaf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a80c40ced2a74eefe9e92de1e82ba2274"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPGraph.html">QCPGraph</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a80c40ced2a74eefe9e92de1e82ba2274">graph</a> () const </td></tr>
<tr class="separator:a80c40ced2a74eefe9e92de1e82ba2274"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6fb2873d35a8a8089842d81a70a54167"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPGraph.html">QCPGraph</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a6fb2873d35a8a8089842d81a70a54167">addGraph</a> (<a class="el" href="classQCPAxis.html">QCPAxis</a> *keyAxis=0, <a class="el" href="classQCPAxis.html">QCPAxis</a> *valueAxis=0)</td></tr>
<tr class="separator:a6fb2873d35a8a8089842d81a70a54167"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a903561be895fb6528a770d66ac5e6713"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a903561be895fb6528a770d66ac5e6713">removeGraph</a> (<a class="el" href="classQCPGraph.html">QCPGraph</a> *<a class="el" href="classQCustomPlot.html#a6d3ed93c2bf46ab7fa670d66be4cddaf">graph</a>)</td></tr>
<tr class="separator:a903561be895fb6528a770d66ac5e6713"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9554b3d2d5b10c0f884bd4010b6c192c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a9554b3d2d5b10c0f884bd4010b6c192c">removeGraph</a> (int index)</td></tr>
<tr class="separator:a9554b3d2d5b10c0f884bd4010b6c192c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab0f3abff2d2f7df3668b5836f39207fa"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#ab0f3abff2d2f7df3668b5836f39207fa">clearGraphs</a> ()</td></tr>
<tr class="separator:ab0f3abff2d2f7df3668b5836f39207fa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7d9b4d19114b2fde60f0233eeb0aa682"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a7d9b4d19114b2fde60f0233eeb0aa682">graphCount</a> () const </td></tr>
<tr class="separator:a7d9b4d19114b2fde60f0233eeb0aa682"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad2a0493bdd01e7aa99a4209ae3a5b67b"><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="classQCustomPlot.html#ad2a0493bdd01e7aa99a4209ae3a5b67b">selectedGraphs</a> () const </td></tr>
<tr class="separator:ad2a0493bdd01e7aa99a4209ae3a5b67b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3e842b5a65b1d17fbb96cfb1fa1314d1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPAbstractItem.html">QCPAbstractItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a3e842b5a65b1d17fbb96cfb1fa1314d1">item</a> (int index) const </td></tr>
<tr class="separator:a3e842b5a65b1d17fbb96cfb1fa1314d1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a700399eae539798c5baf64a37c7f2135"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPAbstractItem.html">QCPAbstractItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a700399eae539798c5baf64a37c7f2135">item</a> () const </td></tr>
<tr class="separator:a700399eae539798c5baf64a37c7f2135"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa500620379262321685cb7a7674cbd2a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#aa500620379262321685cb7a7674cbd2a">addItem</a> (<a class="el" href="classQCPAbstractItem.html">QCPAbstractItem</a> *<a class="el" href="classQCustomPlot.html#a3e842b5a65b1d17fbb96cfb1fa1314d1">item</a>)</td></tr>
<tr class="separator:aa500620379262321685cb7a7674cbd2a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae04446557292551e8fb6e2c106e1848d"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#ae04446557292551e8fb6e2c106e1848d">removeItem</a> (<a class="el" href="classQCPAbstractItem.html">QCPAbstractItem</a> *<a class="el" href="classQCustomPlot.html#a3e842b5a65b1d17fbb96cfb1fa1314d1">item</a>)</td></tr>
<tr class="separator:ae04446557292551e8fb6e2c106e1848d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abcfdda3d601c0441cab136137d715dea"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#abcfdda3d601c0441cab136137d715dea">removeItem</a> (int index)</td></tr>
<tr class="separator:abcfdda3d601c0441cab136137d715dea"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abdfd07d4f0591d0cf967f85013fd3645"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#abdfd07d4f0591d0cf967f85013fd3645">clearItems</a> ()</td></tr>
<tr class="separator:abdfd07d4f0591d0cf967f85013fd3645"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6fc860e30df17fd5c46056bf6fe29390"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a6fc860e30df17fd5c46056bf6fe29390">itemCount</a> () const </td></tr>
<tr class="separator:a6fc860e30df17fd5c46056bf6fe29390"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1a48b13547e2d9ac5cd6927516f47a2e"><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="classQCustomPlot.html#a1a48b13547e2d9ac5cd6927516f47a2e">selectedItems</a> () const </td></tr>
<tr class="separator:a1a48b13547e2d9ac5cd6927516f47a2e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a793e4b04e0ede11a733021907368fa83"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPAbstractItem.html">QCPAbstractItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a793e4b04e0ede11a733021907368fa83">itemAt</a> (const QPointF &pos, bool onlySelectable=false) const </td></tr>
<tr class="separator:a793e4b04e0ede11a733021907368fa83"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab4199c38b03e63a2623c82453fe8add5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#ab4199c38b03e63a2623c82453fe8add5">hasItem</a> (<a class="el" href="classQCPAbstractItem.html">QCPAbstractItem</a> *<a class="el" href="classQCustomPlot.html#a3e842b5a65b1d17fbb96cfb1fa1314d1">item</a>) const </td></tr>
<tr class="separator:ab4199c38b03e63a2623c82453fe8add5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aac492da01782820454e9136a8db28182"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPLayer.html">QCPLayer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#aac492da01782820454e9136a8db28182">layer</a> (const QString &name) const </td></tr>
<tr class="separator:aac492da01782820454e9136a8db28182"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1e73051e371f1815b48d8b355be0d2ab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPLayer.html">QCPLayer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a1e73051e371f1815b48d8b355be0d2ab">layer</a> (int index) const </td></tr>
<tr class="separator:a1e73051e371f1815b48d8b355be0d2ab"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af73057345656cbd1463454982d808b00"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPLayer.html">QCPLayer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#af73057345656cbd1463454982d808b00">currentLayer</a> () const </td></tr>
<tr class="separator:af73057345656cbd1463454982d808b00"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a73a6dc47c653bb6f8f030abca5a11852"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a73a6dc47c653bb6f8f030abca5a11852">setCurrentLayer</a> (const QString &name)</td></tr>
<tr class="separator:a73a6dc47c653bb6f8f030abca5a11852"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a23a4d3cadad1a0063c5fe19aac5659e6"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a23a4d3cadad1a0063c5fe19aac5659e6">setCurrentLayer</a> (<a class="el" href="classQCPLayer.html">QCPLayer</a> *<a class="el" href="classQCustomPlot.html#aac492da01782820454e9136a8db28182">layer</a>)</td></tr>
<tr class="separator:a23a4d3cadad1a0063c5fe19aac5659e6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1b3926884f5bd4bdda1495d8b3c891d0"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a1b3926884f5bd4bdda1495d8b3c891d0">layerCount</a> () const </td></tr>
<tr class="separator:a1b3926884f5bd4bdda1495d8b3c891d0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad5255393df078448bb6ac83fa5db5f52"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a> (const QString &name, <a class="el" href="classQCPLayer.html">QCPLayer</a> *otherLayer=0, <a class="el" href="classQCustomPlot.html#a75a8afbe6ef333b1f3d47abb25b9add7">LayerInsertMode</a> insertMode=<a class="el" href="classQCustomPlot.html#a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41">limAbove</a>)</td></tr>
<tr class="separator:ad5255393df078448bb6ac83fa5db5f52"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a40f75e342c5eaab6a86066a42a0e2a94"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a40f75e342c5eaab6a86066a42a0e2a94">removeLayer</a> (<a class="el" href="classQCPLayer.html">QCPLayer</a> *<a class="el" href="classQCustomPlot.html#aac492da01782820454e9136a8db28182">layer</a>)</td></tr>
<tr class="separator:a40f75e342c5eaab6a86066a42a0e2a94"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae896140beff19424e9e9e02d6e331104"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a> (<a class="el" href="classQCPLayer.html">QCPLayer</a> *<a class="el" href="classQCustomPlot.html#aac492da01782820454e9136a8db28182">layer</a>, <a class="el" href="classQCPLayer.html">QCPLayer</a> *otherLayer, <a class="el" href="classQCustomPlot.html#a75a8afbe6ef333b1f3d47abb25b9add7">LayerInsertMode</a> insertMode=<a class="el" href="classQCustomPlot.html#a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41">limAbove</a>)</td></tr>
<tr class="separator:ae896140beff19424e9e9e02d6e331104"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a340fa24b1607e445cedda9685670ead3"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a340fa24b1607e445cedda9685670ead3">axisRectCount</a> () const </td></tr>
<tr class="separator:a340fa24b1607e445cedda9685670ead3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4a37a1add5fe63060ac518cf0a4c4050"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPAxisRect.html">QCPAxisRect</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a4a37a1add5fe63060ac518cf0a4c4050">axisRect</a> (int index=0) const </td></tr>
<tr class="separator:a4a37a1add5fe63060ac518cf0a4c4050"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afd67094aaeccbc5719761348b2d8c891"><td class="memItemLeft" align="right" valign="top">QList< <a class="el" href="classQCPAxisRect.html">QCPAxisRect</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#afd67094aaeccbc5719761348b2d8c891">axisRects</a> () const </td></tr>
<tr class="separator:afd67094aaeccbc5719761348b2d8c891"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a840458186d4483c8a42d6a399448d38f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a840458186d4483c8a42d6a399448d38f">layoutElementAt</a> (const QPointF &pos) const </td></tr>
<tr class="separator:a840458186d4483c8a42d6a399448d38f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad86528f2cee6c7e446dea4a6e8839935"><td class="memItemLeft" align="right" valign="top">Q_SLOT void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#ad86528f2cee6c7e446dea4a6e8839935">rescaleAxes</a> (bool onlyVisiblePlottables=false)</td></tr>
<tr class="separator:ad86528f2cee6c7e446dea4a6e8839935"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa6baf867e8beb96ed5bd471f83ece903"><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="classQCustomPlot.html#aa6baf867e8beb96ed5bd471f83ece903">selectedAxes</a> () const </td></tr>
<tr class="separator:aa6baf867e8beb96ed5bd471f83ece903"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1ea6297300c3e2770e65f95836411755"><td class="memItemLeft" align="right" valign="top">QList< <a class="el" href="classQCPLegend.html">QCPLegend</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a1ea6297300c3e2770e65f95836411755">selectedLegends</a> () const </td></tr>
<tr class="separator:a1ea6297300c3e2770e65f95836411755"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9d4808ab925b003054085246c92a257c"><td class="memItemLeft" align="right" valign="top">Q_SLOT void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a9d4808ab925b003054085246c92a257c">deselectAll</a> ()</td></tr>
<tr class="separator:a9d4808ab925b003054085246c92a257c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a632da44c6d94ea8b271eb483b08b5114"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a632da44c6d94ea8b271eb483b08b5114">savePdf</a> (const QString &fileName, bool noCosmeticPen=false, int width=0, int height=0, const QString &pdfCreator=QString(), const QString &pdfTitle=QString())</td></tr>
<tr class="separator:a632da44c6d94ea8b271eb483b08b5114"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7636261aff1f6d25c9da749ece3fc8b8"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a> (const QString &fileName, int width=0, int height=0, double scale=1.0, int quality=-1)</td></tr>
<tr class="separator:a7636261aff1f6d25c9da749ece3fc8b8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a490c722092d1771e8ce4a7a73dfd84ab"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a490c722092d1771e8ce4a7a73dfd84ab">saveJpg</a> (const QString &fileName, int width=0, int height=0, double scale=1.0, int quality=-1)</td></tr>
<tr class="separator:a490c722092d1771e8ce4a7a73dfd84ab"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6629d9e8e6da4bf18055ee0257fdce9a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a6629d9e8e6da4bf18055ee0257fdce9a">saveBmp</a> (const QString &fileName, int width=0, int height=0, double scale=1.0)</td></tr>
<tr class="separator:a6629d9e8e6da4bf18055ee0257fdce9a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab528b84cf92baabe29b1d0ef2f77c93e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#ab528b84cf92baabe29b1d0ef2f77c93e">saveRastered</a> (const QString &fileName, int width, int height, double scale, const char *format, int quality=-1)</td></tr>
<tr class="separator:ab528b84cf92baabe29b1d0ef2f77c93e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aabb974d71ce96c137dc04eb6eab844fe"><td class="memItemLeft" align="right" valign="top">QPixmap </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#aabb974d71ce96c137dc04eb6eab844fe">toPixmap</a> (int width=0, int height=0, double scale=1.0)</td></tr>
<tr class="separator:aabb974d71ce96c137dc04eb6eab844fe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1be68d5c0f1e086d6374d1340a193fb9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a1be68d5c0f1e086d6374d1340a193fb9">toPainter</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter, int width=0, int height=0)</td></tr>
<tr class="separator:a1be68d5c0f1e086d6374d1340a193fb9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a606fd384b2a637ce2c24899bcbde77d6"><td class="memItemLeft" align="right" valign="top">Q_SLOT void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a606fd384b2a637ce2c24899bcbde77d6">replot</a> (<a class="el" href="classQCustomPlot.html#a45d61392d13042e712a956d27762aa39">QCustomPlot::RefreshPriority</a> refreshPriority=<a class="el" href="classQCustomPlot.html#a45d61392d13042e712a956d27762aa39adfa1f2387617168d9299f4c8ad15b332">QCustomPlot::rpHint</a>)</td></tr>
<tr class="separator:a606fd384b2a637ce2c24899bcbde77d6"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Members</h2></td></tr>
<tr class="memitem:a9a79cd0158a4c7f30cbc702f0fd800e4"><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="classQCustomPlot.html#a9a79cd0158a4c7f30cbc702f0fd800e4">xAxis</a></td></tr>
<tr class="separator:a9a79cd0158a4c7f30cbc702f0fd800e4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af6fea5679725b152c14facd920b19367"><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="classQCustomPlot.html#af6fea5679725b152c14facd920b19367">yAxis</a></td></tr>
<tr class="separator:af6fea5679725b152c14facd920b19367"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ada41599f22cad901c030f3dcbdd82fd9"><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="classQCustomPlot.html#ada41599f22cad901c030f3dcbdd82fd9">xAxis2</a></td></tr>
<tr class="separator:ada41599f22cad901c030f3dcbdd82fd9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af13fdc5bce7d0fabd640f13ba805c0b7"><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="classQCustomPlot.html#af13fdc5bce7d0fabd640f13ba805c0b7">yAxis2</a></td></tr>
<tr class="separator:af13fdc5bce7d0fabd640f13ba805c0b7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4eadcd237dc6a09938b68b16877fa6af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPLegend.html">QCPLegend</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a4eadcd237dc6a09938b68b16877fa6af">legend</a></td></tr>
<tr class="separator:a4eadcd237dc6a09938b68b16877fa6af"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
Signals</h2></td></tr>
<tr class="memitem:a9b232142c64fcf273a953ee08e5b90e9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a9b232142c64fcf273a953ee08e5b90e9">mouseDoubleClick</a> (QMouseEvent *event)</td></tr>
<tr class="separator:a9b232142c64fcf273a953ee08e5b90e9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aca75bf9afb5dd19349c375de2a87a051"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#aca75bf9afb5dd19349c375de2a87a051">mousePress</a> (QMouseEvent *event)</td></tr>
<tr class="separator:aca75bf9afb5dd19349c375de2a87a051"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a742ca4f94688bed2a685fd8a56ce5704"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a742ca4f94688bed2a685fd8a56ce5704">mouseMove</a> (QMouseEvent *event)</td></tr>
<tr class="separator:a742ca4f94688bed2a685fd8a56ce5704"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac8dc0ee6bb98e923c00b4ebafbe6134d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#ac8dc0ee6bb98e923c00b4ebafbe6134d">mouseRelease</a> (QMouseEvent *event)</td></tr>
<tr class="separator:ac8dc0ee6bb98e923c00b4ebafbe6134d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac80a14206f99304a91d2aa55775ec3ff"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#ac80a14206f99304a91d2aa55775ec3ff">mouseWheel</a> (QWheelEvent *event)</td></tr>
<tr class="separator:ac80a14206f99304a91d2aa55775ec3ff"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a57e5efa8a854620e9bf62d31fc139f53"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a57e5efa8a854620e9bf62d31fc139f53">plottableClick</a> (<a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> *<a class="el" href="classQCustomPlot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a>, QMouseEvent *event)</td></tr>
<tr class="separator:a57e5efa8a854620e9bf62d31fc139f53"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af2e6f1cea923dae437681d01ce7d0c31"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#af2e6f1cea923dae437681d01ce7d0c31">plottableDoubleClick</a> (<a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> *<a class="el" href="classQCustomPlot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a>, QMouseEvent *event)</td></tr>
<tr class="separator:af2e6f1cea923dae437681d01ce7d0c31"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae16b51f52d2b7aebbc7e3e74e6ff2e4b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#ae16b51f52d2b7aebbc7e3e74e6ff2e4b">itemClick</a> (<a class="el" href="classQCPAbstractItem.html">QCPAbstractItem</a> *<a class="el" href="classQCustomPlot.html#a3e842b5a65b1d17fbb96cfb1fa1314d1">item</a>, QMouseEvent *event)</td></tr>
<tr class="separator:ae16b51f52d2b7aebbc7e3e74e6ff2e4b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac83aa9f5a3e9bb3efc9cdc763dcd42a6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#ac83aa9f5a3e9bb3efc9cdc763dcd42a6">itemDoubleClick</a> (<a class="el" href="classQCPAbstractItem.html">QCPAbstractItem</a> *<a class="el" href="classQCustomPlot.html#a3e842b5a65b1d17fbb96cfb1fa1314d1">item</a>, QMouseEvent *event)</td></tr>
<tr class="separator:ac83aa9f5a3e9bb3efc9cdc763dcd42a6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abf635f8b56ab5c16d5de9f358543e82b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#abf635f8b56ab5c16d5de9f358543e82b">axisClick</a> (<a class="el" href="classQCPAxis.html">QCPAxis</a> *axis, <a class="el" href="classQCPAxis.html#abee4c7a54c468b1385dfce2c898b115f">QCPAxis::SelectablePart</a> part, QMouseEvent *event)</td></tr>
<tr class="separator:abf635f8b56ab5c16d5de9f358543e82b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6df35357460181a72da3e93d600f5256"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a6df35357460181a72da3e93d600f5256">axisDoubleClick</a> (<a class="el" href="classQCPAxis.html">QCPAxis</a> *axis, <a class="el" href="classQCPAxis.html#abee4c7a54c468b1385dfce2c898b115f">QCPAxis::SelectablePart</a> part, QMouseEvent *event)</td></tr>
<tr class="separator:a6df35357460181a72da3e93d600f5256"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a79cff0baafbca10a3aaf694d2d3b9ab3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a79cff0baafbca10a3aaf694d2d3b9ab3">legendClick</a> (<a class="el" href="classQCPLegend.html">QCPLegend</a> *<a class="el" href="classQCustomPlot.html#a4eadcd237dc6a09938b68b16877fa6af">legend</a>, <a class="el" href="classQCPAbstractLegendItem.html">QCPAbstractLegendItem</a> *<a class="el" href="classQCustomPlot.html#a3e842b5a65b1d17fbb96cfb1fa1314d1">item</a>, QMouseEvent *event)</td></tr>
<tr class="separator:a79cff0baafbca10a3aaf694d2d3b9ab3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0250f835c044521df1619b132288bca7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a0250f835c044521df1619b132288bca7">legendDoubleClick</a> (<a class="el" href="classQCPLegend.html">QCPLegend</a> *<a class="el" href="classQCustomPlot.html#a4eadcd237dc6a09938b68b16877fa6af">legend</a>, <a class="el" href="classQCPAbstractLegendItem.html">QCPAbstractLegendItem</a> *<a class="el" href="classQCustomPlot.html#a3e842b5a65b1d17fbb96cfb1fa1314d1">item</a>, QMouseEvent *event)</td></tr>
<tr class="separator:a0250f835c044521df1619b132288bca7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2137a819e518fee7edd1c0bf5984d8d6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a2137a819e518fee7edd1c0bf5984d8d6">titleClick</a> (QMouseEvent *event, <a class="el" href="classQCPPlotTitle.html">QCPPlotTitle</a> *title)</td></tr>
<tr class="separator:a2137a819e518fee7edd1c0bf5984d8d6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad51d65f6abf5edfaeef6e0519a4c1a2f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#ad51d65f6abf5edfaeef6e0519a4c1a2f">titleDoubleClick</a> (QMouseEvent *event, <a class="el" href="classQCPPlotTitle.html">QCPPlotTitle</a> *title)</td></tr>
<tr class="separator:ad51d65f6abf5edfaeef6e0519a4c1a2f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a500c64a109bc773c973ad274f2fa4190"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a500c64a109bc773c973ad274f2fa4190">selectionChangedByUser</a> ()</td></tr>
<tr class="separator:a500c64a109bc773c973ad274f2fa4190"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0cd30e29b73efd6afe096e44bc5956f5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a0cd30e29b73efd6afe096e44bc5956f5">beforeReplot</a> ()</td></tr>
<tr class="separator:a0cd30e29b73efd6afe096e44bc5956f5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6f4fa624af060bc5919c5f266cf426a0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a6f4fa624af060bc5919c5f266cf426a0">afterReplot</a> ()</td></tr>
<tr class="separator:a6f4fa624af060bc5919c5f266cf426a0"><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:a4904f06d831afae29cd5d10e889388c3"><td class="memItemLeft" align="right" valign="top">virtual QSize </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a4904f06d831afae29cd5d10e889388c3">minimumSizeHint</a> () const </td></tr>
<tr class="separator:a4904f06d831afae29cd5d10e889388c3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a21d84d299c3651ec36d11a7826274a3c"><td class="memItemLeft" align="right" valign="top">virtual QSize </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a21d84d299c3651ec36d11a7826274a3c">sizeHint</a> () const </td></tr>
<tr class="separator:a21d84d299c3651ec36d11a7826274a3c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2bbc3b1c24bfcc8a7cc1f3008cdd9b73"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a2bbc3b1c24bfcc8a7cc1f3008cdd9b73">paintEvent</a> (QPaintEvent *event)</td></tr>
<tr class="separator:a2bbc3b1c24bfcc8a7cc1f3008cdd9b73"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a13e05523a40c3f08875df5cde85cf0d9"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a13e05523a40c3f08875df5cde85cf0d9">resizeEvent</a> (QResizeEvent *event)</td></tr>
<tr class="separator:a13e05523a40c3f08875df5cde85cf0d9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a77591913a5b543bdc465dd5e08325a49"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a77591913a5b543bdc465dd5e08325a49">mouseDoubleClickEvent</a> (QMouseEvent *event)</td></tr>
<tr class="separator:a77591913a5b543bdc465dd5e08325a49"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abce84fa2c71e47b9295d67e8fce84bb4"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#abce84fa2c71e47b9295d67e8fce84bb4">mousePressEvent</a> (QMouseEvent *event)</td></tr>
<tr class="separator:abce84fa2c71e47b9295d67e8fce84bb4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac64727a4f442770f6e5e6be2d0530843"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#ac64727a4f442770f6e5e6be2d0530843">mouseMoveEvent</a> (QMouseEvent *event)</td></tr>
<tr class="separator:ac64727a4f442770f6e5e6be2d0530843"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a724e97d2e8c03e68adac5f4b6164a1b3"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a724e97d2e8c03e68adac5f4b6164a1b3">mouseReleaseEvent</a> (QMouseEvent *event)</td></tr>
<tr class="separator:a724e97d2e8c03e68adac5f4b6164a1b3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7b8bd7e8d3a1d23a8595e9c6a6b76ef1"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a7b8bd7e8d3a1d23a8595e9c6a6b76ef1">wheelEvent</a> (QWheelEvent *event)</td></tr>
<tr class="separator:a7b8bd7e8d3a1d23a8595e9c6a6b76ef1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad7a7d878bf050f101a43008e7d8fdb52"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#ad7a7d878bf050f101a43008e7d8fdb52">draw</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter)</td></tr>
<tr class="separator:ad7a7d878bf050f101a43008e7d8fdb52"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8b46607021c463c94709d3504951cb47"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a8b46607021c463c94709d3504951cb47">axisRemoved</a> (<a class="el" href="classQCPAxis.html">QCPAxis</a> *axis)</td></tr>
<tr class="separator:a8b46607021c463c94709d3504951cb47"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9d173454555021c9ffd4f675c4d9037a"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a9d173454555021c9ffd4f675c4d9037a">legendRemoved</a> (<a class="el" href="classQCPLegend.html">QCPLegend</a> *<a class="el" href="classQCustomPlot.html#a4eadcd237dc6a09938b68b16877fa6af">legend</a>)</td></tr>
<tr class="separator:a9d173454555021c9ffd4f675c4d9037a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3117754df3a5638787a6223c7147970f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a3117754df3a5638787a6223c7147970f">updateLayerIndices</a> () const </td></tr>
<tr class="separator:a3117754df3a5638787a6223c7147970f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3fffd1d8364f657482ae985e0b5aa028"><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="classQCustomPlot.html#a3fffd1d8364f657482ae985e0b5aa028">layerableAt</a> (const QPointF &pos, bool onlySelectable, QVariant *selectionDetails=0) const </td></tr>
<tr class="separator:a3fffd1d8364f657482ae985e0b5aa028"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a05dd52438cee4353b18c1e53a439008d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCustomPlot.html#a05dd52438cee4353b18c1e53a439008d">drawBackground</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter)</td></tr>
<tr class="separator:a05dd52438cee4353b18c1e53a439008d"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The central class of the library. This is the QWidget which displays the plot and interacts with the user. </p>
<p>For tutorials on how to use <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>, see the website<br/>
<a href="http://www.qcustomplot.com/">http://www.qcustomplot.com/</a> </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="a75a8afbe6ef333b1f3d47abb25b9add7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classQCustomPlot.html#a75a8afbe6ef333b1f3d47abb25b9add7">QCustomPlot::LayerInsertMode</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Defines how a layer should be inserted relative to an other layer.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a>, <a class="el" href="classQCustomPlot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a75a8afbe6ef333b1f3d47abb25b9add7aee39cf650cd24e68552da0b697ce4a93"></a>limBelow</em> </td><td class="fielddoc">
<p>Layer is inserted below other layer. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41"></a>limAbove</em> </td><td class="fielddoc">
<p>Layer is inserted above other layer. </p>
</td></tr>
</table>
</div>
</div>
<a class="anchor" id="a45d61392d13042e712a956d27762aa39"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classQCustomPlot.html#a45d61392d13042e712a956d27762aa39">QCustomPlot::RefreshPriority</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Defines with what timing 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> surface is refreshed after a replot.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a606fd384b2a637ce2c24899bcbde77d6">replot</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a45d61392d13042e712a956d27762aa39a0d4831572370d871f2b7cb88806bac59"></a>rpImmediate</em> </td><td class="fielddoc">
<p>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> surface is immediately refreshed, by calling QWidget::repaint() after the replot. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a45d61392d13042e712a956d27762aa39aaaae083a19bc668597bf0f86e000f798"></a>rpQueued</em> </td><td class="fielddoc">
<p>Queues the refresh such that it is performed at a slightly delayed point in time after the replot, by calling QWidget::update() after the replot. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a45d61392d13042e712a956d27762aa39adfa1f2387617168d9299f4c8ad15b332"></a>rpHint</em> </td><td class="fielddoc">
<p>Whether to use immediate repaint or queued update depends on whether the plotting hint <a class="el" href="namespaceQCP.html#a5400e5fcb9528d92002ddb938c1f4ef4aa3090dafa0e0f9a28c579c79d6c2d283">QCP::phForceRepaint</a> is set, see <a class="el" href="classQCustomPlot.html#a94a33cbdadbbac5934843508bcfc210d">setPlottingHints</a>. </p>
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="a45b99626558651a6428b83972b0b34b8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QCustomPlot::QCustomPlot </td>
<td>(</td>
<td class="paramtype">QWidget * </td>
<td class="paramname"><em>parent</em> = <code>0</code></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>Constructs a <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> and sets reasonable default values. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a953ecdbc28018e7e84cb6213ad3d88c2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QRect QCustomPlot::viewport </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 viewport rect of this <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> instance. The viewport is the area the plot is drawn in, all mechanisms, e.g. margin caluclation take the viewport to be the outer border of the plot. The viewport normally is the rect() 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> widget, i.e. a rect with top left (0, 0) and size 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> widget.</p>
<p>Don't confuse the viewport with the axis rect (<a class="el" href="classQCustomPlot.html#a4a37a1add5fe63060ac518cf0a4c4050">QCustomPlot::axisRect</a>). An axis rect is typically an area enclosed by four axes, where the graphs/plottables are drawn in. The viewport is larger and contains also the axes themselves, their tick numbers, their labels, the plot title etc.</p>
<p>Only when saving to a file (see <a class="el" href="classQCustomPlot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a>, <a class="el" href="classQCustomPlot.html#a632da44c6d94ea8b271eb483b08b5114">savePdf</a> etc.) the viewport is temporarily modified to allow saving plots with sizes independent of the current widget size. </p>
</div>
</div>
<a class="anchor" id="afd280d4d621ae64a106543a545c508d7"></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="classQCPLayoutGrid.html">QCPLayoutGrid</a> * QCustomPlot::plotLayout </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 level layout of this <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> instance. It is a <a class="el" href="classQCPLayoutGrid.html">QCPLayoutGrid</a>, initially containing just one cell with the main <a class="el" href="classQCPAxisRect.html" title="Holds multiple axes and arranges them in a rectangular shape. ">QCPAxisRect</a> inside. </p>
</div>
</div>
<a class="anchor" id="a3f9bc4b939dd8aaba9339fd09f273fc4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::setViewport </td>
<td>(</td>
<td class="paramtype">const QRect & </td>
<td class="paramname"><em>rect</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the viewport of this <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>. The Viewport is the area that the top level layout (<a class="el" href="classQCustomPlot.html#afd280d4d621ae64a106543a545c508d7">QCustomPlot::plotLayout()</a>) uses as its rect. Normally, the viewport is the entire widget rect.</p>
<p>This function is used to allow arbitrary size exports with <a class="el" href="classQCustomPlot.html#aabb974d71ce96c137dc04eb6eab844fe">toPixmap</a>, <a class="el" href="classQCustomPlot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a>, <a class="el" href="classQCustomPlot.html#a632da44c6d94ea8b271eb483b08b5114">savePdf</a>, etc. by temporarily changing the viewport size. </p>
</div>
</div>
<a class="anchor" id="a130358592cfca353ff3cf5571b49fb00"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::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 viewport background pixmap (see <a class="el" href="classQCustomPlot.html#a3f9bc4b939dd8aaba9339fd09f273fc4">setViewport</a>). The pixmap is always drawn below all other objects in the plot.</p>
<p>For cases where the provided pixmap doesn't have the same size as the viewport, scaling can be enabled with <a class="el" href="classQCustomPlot.html#a36f0fa1317325dc7b7efea615ee2de1f">setBackgroundScaled</a> and the scaling mode (whether and how the aspect ratio is preserved) can be set with <a class="el" href="classQCustomPlot.html#a4c0eb4865b7949f62e1cb97db04a3de0">setBackgroundScaledMode</a>. To set all these options in one call, consider using the overloaded version of this function.</p>
<p>If a background brush was set with <a class="el" href="classQCustomPlot.html#a8ed256cf467bfa7ba1f9feaae62c3bd0">setBackground(const QBrush &brush)</a>, the viewport will first be filled with that brush, before drawing the background pixmap. This can be useful for background pixmaps with translucent areas.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a36f0fa1317325dc7b7efea615ee2de1f">setBackgroundScaled</a>, <a class="el" href="classQCustomPlot.html#a4c0eb4865b7949f62e1cb97db04a3de0">setBackgroundScaledMode</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a8513971d6aa24d8b0d6a68d45b542130"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::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 viewport, 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="classQCustomPlot.html#a130358592cfca353ff3cf5571b49fb00">setBackground(const QPixmap &pm)</a>, <a class="el" href="classQCustomPlot.html#a36f0fa1317325dc7b7efea615ee2de1f">setBackgroundScaled</a>, <a class="el" href="classQCustomPlot.html#a4c0eb4865b7949f62e1cb97db04a3de0">setBackgroundScaledMode</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a8ed256cf467bfa7ba1f9feaae62c3bd0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::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>Sets the background brush of the viewport (see <a class="el" href="classQCustomPlot.html#a3f9bc4b939dd8aaba9339fd09f273fc4">setViewport</a>).</p>
<p>Before drawing everything else, the background is filled with <em>brush</em>. If a background pixmap was set with <a class="el" href="classQCustomPlot.html#a130358592cfca353ff3cf5571b49fb00">setBackground(const QPixmap &pm)</a>, this brush will be used to fill the viewport before the background pixmap is drawn. This can be useful for background pixmaps with translucent areas.</p>
<p>Set <em>brush</em> to Qt::NoBrush or Qt::Transparent to leave background transparent. This can be useful for exporting to image formats which support transparency, e.g. <a class="el" href="classQCustomPlot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a36f0fa1317325dc7b7efea615ee2de1f">setBackgroundScaled</a>, <a class="el" href="classQCustomPlot.html#a4c0eb4865b7949f62e1cb97db04a3de0">setBackgroundScaledMode</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a36f0fa1317325dc7b7efea615ee2de1f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::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 viewport background pixmap shall be scaled to fit the viewport. If <em>scaled</em> is set to true, control whether and how the aspect ratio of the original pixmap is preserved with <a class="el" href="classQCustomPlot.html#a4c0eb4865b7949f62e1cb97db04a3de0">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 viewport dimensions are changed continuously.)</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a130358592cfca353ff3cf5571b49fb00">setBackground</a>, <a class="el" href="classQCustomPlot.html#a4c0eb4865b7949f62e1cb97db04a3de0">setBackgroundScaledMode</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a4c0eb4865b7949f62e1cb97db04a3de0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::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 viewport background pixmap is enabled (<a class="el" href="classQCustomPlot.html#a36f0fa1317325dc7b7efea615ee2de1f">setBackgroundScaled</a>), use this function to define whether and how the aspect ratio of the original pixmap is preserved.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a130358592cfca353ff3cf5571b49fb00">setBackground</a>, <a class="el" href="classQCustomPlot.html#a36f0fa1317325dc7b7efea615ee2de1f">setBackgroundScaled</a> </dd></dl>
</div>
</div>
<a class="anchor" id="af6f91e5eab1be85f67c556e98c3745e8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::setAntialiasedElements </td>
<td>(</td>
<td class="paramtype">const QCP::AntialiasedElements & </td>
<td class="paramname"><em>antialiasedElements</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets which elements are forcibly drawn antialiased as an <em>or</em> combination of <a class="el" href="namespaceQCP.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a>.</p>
<p>This overrides the antialiasing settings for whole element groups, normally controlled with the <em>setAntialiasing</em> function on the individual elements. If an element is neither specified in <a class="el" href="classQCustomPlot.html#af6f91e5eab1be85f67c556e98c3745e8">setAntialiasedElements</a> nor in <a class="el" href="classQCustomPlot.html#ae10d685b5eabea2999fb8775ca173c24">setNotAntialiasedElements</a>, the antialiasing setting on each individual element instance is used.</p>
<p>For example, if <em>antialiasedElements</em> contains <a class="el" href="namespaceQCP.html#ae55dbe315d41fe80f29ba88100843a0ca4145e4251b0cf2dbedabeea0a38f84f6">QCP::aePlottables</a>, all plottables will be drawn antialiased, no matter what the specific <a class="el" href="classQCPLayerable.html#a4fd43e89be4a553ead41652565ff0581">QCPAbstractPlottable::setAntialiased</a> value was set to.</p>
<p>if an element in <em>antialiasedElements</em> is already set in <a class="el" href="classQCustomPlot.html#ae10d685b5eabea2999fb8775ca173c24">setNotAntialiasedElements</a>, it is removed from there.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#ae10d685b5eabea2999fb8775ca173c24">setNotAntialiasedElements</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aeef813bcf7efab8e765f9f87ec454691"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::setAntialiasedElement </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceQCP.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a> </td>
<td class="paramname"><em>antialiasedElement</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>enabled</em> = <code>true</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets whether the specified <em>antialiasedElement</em> is forcibly drawn antialiased.</p>
<p>See <a class="el" href="classQCustomPlot.html#af6f91e5eab1be85f67c556e98c3745e8">setAntialiasedElements</a> for details.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#afc657938a707c890e449ae89203a076d">setNotAntialiasedElement</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ae10d685b5eabea2999fb8775ca173c24"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::setNotAntialiasedElements </td>
<td>(</td>
<td class="paramtype">const QCP::AntialiasedElements & </td>
<td class="paramname"><em>notAntialiasedElements</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets which elements are forcibly drawn not antialiased as an <em>or</em> combination of <a class="el" href="namespaceQCP.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a>.</p>
<p>This overrides the antialiasing settings for whole element groups, normally controlled with the <em>setAntialiasing</em> function on the individual elements. If an element is neither specified in <a class="el" href="classQCustomPlot.html#af6f91e5eab1be85f67c556e98c3745e8">setAntialiasedElements</a> nor in <a class="el" href="classQCustomPlot.html#ae10d685b5eabea2999fb8775ca173c24">setNotAntialiasedElements</a>, the antialiasing setting on each individual element instance is used.</p>
<p>For example, if <em>notAntialiasedElements</em> contains <a class="el" href="namespaceQCP.html#ae55dbe315d41fe80f29ba88100843a0ca4145e4251b0cf2dbedabeea0a38f84f6">QCP::aePlottables</a>, no plottables will be drawn antialiased, no matter what the specific <a class="el" href="classQCPLayerable.html#a4fd43e89be4a553ead41652565ff0581">QCPAbstractPlottable::setAntialiased</a> value was set to.</p>
<p>if an element in <em>notAntialiasedElements</em> is already set in <a class="el" href="classQCustomPlot.html#af6f91e5eab1be85f67c556e98c3745e8">setAntialiasedElements</a>, it is removed from there.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#af6f91e5eab1be85f67c556e98c3745e8">setAntialiasedElements</a> </dd></dl>
</div>
</div>
<a class="anchor" id="afc657938a707c890e449ae89203a076d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::setNotAntialiasedElement </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceQCP.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a> </td>
<td class="paramname"><em>notAntialiasedElement</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>enabled</em> = <code>true</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets whether the specified <em>notAntialiasedElement</em> is forcibly drawn not antialiased.</p>
<p>See <a class="el" href="classQCustomPlot.html#ae10d685b5eabea2999fb8775ca173c24">setNotAntialiasedElements</a> for details.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#aeef813bcf7efab8e765f9f87ec454691">setAntialiasedElement</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ad8858410c2db47b7104040a3aa61c3fc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::setAutoAddPlottableToLegend </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>on</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>If set to true, adding a plottable (e.g. a graph) to 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> automatically also adds the plottable to the legend (<a class="el" href="classQCustomPlot.html#a4eadcd237dc6a09938b68b16877fa6af">QCustomPlot::legend</a>).</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a>, <a class="el" href="classQCustomPlot.html#a6fb2873d35a8a8089842d81a70a54167">addGraph</a>, <a class="el" href="classQCPLegend.html#a3ab274de52d2951faea45a6d975e6b3f">QCPLegend::addItem</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a5ee1e2f6ae27419deca53e75907c27e5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::setInteractions </td>
<td>(</td>
<td class="paramtype">const QCP::Interactions & </td>
<td class="paramname"><em>interactions</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the possible interactions of this <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> as an or-combination of <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037">QCP::Interaction</a> enums. There are the following types of interactions:</p>
<p><b>Axis range manipulation</b> is controlled via <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037a2c4432b9aceafb94000be8d1b589ef18">QCP::iRangeDrag</a> and <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037abee1e94353525a636aeaf0ba32b72e14">QCP::iRangeZoom</a>. When the respective interaction is enabled, the user may drag axes ranges and zoom with the mouse wheel. For details how to control which axes the user may drag/zoom and in what orientations, see <a class="el" href="classQCPAxisRect.html#ae6aef2f7211ba6097c925dcd26008418">QCPAxisRect::setRangeDrag</a>, <a class="el" href="classQCPAxisRect.html#a7960a9d222f1c31d558b064b60f86a31">QCPAxisRect::setRangeZoom</a>, <a class="el" href="classQCPAxisRect.html#a648cce336bd99daac4a5ca3e5743775d">QCPAxisRect::setRangeDragAxes</a>, <a class="el" href="classQCPAxisRect.html#a9442cca2aa358405f39a64d51eca13d2">QCPAxisRect::setRangeZoomAxes</a>.</p>
<p><b>Plottable selection</b> is controlled by <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037a67148c8227b4155eca49135fc274c7ec">QCP::iSelectPlottables</a>. If <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037a67148c8227b4155eca49135fc274c7ec">QCP::iSelectPlottables</a> is set, the user may select plottables (graphs, curves, bars,...) by clicking on them or in their vicinity (<a class="el" href="classQCustomPlot.html#a4dc31241d7b09680950e19e5f971ed93">setSelectionTolerance</a>). Whether the user can actually select a plottable can further be restricted with the <a class="el" href="classQCPAbstractPlottable.html#a22c69299eb5569e0f6bf084877a37dc4">QCPAbstractPlottable::setSelectable</a> function on the specific plottable. To find out whether a specific plottable is selected, call QCPAbstractPlottable::selected(). To retrieve a list of all currently selected plottables, call <a class="el" href="classQCustomPlot.html#a6721b8c689bb7f2f400987e580508fe8">selectedPlottables</a>. If you're only interested in QCPGraphs, you may use the convenience function <a class="el" href="classQCustomPlot.html#ad2a0493bdd01e7aa99a4209ae3a5b67b">selectedGraphs</a>.</p>
<p><b>Item selection</b> is controlled by <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037aea2f7c105d674e76d9b187b02ef29260">QCP::iSelectItems</a>. If <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037aea2f7c105d674e76d9b187b02ef29260">QCP::iSelectItems</a> is set, the user may select items (<a class="el" href="classQCPItemLine.html" title="A line from one point to another. ">QCPItemLine</a>, <a class="el" href="classQCPItemText.html" title="A text label. ">QCPItemText</a>,...) by clicking on them or in their vicinity. To find out whether a specific item is selected, call QCPAbstractItem::selected(). To retrieve a list of all currently selected items, call <a class="el" href="classQCustomPlot.html#a1a48b13547e2d9ac5cd6927516f47a2e">selectedItems</a>.</p>
<p><b>Axis selection</b> is controlled with <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037ad6644ac55bef621645326e9dd7469caa">QCP::iSelectAxes</a>. If <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037ad6644ac55bef621645326e9dd7469caa">QCP::iSelectAxes</a> is set, the user may select parts of the axes by clicking on them. What parts exactly (e.g. Axis base line, tick labels, axis label) are selectable can be controlled via <a class="el" href="classQCPAxis.html#a513f9b9e326c505d9bec54880031b085">QCPAxis::setSelectableParts</a> for each axis. To retrieve a list of all axes that currently contain selected parts, call <a class="el" href="classQCustomPlot.html#aa6baf867e8beb96ed5bd471f83ece903">selectedAxes</a>. Which parts of an axis are selected, can be retrieved with QCPAxis::selectedParts().</p>
<p><b>Legend selection</b> is controlled with <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037a269c9af298e257d1108edec0432b5513">QCP::iSelectLegend</a>. If this is set, the user may select the legend itself or individual items by clicking on them. What parts exactly are selectable can be controlled via <a class="el" href="classQCPLegend.html#a9ce60aa8bbd89f62ae4fa83ac6c60110">QCPLegend::setSelectableParts</a>. To find out whether the legend or any of its child items are selected, check the value of QCPLegend::selectedParts. To find out which child items are selected, call <a class="el" href="classQCPLegend.html#ac93eaf236e911d67aa8b88942ef45c5e">QCPLegend::selectedItems</a>.</p>
<p><b>All other selectable elements</b> The selection of all other selectable objects (e.g. <a class="el" href="classQCPPlotTitle.html" title="A layout element displaying a plot title text. ">QCPPlotTitle</a>, or your own layerable subclasses) is controlled with <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037af67a50bc26147a13b551b3a625374949">QCP::iSelectOther</a>. If set, the user may select those objects by clicking on them. To find out which are currently selected, you need to check their selected state explicitly.</p>
<p>If the selection state has changed by user interaction, the <a class="el" href="classQCustomPlot.html#a500c64a109bc773c973ad274f2fa4190">selectionChangedByUser</a> signal is emitted. Each selectable object additionally emits an individual selectionChanged signal whenever their selection state has changed, i.e. not only by user interaction.</p>
<p>To allow multiple objects to be selected by holding the selection modifier (<a class="el" href="classQCustomPlot.html#a8fc96e3b5138a06759a2a90c166df516">setMultiSelectModifier</a>), set the flag <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037aef673112c5067c3cf4cfddb62da7265d">QCP::iMultiSelect</a>.</p>
<dl class="section note"><dt>Note</dt><dd>In addition to the selection mechanism presented here, <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> always emits corresponding signals, when an object is clicked or double clicked. see <a class="el" href="classQCustomPlot.html#a57e5efa8a854620e9bf62d31fc139f53">plottableClick</a> and <a class="el" href="classQCustomPlot.html#af2e6f1cea923dae437681d01ce7d0c31">plottableDoubleClick</a> for example.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a422bf1bc6d56dac75a3d805d9a65902c">setInteraction</a>, <a class="el" href="classQCustomPlot.html#a4dc31241d7b09680950e19e5f971ed93">setSelectionTolerance</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a422bf1bc6d56dac75a3d805d9a65902c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::setInteraction </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037">QCP::Interaction</a> & </td>
<td class="paramname"><em>interaction</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>enabled</em> = <code>true</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the single <em>interaction</em> of this <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> to <em>enabled</em>.</p>
<p>For details about the interaction system, see <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a4dc31241d7b09680950e19e5f971ed93"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::setSelectionTolerance </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>pixels</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the tolerance that is used to decide whether a click selects an object (e.g. a plottable) or not.</p>
<p>If the user clicks in the vicinity of the line of e.g. a <a class="el" href="classQCPGraph.html" title="A plottable representing a graph in a plot. ">QCPGraph</a>, it's only regarded as a potential selection when the minimum distance between the click position and the graph line is smaller than <em>pixels</em>. Objects that are defined by an area (e.g. <a class="el" href="classQCPBars.html" title="A plottable representing a bar chart in a plot. ">QCPBars</a>) only react to clicks directly inside the area and ignore this selection tolerance. In other words, it only has meaning for parts of objects that are too thin to exactly hit with a click and thus need such a tolerance.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>, <a class="el" href="classQCPLayerable.html#a4001c4d0dfec55598efa4d531f2179a9">QCPLayerable::selectTest</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a775bdcb6329d44701aeaa6135b0e5265"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::setNoAntialiasingOnDrag </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>enabled</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets whether antialiasing is disabled for this <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> while the user is dragging axes ranges. If many objects, especially plottables, are drawn antialiased, this greatly improves performance during dragging. Thus it creates a more responsive user experience. As soon as the user stops dragging, the last replot is done with normal antialiasing, to restore high image quality.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#af6f91e5eab1be85f67c556e98c3745e8">setAntialiasedElements</a>, <a class="el" href="classQCustomPlot.html#ae10d685b5eabea2999fb8775ca173c24">setNotAntialiasedElements</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a94a33cbdadbbac5934843508bcfc210d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::setPlottingHints </td>
<td>(</td>
<td class="paramtype">const QCP::PlottingHints & </td>
<td class="paramname"><em>hints</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the plotting hints for this <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> instance as an <em>or</em> combination of <a class="el" href="namespaceQCP.html#a5400e5fcb9528d92002ddb938c1f4ef4">QCP::PlottingHint</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a3b7c97bb6c16464e9e15190c07abe9a9">setPlottingHint</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a3b7c97bb6c16464e9e15190c07abe9a9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::setPlottingHint </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespaceQCP.html#a5400e5fcb9528d92002ddb938c1f4ef4">QCP::PlottingHint</a> </td>
<td class="paramname"><em>hint</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>enabled</em> = <code>true</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the specified plotting <em>hint</em> to <em>enabled</em>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a94a33cbdadbbac5934843508bcfc210d">setPlottingHints</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a8fc96e3b5138a06759a2a90c166df516"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::setMultiSelectModifier </td>
<td>(</td>
<td class="paramtype">Qt::KeyboardModifier </td>
<td class="paramname"><em>modifier</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the keyboard modifier that will be recognized as multi-select-modifier.</p>
<p>If <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037aef673112c5067c3cf4cfddb62da7265d">QCP::iMultiSelect</a> is specified in <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>, the user may select multiple objects by clicking on them one after the other while holding down <em>modifier</em>.</p>
<p>By default the multi-select-modifier is set to Qt::ControlModifier.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a32de81ff53e263e785b83b52ecd99d6f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> * QCustomPlot::plottable </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>index</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the plottable with <em>index</em>. If the index is invalid, returns 0.</p>
<p>There is an overloaded version of this function with no parameter which returns the last added plottable, see <a class="el" href="classQCustomPlot.html#adea38bdc660da9412ba69fb939031567">QCustomPlot::plottable()</a></p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a2dbfbf15dc38713f9a1c445a3dd2e989">plottableCount</a>, <a class="el" href="classQCustomPlot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a> </dd></dl>
</div>
</div>
<a class="anchor" id="adea38bdc660da9412ba69fb939031567"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> * QCustomPlot::plottable </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function.</p>
<p>Returns the last plottable that was added with <a class="el" href="classQCustomPlot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a>. If there are no plottables in the plot, returns 0.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a2dbfbf15dc38713f9a1c445a3dd2e989">plottableCount</a>, <a class="el" href="classQCustomPlot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ab7ad9174f701f9c6f64e378df77927a6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCustomPlot::addPlottable </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> * </td>
<td class="paramname"><em>plottable</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds the specified plottable to the plot and, if <a class="el" href="classQCustomPlot.html#ad8858410c2db47b7104040a3aa61c3fc">setAutoAddPlottableToLegend</a> is enabled, to the legend (<a class="el" href="classQCustomPlot.html#a4eadcd237dc6a09938b68b16877fa6af">QCustomPlot::legend</a>). <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 plottable.</p>
<p>Returns true on success, i.e. when <em>plottable</em> isn't already in the plot and the parent plot of <em>plottable</em> is this <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> (the latter is controlled by what axes were passed in the plottable's constructor).</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a>, <a class="el" href="classQCustomPlot.html#a2dbfbf15dc38713f9a1c445a3dd2e989">plottableCount</a>, <a class="el" href="classQCustomPlot.html#af3dafd56884208474f311d6226513ab2">removePlottable</a>, <a class="el" href="classQCustomPlot.html#a9a409bb3201878adb7ffba1c89c4e004">clearPlottables</a> </dd></dl>
</div>
</div>
<a class="anchor" id="af3dafd56884208474f311d6226513ab2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCustomPlot::removePlottable </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> * </td>
<td class="paramname"><em>plottable</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes the specified plottable from the plot and, if necessary, from the legend (<a class="el" href="classQCustomPlot.html#a4eadcd237dc6a09938b68b16877fa6af">QCustomPlot::legend</a>).</p>
<p>Returns true on success.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a>, <a class="el" href="classQCustomPlot.html#a9a409bb3201878adb7ffba1c89c4e004">clearPlottables</a> </dd></dl>
</div>
</div>
<a class="anchor" id="afc210e0021480f8119bccf37839dbcc8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCustomPlot::removePlottable </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>index</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function.</p>
<p>Removes the plottable by its <em>index</em>. </p>
</div>
</div>
<a class="anchor" id="a9a409bb3201878adb7ffba1c89c4e004"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int QCustomPlot::clearPlottables </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes all plottables from the plot (and the <a class="el" href="classQCustomPlot.html#a4eadcd237dc6a09938b68b16877fa6af">QCustomPlot::legend</a>, if necessary).</p>
<p>Returns the number of plottables removed.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#af3dafd56884208474f311d6226513ab2">removePlottable</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a2dbfbf15dc38713f9a1c445a3dd2e989"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int QCustomPlot::plottableCount </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the number of currently existing plottables in the plot</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a32de81ff53e263e785b83b52ecd99d6f">plottable</a>, <a class="el" href="classQCustomPlot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a6721b8c689bb7f2f400987e580508fe8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QList< <a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> * > QCustomPlot::selectedPlottables </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a list of the selected plottables. If no plottables are currently selected, the list is empty.</p>
<p>There is a convenience function if you're only interested in selected graphs, see <a class="el" href="classQCustomPlot.html#ad2a0493bdd01e7aa99a4209ae3a5b67b">selectedGraphs</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>, <a class="el" href="classQCPAbstractPlottable.html#a22c69299eb5569e0f6bf084877a37dc4">QCPAbstractPlottable::setSelectable</a>, <a class="el" href="classQCPAbstractPlottable.html#afbd5428c2952f59d952e11ab5cd79176">QCPAbstractPlottable::setSelected</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ac1d1bc6ae4e13616fb02cef6d9e2188e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> * QCustomPlot::plottableAt </td>
<td>(</td>
<td class="paramtype">const QPointF & </td>
<td class="paramname"><em>pos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>onlySelectable</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the plottable at the pixel position <em>pos</em>. Plottables that only consist of single lines (like graphs) have a tolerance band around them, see <a class="el" href="classQCustomPlot.html#a4dc31241d7b09680950e19e5f971ed93">setSelectionTolerance</a>. If multiple plottables come into consideration, the one closest to <em>pos</em> is returned.</p>
<p>If <em>onlySelectable</em> is true, only plottables that are selectable (<a class="el" href="classQCPAbstractPlottable.html#a22c69299eb5569e0f6bf084877a37dc4">QCPAbstractPlottable::setSelectable</a>) are considered.</p>
<p>If there is no plottable at <em>pos</em>, the return value is 0.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a793e4b04e0ede11a733021907368fa83">itemAt</a>, <a class="el" href="classQCustomPlot.html#a840458186d4483c8a42d6a399448d38f">layoutElementAt</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a4fc28914e2ee91aab424b7ce46b6bdf1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCustomPlot::hasPlottable </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> * </td>
<td class="paramname"><em>plottable</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns whether this <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> instance contains the <em>plottable</em>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#ab7ad9174f701f9c6f64e378df77927a6">addPlottable</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a6d3ed93c2bf46ab7fa670d66be4cddaf"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPGraph.html">QCPGraph</a> * QCustomPlot::graph </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>index</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the graph with <em>index</em>. If the index is invalid, returns 0.</p>
<p>There is an overloaded version of this function with no parameter which returns the last created graph, see <a class="el" href="classQCustomPlot.html#a6d3ed93c2bf46ab7fa670d66be4cddaf">QCustomPlot::graph()</a></p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a7d9b4d19114b2fde60f0233eeb0aa682">graphCount</a>, <a class="el" href="classQCustomPlot.html#a6fb2873d35a8a8089842d81a70a54167">addGraph</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a80c40ced2a74eefe9e92de1e82ba2274"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPGraph.html">QCPGraph</a> * QCustomPlot::graph </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 the last graph, that was created with <a class="el" href="classQCustomPlot.html#a6fb2873d35a8a8089842d81a70a54167">addGraph</a>. If there are no graphs in the plot, returns 0.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a7d9b4d19114b2fde60f0233eeb0aa682">graphCount</a>, <a class="el" href="classQCustomPlot.html#a6fb2873d35a8a8089842d81a70a54167">addGraph</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a6fb2873d35a8a8089842d81a70a54167"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPGraph.html">QCPGraph</a> * QCustomPlot::addGraph </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPAxis.html">QCPAxis</a> * </td>
<td class="paramname"><em>keyAxis</em> = <code>0</code>, </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>valueAxis</em> = <code>0</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a new graph inside the plot. If <em>keyAxis</em> and <em>valueAxis</em> are left unspecified (0), the bottom (xAxis) is used as key and the left (yAxis) is used as value axis. If specified, <em>keyAxis</em> and <em>valueAxis</em> must reside in this <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>.</p>
<p><em>keyAxis</em> will be used as key axis (typically "x") and <em>valueAxis</em> as value axis (typically "y") for the graph.</p>
<p>Returns a pointer to the newly created graph, or 0 if adding the graph failed.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a6d3ed93c2bf46ab7fa670d66be4cddaf">graph</a>, <a class="el" href="classQCustomPlot.html#a7d9b4d19114b2fde60f0233eeb0aa682">graphCount</a>, <a class="el" href="classQCustomPlot.html#a903561be895fb6528a770d66ac5e6713">removeGraph</a>, <a class="el" href="classQCustomPlot.html#ab0f3abff2d2f7df3668b5836f39207fa">clearGraphs</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a903561be895fb6528a770d66ac5e6713"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCustomPlot::removeGraph </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPGraph.html">QCPGraph</a> * </td>
<td class="paramname"><em>graph</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes the specified <em>graph</em> from the plot and, if necessary, from the <a class="el" href="classQCustomPlot.html#a4eadcd237dc6a09938b68b16877fa6af">QCustomPlot::legend</a>. If any other graphs in the plot have a channel fill set towards the removed graph, the channel fill property of those graphs is reset to zero (no channel fill).</p>
<p>Returns true on success.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#ab0f3abff2d2f7df3668b5836f39207fa">clearGraphs</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a9554b3d2d5b10c0f884bd4010b6c192c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCustomPlot::removeGraph </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>index</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function.</p>
<p>Removes the graph by its <em>index</em>. </p>
</div>
</div>
<a class="anchor" id="ab0f3abff2d2f7df3668b5836f39207fa"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int QCustomPlot::clearGraphs </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes all graphs from the plot (and the <a class="el" href="classQCustomPlot.html#a4eadcd237dc6a09938b68b16877fa6af">QCustomPlot::legend</a>, if necessary).</p>
<p>Returns the number of graphs removed.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a903561be895fb6528a770d66ac5e6713">removeGraph</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a7d9b4d19114b2fde60f0233eeb0aa682"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int QCustomPlot::graphCount </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the number of currently existing graphs in the plot</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a6d3ed93c2bf46ab7fa670d66be4cddaf">graph</a>, <a class="el" href="classQCustomPlot.html#a6fb2873d35a8a8089842d81a70a54167">addGraph</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ad2a0493bdd01e7aa99a4209ae3a5b67b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QList< <a class="el" href="classQCPGraph.html">QCPGraph</a> * > QCustomPlot::selectedGraphs </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a list of the selected graphs. If no graphs are currently selected, the list is empty.</p>
<p>If you are not only interested in selected graphs but other plottables like <a class="el" href="classQCPCurve.html" title="A plottable representing a parametric curve in a plot. ">QCPCurve</a>, <a class="el" href="classQCPBars.html" title="A plottable representing a bar chart in a plot. ">QCPBars</a>, etc., use <a class="el" href="classQCustomPlot.html#a6721b8c689bb7f2f400987e580508fe8">selectedPlottables</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>, <a class="el" href="classQCustomPlot.html#a6721b8c689bb7f2f400987e580508fe8">selectedPlottables</a>, <a class="el" href="classQCPAbstractPlottable.html#a22c69299eb5569e0f6bf084877a37dc4">QCPAbstractPlottable::setSelectable</a>, <a class="el" href="classQCPAbstractPlottable.html#afbd5428c2952f59d952e11ab5cd79176">QCPAbstractPlottable::setSelected</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a3e842b5a65b1d17fbb96cfb1fa1314d1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPAbstractItem.html">QCPAbstractItem</a> * QCustomPlot::item </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>index</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the item with <em>index</em>. If the index is invalid, returns 0.</p>
<p>There is an overloaded version of this function with no parameter which returns the last added item, see <a class="el" href="classQCustomPlot.html#a3e842b5a65b1d17fbb96cfb1fa1314d1">QCustomPlot::item()</a></p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a6fc860e30df17fd5c46056bf6fe29390">itemCount</a>, <a class="el" href="classQCustomPlot.html#aa500620379262321685cb7a7674cbd2a">addItem</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a700399eae539798c5baf64a37c7f2135"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPAbstractItem.html">QCPAbstractItem</a> * QCustomPlot::item </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 the last item, that was added with <a class="el" href="classQCustomPlot.html#aa500620379262321685cb7a7674cbd2a">addItem</a>. If there are no items in the plot, returns 0.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a6fc860e30df17fd5c46056bf6fe29390">itemCount</a>, <a class="el" href="classQCustomPlot.html#aa500620379262321685cb7a7674cbd2a">addItem</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aa500620379262321685cb7a7674cbd2a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCustomPlot::addItem </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPAbstractItem.html">QCPAbstractItem</a> * </td>
<td class="paramname"><em>item</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds the specified item to the plot. <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 item.</p>
<p>Returns true on success, i.e. when <em>item</em> wasn't already in the plot and the parent plot of <em>item</em> is this <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>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a3e842b5a65b1d17fbb96cfb1fa1314d1">item</a>, <a class="el" href="classQCustomPlot.html#a6fc860e30df17fd5c46056bf6fe29390">itemCount</a>, <a class="el" href="classQCustomPlot.html#ae04446557292551e8fb6e2c106e1848d">removeItem</a>, <a class="el" href="classQCustomPlot.html#abdfd07d4f0591d0cf967f85013fd3645">clearItems</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ae04446557292551e8fb6e2c106e1848d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCustomPlot::removeItem </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPAbstractItem.html">QCPAbstractItem</a> * </td>
<td class="paramname"><em>item</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes the specified item from the plot.</p>
<p>Returns true on success.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#aa500620379262321685cb7a7674cbd2a">addItem</a>, <a class="el" href="classQCustomPlot.html#abdfd07d4f0591d0cf967f85013fd3645">clearItems</a> </dd></dl>
</div>
</div>
<a class="anchor" id="abcfdda3d601c0441cab136137d715dea"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCustomPlot::removeItem </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>index</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function.</p>
<p>Removes the item by its <em>index</em>. </p>
</div>
</div>
<a class="anchor" id="abdfd07d4f0591d0cf967f85013fd3645"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int QCustomPlot::clearItems </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes all items from the plot.</p>
<p>Returns the number of items removed.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#ae04446557292551e8fb6e2c106e1848d">removeItem</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a6fc860e30df17fd5c46056bf6fe29390"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int QCustomPlot::itemCount </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the number of currently existing items in the plot</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a3e842b5a65b1d17fbb96cfb1fa1314d1">item</a>, <a class="el" href="classQCustomPlot.html#aa500620379262321685cb7a7674cbd2a">addItem</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a1a48b13547e2d9ac5cd6927516f47a2e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QList< <a class="el" href="classQCPAbstractItem.html">QCPAbstractItem</a> * > QCustomPlot::selectedItems </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a list of the selected items. If no items are currently selected, the list is empty.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>, <a class="el" href="classQCPAbstractItem.html#a8a8e32a55bc478b849756a78c2d87fd2">QCPAbstractItem::setSelectable</a>, <a class="el" href="classQCPAbstractItem.html#a203de94ad586cc44d16c9565f49d3378">QCPAbstractItem::setSelected</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a793e4b04e0ede11a733021907368fa83"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPAbstractItem.html">QCPAbstractItem</a> * QCustomPlot::itemAt </td>
<td>(</td>
<td class="paramtype">const QPointF & </td>
<td class="paramname"><em>pos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>onlySelectable</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the item at the pixel position <em>pos</em>. Items that only consist of single lines (e.g. <a class="el" href="classQCPItemLine.html">QCPItemLine</a> or <a class="el" href="classQCPItemCurve.html">QCPItemCurve</a>) have a tolerance band around them, see <a class="el" href="classQCustomPlot.html#a4dc31241d7b09680950e19e5f971ed93">setSelectionTolerance</a>. If multiple items come into consideration, the one closest to <em>pos</em> is returned.</p>
<p>If <em>onlySelectable</em> is true, only items that are selectable (<a class="el" href="classQCPAbstractItem.html#a8a8e32a55bc478b849756a78c2d87fd2">QCPAbstractItem::setSelectable</a>) are considered.</p>
<p>If there is no item at <em>pos</em>, the return value is 0.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#ac1d1bc6ae4e13616fb02cef6d9e2188e">plottableAt</a>, <a class="el" href="classQCustomPlot.html#a840458186d4483c8a42d6a399448d38f">layoutElementAt</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ab4199c38b03e63a2623c82453fe8add5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCustomPlot::hasItem </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPAbstractItem.html">QCPAbstractItem</a> * </td>
<td class="paramname"><em>item</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns whether this <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> contains the <em>item</em>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#aa500620379262321685cb7a7674cbd2a">addItem</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aac492da01782820454e9136a8db28182"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPLayer.html">QCPLayer</a> * QCustomPlot::layer </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>name</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the layer with the specified <em>name</em>. If there is no layer with the specified name, 0 is returned.</p>
<p>Layer names are case-sensitive.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a>, <a class="el" href="classQCustomPlot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a>, <a class="el" href="classQCustomPlot.html#a40f75e342c5eaab6a86066a42a0e2a94">removeLayer</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a1e73051e371f1815b48d8b355be0d2ab"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPLayer.html">QCPLayer</a> * QCustomPlot::layer </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>index</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function.</p>
<p>Returns the layer by <em>index</em>. If the index is invalid, 0 is returned.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a>, <a class="el" href="classQCustomPlot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a>, <a class="el" href="classQCustomPlot.html#a40f75e342c5eaab6a86066a42a0e2a94">removeLayer</a> </dd></dl>
</div>
</div>
<a class="anchor" id="af73057345656cbd1463454982d808b00"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPLayer.html">QCPLayer</a> * QCustomPlot::currentLayer </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the layer that is set as current layer (see <a class="el" href="classQCustomPlot.html#a73a6dc47c653bb6f8f030abca5a11852">setCurrentLayer</a>). </p>
</div>
</div>
<a class="anchor" id="a73a6dc47c653bb6f8f030abca5a11852"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCustomPlot::setCurrentLayer </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>name</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the layer with the specified <em>name</em> to be the current layer. All layerables (<a class="el" href="classQCPLayerable.html">QCPLayerable</a>), e.g. plottables and items, are created on the current layer.</p>
<p>Returns true on success, i.e. if there is a layer with the specified <em>name</em> in 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>.</p>
<p>Layer names are case-sensitive.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a>, <a class="el" href="classQCustomPlot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a>, <a class="el" href="classQCustomPlot.html#a40f75e342c5eaab6a86066a42a0e2a94">removeLayer</a>, <a class="el" href="classQCPLayerable.html#ab0d0da6d2de45a118886d2c8e16d5a54">QCPLayerable::setLayer</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a23a4d3cadad1a0063c5fe19aac5659e6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCustomPlot::setCurrentLayer </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPLayer.html">QCPLayer</a> * </td>
<td class="paramname"><em>layer</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function.</p>
<p>Sets the provided <em>layer</em> to be the current layer.</p>
<p>Returns true on success, i.e. when <em>layer</em> is a valid layer in 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>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a>, <a class="el" href="classQCustomPlot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a>, <a class="el" href="classQCustomPlot.html#a40f75e342c5eaab6a86066a42a0e2a94">removeLayer</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a1b3926884f5bd4bdda1495d8b3c891d0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int QCustomPlot::layerCount </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the number of currently existing layers in the plot</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#aac492da01782820454e9136a8db28182">layer</a>, <a class="el" href="classQCustomPlot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ad5255393df078448bb6ac83fa5db5f52"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCustomPlot::addLayer </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>name</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classQCPLayer.html">QCPLayer</a> * </td>
<td class="paramname"><em>otherLayer</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classQCustomPlot.html#a75a8afbe6ef333b1f3d47abb25b9add7">QCustomPlot::LayerInsertMode</a> </td>
<td class="paramname"><em>insertMode</em> = <code><a class="el" href="classQCustomPlot.html#a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41">limAbove</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds a new layer to this <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> instance. The new layer will have the name <em>name</em>, which must be unique. Depending on <em>insertMode</em>, it is positioned either below or above <em>otherLayer</em>.</p>
<p>Returns true on success, i.e. if there is no other layer named <em>name</em> and <em>otherLayer</em> is a valid layer inside this <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>.</p>
<p>If <em>otherLayer</em> is 0, the highest layer in 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> will be used.</p>
<p>For an explanation of what layers are in <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>, see the documentation of <a class="el" href="classQCPLayer.html">QCPLayer</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#aac492da01782820454e9136a8db28182">layer</a>, <a class="el" href="classQCustomPlot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a>, <a class="el" href="classQCustomPlot.html#a40f75e342c5eaab6a86066a42a0e2a94">removeLayer</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a40f75e342c5eaab6a86066a42a0e2a94"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCustomPlot::removeLayer </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPLayer.html">QCPLayer</a> * </td>
<td class="paramname"><em>layer</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes the specified <em>layer</em> and returns true on success.</p>
<p>All layerables (e.g. plottables and items) on the removed layer will be moved to the layer below <em>layer</em>. If <em>layer</em> is the bottom layer, the layerables are moved to the layer above. In both cases, the total rendering order of all layerables in 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> is preserved.</p>
<p>If <em>layer</em> is the current layer (<a class="el" href="classQCustomPlot.html#a73a6dc47c653bb6f8f030abca5a11852">setCurrentLayer</a>), the layer below (or above, if bottom layer) becomes the new current layer.</p>
<p>It is not possible to remove the last layer of the plot.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#aac492da01782820454e9136a8db28182">layer</a>, <a class="el" href="classQCustomPlot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a>, <a class="el" href="classQCustomPlot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ae896140beff19424e9e9e02d6e331104"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCustomPlot::moveLayer </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPLayer.html">QCPLayer</a> * </td>
<td class="paramname"><em>layer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classQCPLayer.html">QCPLayer</a> * </td>
<td class="paramname"><em>otherLayer</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classQCustomPlot.html#a75a8afbe6ef333b1f3d47abb25b9add7">QCustomPlot::LayerInsertMode</a> </td>
<td class="paramname"><em>insertMode</em> = <code><a class="el" href="classQCustomPlot.html#a75a8afbe6ef333b1f3d47abb25b9add7a062b0b7825650b432a713c0df6742d41">limAbove</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Moves the specified <em>layer</em> either above or below <em>otherLayer</em>. Whether it's placed above or below is controlled with <em>insertMode</em>.</p>
<p>Returns true on success, i.e. when both <em>layer</em> and <em>otherLayer</em> are valid layers in 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>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#aac492da01782820454e9136a8db28182">layer</a>, <a class="el" href="classQCustomPlot.html#ad5255393df078448bb6ac83fa5db5f52">addLayer</a>, <a class="el" href="classQCustomPlot.html#ae896140beff19424e9e9e02d6e331104">moveLayer</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a340fa24b1607e445cedda9685670ead3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int QCustomPlot::axisRectCount </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the number of axis rects in the plot.</p>
<p>All axis rects can be accessed via <a class="el" href="classQCustomPlot.html#a4a37a1add5fe63060ac518cf0a4c4050">QCustomPlot::axisRect()</a>.</p>
<p>Initially, only one axis rect exists in the plot.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a4a37a1add5fe63060ac518cf0a4c4050">axisRect</a>, <a class="el" href="classQCustomPlot.html#afd67094aaeccbc5719761348b2d8c891">axisRects</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a4a37a1add5fe63060ac518cf0a4c4050"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPAxisRect.html">QCPAxisRect</a> * QCustomPlot::axisRect </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>index</em> = <code>0</code></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the axis rect with <em>index</em>.</p>
<p>Initially, only one axis rect (with index 0) exists in the plot. If multiple axis rects were added, all of them may be accessed with this function in a linear fashion (even when they are nested in a layout hierarchy or inside other axis rects via <a class="el" href="classQCPAxisRect.html#a4114887c7141b59650b7488f930993e5">QCPAxisRect::insetLayout</a>).</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a340fa24b1607e445cedda9685670ead3">axisRectCount</a>, <a class="el" href="classQCustomPlot.html#afd67094aaeccbc5719761348b2d8c891">axisRects</a> </dd></dl>
</div>
</div>
<a class="anchor" id="afd67094aaeccbc5719761348b2d8c891"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QList< <a class="el" href="classQCPAxisRect.html">QCPAxisRect</a> * > QCustomPlot::axisRects </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns all axis rects in the plot.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a340fa24b1607e445cedda9685670ead3">axisRectCount</a>, <a class="el" href="classQCustomPlot.html#a4a37a1add5fe63060ac518cf0a4c4050">axisRect</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a840458186d4483c8a42d6a399448d38f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a> * QCustomPlot::layoutElementAt </td>
<td>(</td>
<td class="paramtype">const QPointF & </td>
<td class="paramname"><em>pos</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the layout element at pixel position <em>pos</em>. If there is no element at that position, returns 0.</p>
<p>Only visible elements are used. If <a class="el" href="classQCPLayerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">QCPLayoutElement::setVisible</a> on the element itself or on any of its parent elements is set to false, it will not be considered.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a793e4b04e0ede11a733021907368fa83">itemAt</a>, <a class="el" href="classQCustomPlot.html#ac1d1bc6ae4e13616fb02cef6d9e2188e">plottableAt</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ad86528f2cee6c7e446dea4a6e8839935"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::rescaleAxes </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>onlyVisiblePlottables</em> = <code>false</code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Rescales the axes such that all plottables (like graphs) in the plot are fully visible.</p>
<p>if <em>onlyVisiblePlottables</em> is set to true, only the plottables that have their visibility set to true (<a class="el" href="classQCPLayerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">QCPLayerable::setVisible</a>), will be used to rescale the axes.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCPAbstractPlottable.html#a7e8fc3be43c27ccacd70a7bf9d74a5cd">QCPAbstractPlottable::rescaleAxes</a>, <a class="el" href="classQCPAxis.html#a499345f02ebce4b23d8ccec96e58daa9">QCPAxis::rescale</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aa6baf867e8beb96ed5bd471f83ece903"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QList< <a class="el" href="classQCPAxis.html">QCPAxis</a> * > QCustomPlot::selectedAxes </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the axes that currently have selected parts, i.e. whose selection state is not <a class="el" href="classQCPAxis.html#abee4c7a54c468b1385dfce2c898b115fae0df8123a5528d5ccf87cb7794f971ea">QCPAxis::spNone</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a6721b8c689bb7f2f400987e580508fe8">selectedPlottables</a>, <a class="el" href="classQCustomPlot.html#a1ea6297300c3e2770e65f95836411755">selectedLegends</a>, <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>, <a class="el" href="classQCPAxis.html#ab9d7a69277dcbed9119b3c1f25ca19c3">QCPAxis::setSelectedParts</a>, <a class="el" href="classQCPAxis.html#a513f9b9e326c505d9bec54880031b085">QCPAxis::setSelectableParts</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a1ea6297300c3e2770e65f95836411755"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QList< <a class="el" href="classQCPLegend.html">QCPLegend</a> * > QCustomPlot::selectedLegends </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the legends that currently have selected parts, i.e. whose selection state is not <a class="el" href="classQCPLegend.html#a5404de8bc1e4a994ca4ae69e2c7072f1a378201c07d500af7126e3ec91652eed7">QCPLegend::spNone</a>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a6721b8c689bb7f2f400987e580508fe8">selectedPlottables</a>, <a class="el" href="classQCustomPlot.html#aa6baf867e8beb96ed5bd471f83ece903">selectedAxes</a>, <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>, <a class="el" href="classQCPLegend.html#a2aee309bb5c2a794b1987f3fc97f8ad8">QCPLegend::setSelectedParts</a>, <a class="el" href="classQCPLegend.html#a9ce60aa8bbd89f62ae4fa83ac6c60110">QCPLegend::setSelectableParts</a>, <a class="el" href="classQCPLegend.html#ac93eaf236e911d67aa8b88942ef45c5e">QCPLegend::selectedItems</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a9d4808ab925b003054085246c92a257c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::deselectAll </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Deselects all layerables (plottables, items, axes, legends,...) 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>.</p>
<p>Since calling this function is not a user interaction, this does not emit the <a class="el" href="classQCustomPlot.html#a500c64a109bc773c973ad274f2fa4190">selectionChangedByUser</a> signal. The individual selectionChanged signals are emitted though, if the objects were previously selected.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>, <a class="el" href="classQCustomPlot.html#a6721b8c689bb7f2f400987e580508fe8">selectedPlottables</a>, <a class="el" href="classQCustomPlot.html#a1a48b13547e2d9ac5cd6927516f47a2e">selectedItems</a>, <a class="el" href="classQCustomPlot.html#aa6baf867e8beb96ed5bd471f83ece903">selectedAxes</a>, <a class="el" href="classQCustomPlot.html#a1ea6297300c3e2770e65f95836411755">selectedLegends</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a632da44c6d94ea8b271eb483b08b5114"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCustomPlot::savePdf </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>fileName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>noCosmeticPen</em> = <code>false</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>pdfCreator</em> = <code>QString()</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>pdfTitle</em> = <code>QString()</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Saves a PDF with the vectorized plot to the file <em>fileName</em>. The axis ratio as well as the scale of texts and lines will be derived from the specified <em>width</em> and <em>height</em>. This means, the output will look like the normal on-screen output of a <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 with the corresponding pixel width and height. If either <em>width</em> or <em>height</em> is zero, the exported image will have the same dimensions as 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 currently has.</p>
<p><em>noCosmeticPen</em> disables the use of cosmetic pens when drawing to the PDF file. Cosmetic pens are pens with numerical width 0, which are always drawn as a one pixel wide line, no matter what zoom factor is set in the PDF-Viewer. For more information about cosmetic pens, see the QPainter and QPen documentation.</p>
<p>The objects of the plot will appear in the current selection state. If you don't want any selected objects to be painted in their selected look, deselect everything with <a class="el" href="classQCustomPlot.html#a9d4808ab925b003054085246c92a257c">deselectAll</a> before calling this function.</p>
<p>Returns true on success.</p>
<dl class="section warning"><dt>Warning</dt><dd><ul>
<li>If you plan on editing the exported PDF file with a vector graphics editor like Inkscape, it is advised to set <em>noCosmeticPen</em> to true to avoid losing those cosmetic lines (which might be quite many, because cosmetic pens are the default for e.g. axes and tick marks). </li>
<li>If calling this function inside the constructor of the parent 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> widget (i.e. the MainWindow constructor, if <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> is inside the MainWindow), always provide explicit non-zero widths and heights. If you leave <em>width</em> or <em>height</em> as 0 (default), this function uses the current width and height 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> widget. However, in Qt, these aren't defined yet inside the constructor, so you would get an image that has strange widths/heights.</li>
</ul>
<em>pdfCreator</em> and <em>pdfTitle</em> may be used to set the according metadata fields in the resulting PDF file.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>On Android systems, this method does nothing and issues an according qDebug warning message. This is also the case if for other reasons the define flag QT_NO_PRINTER is set.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a>, <a class="el" href="classQCustomPlot.html#a6629d9e8e6da4bf18055ee0257fdce9a">saveBmp</a>, <a class="el" href="classQCustomPlot.html#a490c722092d1771e8ce4a7a73dfd84ab">saveJpg</a>, <a class="el" href="classQCustomPlot.html#ab528b84cf92baabe29b1d0ef2f77c93e">saveRastered</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a7636261aff1f6d25c9da749ece3fc8b8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCustomPlot::savePng </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>fileName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>scale</em> = <code>1.0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>quality</em> = <code>-1</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Saves a PNG image file to <em>fileName</em> on disc. The output plot will have the dimensions <em>width</em> and <em>height</em> in pixels. If either <em>width</em> or <em>height</em> is zero, the exported image will have the same dimensions as 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 currently has. Line widths and texts etc. are not scaled up when larger widths/heights are used. If you want that effect, use the <em>scale</em> parameter.</p>
<p>For example, if you set both <em>width</em> and <em>height</em> to 100 and <em>scale</em> to 2, you will end up with an image file of size 200*200 in which all graphical elements are scaled up by factor 2 (line widths, texts, etc.). This scaling is not done by stretching a 100*100 image, the result will have full 200*200 pixel resolution.</p>
<p>If you use a high scaling factor, it is recommended to enable antialiasing for all elements via temporarily setting <a class="el" href="classQCustomPlot.html#af6f91e5eab1be85f67c556e98c3745e8">QCustomPlot::setAntialiasedElements</a> to <a class="el" href="namespaceQCP.html#ae55dbe315d41fe80f29ba88100843a0caa897c232a0ffc8368e7c100ffc59ef31">QCP::aeAll</a> as this allows <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> to place objects with sub-pixel accuracy.</p>
<dl class="section warning"><dt>Warning</dt><dd>If calling this function inside the constructor of the parent 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> widget (i.e. the MainWindow constructor, if <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> is inside the MainWindow), always provide explicit non-zero widths and heights. If you leave <em>width</em> or <em>height</em> as 0 (default), this function uses the current width and height 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> widget. However, in Qt, these aren't defined yet inside the constructor, so you would get an image that has strange widths/heights.</dd></dl>
<p>The objects of the plot will appear in the current selection state. If you don't want any selected objects to be painted in their selected look, deselect everything with <a class="el" href="classQCustomPlot.html#a9d4808ab925b003054085246c92a257c">deselectAll</a> before calling this function.</p>
<p>If you want the PNG to have a transparent background, call <a class="el" href="classQCustomPlot.html#a130358592cfca353ff3cf5571b49fb00">setBackground</a>(const QBrush &brush) with no brush (Qt::NoBrush) or a transparent color (Qt::transparent), before saving.</p>
<p>PNG compression can be controlled with the <em>quality</em> parameter which must be between 0 and 100 or -1 to use the default setting.</p>
<p>Returns true on success. If this function fails, most likely the PNG format isn't supported by the system, see Qt docs about QImageWriter::supportedImageFormats().</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a632da44c6d94ea8b271eb483b08b5114">savePdf</a>, <a class="el" href="classQCustomPlot.html#a6629d9e8e6da4bf18055ee0257fdce9a">saveBmp</a>, <a class="el" href="classQCustomPlot.html#a490c722092d1771e8ce4a7a73dfd84ab">saveJpg</a>, <a class="el" href="classQCustomPlot.html#ab528b84cf92baabe29b1d0ef2f77c93e">saveRastered</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a490c722092d1771e8ce4a7a73dfd84ab"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCustomPlot::saveJpg </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>fileName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>scale</em> = <code>1.0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>quality</em> = <code>-1</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Saves a JPG image file to <em>fileName</em> on disc. The output plot will have the dimensions <em>width</em> and <em>height</em> in pixels. If either <em>width</em> or <em>height</em> is zero, the exported image will have the same dimensions as 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 currently has. Line widths and texts etc. are not scaled up when larger widths/heights are used. If you want that effect, use the <em>scale</em> parameter.</p>
<p>For example, if you set both <em>width</em> and <em>height</em> to 100 and <em>scale</em> to 2, you will end up with an image file of size 200*200 in which all graphical elements are scaled up by factor 2 (line widths, texts, etc.). This scaling is not done by stretching a 100*100 image, the result will have full 200*200 pixel resolution.</p>
<p>If you use a high scaling factor, it is recommended to enable antialiasing for all elements via temporarily setting <a class="el" href="classQCustomPlot.html#af6f91e5eab1be85f67c556e98c3745e8">QCustomPlot::setAntialiasedElements</a> to <a class="el" href="namespaceQCP.html#ae55dbe315d41fe80f29ba88100843a0caa897c232a0ffc8368e7c100ffc59ef31">QCP::aeAll</a> as this allows <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> to place objects with sub-pixel accuracy.</p>
<dl class="section warning"><dt>Warning</dt><dd>If calling this function inside the constructor of the parent 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> widget (i.e. the MainWindow constructor, if <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> is inside the MainWindow), always provide explicit non-zero widths and heights. If you leave <em>width</em> or <em>height</em> as 0 (default), this function uses the current width and height 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> widget. However, in Qt, these aren't defined yet inside the constructor, so you would get an image that has strange widths/heights.</dd></dl>
<p>The objects of the plot will appear in the current selection state. If you don't want any selected objects to be painted in their selected look, deselect everything with <a class="el" href="classQCustomPlot.html#a9d4808ab925b003054085246c92a257c">deselectAll</a> before calling this function.</p>
<p>JPG compression can be controlled with the <em>quality</em> parameter which must be between 0 and 100 or -1 to use the default setting.</p>
<p>Returns true on success. If this function fails, most likely the JPG format isn't supported by the system, see Qt docs about QImageWriter::supportedImageFormats().</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a632da44c6d94ea8b271eb483b08b5114">savePdf</a>, <a class="el" href="classQCustomPlot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a>, <a class="el" href="classQCustomPlot.html#a6629d9e8e6da4bf18055ee0257fdce9a">saveBmp</a>, <a class="el" href="classQCustomPlot.html#ab528b84cf92baabe29b1d0ef2f77c93e">saveRastered</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a6629d9e8e6da4bf18055ee0257fdce9a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCustomPlot::saveBmp </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>fileName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>scale</em> = <code>1.0</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Saves a BMP image file to <em>fileName</em> on disc. The output plot will have the dimensions <em>width</em> and <em>height</em> in pixels. If either <em>width</em> or <em>height</em> is zero, the exported image will have the same dimensions as 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 currently has. Line widths and texts etc. are not scaled up when larger widths/heights are used. If you want that effect, use the <em>scale</em> parameter.</p>
<p>For example, if you set both <em>width</em> and <em>height</em> to 100 and <em>scale</em> to 2, you will end up with an image file of size 200*200 in which all graphical elements are scaled up by factor 2 (line widths, texts, etc.). This scaling is not done by stretching a 100*100 image, the result will have full 200*200 pixel resolution.</p>
<p>If you use a high scaling factor, it is recommended to enable antialiasing for all elements via temporarily setting <a class="el" href="classQCustomPlot.html#af6f91e5eab1be85f67c556e98c3745e8">QCustomPlot::setAntialiasedElements</a> to <a class="el" href="namespaceQCP.html#ae55dbe315d41fe80f29ba88100843a0caa897c232a0ffc8368e7c100ffc59ef31">QCP::aeAll</a> as this allows <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> to place objects with sub-pixel accuracy.</p>
<dl class="section warning"><dt>Warning</dt><dd>If calling this function inside the constructor of the parent 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> widget (i.e. the MainWindow constructor, if <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> is inside the MainWindow), always provide explicit non-zero widths and heights. If you leave <em>width</em> or <em>height</em> as 0 (default), this function uses the current width and height 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> widget. However, in Qt, these aren't defined yet inside the constructor, so you would get an image that has strange widths/heights.</dd></dl>
<p>The objects of the plot will appear in the current selection state. If you don't want any selected objects to be painted in their selected look, deselect everything with <a class="el" href="classQCustomPlot.html#a9d4808ab925b003054085246c92a257c">deselectAll</a> before calling this function.</p>
<p>Returns true on success. If this function fails, most likely the BMP format isn't supported by the system, see Qt docs about QImageWriter::supportedImageFormats().</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a632da44c6d94ea8b271eb483b08b5114">savePdf</a>, <a class="el" href="classQCustomPlot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a>, <a class="el" href="classQCustomPlot.html#a490c722092d1771e8ce4a7a73dfd84ab">saveJpg</a>, <a class="el" href="classQCustomPlot.html#ab528b84cf92baabe29b1d0ef2f77c93e">saveRastered</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ab528b84cf92baabe29b1d0ef2f77c93e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCustomPlot::saveRastered </td>
<td>(</td>
<td class="paramtype">const QString & </td>
<td class="paramname"><em>fileName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>scale</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const char * </td>
<td class="paramname"><em>format</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>quality</em> = <code>-1</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Saves the plot to a rastered image file <em>fileName</em> in the image format <em>format</em>. The plot is sized to <em>width</em> and <em>height</em> in pixels and scaled with <em>scale</em>. (width 100 and scale 2.0 lead to a full resolution file with width 200.) If the <em>format</em> supports compression, <em>quality</em> may be between 0 and 100 to control it.</p>
<p>Returns true on success. If this function fails, most likely the given <em>format</em> isn't supported by the system, see Qt docs about QImageWriter::supportedImageFormats().</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a6629d9e8e6da4bf18055ee0257fdce9a">saveBmp</a>, <a class="el" href="classQCustomPlot.html#a490c722092d1771e8ce4a7a73dfd84ab">saveJpg</a>, <a class="el" href="classQCustomPlot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a>, <a class="el" href="classQCustomPlot.html#a632da44c6d94ea8b271eb483b08b5114">savePdf</a> </dd></dl>
</div>
</div>
<a class="anchor" id="aabb974d71ce96c137dc04eb6eab844fe"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QPixmap QCustomPlot::toPixmap </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>scale</em> = <code>1.0</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Renders the plot to a pixmap and returns it.</p>
<p>The plot is sized to <em>width</em> and <em>height</em> in pixels and scaled with <em>scale</em>. (width 100 and scale 2.0 lead to a full resolution pixmap with width 200.)</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a1be68d5c0f1e086d6374d1340a193fb9">toPainter</a>, <a class="el" href="classQCustomPlot.html#ab528b84cf92baabe29b1d0ef2f77c93e">saveRastered</a>, <a class="el" href="classQCustomPlot.html#a6629d9e8e6da4bf18055ee0257fdce9a">saveBmp</a>, <a class="el" href="classQCustomPlot.html#a7636261aff1f6d25c9da749ece3fc8b8">savePng</a>, <a class="el" href="classQCustomPlot.html#a490c722092d1771e8ce4a7a73dfd84ab">saveJpg</a>, <a class="el" href="classQCustomPlot.html#a632da44c6d94ea8b271eb483b08b5114">savePdf</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a1be68d5c0f1e086d6374d1340a193fb9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::toPainter </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPPainter.html">QCPPainter</a> * </td>
<td class="paramname"><em>painter</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>width</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>height</em> = <code>0</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Renders the plot using the passed <em>painter</em>.</p>
<p>The plot is sized to <em>width</em> and <em>height</em> in pixels. If the <em>painter's</em> scale is not 1.0, the resulting plot will appear scaled accordingly.</p>
<dl class="section note"><dt>Note</dt><dd>If you are restricted to using a QPainter (instead of <a class="el" href="classQCPPainter.html" title="QPainter subclass used internally. ">QCPPainter</a>), create a temporary QPicture and open a <a class="el" href="classQCPPainter.html" title="QPainter subclass used internally. ">QCPPainter</a> on it. Then call <a class="el" href="classQCustomPlot.html#a1be68d5c0f1e086d6374d1340a193fb9">toPainter</a> with this <a class="el" href="classQCPPainter.html" title="QPainter subclass used internally. ">QCPPainter</a>. After ending the paint operation on the picture, draw it with the QPainter. This will reproduce the painter actions the <a class="el" href="classQCPPainter.html" title="QPainter subclass used internally. ">QCPPainter</a> took, with a QPainter.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#aabb974d71ce96c137dc04eb6eab844fe">toPixmap</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a606fd384b2a637ce2c24899bcbde77d6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::replot </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCustomPlot.html#a45d61392d13042e712a956d27762aa39">QCustomPlot::RefreshPriority</a> </td>
<td class="paramname"><em>refreshPriority</em> = <code><a class="el" href="classQCustomPlot.html#a45d61392d13042e712a956d27762aa39adfa1f2387617168d9299f4c8ad15b332">QCustomPlot::rpHint</a></code></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Causes a complete replot into the internal buffer. Finally, update() is called, to redraw the buffer 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 surface. This is the method that must be called to make changes, for example on the axis ranges or data points of graphs, visible.</p>
<p>Under a few circumstances, <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> causes a replot by itself. Those are resize events 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> widget and user interactions (object selection and range dragging/zooming).</p>
<p>Before the replot happens, the signal <a class="el" href="classQCustomPlot.html#a0cd30e29b73efd6afe096e44bc5956f5">beforeReplot</a> is emitted. After the replot, <a class="el" href="classQCustomPlot.html#a6f4fa624af060bc5919c5f266cf426a0">afterReplot</a> is emitted. It is safe to mutually connect the replot slot with any of those two signals on two QCustomPlots to make them replot synchronously, it won't cause an infinite recursion. </p>
</div>
</div>
<a class="anchor" id="a9b232142c64fcf273a953ee08e5b90e9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::mouseDoubleClick </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">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when 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> receives a mouse double click event. </p>
</div>
</div>
<a class="anchor" id="aca75bf9afb5dd19349c375de2a87a051"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::mousePress </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">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when 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> receives a mouse press event.</p>
<p>It is emitted before <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> handles any other mechanism like range dragging. So a slot connected to this signal can still influence the behaviour e.g. with <a class="el" href="classQCPAxisRect.html#ae6aef2f7211ba6097c925dcd26008418">QCPAxisRect::setRangeDrag</a> or <a class="el" href="classQCPAxisRect.html#a648cce336bd99daac4a5ca3e5743775d">QCPAxisRect::setRangeDragAxes</a>. </p>
</div>
</div>
<a class="anchor" id="a742ca4f94688bed2a685fd8a56ce5704"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::mouseMove </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">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when 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> receives a mouse move event.</p>
<p>It is emitted before <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> handles any other mechanism like range dragging. So a slot connected to this signal can still influence the behaviour e.g. with <a class="el" href="classQCPAxisRect.html#ae6aef2f7211ba6097c925dcd26008418">QCPAxisRect::setRangeDrag</a> or <a class="el" href="classQCPAxisRect.html#a648cce336bd99daac4a5ca3e5743775d">QCPAxisRect::setRangeDragAxes</a>.</p>
<dl class="section warning"><dt>Warning</dt><dd>It is discouraged to change the drag-axes with <a class="el" href="classQCPAxisRect.html#a648cce336bd99daac4a5ca3e5743775d">QCPAxisRect::setRangeDragAxes</a> here, because the dragging starting point was saved the moment the mouse was pressed. Thus it only has a meaning for the range drag axes that were set at that moment. If you want to change the drag axes, consider doing this in the <a class="el" href="classQCustomPlot.html#aca75bf9afb5dd19349c375de2a87a051">mousePress</a> signal instead. </dd></dl>
</div>
</div>
<a class="anchor" id="ac8dc0ee6bb98e923c00b4ebafbe6134d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::mouseRelease </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">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when 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> receives a mouse release event.</p>
<p>It is emitted before <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> handles any other mechanisms like object selection. So a slot connected to this signal can still influence the behaviour e.g. with <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a> or <a class="el" href="classQCPAbstractPlottable.html#a22c69299eb5569e0f6bf084877a37dc4">QCPAbstractPlottable::setSelectable</a>. </p>
</div>
</div>
<a class="anchor" id="ac80a14206f99304a91d2aa55775ec3ff"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::mouseWheel </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">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when 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> receives a mouse wheel event.</p>
<p>It is emitted before <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> handles any other mechanisms like range zooming. So a slot connected to this signal can still influence the behaviour e.g. with <a class="el" href="classQCPAxisRect.html#a7960a9d222f1c31d558b064b60f86a31">QCPAxisRect::setRangeZoom</a>, <a class="el" href="classQCPAxisRect.html#a9442cca2aa358405f39a64d51eca13d2">QCPAxisRect::setRangeZoomAxes</a> or <a class="el" href="classQCPAxisRect.html#a895d7ac745ea614e04056244b3c138ac">QCPAxisRect::setRangeZoomFactor</a>. </p>
</div>
</div>
<a class="anchor" id="a57e5efa8a854620e9bf62d31fc139f53"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::plottableClick </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> * </td>
<td class="paramname"><em>plottable</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QMouseEvent * </td>
<td class="paramname"><em>event</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when a plottable is clicked.</p>
<p><em>event</em> is the mouse event that caused the click and <em>plottable</em> is the plottable that received the click.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#af2e6f1cea923dae437681d01ce7d0c31">plottableDoubleClick</a> </dd></dl>
</div>
</div>
<a class="anchor" id="af2e6f1cea923dae437681d01ce7d0c31"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::plottableDoubleClick </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> * </td>
<td class="paramname"><em>plottable</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QMouseEvent * </td>
<td class="paramname"><em>event</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when a plottable is double clicked.</p>
<p><em>event</em> is the mouse event that caused the click and <em>plottable</em> is the plottable that received the click.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a57e5efa8a854620e9bf62d31fc139f53">plottableClick</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ae16b51f52d2b7aebbc7e3e74e6ff2e4b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::itemClick </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPAbstractItem.html">QCPAbstractItem</a> * </td>
<td class="paramname"><em>item</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QMouseEvent * </td>
<td class="paramname"><em>event</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when an item is clicked.</p>
<p><em>event</em> is the mouse event that caused the click and <em>item</em> is the item that received the click.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#ac83aa9f5a3e9bb3efc9cdc763dcd42a6">itemDoubleClick</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ac83aa9f5a3e9bb3efc9cdc763dcd42a6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::itemDoubleClick </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPAbstractItem.html">QCPAbstractItem</a> * </td>
<td class="paramname"><em>item</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QMouseEvent * </td>
<td class="paramname"><em>event</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when an item is double clicked.</p>
<p><em>event</em> is the mouse event that caused the click and <em>item</em> is the item that received the click.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#ae16b51f52d2b7aebbc7e3e74e6ff2e4b">itemClick</a> </dd></dl>
</div>
</div>
<a class="anchor" id="abf635f8b56ab5c16d5de9f358543e82b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::axisClick </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPAxis.html">QCPAxis</a> * </td>
<td class="paramname"><em>axis</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classQCPAxis.html#abee4c7a54c468b1385dfce2c898b115f">QCPAxis::SelectablePart</a> </td>
<td class="paramname"><em>part</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QMouseEvent * </td>
<td class="paramname"><em>event</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when an axis is clicked.</p>
<p><em>event</em> is the mouse event that caused the click, <em>axis</em> is the axis that received the click and <em>part</em> indicates the part of the axis that was clicked.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a6df35357460181a72da3e93d600f5256">axisDoubleClick</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a6df35357460181a72da3e93d600f5256"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::axisDoubleClick </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPAxis.html">QCPAxis</a> * </td>
<td class="paramname"><em>axis</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classQCPAxis.html#abee4c7a54c468b1385dfce2c898b115f">QCPAxis::SelectablePart</a> </td>
<td class="paramname"><em>part</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QMouseEvent * </td>
<td class="paramname"><em>event</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when an axis is double clicked.</p>
<p><em>event</em> is the mouse event that caused the click, <em>axis</em> is the axis that received the click and <em>part</em> indicates the part of the axis that was clicked.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#abf635f8b56ab5c16d5de9f358543e82b">axisClick</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a79cff0baafbca10a3aaf694d2d3b9ab3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::legendClick </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPLegend.html">QCPLegend</a> * </td>
<td class="paramname"><em>legend</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classQCPAbstractLegendItem.html">QCPAbstractLegendItem</a> * </td>
<td class="paramname"><em>item</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QMouseEvent * </td>
<td class="paramname"><em>event</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when a legend (item) is clicked.</p>
<p><em>event</em> is the mouse event that caused the click, <em>legend</em> is the legend that received the click and <em>item</em> is the legend item that received the click. If only the legend and no item is clicked, <em>item</em> is 0. This happens for a click inside the legend padding or the space between two items.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a0250f835c044521df1619b132288bca7">legendDoubleClick</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a0250f835c044521df1619b132288bca7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::legendDoubleClick </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPLegend.html">QCPLegend</a> * </td>
<td class="paramname"><em>legend</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classQCPAbstractLegendItem.html">QCPAbstractLegendItem</a> * </td>
<td class="paramname"><em>item</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QMouseEvent * </td>
<td class="paramname"><em>event</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when a legend (item) is double clicked.</p>
<p><em>event</em> is the mouse event that caused the click, <em>legend</em> is the legend that received the click and <em>item</em> is the legend item that received the click. If only the legend and no item is clicked, <em>item</em> is 0. This happens for a click inside the legend padding or the space between two items.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a79cff0baafbca10a3aaf694d2d3b9ab3">legendClick</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a2137a819e518fee7edd1c0bf5984d8d6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::titleClick </td>
<td>(</td>
<td class="paramtype">QMouseEvent * </td>
<td class="paramname"><em>event</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classQCPPlotTitle.html">QCPPlotTitle</a> * </td>
<td class="paramname"><em>title</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when a plot title is clicked.</p>
<p><em>event</em> is the mouse event that caused the click and <em>title</em> is the plot title that received the click.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#ad51d65f6abf5edfaeef6e0519a4c1a2f">titleDoubleClick</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ad51d65f6abf5edfaeef6e0519a4c1a2f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::titleDoubleClick </td>
<td>(</td>
<td class="paramtype">QMouseEvent * </td>
<td class="paramname"><em>event</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classQCPPlotTitle.html">QCPPlotTitle</a> * </td>
<td class="paramname"><em>title</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted when a plot title is double clicked.</p>
<p><em>event</em> is the mouse event that caused the click and <em>title</em> is the plot title that received the click.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a2137a819e518fee7edd1c0bf5984d8d6">titleClick</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a500c64a109bc773c973ad274f2fa4190"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::selectionChangedByUser </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted after the user has changed the selection in 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>, e.g. by clicking. It is not emitted when the selection state of an object has changed programmatically by a direct call to setSelected() on an object or by calling <a class="el" href="classQCustomPlot.html#a9d4808ab925b003054085246c92a257c">deselectAll</a>.</p>
<p>In addition to this signal, selectable objects also provide individual signals, for example <a class="el" href="classQCPAxis.html#a62b598abeee7174a05f9d542cc85b1f5">QCPAxis::selectionChanged</a> or <a class="el" href="classQCPAbstractPlottable.html#a3af66432b1dca93b28e00e78a8c7c1d9">QCPAbstractPlottable::selectionChanged</a>. Note that those signals are emitted even if the selection state is changed programmatically.</p>
<p>See the documentation of <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a> for details about the selection mechanism.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a6721b8c689bb7f2f400987e580508fe8">selectedPlottables</a>, <a class="el" href="classQCustomPlot.html#ad2a0493bdd01e7aa99a4209ae3a5b67b">selectedGraphs</a>, <a class="el" href="classQCustomPlot.html#a1a48b13547e2d9ac5cd6927516f47a2e">selectedItems</a>, <a class="el" href="classQCustomPlot.html#aa6baf867e8beb96ed5bd471f83ece903">selectedAxes</a>, <a class="el" href="classQCustomPlot.html#a1ea6297300c3e2770e65f95836411755">selectedLegends</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a0cd30e29b73efd6afe096e44bc5956f5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::beforeReplot </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted immediately before a replot takes place (caused by a call to the slot <a class="el" href="classQCustomPlot.html#a606fd384b2a637ce2c24899bcbde77d6">replot</a>).</p>
<p>It is safe to mutually connect the replot slot with this signal on two QCustomPlots to make them replot synchronously, it won't cause an infinite recursion.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a606fd384b2a637ce2c24899bcbde77d6">replot</a>, <a class="el" href="classQCustomPlot.html#a6f4fa624af060bc5919c5f266cf426a0">afterReplot</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a6f4fa624af060bc5919c5f266cf426a0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::afterReplot </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">signal</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This signal is emitted immediately after a replot has taken place (caused by a call to the slot <a class="el" href="classQCustomPlot.html#a606fd384b2a637ce2c24899bcbde77d6">replot</a>).</p>
<p>It is safe to mutually connect the replot slot with this signal on two QCustomPlots to make them replot synchronously, it won't cause an infinite recursion.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a606fd384b2a637ce2c24899bcbde77d6">replot</a>, <a class="el" href="classQCustomPlot.html#a0cd30e29b73efd6afe096e44bc5956f5">beforeReplot</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a4904f06d831afae29cd5d10e889388c3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QSize QCustomPlot::minimumSizeHint </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">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a minimum size hint that corresponds to the minimum size of the top level layout (<a class="el" href="classQCustomPlot.html#afd280d4d621ae64a106543a545c508d7">plotLayout</a>). To prevent <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> from being collapsed to size/width zero, set a minimum size (setMinimumSize) either on the whole <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> or on any layout elements inside the plot. This is especially important, when placed in a QLayout where other components try to take in as much space as possible (e.g. QMdiArea). </p>
</div>
</div>
<a class="anchor" id="a21d84d299c3651ec36d11a7826274a3c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QSize QCustomPlot::sizeHint </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">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a size hint that is the same as <a class="el" href="classQCustomPlot.html#a4904f06d831afae29cd5d10e889388c3">minimumSizeHint</a>. </p>
</div>
</div>
<a class="anchor" id="a2bbc3b1c24bfcc8a7cc1f3008cdd9b73"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::paintEvent </td>
<td>(</td>
<td class="paramtype">QPaintEvent * </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 <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 needs repainting. This does not cause a <a class="el" href="classQCustomPlot.html#a606fd384b2a637ce2c24899bcbde77d6">replot</a>, but draws the internal buffer on the widget surface. </p>
</div>
</div>
<a class="anchor" id="a13e05523a40c3f08875df5cde85cf0d9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::resizeEvent </td>
<td>(</td>
<td class="paramtype">QResizeEvent * </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 a resize 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> widget. Causes the internal buffer to be resized to the new size. The viewport (which becomes the outer rect of mPlotLayout) is resized appropriately. Finally a <a class="el" href="classQCustomPlot.html#a606fd384b2a637ce2c24899bcbde77d6">replot</a> is performed. </p>
</div>
</div>
<a class="anchor" id="a77591913a5b543bdc465dd5e08325a49"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::mouseDoubleClickEvent </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 double click occurs. Emits the <a class="el" href="classQCustomPlot.html#a9b232142c64fcf273a953ee08e5b90e9">mouseDoubleClick</a> signal, then emits the specialized signals when certain objecs are clicked (e.g. <a class="el" href="classQCustomPlot.html#af2e6f1cea923dae437681d01ce7d0c31">plottableDoubleClick</a>, <a class="el" href="classQCustomPlot.html#a6df35357460181a72da3e93d600f5256">axisDoubleClick</a>, etc.). Finally determines the affected layout element and forwards the event to it.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#abce84fa2c71e47b9295d67e8fce84bb4">mousePressEvent</a>, <a class="el" href="classQCustomPlot.html#a724e97d2e8c03e68adac5f4b6164a1b3">mouseReleaseEvent</a> </dd></dl>
</div>
</div>
<a class="anchor" id="abce84fa2c71e47b9295d67e8fce84bb4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::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. Emits the mousePress signal. Then determines the affected layout element and forwards the event to it.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#ac64727a4f442770f6e5e6be2d0530843">mouseMoveEvent</a>, <a class="el" href="classQCustomPlot.html#a724e97d2e8c03e68adac5f4b6164a1b3">mouseReleaseEvent</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ac64727a4f442770f6e5e6be2d0530843"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::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 cursor is moved. Emits the <a class="el" href="classQCustomPlot.html#a742ca4f94688bed2a685fd8a56ce5704">mouseMove</a> signal.</p>
<p>If a layout element has mouse capture focus (a mousePressEvent happened on top of the layout element before), the mouseMoveEvent is forwarded to that element.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#abce84fa2c71e47b9295d67e8fce84bb4">mousePressEvent</a>, <a class="el" href="classQCustomPlot.html#a724e97d2e8c03e68adac5f4b6164a1b3">mouseReleaseEvent</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a724e97d2e8c03e68adac5f4b6164a1b3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::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>Event handler for when a mouse button is released. Emits the <a class="el" href="classQCustomPlot.html#ac8dc0ee6bb98e923c00b4ebafbe6134d">mouseRelease</a> signal.</p>
<p>If the mouse was moved less than a certain threshold in any direction since the <a class="el" href="classQCustomPlot.html#abce84fa2c71e47b9295d67e8fce84bb4">mousePressEvent</a>, it is considered a click which causes the selection mechanism (if activated via <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">setInteractions</a>) to possibly change selection states accordingly. Further, specialized mouse click signals are emitted (e.g. <a class="el" href="classQCustomPlot.html#a57e5efa8a854620e9bf62d31fc139f53">plottableClick</a>, <a class="el" href="classQCustomPlot.html#abf635f8b56ab5c16d5de9f358543e82b">axisClick</a>, etc.)</p>
<p>If a layout element has mouse capture focus (a <a class="el" href="classQCustomPlot.html#abce84fa2c71e47b9295d67e8fce84bb4">mousePressEvent</a> happened on top of the layout element before), the <a class="el" href="classQCustomPlot.html#a724e97d2e8c03e68adac5f4b6164a1b3">mouseReleaseEvent</a> is forwarded to that element.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#abce84fa2c71e47b9295d67e8fce84bb4">mousePressEvent</a>, <a class="el" href="classQCustomPlot.html#ac64727a4f442770f6e5e6be2d0530843">mouseMoveEvent</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a7b8bd7e8d3a1d23a8595e9c6a6b76ef1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::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. First, the <a class="el" href="classQCustomPlot.html#ac80a14206f99304a91d2aa55775ec3ff">mouseWheel</a> signal is emitted. Then determines the affected layout element and forwards the event to it. </p>
</div>
</div>
<a class="anchor" id="ad7a7d878bf050f101a43008e7d8fdb52"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::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 is the main draw function. It draws the entire plot, including background pixmap, with the specified <em>painter</em>. Note that it does not fill the background with the background brush (as the user may specify with <a class="el" href="classQCustomPlot.html#a8ed256cf467bfa7ba1f9feaae62c3bd0">setBackground(const QBrush &brush)</a>), this is up to the respective functions calling this method (e.g. <a class="el" href="classQCustomPlot.html#a606fd384b2a637ce2c24899bcbde77d6">replot</a>, <a class="el" href="classQCustomPlot.html#aabb974d71ce96c137dc04eb6eab844fe">toPixmap</a> and <a class="el" href="classQCustomPlot.html#a1be68d5c0f1e086d6374d1340a193fb9">toPainter</a>). </p>
</div>
</div>
<a class="anchor" id="a8b46607021c463c94709d3504951cb47"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::axisRemoved </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>
</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 method is used by <a class="el" href="classQCPAxisRect.html#a03c39cd9704f0d36fb6cf980cdddcbaa">QCPAxisRect::removeAxis</a> to report removed axes to 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> so it may clear its <a class="el" href="classQCustomPlot.html#a9a79cd0158a4c7f30cbc702f0fd800e4">QCustomPlot::xAxis</a>, yAxis, xAxis2 and yAxis2 members accordingly. </p>
</div>
</div>
<a class="anchor" id="a9d173454555021c9ffd4f675c4d9037a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::legendRemoved </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPLegend.html">QCPLegend</a> * </td>
<td class="paramname"><em>legend</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 method is used by the <a class="el" href="classQCPLegend.html" title="Manages a legend inside a QCustomPlot. ">QCPLegend</a> destructor to report legend removal to 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> so it may clear its <a class="el" href="classQCustomPlot.html#a4eadcd237dc6a09938b68b16877fa6af">QCustomPlot::legend</a> member accordingly. </p>
</div>
</div>
<a class="anchor" id="a3117754df3a5638787a6223c7147970f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::updateLayerIndices </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">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Assigns all layers their index (QCPLayer::mIndex) in the mLayers list. This method is thus called after every operation that changes the layer indices, like layer removal, layer creation, layer moving. </p>
</div>
</div>
<a class="anchor" id="a3fffd1d8364f657482ae985e0b5aa028"></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="classQCPLayerable.html">QCPLayerable</a> * QCustomPlot::layerableAt </td>
<td>(</td>
<td class="paramtype">const QPointF & </td>
<td class="paramname"><em>pos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>onlySelectable</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">QVariant * </td>
<td class="paramname"><em>selectionDetails</em> = <code>0</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</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>Returns the layerable at pixel position <em>pos</em>. If <em>onlySelectable</em> is set to true, only those layerables that are selectable will be considered. (Layerable subclasses communicate their selectability via the <a class="el" href="classQCPLayerable.html#a4001c4d0dfec55598efa4d531f2179a9">QCPLayerable::selectTest</a> method, by returning -1.)</p>
<p><em>selectionDetails</em> is an output parameter that contains selection specifics of the affected layerable. This is useful if the respective layerable shall be given a subsequent <a class="el" href="classQCPLayerable.html#a7498c2d0d081cf7cad0fb3bb93aa0e91">QCPLayerable::selectEvent</a> (like in <a class="el" href="classQCustomPlot.html#a724e97d2e8c03e68adac5f4b6164a1b3">mouseReleaseEvent</a>). <em>selectionDetails</em> usually contains information about which part of the layerable was hit, in multi-part layerables (e.g. <a class="el" href="classQCPAxis.html#abee4c7a54c468b1385dfce2c898b115f">QCPAxis::SelectablePart</a>). </p>
</div>
</div>
<a class="anchor" id="a05dd52438cee4353b18c1e53a439008d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCustomPlot::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 viewport background pixmap of the plot.</p>
<p>If a pixmap was provided via <a class="el" href="classQCustomPlot.html#a130358592cfca353ff3cf5571b49fb00">setBackground</a>, this function buffers the scaled version depending on <a class="el" href="classQCustomPlot.html#a36f0fa1317325dc7b7efea615ee2de1f">setBackgroundScaled</a> and <a class="el" href="classQCustomPlot.html#a4c0eb4865b7949f62e1cb97db04a3de0">setBackgroundScaledMode</a> and then draws it inside the viewport 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 dependent on the <a class="el" href="classQCustomPlot.html#a4c0eb4865b7949f62e1cb97db04a3de0">setBackgroundScaledMode</a>), or when a differend axis background pixmap was set.</p>
<p>Note that this function does not draw a fill with the background brush (<a class="el" href="classQCustomPlot.html#a130358592cfca353ff3cf5571b49fb00">setBackground</a>(const QBrush &brush)) beneath the pixmap.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classQCustomPlot.html#a130358592cfca353ff3cf5571b49fb00">setBackground</a>, <a class="el" href="classQCustomPlot.html#a36f0fa1317325dc7b7efea615ee2de1f">setBackgroundScaled</a>, <a class="el" href="classQCustomPlot.html#a4c0eb4865b7949f62e1cb97db04a3de0">setBackgroundScaledMode</a> </dd></dl>
</div>
</div>
<h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a9a79cd0158a4c7f30cbc702f0fd800e4"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPAxis.html">QCPAxis</a> * QCustomPlot::xAxis</td>
</tr>
</table>
</div><div class="memdoc">
<p>A pointer to the primary x Axis (bottom) of the main axis rect of the plot.</p>
<p><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> offers convenient pointers to the axes (<a class="el" href="classQCustomPlot.html#a9a79cd0158a4c7f30cbc702f0fd800e4">xAxis</a>, <a class="el" href="classQCustomPlot.html#af6fea5679725b152c14facd920b19367">yAxis</a>, <a class="el" href="classQCustomPlot.html#ada41599f22cad901c030f3dcbdd82fd9">xAxis2</a>, <a class="el" href="classQCustomPlot.html#af13fdc5bce7d0fabd640f13ba805c0b7">yAxis2</a>) and the <a class="el" href="classQCustomPlot.html#a4eadcd237dc6a09938b68b16877fa6af">legend</a>. They make it very easy working with plots that only have a single axis rect and at most one axis at each axis rect side. If you use <a class="el" href="thelayoutsystem.html">the layout system</a> to add multiple axis rects or multiple axes to one side, use the <a class="el" href="classQCPAxisRect.html#a560de44e47a4af0f86c59102a094b1e4">QCPAxisRect::axis</a> interface to access the new axes. If one of the four default axes or the default legend is removed due to manipulation of the layout system (e.g. by removing the main axis rect), the corresponding pointers become 0. </p>
</div>
</div>
<a class="anchor" id="af6fea5679725b152c14facd920b19367"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPAxis.html">QCPAxis</a> * QCustomPlot::yAxis</td>
</tr>
</table>
</div><div class="memdoc">
<p>A pointer to the primary y Axis (left) of the main axis rect of the plot.</p>
<p><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> offers convenient pointers to the axes (<a class="el" href="classQCustomPlot.html#a9a79cd0158a4c7f30cbc702f0fd800e4">xAxis</a>, <a class="el" href="classQCustomPlot.html#af6fea5679725b152c14facd920b19367">yAxis</a>, <a class="el" href="classQCustomPlot.html#ada41599f22cad901c030f3dcbdd82fd9">xAxis2</a>, <a class="el" href="classQCustomPlot.html#af13fdc5bce7d0fabd640f13ba805c0b7">yAxis2</a>) and the <a class="el" href="classQCustomPlot.html#a4eadcd237dc6a09938b68b16877fa6af">legend</a>. They make it very easy working with plots that only have a single axis rect and at most one axis at each axis rect side. If you use <a class="el" href="thelayoutsystem.html">the layout system</a> to add multiple axis rects or multiple axes to one side, use the <a class="el" href="classQCPAxisRect.html#a560de44e47a4af0f86c59102a094b1e4">QCPAxisRect::axis</a> interface to access the new axes. If one of the four default axes or the default legend is removed due to manipulation of the layout system (e.g. by removing the main axis rect), the corresponding pointers become 0. </p>
</div>
</div>
<a class="anchor" id="ada41599f22cad901c030f3dcbdd82fd9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPAxis.html">QCPAxis</a> * QCustomPlot::xAxis2</td>
</tr>
</table>
</div><div class="memdoc">
<p>A pointer to the secondary x Axis (top) of the main axis rect of the plot. Secondary axes are invisible by default. Use <a class="el" href="classQCPLayerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">QCPAxis::setVisible</a> to change this (or use <a class="el" href="classQCPAxisRect.html#a5fa906175447b14206954f77fc7f1ef4">QCPAxisRect::setupFullAxesBox</a>).</p>
<p><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> offers convenient pointers to the axes (<a class="el" href="classQCustomPlot.html#a9a79cd0158a4c7f30cbc702f0fd800e4">xAxis</a>, <a class="el" href="classQCustomPlot.html#af6fea5679725b152c14facd920b19367">yAxis</a>, <a class="el" href="classQCustomPlot.html#ada41599f22cad901c030f3dcbdd82fd9">xAxis2</a>, <a class="el" href="classQCustomPlot.html#af13fdc5bce7d0fabd640f13ba805c0b7">yAxis2</a>) and the <a class="el" href="classQCustomPlot.html#a4eadcd237dc6a09938b68b16877fa6af">legend</a>. They make it very easy working with plots that only have a single axis rect and at most one axis at each axis rect side. If you use <a class="el" href="thelayoutsystem.html">the layout system</a> to add multiple axis rects or multiple axes to one side, use the <a class="el" href="classQCPAxisRect.html#a560de44e47a4af0f86c59102a094b1e4">QCPAxisRect::axis</a> interface to access the new axes. If one of the four default axes or the default legend is removed due to manipulation of the layout system (e.g. by removing the main axis rect), the corresponding pointers become 0. </p>
</div>
</div>
<a class="anchor" id="af13fdc5bce7d0fabd640f13ba805c0b7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPAxis.html">QCPAxis</a> * QCustomPlot::yAxis2</td>
</tr>
</table>
</div><div class="memdoc">
<p>A pointer to the secondary y Axis (right) of the main axis rect of the plot. Secondary axes are invisible by default. Use <a class="el" href="classQCPLayerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">QCPAxis::setVisible</a> to change this (or use <a class="el" href="classQCPAxisRect.html#a5fa906175447b14206954f77fc7f1ef4">QCPAxisRect::setupFullAxesBox</a>).</p>
<p><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> offers convenient pointers to the axes (<a class="el" href="classQCustomPlot.html#a9a79cd0158a4c7f30cbc702f0fd800e4">xAxis</a>, <a class="el" href="classQCustomPlot.html#af6fea5679725b152c14facd920b19367">yAxis</a>, <a class="el" href="classQCustomPlot.html#ada41599f22cad901c030f3dcbdd82fd9">xAxis2</a>, <a class="el" href="classQCustomPlot.html#af13fdc5bce7d0fabd640f13ba805c0b7">yAxis2</a>) and the <a class="el" href="classQCustomPlot.html#a4eadcd237dc6a09938b68b16877fa6af">legend</a>. They make it very easy working with plots that only have a single axis rect and at most one axis at each axis rect side. If you use <a class="el" href="thelayoutsystem.html">the layout system</a> to add multiple axis rects or multiple axes to one side, use the <a class="el" href="classQCPAxisRect.html#a560de44e47a4af0f86c59102a094b1e4">QCPAxisRect::axis</a> interface to access the new axes. If one of the four default axes or the default legend is removed due to manipulation of the layout system (e.g. by removing the main axis rect), the corresponding pointers become 0. </p>
</div>
</div>
<a class="anchor" id="a4eadcd237dc6a09938b68b16877fa6af"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPLegend.html">QCPLegend</a> * QCustomPlot::legend</td>
</tr>
</table>
</div><div class="memdoc">
<p>A pointer to the default legend of the main axis rect. The legend is invisible by default. Use <a class="el" href="classQCPLayerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">QCPLegend::setVisible</a> to change this.</p>
<p><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> offers convenient pointers to the axes (<a class="el" href="classQCustomPlot.html#a9a79cd0158a4c7f30cbc702f0fd800e4">xAxis</a>, <a class="el" href="classQCustomPlot.html#af6fea5679725b152c14facd920b19367">yAxis</a>, <a class="el" href="classQCustomPlot.html#ada41599f22cad901c030f3dcbdd82fd9">xAxis2</a>, <a class="el" href="classQCustomPlot.html#af13fdc5bce7d0fabd640f13ba805c0b7">yAxis2</a>) and the <a class="el" href="classQCustomPlot.html#a4eadcd237dc6a09938b68b16877fa6af">legend</a>. They make it very easy working with plots that only have a single axis rect and at most one axis at each axis rect side. If you use <a class="el" href="thelayoutsystem.html">the layout system</a> to add multiple legends to the plot, use the layout system interface to access the new legend. For example, legends can be placed inside an axis rect's <a class="el" href="classQCPAxisRect.html#a4114887c7141b59650b7488f930993e5">inset layout</a>, and must then also be accessed via the inset layout. If the default legend is removed due to manipulation of the layout system (e.g. by removing the main axis rect), the corresponding pointer becomes 0. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/core.h</li>
<li>src/<a class="el" href="core_8cpp.html">core.cpp</a></li>
</ul>
</div><!-- contents -->
</body>
</html>
|