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
|
<!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) 2011-2016 Emanuel Eichhammer" />
<title>QCPLegend Class Reference</title>
<link href="qcp.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.12 -->
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> |
<a href="#pub-methods">Public Functions</a> |
<a href="#signals">Signals</a> |
<a href="#pro-methods">Protected Functions</a> </div>
<div class="headertitle">
<div class="title">QCPLegend Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Manages a legend inside 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>.
<a href="classQCPLegend.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for QCPLegend:</div>
<div class="dyncontent">
<div class="center"><img src="classQCPLegend__inherit__graph.png" border="0" usemap="#QCPLegend_inherit__map" alt="Inheritance graph"/></div>
<map name="QCPLegend_inherit__map" id="QCPLegend_inherit__map">
<area shape="rect" id="node2" href="classQCPLayoutGrid.html" title="A layout that arranges child elements in a grid. " alt="" coords="16,221,123,245"/>
<area shape="rect" id="node3" href="classQCPLayout.html" title="The abstract base class for layouts. " alt="" coords="28,149,109,173"/>
<area shape="rect" id="node4" href="classQCPLayoutElement.html" title="The abstract base class for all objects that form the layout system. " alt="" coords="5,77,133,101"/>
<area shape="rect" id="node5" href="classQCPLayerable.html" title="Base class for all drawable objects. " alt="" coords="19,5,120,29"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a5404de8bc1e4a994ca4ae69e2c7072f1"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a5404de8bc1e4a994ca4ae69e2c7072f1">SelectablePart</a> </td></tr>
<tr class="separator:a5404de8bc1e4a994ca4ae69e2c7072f1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_types_classQCPLayoutGrid"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classQCPLayoutGrid')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classQCPLayoutGrid.html">QCPLayoutGrid</a></td></tr>
<tr class="memitem:a7d49ee08773de6b2fd246edfed353cca inherit pub_types_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#a7d49ee08773de6b2fd246edfed353cca">FillOrder</a> </td></tr>
<tr class="separator:a7d49ee08773de6b2fd246edfed353cca inherit pub_types_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_types_classQCPLayoutElement"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classQCPLayoutElement')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a></td></tr>
<tr class="memitem:a0d83360e05735735aaf6d7983c56374d inherit pub_types_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a0d83360e05735735aaf6d7983c56374d">UpdatePhase</a> </td></tr>
<tr class="separator:a0d83360e05735735aaf6d7983c56374d inherit pub_types_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0afb3e5773529e4bd20e448f81be4d2a inherit pub_types_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a0afb3e5773529e4bd20e448f81be4d2a">SizeConstraintRect</a> </td></tr>
<tr class="separator:a0afb3e5773529e4bd20e448f81be4d2a inherit pub_types_classQCPLayoutElement"><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:a0001a456989bd07ea378883651fabd72"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a0001a456989bd07ea378883651fabd72">QCPLegend</a> ()</td></tr>
<tr class="separator:a0001a456989bd07ea378883651fabd72"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a844b709a5632313416655f931c8e5631"><td class="memItemLeft" align="right" valign="top"><a id="a844b709a5632313416655f931c8e5631"></a>
QPen </td><td class="memItemRight" valign="bottom"><b>borderPen</b> () const</td></tr>
<tr class="separator:a844b709a5632313416655f931c8e5631"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaddafd5cbe9175512311350bb3b563e6"><td class="memItemLeft" align="right" valign="top"><a id="aaddafd5cbe9175512311350bb3b563e6"></a>
QBrush </td><td class="memItemRight" valign="bottom"><b>brush</b> () const</td></tr>
<tr class="separator:aaddafd5cbe9175512311350bb3b563e6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae240104de3c3a4cfc0834dbaffa07ac9"><td class="memItemLeft" align="right" valign="top"><a id="ae240104de3c3a4cfc0834dbaffa07ac9"></a>
QFont </td><td class="memItemRight" valign="bottom"><b>font</b> () const</td></tr>
<tr class="separator:ae240104de3c3a4cfc0834dbaffa07ac9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa96d8f1a183ec2be8c0461c0abebd6db"><td class="memItemLeft" align="right" valign="top"><a id="aa96d8f1a183ec2be8c0461c0abebd6db"></a>
QColor </td><td class="memItemRight" valign="bottom"><b>textColor</b> () const</td></tr>
<tr class="separator:aa96d8f1a183ec2be8c0461c0abebd6db"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae4f17a186558c82d2ba269f6e7164dda"><td class="memItemLeft" align="right" valign="top"><a id="ae4f17a186558c82d2ba269f6e7164dda"></a>
QSize </td><td class="memItemRight" valign="bottom"><b>iconSize</b> () const</td></tr>
<tr class="separator:ae4f17a186558c82d2ba269f6e7164dda"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a19668bb7f8fafe20d367cebf96269eaf"><td class="memItemLeft" align="right" valign="top"><a id="a19668bb7f8fafe20d367cebf96269eaf"></a>
int </td><td class="memItemRight" valign="bottom"><b>iconTextPadding</b> () const</td></tr>
<tr class="separator:a19668bb7f8fafe20d367cebf96269eaf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5b91d2ea68a4dd20238f660b80cd9945"><td class="memItemLeft" align="right" valign="top"><a id="a5b91d2ea68a4dd20238f660b80cd9945"></a>
QPen </td><td class="memItemRight" valign="bottom"><b>iconBorderPen</b> () const</td></tr>
<tr class="separator:a5b91d2ea68a4dd20238f660b80cd9945"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad091ff5e11edbe0adecba81c35522ac7"><td class="memItemLeft" align="right" valign="top"><a id="ad091ff5e11edbe0adecba81c35522ac7"></a>
SelectableParts </td><td class="memItemRight" valign="bottom"><b>selectableParts</b> () const</td></tr>
<tr class="separator:ad091ff5e11edbe0adecba81c35522ac7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3efbf879f6936ec337690985e567dc6f"><td class="memItemLeft" align="right" valign="top"><a id="a3efbf879f6936ec337690985e567dc6f"></a>
SelectableParts </td><td class="memItemRight" valign="bottom"><b>selectedParts</b> () const</td></tr>
<tr class="separator:a3efbf879f6936ec337690985e567dc6f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:add8204bf083c82cc5def29093501a017"><td class="memItemLeft" align="right" valign="top"><a id="add8204bf083c82cc5def29093501a017"></a>
QPen </td><td class="memItemRight" valign="bottom"><b>selectedBorderPen</b> () const</td></tr>
<tr class="separator:add8204bf083c82cc5def29093501a017"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad8eb320ca3a25928982a65163e8f883b"><td class="memItemLeft" align="right" valign="top"><a id="ad8eb320ca3a25928982a65163e8f883b"></a>
QPen </td><td class="memItemRight" valign="bottom"><b>selectedIconBorderPen</b> () const</td></tr>
<tr class="separator:ad8eb320ca3a25928982a65163e8f883b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a77dfa9340f68ca195f1817a93db09757"><td class="memItemLeft" align="right" valign="top"><a id="a77dfa9340f68ca195f1817a93db09757"></a>
QBrush </td><td class="memItemRight" valign="bottom"><b>selectedBrush</b> () const</td></tr>
<tr class="separator:a77dfa9340f68ca195f1817a93db09757"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a483ffd35d64710a165da87b9d9f11110"><td class="memItemLeft" align="right" valign="top"><a id="a483ffd35d64710a165da87b9d9f11110"></a>
QFont </td><td class="memItemRight" valign="bottom"><b>selectedFont</b> () const</td></tr>
<tr class="separator:a483ffd35d64710a165da87b9d9f11110"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab9b469b27787bfb2ce6c8978a31821af"><td class="memItemLeft" align="right" valign="top"><a id="ab9b469b27787bfb2ce6c8978a31821af"></a>
QColor </td><td class="memItemRight" valign="bottom"><b>selectedTextColor</b> () const</td></tr>
<tr class="separator:ab9b469b27787bfb2ce6c8978a31821af"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a866a9e3f5267de7430a6c7f26a61db9f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a866a9e3f5267de7430a6c7f26a61db9f">setBorderPen</a> (const QPen &pen)</td></tr>
<tr class="separator:a866a9e3f5267de7430a6c7f26a61db9f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a497bbcd38baa3598c08e2b3f48103f23"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a497bbcd38baa3598c08e2b3f48103f23">setBrush</a> (const QBrush &brush)</td></tr>
<tr class="separator:a497bbcd38baa3598c08e2b3f48103f23"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa4cda8499e3cb0f3be415edc02984c73"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#aa4cda8499e3cb0f3be415edc02984c73">setFont</a> (const QFont &font)</td></tr>
<tr class="separator:aa4cda8499e3cb0f3be415edc02984c73"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae1eb239ff4a4632fe1b6c3e668d845c6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#ae1eb239ff4a4632fe1b6c3e668d845c6">setTextColor</a> (const QColor &color)</td></tr>
<tr class="separator:ae1eb239ff4a4632fe1b6c3e668d845c6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8b0740cce488bf7010da6beda6898984"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a8b0740cce488bf7010da6beda6898984">setIconSize</a> (const QSize &size)</td></tr>
<tr class="separator:a8b0740cce488bf7010da6beda6898984"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a96b1a37fd4ee6a9778e6e54fe56ab6c2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a96b1a37fd4ee6a9778e6e54fe56ab6c2">setIconSize</a> (int width, int height)</td></tr>
<tr class="separator:a96b1a37fd4ee6a9778e6e54fe56ab6c2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a62973bd69d5155e8ea3141366e8968f6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a62973bd69d5155e8ea3141366e8968f6">setIconTextPadding</a> (int padding)</td></tr>
<tr class="separator:a62973bd69d5155e8ea3141366e8968f6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2f2c93d18a651f4ff294bb3f026f49b8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a2f2c93d18a651f4ff294bb3f026f49b8">setIconBorderPen</a> (const QPen &pen)</td></tr>
<tr class="separator:a2f2c93d18a651f4ff294bb3f026f49b8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9ce60aa8bbd89f62ae4fa83ac6c60110"><td class="memItemLeft" align="right" valign="top">Q_SLOT void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a9ce60aa8bbd89f62ae4fa83ac6c60110">setSelectableParts</a> (const SelectableParts &selectableParts)</td></tr>
<tr class="separator:a9ce60aa8bbd89f62ae4fa83ac6c60110"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2aee309bb5c2a794b1987f3fc97f8ad8"><td class="memItemLeft" align="right" valign="top">Q_SLOT void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a2aee309bb5c2a794b1987f3fc97f8ad8">setSelectedParts</a> (const SelectableParts &selectedParts)</td></tr>
<tr class="separator:a2aee309bb5c2a794b1987f3fc97f8ad8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2c35d262953a25d96b6112653fbefc88"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a2c35d262953a25d96b6112653fbefc88">setSelectedBorderPen</a> (const QPen &pen)</td></tr>
<tr class="separator:a2c35d262953a25d96b6112653fbefc88"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ade93aabe9bcccaf9cf46cec22c658027"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#ade93aabe9bcccaf9cf46cec22c658027">setSelectedIconBorderPen</a> (const QPen &pen)</td></tr>
<tr class="separator:ade93aabe9bcccaf9cf46cec22c658027"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a875227f3219c9799464631dec5e8f1bd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a875227f3219c9799464631dec5e8f1bd">setSelectedBrush</a> (const QBrush &brush)</td></tr>
<tr class="separator:a875227f3219c9799464631dec5e8f1bd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab580a01c3c0a239374ed66c29edf5ad2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#ab580a01c3c0a239374ed66c29edf5ad2">setSelectedFont</a> (const QFont &font)</td></tr>
<tr class="separator:ab580a01c3c0a239374ed66c29edf5ad2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7674dfc7a1f30e1abd1018c0ed45e0bc"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a7674dfc7a1f30e1abd1018c0ed45e0bc">setSelectedTextColor</a> (const QColor &color)</td></tr>
<tr class="separator:a7674dfc7a1f30e1abd1018c0ed45e0bc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acd7be544c81324e391cfa6be9c413c01"><td class="memItemLeft" align="right" valign="top">virtual double </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#acd7be544c81324e391cfa6be9c413c01">selectTest</a> (const QPointF &pos, bool onlySelectable, QVariant *details=0) const</td></tr>
<tr class="separator:acd7be544c81324e391cfa6be9c413c01"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acfe9694c45104a3359d3806ed366fcf7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPAbstractLegendItem.html">QCPAbstractLegendItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#acfe9694c45104a3359d3806ed366fcf7">item</a> (int index) const</td></tr>
<tr class="separator:acfe9694c45104a3359d3806ed366fcf7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a91e790002d8bf15a20628a8e8841e397"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPPlottableLegendItem.html">QCPPlottableLegendItem</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a91e790002d8bf15a20628a8e8841e397">itemWithPlottable</a> (const <a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> *plottable) const</td></tr>
<tr class="separator:a91e790002d8bf15a20628a8e8841e397"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a57ab86ab8b2a3762d4c1455eb5452c88"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a57ab86ab8b2a3762d4c1455eb5452c88">itemCount</a> () const</td></tr>
<tr class="separator:a57ab86ab8b2a3762d4c1455eb5452c88"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad0f698e33db454a6c103b5206740e599"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#ad0f698e33db454a6c103b5206740e599">hasItem</a> (<a class="el" href="classQCPAbstractLegendItem.html">QCPAbstractLegendItem</a> *<a class="el" href="classQCPLegend.html#acfe9694c45104a3359d3806ed366fcf7">item</a>) const</td></tr>
<tr class="separator:ad0f698e33db454a6c103b5206740e599"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4b90a442af871582df85c2bc13f91e88"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a4b90a442af871582df85c2bc13f91e88">hasItemWithPlottable</a> (const <a class="el" href="classQCPAbstractPlottable.html">QCPAbstractPlottable</a> *plottable) const</td></tr>
<tr class="separator:a4b90a442af871582df85c2bc13f91e88"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3ab274de52d2951faea45a6d975e6b3f"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a3ab274de52d2951faea45a6d975e6b3f">addItem</a> (<a class="el" href="classQCPAbstractLegendItem.html">QCPAbstractLegendItem</a> *<a class="el" href="classQCPLegend.html#acfe9694c45104a3359d3806ed366fcf7">item</a>)</td></tr>
<tr class="separator:a3ab274de52d2951faea45a6d975e6b3f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac91595c3eaa746fe6321d2eb952c63bb"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#ac91595c3eaa746fe6321d2eb952c63bb">removeItem</a> (int index)</td></tr>
<tr class="separator:ac91595c3eaa746fe6321d2eb952c63bb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2aea4ec6da2d454dd0b241a254d65082"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a2aea4ec6da2d454dd0b241a254d65082">removeItem</a> (<a class="el" href="classQCPAbstractLegendItem.html">QCPAbstractLegendItem</a> *<a class="el" href="classQCPLegend.html#acfe9694c45104a3359d3806ed366fcf7">item</a>)</td></tr>
<tr class="separator:a2aea4ec6da2d454dd0b241a254d65082"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a24795c7250eb5214fcea16b7217b4dfb"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a24795c7250eb5214fcea16b7217b4dfb">clearItems</a> ()</td></tr>
<tr class="separator:a24795c7250eb5214fcea16b7217b4dfb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac7d9e567d5c551e09cd9bcc4306c5532"><td class="memItemLeft" align="right" valign="top">QList< <a class="el" href="classQCPAbstractLegendItem.html">QCPAbstractLegendItem</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#ac7d9e567d5c551e09cd9bcc4306c5532">selectedItems</a> () const</td></tr>
<tr class="separator:ac7d9e567d5c551e09cd9bcc4306c5532"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classQCPLayoutGrid"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classQCPLayoutGrid')"><img src="closed.png" alt="-"/> Public Functions inherited from <a class="el" href="classQCPLayoutGrid.html">QCPLayoutGrid</a></td></tr>
<tr class="memitem:ab2a4c1587dc8aed4c41c509c8d8d2a64 inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#ab2a4c1587dc8aed4c41c509c8d8d2a64">QCPLayoutGrid</a> ()</td></tr>
<tr class="separator:ab2a4c1587dc8aed4c41c509c8d8d2a64 inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a19c66fd76cbce58a8e94f33797e0c0aa inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#a19c66fd76cbce58a8e94f33797e0c0aa">rowCount</a> () const</td></tr>
<tr class="separator:a19c66fd76cbce58a8e94f33797e0c0aa inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1a2962cbf45011405b64b913afa8e7a2 inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#a1a2962cbf45011405b64b913afa8e7a2">columnCount</a> () const</td></tr>
<tr class="separator:a1a2962cbf45011405b64b913afa8e7a2 inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8e0e587c386bbcd1b94119f5f44c512d inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top"><a id="a8e0e587c386bbcd1b94119f5f44c512d"></a>
QList< double > </td><td class="memItemRight" valign="bottom"><b>columnStretchFactors</b> () const</td></tr>
<tr class="separator:a8e0e587c386bbcd1b94119f5f44c512d inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa33408586427e77e05f79defde7f3568 inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top"><a id="aa33408586427e77e05f79defde7f3568"></a>
QList< double > </td><td class="memItemRight" valign="bottom"><b>rowStretchFactors</b> () const</td></tr>
<tr class="separator:aa33408586427e77e05f79defde7f3568 inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adcf4c387d5996bf6e4ae0ed26138247e inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top"><a id="adcf4c387d5996bf6e4ae0ed26138247e"></a>
int </td><td class="memItemRight" valign="bottom"><b>columnSpacing</b> () const</td></tr>
<tr class="separator:adcf4c387d5996bf6e4ae0ed26138247e inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4cb6c680505cd0ce6f85b9e217fd2cd0 inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top"><a id="a4cb6c680505cd0ce6f85b9e217fd2cd0"></a>
int </td><td class="memItemRight" valign="bottom"><b>rowSpacing</b> () const</td></tr>
<tr class="separator:a4cb6c680505cd0ce6f85b9e217fd2cd0 inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8bb71b52b2796c9f05fae6a32d2d0efd inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top"><a id="a8bb71b52b2796c9f05fae6a32d2d0efd"></a>
int </td><td class="memItemRight" valign="bottom"><b>wrap</b> () const</td></tr>
<tr class="separator:a8bb71b52b2796c9f05fae6a32d2d0efd inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6cb6563a13759222ad92ae397bd6c27e inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top"><a id="a6cb6563a13759222ad92ae397bd6c27e"></a>
<a class="el" href="classQCPLayoutGrid.html#a7d49ee08773de6b2fd246edfed353cca">FillOrder</a> </td><td class="memItemRight" valign="bottom"><b>fillOrder</b> () const</td></tr>
<tr class="separator:a6cb6563a13759222ad92ae397bd6c27e inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae38f31a71687b9d7ee3104852528fb50 inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#ae38f31a71687b9d7ee3104852528fb50">setColumnStretchFactor</a> (int column, double factor)</td></tr>
<tr class="separator:ae38f31a71687b9d7ee3104852528fb50 inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6c2591d1a7e2534ce036989543b49e57 inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#a6c2591d1a7e2534ce036989543b49e57">setColumnStretchFactors</a> (const QList< double > &factors)</td></tr>
<tr class="separator:a6c2591d1a7e2534ce036989543b49e57 inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7b0273de5369bd93d942edbaf5b166ec inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#a7b0273de5369bd93d942edbaf5b166ec">setRowStretchFactor</a> (int row, double factor)</td></tr>
<tr class="separator:a7b0273de5369bd93d942edbaf5b166ec inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a200b45f9c908f96ebadaa3c8d87a2782 inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#a200b45f9c908f96ebadaa3c8d87a2782">setRowStretchFactors</a> (const QList< double > &factors)</td></tr>
<tr class="separator:a200b45f9c908f96ebadaa3c8d87a2782 inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3a49272aba32bb0fddc3bb2a45a3dba0 inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#a3a49272aba32bb0fddc3bb2a45a3dba0">setColumnSpacing</a> (int pixels)</td></tr>
<tr class="separator:a3a49272aba32bb0fddc3bb2a45a3dba0 inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aaef2cd2d456197ee06a208793678e436 inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#aaef2cd2d456197ee06a208793678e436">setRowSpacing</a> (int pixels)</td></tr>
<tr class="separator:aaef2cd2d456197ee06a208793678e436 inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab36af18d77e4428386d02970382ee598 inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#ab36af18d77e4428386d02970382ee598">setWrap</a> (int count)</td></tr>
<tr class="separator:ab36af18d77e4428386d02970382ee598 inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:affc2f3cfd22f28698c5b29b960d2a391 inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#affc2f3cfd22f28698c5b29b960d2a391">setFillOrder</a> (<a class="el" href="classQCPLayoutGrid.html#a7d49ee08773de6b2fd246edfed353cca">FillOrder</a> order, bool rearrange=true)</td></tr>
<tr class="separator:affc2f3cfd22f28698c5b29b960d2a391 inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a07f8dd7d3d61d7345026621d446042a4 inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#a07f8dd7d3d61d7345026621d446042a4">updateLayout</a> ()</td></tr>
<tr class="separator:a07f8dd7d3d61d7345026621d446042a4 inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a32baf2737a7e36f7583efeceb030aa9c inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#a32baf2737a7e36f7583efeceb030aa9c">elementCount</a> () const</td></tr>
<tr class="separator:a32baf2737a7e36f7583efeceb030aa9c inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a97672ecc379cb3a09639926ba9980297 inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#a97672ecc379cb3a09639926ba9980297">elementAt</a> (int index) const</td></tr>
<tr class="separator:a97672ecc379cb3a09639926ba9980297 inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acc1277394ff8a6432e111ff9463e6375 inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#acc1277394ff8a6432e111ff9463e6375">takeAt</a> (int index)</td></tr>
<tr class="separator:acc1277394ff8a6432e111ff9463e6375 inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a666a9fe9e92054436f9b66eba25cca0c inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#a666a9fe9e92054436f9b66eba25cca0c">take</a> (<a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a> *<a class="el" href="classQCPLayoutGrid.html#a602b426609b4411cf6a93c3ddf3a381a">element</a>)</td></tr>
<tr class="separator:a666a9fe9e92054436f9b66eba25cca0c inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a20a745d013de4c89cf5de8004a5a36f7 inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">virtual QList< <a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a> * > </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#a20a745d013de4c89cf5de8004a5a36f7">elements</a> (bool recursive) const</td></tr>
<tr class="separator:a20a745d013de4c89cf5de8004a5a36f7 inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a08bba60e4acd20165526a8fd7f986b58 inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#a08bba60e4acd20165526a8fd7f986b58">simplify</a> ()</td></tr>
<tr class="separator:a08bba60e4acd20165526a8fd7f986b58 inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a83ac366358e2576226630de21cd5b332 inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">virtual QSize </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#a83ac366358e2576226630de21cd5b332">minimumOuterSizeHint</a> () const</td></tr>
<tr class="separator:a83ac366358e2576226630de21cd5b332 inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab2c2f06a1898b4de6e0237875c62f610 inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">virtual QSize </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#ab2c2f06a1898b4de6e0237875c62f610">maximumOuterSizeHint</a> () const</td></tr>
<tr class="separator:ab2c2f06a1898b4de6e0237875c62f610 inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a602b426609b4411cf6a93c3ddf3a381a inherit pub_methods_classQCPLayoutGrid"><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="classQCPLayoutGrid.html#a602b426609b4411cf6a93c3ddf3a381a">element</a> (int row, int column) const</td></tr>
<tr class="separator:a602b426609b4411cf6a93c3ddf3a381a inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adff1a2ca691ed83d2d24a4cd1fe17012 inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#adff1a2ca691ed83d2d24a4cd1fe17012">addElement</a> (int row, int column, <a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a> *<a class="el" href="classQCPLayoutGrid.html#a602b426609b4411cf6a93c3ddf3a381a">element</a>)</td></tr>
<tr class="separator:adff1a2ca691ed83d2d24a4cd1fe17012 inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4c44025dd25acd27e053cadfd448ad7b inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#a4c44025dd25acd27e053cadfd448ad7b">addElement</a> (<a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a> *<a class="el" href="classQCPLayoutGrid.html#a602b426609b4411cf6a93c3ddf3a381a">element</a>)</td></tr>
<tr class="separator:a4c44025dd25acd27e053cadfd448ad7b inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab0cf4f7edc9414a3bfaddac0f46dc0a0 inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#ab0cf4f7edc9414a3bfaddac0f46dc0a0">hasElement</a> (int row, int column)</td></tr>
<tr class="separator:ab0cf4f7edc9414a3bfaddac0f46dc0a0 inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a886c0dcbabd51a45da399e044552b685 inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#a886c0dcbabd51a45da399e044552b685">expandTo</a> (int newRowCount, int newColumnCount)</td></tr>
<tr class="separator:a886c0dcbabd51a45da399e044552b685 inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a48af3dd7c3a653d9c3d7dd99bd02e838 inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#a48af3dd7c3a653d9c3d7dd99bd02e838">insertRow</a> (int newIndex)</td></tr>
<tr class="separator:a48af3dd7c3a653d9c3d7dd99bd02e838 inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1e880a321dbe8b43b471ccd764433dc4 inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#a1e880a321dbe8b43b471ccd764433dc4">insertColumn</a> (int newIndex)</td></tr>
<tr class="separator:a1e880a321dbe8b43b471ccd764433dc4 inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a682ba76f130810ffd294032a1bfbcfcb inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#a682ba76f130810ffd294032a1bfbcfcb">rowColToIndex</a> (int row, int column) const</td></tr>
<tr class="separator:a682ba76f130810ffd294032a1bfbcfcb inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a577223db920e2acb34bc1091080c76d1 inherit pub_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#a577223db920e2acb34bc1091080c76d1">indexToRowCol</a> (int index, int &row, int &column) const</td></tr>
<tr class="separator:a577223db920e2acb34bc1091080c76d1 inherit pub_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classQCPLayout"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classQCPLayout')"><img src="closed.png" alt="-"/> Public Functions inherited from <a class="el" href="classQCPLayout.html">QCPLayout</a></td></tr>
<tr class="memitem:a04222e6e1361fd802d48f1a25b7020d4 inherit pub_methods_classQCPLayout"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayout.html#a04222e6e1361fd802d48f1a25b7020d4">QCPLayout</a> ()</td></tr>
<tr class="separator:a04222e6e1361fd802d48f1a25b7020d4 inherit pub_methods_classQCPLayout"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a34ab477e820537ded7bade4399c482fd inherit pub_methods_classQCPLayout"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayout.html#a34ab477e820537ded7bade4399c482fd">update</a> (<a class="el" href="classQCPLayoutElement.html#a0d83360e05735735aaf6d7983c56374d">UpdatePhase</a> phase)</td></tr>
<tr class="separator:a34ab477e820537ded7bade4399c482fd inherit pub_methods_classQCPLayout"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2403f684fee3ce47132faaeed00bb066 inherit pub_methods_classQCPLayout"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayout.html#a2403f684fee3ce47132faaeed00bb066">removeAt</a> (int index)</td></tr>
<tr class="separator:a2403f684fee3ce47132faaeed00bb066 inherit pub_methods_classQCPLayout"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6c58f537d8086f352576ab7c5b15d0bc inherit pub_methods_classQCPLayout"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayout.html#a6c58f537d8086f352576ab7c5b15d0bc">remove</a> (<a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a> *element)</td></tr>
<tr class="separator:a6c58f537d8086f352576ab7c5b15d0bc inherit pub_methods_classQCPLayout"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a02883bdf2769b5b227f0232dba1ac4ee inherit pub_methods_classQCPLayout"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayout.html#a02883bdf2769b5b227f0232dba1ac4ee">clear</a> ()</td></tr>
<tr class="separator:a02883bdf2769b5b227f0232dba1ac4ee inherit pub_methods_classQCPLayout"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classQCPLayoutElement"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classQCPLayoutElement')"><img src="closed.png" alt="-"/> Public Functions inherited from <a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a></td></tr>
<tr class="memitem:a8947f0ada17e672aaba3d424cbbb67e3 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a8947f0ada17e672aaba3d424cbbb67e3">QCPLayoutElement</a> (<a class="el" href="classQCustomPlot.html">QCustomPlot</a> *parentPlot=0)</td></tr>
<tr class="separator:a8947f0ada17e672aaba3d424cbbb67e3 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4efdcbde9d28f410e5ef166c9d691deb inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPLayout.html">QCPLayout</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a4efdcbde9d28f410e5ef166c9d691deb">layout</a> () const</td></tr>
<tr class="separator:a4efdcbde9d28f410e5ef166c9d691deb inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a208effccfe2cca4a0eaf9393e60f2dd4 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">QRect </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a208effccfe2cca4a0eaf9393e60f2dd4">rect</a> () const</td></tr>
<tr class="separator:a208effccfe2cca4a0eaf9393e60f2dd4 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2a32a12a6161c9dffbadeb9cc585510c inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">QRect </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a2a32a12a6161c9dffbadeb9cc585510c">outerRect</a> () const</td></tr>
<tr class="separator:a2a32a12a6161c9dffbadeb9cc585510c inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af4ac9450aa2d60863bf3a8ea0c940c9d inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a id="af4ac9450aa2d60863bf3a8ea0c940c9d"></a>
QMargins </td><td class="memItemRight" valign="bottom"><b>margins</b> () const</td></tr>
<tr class="separator:af4ac9450aa2d60863bf3a8ea0c940c9d inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5eae30e28f28d73fd1c56409c011393e inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a id="a5eae30e28f28d73fd1c56409c011393e"></a>
QMargins </td><td class="memItemRight" valign="bottom"><b>minimumMargins</b> () const</td></tr>
<tr class="separator:a5eae30e28f28d73fd1c56409c011393e inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2585bc8c5cc70ee712909751a2fc8909 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a id="a2585bc8c5cc70ee712909751a2fc8909"></a>
QCP::MarginSides </td><td class="memItemRight" valign="bottom"><b>autoMargins</b> () const</td></tr>
<tr class="separator:a2585bc8c5cc70ee712909751a2fc8909 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a60d4295468a2b57fe91f6f68e20c3993 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a id="a60d4295468a2b57fe91f6f68e20c3993"></a>
QSize </td><td class="memItemRight" valign="bottom"><b>minimumSize</b> () const</td></tr>
<tr class="separator:a60d4295468a2b57fe91f6f68e20c3993 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afb9503858d4aa0f3b9f1794b084fb40a inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a id="afb9503858d4aa0f3b9f1794b084fb40a"></a>
QSize </td><td class="memItemRight" valign="bottom"><b>maximumSize</b> () const</td></tr>
<tr class="separator:afb9503858d4aa0f3b9f1794b084fb40a inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a66136f121ee3e1c933b748761203cab4 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a id="a66136f121ee3e1c933b748761203cab4"></a>
<a class="el" href="classQCPLayoutElement.html#a0afb3e5773529e4bd20e448f81be4d2a">SizeConstraintRect</a> </td><td class="memItemRight" valign="bottom"><b>sizeConstraintRect</b> () const</td></tr>
<tr class="separator:a66136f121ee3e1c933b748761203cab4 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8af6bcf81e12fe1d6f44490f34522b90 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a id="a8af6bcf81e12fe1d6f44490f34522b90"></a>
<a class="el" href="classQCPMarginGroup.html">QCPMarginGroup</a> * </td><td class="memItemRight" valign="bottom"><b>marginGroup</b> (<a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54">QCP::MarginSide</a> side) const</td></tr>
<tr class="separator:a8af6bcf81e12fe1d6f44490f34522b90 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac8d1139a81a1625860647e307ae2b733 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top"><a id="ac8d1139a81a1625860647e307ae2b733"></a>
QHash< <a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54">QCP::MarginSide</a>, <a class="el" href="classQCPMarginGroup.html">QCPMarginGroup</a> * > </td><td class="memItemRight" valign="bottom"><b>marginGroups</b> () const</td></tr>
<tr class="separator:ac8d1139a81a1625860647e307ae2b733 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a38975ea13e36de8e53391ce41d94bc0f inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a38975ea13e36de8e53391ce41d94bc0f">setOuterRect</a> (const QRect &<a class="el" href="classQCPLayoutElement.html#a208effccfe2cca4a0eaf9393e60f2dd4">rect</a>)</td></tr>
<tr class="separator:a38975ea13e36de8e53391ce41d94bc0f inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8f450b1f3f992ad576fce2c63d8b79cf inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a8f450b1f3f992ad576fce2c63d8b79cf">setMargins</a> (const QMargins &margins)</td></tr>
<tr class="separator:a8f450b1f3f992ad576fce2c63d8b79cf inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0a8a17abc16b7923159fcc7608f94673 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a0a8a17abc16b7923159fcc7608f94673">setMinimumMargins</a> (const QMargins &margins)</td></tr>
<tr class="separator:a0a8a17abc16b7923159fcc7608f94673 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:accfda49994e3e6d51ed14504abf9d27d inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#accfda49994e3e6d51ed14504abf9d27d">setAutoMargins</a> (QCP::MarginSides sides)</td></tr>
<tr class="separator:accfda49994e3e6d51ed14504abf9d27d inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5dd29a3c8bc88440c97c06b67be7886b inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a5dd29a3c8bc88440c97c06b67be7886b">setMinimumSize</a> (const QSize &size)</td></tr>
<tr class="separator:a5dd29a3c8bc88440c97c06b67be7886b inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8e0447614a0bf92de9a7304588c6b96e inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a8e0447614a0bf92de9a7304588c6b96e">setMinimumSize</a> (int width, int height)</td></tr>
<tr class="separator:a8e0447614a0bf92de9a7304588c6b96e inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a74eb5280a737ab44833d506db65efd95 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a74eb5280a737ab44833d506db65efd95">setMaximumSize</a> (const QSize &size)</td></tr>
<tr class="separator:a74eb5280a737ab44833d506db65efd95 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a03e0e9c48f230217c529b0819f832d84 inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a03e0e9c48f230217c529b0819f832d84">setMaximumSize</a> (int width, int height)</td></tr>
<tr class="separator:a03e0e9c48f230217c529b0819f832d84 inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a361666cdcc6fbfd37344cc44be746b0f inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a361666cdcc6fbfd37344cc44be746b0f">setSizeConstraintRect</a> (<a class="el" href="classQCPLayoutElement.html#a0afb3e5773529e4bd20e448f81be4d2a">SizeConstraintRect</a> constraintRect)</td></tr>
<tr class="separator:a361666cdcc6fbfd37344cc44be746b0f inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a516e56f76b6bc100e8e71d329866847d inherit pub_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a516e56f76b6bc100e8e71d329866847d">setMarginGroup</a> (QCP::MarginSides sides, <a class="el" href="classQCPMarginGroup.html">QCPMarginGroup</a> *group)</td></tr>
<tr class="separator:a516e56f76b6bc100e8e71d329866847d inherit pub_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classQCPLayerable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classQCPLayerable')"><img src="closed.png" alt="-"/> Public Functions inherited from <a class="el" href="classQCPLayerable.html">QCPLayerable</a></td></tr>
<tr class="memitem:a74c0fa237f29bf0e49565013fc5d1ec0 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a74c0fa237f29bf0e49565013fc5d1ec0">QCPLayerable</a> (<a class="el" href="classQCustomPlot.html">QCustomPlot</a> *plot, QString targetLayer=QString(), <a class="el" href="classQCPLayerable.html">QCPLayerable</a> *<a class="el" href="classQCPLayerable.html#aa78b7e644d2c519e1a9a6f2ac5fcd858">parentLayerable</a>=0)</td></tr>
<tr class="separator:a74c0fa237f29bf0e49565013fc5d1ec0 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af0297b944b6192b6d67d00bff41b6b70 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a id="af0297b944b6192b6d67d00bff41b6b70"></a>
bool </td><td class="memItemRight" valign="bottom"><b>visible</b> () const</td></tr>
<tr class="separator:af0297b944b6192b6d67d00bff41b6b70 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a473edb813a4c1929d6b6a8fe3ff3faf7 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a id="a473edb813a4c1929d6b6a8fe3ff3faf7"></a>
<a class="el" href="classQCustomPlot.html">QCustomPlot</a> * </td><td class="memItemRight" valign="bottom"><b>parentPlot</b> () const</td></tr>
<tr class="separator:a473edb813a4c1929d6b6a8fe3ff3faf7 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa78b7e644d2c519e1a9a6f2ac5fcd858 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classQCPLayerable.html">QCPLayerable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#aa78b7e644d2c519e1a9a6f2ac5fcd858">parentLayerable</a> () const</td></tr>
<tr class="separator:aa78b7e644d2c519e1a9a6f2ac5fcd858 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5ff4862e8c784c9f5986dbc1533ba2a4 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a id="a5ff4862e8c784c9f5986dbc1533ba2a4"></a>
<a class="el" href="classQCPLayer.html">QCPLayer</a> * </td><td class="memItemRight" valign="bottom"><b>layer</b> () const</td></tr>
<tr class="separator:a5ff4862e8c784c9f5986dbc1533ba2a4 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a71cbd212fde2703cee076e204a475709 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top"><a id="a71cbd212fde2703cee076e204a475709"></a>
bool </td><td class="memItemRight" valign="bottom"><b>antialiased</b> () const</td></tr>
<tr class="separator:a71cbd212fde2703cee076e204a475709 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3bed99ddc396b48ce3ebfdc0418744f8 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a3bed99ddc396b48ce3ebfdc0418744f8">setVisible</a> (bool on)</td></tr>
<tr class="separator:a3bed99ddc396b48ce3ebfdc0418744f8 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab0d0da6d2de45a118886d2c8e16d5a54 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">Q_SLOT bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#ab0d0da6d2de45a118886d2c8e16d5a54">setLayer</a> (<a class="el" href="classQCPLayer.html">QCPLayer</a> *layer)</td></tr>
<tr class="separator:ab0d0da6d2de45a118886d2c8e16d5a54 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab25a0e7b897993b44447caee0f142083 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#ab25a0e7b897993b44447caee0f142083">setLayer</a> (const QString &layerName)</td></tr>
<tr class="separator:ab25a0e7b897993b44447caee0f142083 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4fd43e89be4a553ead41652565ff0581 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a4fd43e89be4a553ead41652565ff0581">setAntialiased</a> (bool enabled)</td></tr>
<tr class="separator:a4fd43e89be4a553ead41652565ff0581 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab054e88f15d485defcb95e7376f119e7 inherit pub_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#ab054e88f15d485defcb95e7376f119e7">realVisibility</a> () const</td></tr>
<tr class="separator:ab054e88f15d485defcb95e7376f119e7 inherit pub_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="signals"></a>
Signals</h2></td></tr>
<tr class="memitem:a82c88464edac07a9eefaf3906268df3b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a82c88464edac07a9eefaf3906268df3b">selectionChanged</a> (QCPLegend::SelectableParts parts)</td></tr>
<tr class="separator:a82c88464edac07a9eefaf3906268df3b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8a77300fd0976d6bdd8000f4e8d114b8"><td class="memItemLeft" align="right" valign="top"><a id="a8a77300fd0976d6bdd8000f4e8d114b8"></a>
void </td><td class="memItemRight" valign="bottom"><b>selectableChanged</b> (QCPLegend::SelectableParts parts)</td></tr>
<tr class="separator:a8a77300fd0976d6bdd8000f4e8d114b8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header signals_classQCPLayerable"><td colspan="2" onclick="javascript:toggleInherit('signals_classQCPLayerable')"><img src="closed.png" alt="-"/> Signals inherited from <a class="el" href="classQCPLayerable.html">QCPLayerable</a></td></tr>
<tr class="memitem:abbf8657cedea73ac1c3499b521c90eba inherit signals_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#abbf8657cedea73ac1c3499b521c90eba">layerChanged</a> (<a class="el" href="classQCPLayer.html">QCPLayer</a> *newLayer)</td></tr>
<tr class="separator:abbf8657cedea73ac1c3499b521c90eba inherit signals_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
</table><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:a4d552c63d82742d77fb7f177bae7b1ba"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a4d552c63d82742d77fb7f177bae7b1ba">parentPlotInitialized</a> (<a class="el" href="classQCustomPlot.html">QCustomPlot</a> *parentPlot)</td></tr>
<tr class="separator:a4d552c63d82742d77fb7f177bae7b1ba"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8e11032dd41db9e53fd3ab0c3c813202"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037">QCP::Interaction</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a8e11032dd41db9e53fd3ab0c3c813202">selectionCategory</a> () const</td></tr>
<tr class="separator:a8e11032dd41db9e53fd3ab0c3c813202"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1aea4fc7cdde130a58d0d225440cdbbb"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a1aea4fc7cdde130a58d0d225440cdbbb">applyDefaultAntialiasingHint</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter) const</td></tr>
<tr class="separator:a1aea4fc7cdde130a58d0d225440cdbbb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4462151bf875ca85fa3815457c683fdc"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a4462151bf875ca85fa3815457c683fdc">draw</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter)</td></tr>
<tr class="separator:a4462151bf875ca85fa3815457c683fdc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af93bf87dc5c383a9d2ada80b35f3a1a5"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#af93bf87dc5c383a9d2ada80b35f3a1a5">selectEvent</a> (QMouseEvent *event, bool additive, const QVariant &details, bool *selectionStateChanged)</td></tr>
<tr class="separator:af93bf87dc5c383a9d2ada80b35f3a1a5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5208ead4331c9b0440f768f059777c58"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a5208ead4331c9b0440f768f059777c58">deselectEvent</a> (bool *selectionStateChanged)</td></tr>
<tr class="separator:a5208ead4331c9b0440f768f059777c58"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1cf9df6f2130c5ad842dc92188ab6bd7"><td class="memItemLeft" align="right" valign="top">QPen </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#a1cf9df6f2130c5ad842dc92188ab6bd7">getBorderPen</a> () const</td></tr>
<tr class="separator:a1cf9df6f2130c5ad842dc92188ab6bd7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab1438d5d67304cdda3b9339da580d6bc"><td class="memItemLeft" align="right" valign="top">QBrush </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLegend.html#ab1438d5d67304cdda3b9339da580d6bc">getBrush</a> () const</td></tr>
<tr class="separator:ab1438d5d67304cdda3b9339da580d6bc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classQCPLayoutGrid"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classQCPLayoutGrid')"><img src="closed.png" alt="-"/> Protected Functions inherited from <a class="el" href="classQCPLayoutGrid.html">QCPLayoutGrid</a></td></tr>
<tr class="memitem:a4b9a251919936f127a63fc1b9911cd4e inherit pro_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#a4b9a251919936f127a63fc1b9911cd4e">getMinimumRowColSizes</a> (QVector< int > *minColWidths, QVector< int > *minRowHeights) const</td></tr>
<tr class="separator:a4b9a251919936f127a63fc1b9911cd4e inherit pro_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9be77011ec5b5dfbe7fbda126659e1eb inherit pro_methods_classQCPLayoutGrid"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutGrid.html#a9be77011ec5b5dfbe7fbda126659e1eb">getMaximumRowColSizes</a> (QVector< int > *maxColWidths, QVector< int > *maxRowHeights) const</td></tr>
<tr class="separator:a9be77011ec5b5dfbe7fbda126659e1eb inherit pro_methods_classQCPLayoutGrid"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classQCPLayout"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classQCPLayout')"><img src="closed.png" alt="-"/> Protected Functions inherited from <a class="el" href="classQCPLayout.html">QCPLayout</a></td></tr>
<tr class="memitem:aeac66a292f65cf7f8adf94eb92345b3e inherit pro_methods_classQCPLayout"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayout.html#aeac66a292f65cf7f8adf94eb92345b3e">sizeConstraintsChanged</a> () const</td></tr>
<tr class="separator:aeac66a292f65cf7f8adf94eb92345b3e inherit pro_methods_classQCPLayout"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af6dbbc24156a808da29cd1ec031729a3 inherit pro_methods_classQCPLayout"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayout.html#af6dbbc24156a808da29cd1ec031729a3">adoptElement</a> (<a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a> *el)</td></tr>
<tr class="separator:af6dbbc24156a808da29cd1ec031729a3 inherit pro_methods_classQCPLayout"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4afbb4bef0071f72f91afdac4433a18e inherit pro_methods_classQCPLayout"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayout.html#a4afbb4bef0071f72f91afdac4433a18e">releaseElement</a> (<a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a> *el)</td></tr>
<tr class="separator:a4afbb4bef0071f72f91afdac4433a18e inherit pro_methods_classQCPLayout"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3e77be8006d39f2aafc1313d6e8fc3fd inherit pro_methods_classQCPLayout"><td class="memItemLeft" align="right" valign="top">QVector< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayout.html#a3e77be8006d39f2aafc1313d6e8fc3fd">getSectionSizes</a> (QVector< int > maxSizes, QVector< int > minSizes, QVector< double > stretchFactors, int totalSize) const</td></tr>
<tr class="separator:a3e77be8006d39f2aafc1313d6e8fc3fd inherit pro_methods_classQCPLayout"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classQCPLayoutElement"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classQCPLayoutElement')"><img src="closed.png" alt="-"/> Protected Functions inherited from <a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a></td></tr>
<tr class="memitem:a005c9f0fe84bc1591a2cf2c46fd477b4 inherit pro_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a005c9f0fe84bc1591a2cf2c46fd477b4">calculateAutoMargin</a> (<a class="el" href="namespaceQCP.html#a7e487e3e2ccb62ab7771065bab7cae54">QCP::MarginSide</a> side)</td></tr>
<tr class="separator:a005c9f0fe84bc1591a2cf2c46fd477b4 inherit pro_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a765f041a73af0c2de41b41a5a03e31a4 inherit pro_methods_classQCPLayoutElement"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayoutElement.html#a765f041a73af0c2de41b41a5a03e31a4">layoutChanged</a> ()</td></tr>
<tr class="separator:a765f041a73af0c2de41b41a5a03e31a4 inherit pro_methods_classQCPLayoutElement"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classQCPLayerable"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classQCPLayerable')"><img src="closed.png" alt="-"/> Protected Functions inherited from <a class="el" href="classQCPLayerable.html">QCPLayerable</a></td></tr>
<tr class="memitem:acbcfc9ecc75433747b1978a77b1864b3 inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">virtual QRect </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#acbcfc9ecc75433747b1978a77b1864b3">clipRect</a> () const</td></tr>
<tr class="separator:acbcfc9ecc75433747b1978a77b1864b3 inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af6567604818db90f4fd52822f8bc8376 inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#af6567604818db90f4fd52822f8bc8376">mousePressEvent</a> (QMouseEvent *event, const QVariant &details)</td></tr>
<tr class="separator:af6567604818db90f4fd52822f8bc8376 inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9eee1ba47fd69be111059ca3881933e4 inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a9eee1ba47fd69be111059ca3881933e4">mouseMoveEvent</a> (QMouseEvent *event, const QPointF &startPos)</td></tr>
<tr class="separator:a9eee1ba47fd69be111059ca3881933e4 inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa0d79b005686f668622bbe66ac03ba2c inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#aa0d79b005686f668622bbe66ac03ba2c">mouseReleaseEvent</a> (QMouseEvent *event, const QPointF &startPos)</td></tr>
<tr class="separator:aa0d79b005686f668622bbe66ac03ba2c inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4171e2e823aca242dd0279f00ed2de81 inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a4171e2e823aca242dd0279f00ed2de81">mouseDoubleClickEvent</a> (QMouseEvent *event, const QVariant &details)</td></tr>
<tr class="separator:a4171e2e823aca242dd0279f00ed2de81 inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a47dfd7b8fd99c08ca54e09c362b6f022 inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a47dfd7b8fd99c08ca54e09c362b6f022">wheelEvent</a> (QWheelEvent *event)</td></tr>
<tr class="separator:a47dfd7b8fd99c08ca54e09c362b6f022 inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8cbe5a0c9a5674249982f5ca5f8e02bc inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#a8cbe5a0c9a5674249982f5ca5f8e02bc">initializeParentPlot</a> (<a class="el" href="classQCustomPlot.html">QCustomPlot</a> *parentPlot)</td></tr>
<tr class="separator:a8cbe5a0c9a5674249982f5ca5f8e02bc inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa23c893671f1f6744ac235cf2204cf3a inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#aa23c893671f1f6744ac235cf2204cf3a">setParentLayerable</a> (<a class="el" href="classQCPLayerable.html">QCPLayerable</a> *<a class="el" href="classQCPLayerable.html#aa78b7e644d2c519e1a9a6f2ac5fcd858">parentLayerable</a>)</td></tr>
<tr class="separator:aa23c893671f1f6744ac235cf2204cf3a inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af94484cfb7cbbddb7de522e9be71d9a4 inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#af94484cfb7cbbddb7de522e9be71d9a4">moveToLayer</a> (<a class="el" href="classQCPLayer.html">QCPLayer</a> *layer, bool prepend)</td></tr>
<tr class="separator:af94484cfb7cbbddb7de522e9be71d9a4 inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acb663e375d2d36dc5c55021ee5a2119b inherit pro_methods_classQCPLayerable"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayerable.html#acb663e375d2d36dc5c55021ee5a2119b">applyAntialiasingHint</a> (<a class="el" href="classQCPPainter.html">QCPPainter</a> *painter, bool localAntialiased, <a class="el" href="namespaceQCP.html#ae55dbe315d41fe80f29ba88100843a0c">QCP::AntialiasedElement</a> overrideElement) const</td></tr>
<tr class="separator:acb663e375d2d36dc5c55021ee5a2119b inherit pro_methods_classQCPLayerable"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_static_methods_classQCPLayout"><td colspan="2" onclick="javascript:toggleInherit('pro_static_methods_classQCPLayout')"><img src="closed.png" alt="-"/> Protected Static Functions inherited from <a class="el" href="classQCPLayout.html">QCPLayout</a></td></tr>
<tr class="memitem:a864fddc84721f186663faf3683f1fa70 inherit pro_static_methods_classQCPLayout"><td class="memItemLeft" align="right" valign="top">static QSize </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayout.html#a864fddc84721f186663faf3683f1fa70">getFinalMinimumOuterSize</a> (const <a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a> *el)</td></tr>
<tr class="separator:a864fddc84721f186663faf3683f1fa70 inherit pro_static_methods_classQCPLayout"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:add49fd6843821a6126914b837ed52e22 inherit pro_static_methods_classQCPLayout"><td class="memItemLeft" align="right" valign="top">static QSize </td><td class="memItemRight" valign="bottom"><a class="el" href="classQCPLayout.html#add49fd6843821a6126914b837ed52e22">getFinalMaximumOuterSize</a> (const <a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a> *el)</td></tr>
<tr class="separator:add49fd6843821a6126914b837ed52e22 inherit pro_static_methods_classQCPLayout"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Manages a legend inside 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>. </p>
<p>A legend is a small box somewhere in the plot which lists plottables with their name and icon.</p>
<p>A legend is populated with legend items by calling <a class="el" href="classQCPAbstractPlottable.html#aa64e93cb5b606d8110d2cc0a349bb30f">QCPAbstractPlottable::addToLegend</a> on the plottable, for which a legend item shall be created. In the case of the main legend (<a class="el" href="classQCustomPlot.html#a4eadcd237dc6a09938b68b16877fa6af">QCustomPlot::legend</a>), simply adding plottables to the plot while <a class="el" href="classQCustomPlot.html#ad8858410c2db47b7104040a3aa61c3fc">QCustomPlot::setAutoAddPlottableToLegend</a> is set to true (the default) creates corresponding legend items. The legend item associated with a certain plottable can be removed with <a class="el" href="classQCPAbstractPlottable.html#a3cc235007e2343a65ad4f463767e0e20">QCPAbstractPlottable::removeFromLegend</a>. However, <a class="el" href="classQCPLegend.html" title="Manages a legend inside a QCustomPlot. ">QCPLegend</a> also offers an interface to add and manipulate legend items directly: <a class="el" href="classQCPLegend.html#acfe9694c45104a3359d3806ed366fcf7">item</a>, <a class="el" href="classQCPLegend.html#a91e790002d8bf15a20628a8e8841e397">itemWithPlottable</a>, <a class="el" href="classQCPLegend.html#a57ab86ab8b2a3762d4c1455eb5452c88">itemCount</a>, <a class="el" href="classQCPLegend.html#a3ab274de52d2951faea45a6d975e6b3f">addItem</a>, <a class="el" href="classQCPLegend.html#ac91595c3eaa746fe6321d2eb952c63bb">removeItem</a>, etc.</p>
<p>Since <a class="el" href="classQCPLegend.html">QCPLegend</a> derives from <a class="el" href="classQCPLayoutGrid.html">QCPLayoutGrid</a>, it can be placed in any position a <a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a> may be positioned. The legend items are themselves <a class="el" href="classQCPLayoutElement.html">QCPLayoutElements</a> which are placed in the grid layout of the legend. <a class="el" href="classQCPLegend.html">QCPLegend</a> only adds an interface specialized for handling child elements of type <a class="el" href="classQCPAbstractLegendItem.html">QCPAbstractLegendItem</a>, as mentioned above. In principle, any other layout elements may also be added to a legend via the normal <a class="el" href="classQCPLayoutGrid.html">QCPLayoutGrid</a> interface. See the special page about <a class="el" href="thelayoutsystem.html">The Layout System</a> for examples on how to add other elements to the legend and move it outside the axis rect.</p>
<p>Use the methods <a class="el" href="classQCPLayoutGrid.html#affc2f3cfd22f28698c5b29b960d2a391">setFillOrder</a> and <a class="el" href="classQCPLayoutGrid.html#ab36af18d77e4428386d02970382ee598">setWrap</a> inherited from <a class="el" href="classQCPLayoutGrid.html">QCPLayoutGrid</a> to control in which order (column first or row first) the legend is filled up when calling <a class="el" href="classQCPLegend.html#a3ab274de52d2951faea45a6d975e6b3f">addItem</a>, and at which column or row wrapping occurs. The default fill order for legends is <a class="el" href="classQCPLayoutGrid.html#a7d49ee08773de6b2fd246edfed353ccaa0202730954e26c474cc820164aedce3e">foRowsFirst</a>.</p>
<p>By default, every <a class="el" href="classQCustomPlot.html" title="The central class of the library. This is the QWidget which displays the plot and interacts with the ...">QCustomPlot</a> has one legend (<a class="el" href="classQCustomPlot.html#a4eadcd237dc6a09938b68b16877fa6af">QCustomPlot::legend</a>) which is placed in the inset layout of the main axis rect (<a class="el" href="classQCPAxisRect.html#a949f803466619924c7018df4b511ae10">QCPAxisRect::insetLayout</a>). To move the legend to another position inside the axis rect, use the methods of the <a class="el" href="classQCPLayoutInset.html">QCPLayoutInset</a>. To move the legend outside of the axis rect, place it anywhere else with the <a class="el" href="classQCPLayout.html">QCPLayout</a>/<a class="el" href="classQCPLayoutElement.html">QCPLayoutElement</a> interface. </p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a5404de8bc1e4a994ca4ae69e2c7072f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5404de8bc1e4a994ca4ae69e2c7072f1">§ </a></span>SelectablePart</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classQCPLegend.html#a5404de8bc1e4a994ca4ae69e2c7072f1">QCPLegend::SelectablePart</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>Defines the selectable parts of a legend</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPLegend.html#a2aee309bb5c2a794b1987f3fc97f8ad8">setSelectedParts</a>, <a class="el" href="classQCPLegend.html#a9ce60aa8bbd89f62ae4fa83ac6c60110">setSelectableParts</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a5404de8bc1e4a994ca4ae69e2c7072f1a378201c07d500af7126e3ec91652eed7"></a>spNone </td><td class="fielddoc"><p><code>0x000</code> None </p>
</td></tr>
<tr><td class="fieldname"><a id="a5404de8bc1e4a994ca4ae69e2c7072f1a0fa4758962a46fa1dc9da818abae23c4"></a>spLegendBox </td><td class="fielddoc"><p><code>0x001</code> The legend box (frame) </p>
</td></tr>
<tr><td class="fieldname"><a id="a5404de8bc1e4a994ca4ae69e2c7072f1a768bfb95f323db4c66473375032c0af7"></a>spItems </td><td class="fielddoc"><p><code>0x002</code> Legend items individually (see <a class="el" href="classQCPLegend.html#ac7d9e567d5c551e09cd9bcc4306c5532">selectedItems</a>) </p>
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a0001a456989bd07ea378883651fabd72"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0001a456989bd07ea378883651fabd72">§ </a></span>QCPLegend()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QCPLegend::QCPLegend </td>
<td>(</td>
<td class="paramname"></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 new <a class="el" href="classQCPLegend.html" title="Manages a legend inside a QCustomPlot. ">QCPLegend</a> instance with default values.</p>
<p>Note that by default, <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> already contains a legend ready to be used as <a class="el" href="classQCustomPlot.html#a4eadcd237dc6a09938b68b16877fa6af">QCustomPlot::legend</a> </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a866a9e3f5267de7430a6c7f26a61db9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a866a9e3f5267de7430a6c7f26a61db9f">§ </a></span>setBorderPen()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPLegend::setBorderPen </td>
<td>(</td>
<td class="paramtype">const QPen & </td>
<td class="paramname"><em>pen</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the pen, the border of the entire legend is drawn with. </p>
</div>
</div>
<a id="a497bbcd38baa3598c08e2b3f48103f23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a497bbcd38baa3598c08e2b3f48103f23">§ </a></span>setBrush()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPLegend::setBrush </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 brush of the legend background. </p>
</div>
</div>
<a id="aa4cda8499e3cb0f3be415edc02984c73"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4cda8499e3cb0f3be415edc02984c73">§ </a></span>setFont()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPLegend::setFont </td>
<td>(</td>
<td class="paramtype">const QFont & </td>
<td class="paramname"><em>font</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the default font of legend text. Legend items that draw text (e.g. the name of a graph) will use this font by default. However, a different font can be specified on a per-item-basis by accessing the specific legend item.</p>
<p>This function will also set <em>font</em> on all already existing legend items.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPAbstractLegendItem.html#a409c53455d8112f71d70c0c43eb10265">QCPAbstractLegendItem::setFont</a> </dd></dl>
</div>
</div>
<a id="ae1eb239ff4a4632fe1b6c3e668d845c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae1eb239ff4a4632fe1b6c3e668d845c6">§ </a></span>setTextColor()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPLegend::setTextColor </td>
<td>(</td>
<td class="paramtype">const QColor & </td>
<td class="paramname"><em>color</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the default color of legend text. Legend items that draw text (e.g. the name of a graph) will use this color by default. However, a different colors can be specified on a per-item-basis by accessing the specific legend item.</p>
<p>This function will also set <em>color</em> on all already existing legend items.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPAbstractLegendItem.html#a6ebace6aaffaedcdab2d74e88acc2d1e">QCPAbstractLegendItem::setTextColor</a> </dd></dl>
</div>
</div>
<a id="a8b0740cce488bf7010da6beda6898984"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b0740cce488bf7010da6beda6898984">§ </a></span>setIconSize() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPLegend::setIconSize </td>
<td>(</td>
<td class="paramtype">const QSize & </td>
<td class="paramname"><em>size</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the size of legend icons. Legend items that draw an icon (e.g. a visual representation of the graph) will use this size by default. </p>
</div>
</div>
<a id="a96b1a37fd4ee6a9778e6e54fe56ab6c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96b1a37fd4ee6a9778e6e54fe56ab6c2">§ </a></span>setIconSize() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPLegend::setIconSize </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></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function. </p>
</div>
</div>
<a id="a62973bd69d5155e8ea3141366e8968f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62973bd69d5155e8ea3141366e8968f6">§ </a></span>setIconTextPadding()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPLegend::setIconTextPadding </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>padding</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the horizontal space in pixels between the legend icon and the text next to it. Legend items that draw an icon (e.g. a visual representation of the graph) and text (e.g. the name of the graph) will use this space by default. </p>
</div>
</div>
<a id="a2f2c93d18a651f4ff294bb3f026f49b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f2c93d18a651f4ff294bb3f026f49b8">§ </a></span>setIconBorderPen()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPLegend::setIconBorderPen </td>
<td>(</td>
<td class="paramtype">const QPen & </td>
<td class="paramname"><em>pen</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the pen used to draw a border around each legend icon. Legend items that draw an icon (e.g. a visual representation of the graph) will use this pen by default.</p>
<p>If no border is wanted, set this to <em>Qt::NoPen</em>. </p>
</div>
</div>
<a id="a9ce60aa8bbd89f62ae4fa83ac6c60110"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ce60aa8bbd89f62ae4fa83ac6c60110">§ </a></span>setSelectableParts()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPLegend::setSelectableParts </td>
<td>(</td>
<td class="paramtype">const SelectableParts & </td>
<td class="paramname"><em>selectable</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets whether the user can (de-)select the parts in <em>selectable</em> by clicking 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> surface. (When <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> contains <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037a269c9af298e257d1108edec0432b5513">QCP::iSelectLegend</a>.)</p>
<p>However, even when <em>selectable</em> is set to a value not allowing the selection of a specific part, it is still possible to set the selection of this part manually, by calling <a class="el" href="classQCPLegend.html#a2aee309bb5c2a794b1987f3fc97f8ad8">setSelectedParts</a> directly.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPLegend.html#a5404de8bc1e4a994ca4ae69e2c7072f1">SelectablePart</a>, <a class="el" href="classQCPLegend.html#a2aee309bb5c2a794b1987f3fc97f8ad8">setSelectedParts</a> </dd></dl>
</div>
</div>
<a id="a2aee309bb5c2a794b1987f3fc97f8ad8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2aee309bb5c2a794b1987f3fc97f8ad8">§ </a></span>setSelectedParts()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPLegend::setSelectedParts </td>
<td>(</td>
<td class="paramtype">const SelectableParts & </td>
<td class="paramname"><em>selected</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the selected state of the respective legend parts described by <a class="el" href="classQCPLegend.html#a5404de8bc1e4a994ca4ae69e2c7072f1">SelectablePart</a>. When a part is selected, it uses a different pen/font and brush. If some legend items are selected and <em>selected</em> doesn't contain <a class="el" href="classQCPLegend.html#a5404de8bc1e4a994ca4ae69e2c7072f1a768bfb95f323db4c66473375032c0af7">spItems</a>, those items become deselected.</p>
<p>The entire selection mechanism is handled automatically when <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> contains iSelectLegend. You only need to call this function when you wish to change the selection state manually.</p>
<p>This function can change the selection state of a part even when <a class="el" href="classQCPLegend.html#a9ce60aa8bbd89f62ae4fa83ac6c60110">setSelectableParts</a> was set to a value that actually excludes the part.</p>
<p>emits the <a class="el" href="classQCPLegend.html#a82c88464edac07a9eefaf3906268df3b">selectionChanged</a> signal when <em>selected</em> is different from the previous selection state.</p>
<p>Note that it doesn't make sense to set the selected state <a class="el" href="classQCPLegend.html#a5404de8bc1e4a994ca4ae69e2c7072f1a768bfb95f323db4c66473375032c0af7">spItems</a> here when it wasn't set before, because there's no way to specify which exact items to newly select. Do this by calling <a class="el" href="classQCPAbstractLegendItem.html#a6eed93b0ab99cb3eabb043fb08179c2b">QCPAbstractLegendItem::setSelected</a> directly on the legend item you wish to select.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPLegend.html#a5404de8bc1e4a994ca4ae69e2c7072f1">SelectablePart</a>, <a class="el" href="classQCPLegend.html#a9ce60aa8bbd89f62ae4fa83ac6c60110">setSelectableParts</a>, <a class="el" href="classQCPLegend.html#acd7be544c81324e391cfa6be9c413c01">selectTest</a>, <a class="el" href="classQCPLegend.html#a2c35d262953a25d96b6112653fbefc88">setSelectedBorderPen</a>, <a class="el" href="classQCPLegend.html#ade93aabe9bcccaf9cf46cec22c658027">setSelectedIconBorderPen</a>, <a class="el" href="classQCPLegend.html#a875227f3219c9799464631dec5e8f1bd">setSelectedBrush</a>, <a class="el" href="classQCPLegend.html#ab580a01c3c0a239374ed66c29edf5ad2">setSelectedFont</a> </dd></dl>
</div>
</div>
<a id="a2c35d262953a25d96b6112653fbefc88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c35d262953a25d96b6112653fbefc88">§ </a></span>setSelectedBorderPen()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPLegend::setSelectedBorderPen </td>
<td>(</td>
<td class="paramtype">const QPen & </td>
<td class="paramname"><em>pen</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>When the legend box is selected, this pen is used to draw the border instead of the normal pen set via <a class="el" href="classQCPLegend.html#a866a9e3f5267de7430a6c7f26a61db9f">setBorderPen</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPLegend.html#a2aee309bb5c2a794b1987f3fc97f8ad8">setSelectedParts</a>, <a class="el" href="classQCPLegend.html#a9ce60aa8bbd89f62ae4fa83ac6c60110">setSelectableParts</a>, <a class="el" href="classQCPLegend.html#a875227f3219c9799464631dec5e8f1bd">setSelectedBrush</a> </dd></dl>
</div>
</div>
<a id="ade93aabe9bcccaf9cf46cec22c658027"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade93aabe9bcccaf9cf46cec22c658027">§ </a></span>setSelectedIconBorderPen()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPLegend::setSelectedIconBorderPen </td>
<td>(</td>
<td class="paramtype">const QPen & </td>
<td class="paramname"><em>pen</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the pen legend items will use to draw their icon borders, when they are selected.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPLegend.html#a2aee309bb5c2a794b1987f3fc97f8ad8">setSelectedParts</a>, <a class="el" href="classQCPLegend.html#a9ce60aa8bbd89f62ae4fa83ac6c60110">setSelectableParts</a>, <a class="el" href="classQCPLegend.html#ab580a01c3c0a239374ed66c29edf5ad2">setSelectedFont</a> </dd></dl>
</div>
</div>
<a id="a875227f3219c9799464631dec5e8f1bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a875227f3219c9799464631dec5e8f1bd">§ </a></span>setSelectedBrush()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPLegend::setSelectedBrush </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>When the legend box is selected, this brush is used to draw the legend background instead of the normal brush set via <a class="el" href="classQCPLegend.html#a497bbcd38baa3598c08e2b3f48103f23">setBrush</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPLegend.html#a2aee309bb5c2a794b1987f3fc97f8ad8">setSelectedParts</a>, <a class="el" href="classQCPLegend.html#a9ce60aa8bbd89f62ae4fa83ac6c60110">setSelectableParts</a>, <a class="el" href="classQCPLegend.html#a2c35d262953a25d96b6112653fbefc88">setSelectedBorderPen</a> </dd></dl>
</div>
</div>
<a id="ab580a01c3c0a239374ed66c29edf5ad2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab580a01c3c0a239374ed66c29edf5ad2">§ </a></span>setSelectedFont()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPLegend::setSelectedFont </td>
<td>(</td>
<td class="paramtype">const QFont & </td>
<td class="paramname"><em>font</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the default font that is used by legend items when they are selected.</p>
<p>This function will also set <em>font</em> on all already existing legend items.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPLegend.html#aa4cda8499e3cb0f3be415edc02984c73">setFont</a>, <a class="el" href="classQCPAbstractLegendItem.html#a91db5aee48617a9d3206e61376807365">QCPAbstractLegendItem::setSelectedFont</a> </dd></dl>
</div>
</div>
<a id="a7674dfc7a1f30e1abd1018c0ed45e0bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7674dfc7a1f30e1abd1018c0ed45e0bc">§ </a></span>setSelectedTextColor()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPLegend::setSelectedTextColor </td>
<td>(</td>
<td class="paramtype">const QColor & </td>
<td class="paramname"><em>color</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the default text color that is used by legend items when they are selected.</p>
<p>This function will also set <em>color</em> on all already existing legend items.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPLegend.html#ae1eb239ff4a4632fe1b6c3e668d845c6">setTextColor</a>, <a class="el" href="classQCPAbstractLegendItem.html#a4d01d008ee1a5bfe9905b0397a421936">QCPAbstractLegendItem::setSelectedTextColor</a> </dd></dl>
</div>
</div>
<a id="acd7be544c81324e391cfa6be9c413c01"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd7be544c81324e391cfa6be9c413c01">§ </a></span>selectTest()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">double QCPLegend::selectTest </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>details</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">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Layout elements are sensitive to events inside their outer rect. If <em>pos</em> is within the outer rect, this method returns a value corresponding to 0.99 times the parent plot's selection tolerance. However, layout elements are not selectable by default. So if <em>onlySelectable</em> is true, -1.0 is returned.</p>
<p>See <a class="el" href="classQCPLayerable.html#a04db8351fefd44cfdb77958e75c6288e">QCPLayerable::selectTest</a> for a general explanation of this virtual method.</p>
<p><a class="el" href="classQCPLayoutElement.html" title="The abstract base class for all objects that form the layout system. ">QCPLayoutElement</a> subclasses may reimplement this method to provide more specific selection test behaviour. </p>
<p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#a0b96ae0d7bcfa6e38188fcb1e73e143f">QCPLayoutElement</a>.</p>
</div>
</div>
<a id="acfe9694c45104a3359d3806ed366fcf7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acfe9694c45104a3359d3806ed366fcf7">§ </a></span>item()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPAbstractLegendItem.html">QCPAbstractLegendItem</a> * QCPLegend::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 index <em>i</em>.</p>
<p>Note that the linear index depends on the current fill order (<a class="el" href="classQCPLayoutGrid.html#affc2f3cfd22f28698c5b29b960d2a391">setFillOrder</a>).</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPLegend.html#a57ab86ab8b2a3762d4c1455eb5452c88">itemCount</a>, <a class="el" href="classQCPLegend.html#a3ab274de52d2951faea45a6d975e6b3f">addItem</a>, <a class="el" href="classQCPLegend.html#a91e790002d8bf15a20628a8e8841e397">itemWithPlottable</a> </dd></dl>
</div>
</div>
<a id="a91e790002d8bf15a20628a8e8841e397"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91e790002d8bf15a20628a8e8841e397">§ </a></span>itemWithPlottable()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classQCPPlottableLegendItem.html">QCPPlottableLegendItem</a> * QCPLegend::itemWithPlottable </td>
<td>(</td>
<td class="paramtype">const <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 the <a class="el" href="classQCPPlottableLegendItem.html" title="A legend item representing a plottable with an icon and the plottable name. ">QCPPlottableLegendItem</a> which is associated with <em>plottable</em> (e.g. a <a class="el" href="classQCPGraph.html">QCPGraph</a>*). If such an item isn't in the legend, returns 0.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPLegend.html#a4b90a442af871582df85c2bc13f91e88">hasItemWithPlottable</a> </dd></dl>
</div>
</div>
<a id="a57ab86ab8b2a3762d4c1455eb5452c88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a57ab86ab8b2a3762d4c1455eb5452c88">§ </a></span>itemCount()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int QCPLegend::itemCount </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the number of items currently in the legend.</p>
<p>Note that if empty cells are in the legend (e.g. by calling methods of the <a class="el" href="classQCPLayoutGrid.html">QCPLayoutGrid</a> base class which allows creating empty cells), they are included in the returned count.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPLegend.html#acfe9694c45104a3359d3806ed366fcf7">item</a> </dd></dl>
</div>
</div>
<a id="ad0f698e33db454a6c103b5206740e599"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0f698e33db454a6c103b5206740e599">§ </a></span>hasItem()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCPLegend::hasItem </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPAbstractLegendItem.html">QCPAbstractLegendItem</a> * </td>
<td class="paramname"><em>item</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns whether the legend contains <em>item</em>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPLegend.html#a4b90a442af871582df85c2bc13f91e88">hasItemWithPlottable</a> </dd></dl>
</div>
</div>
<a id="a4b90a442af871582df85c2bc13f91e88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b90a442af871582df85c2bc13f91e88">§ </a></span>hasItemWithPlottable()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCPLegend::hasItemWithPlottable </td>
<td>(</td>
<td class="paramtype">const <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 the legend contains a <a class="el" href="classQCPPlottableLegendItem.html" title="A legend item representing a plottable with an icon and the plottable name. ">QCPPlottableLegendItem</a> which is associated with <em>plottable</em> (e.g. a <a class="el" href="classQCPGraph.html">QCPGraph</a>*). If such an item isn't in the legend, returns false.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPLegend.html#a91e790002d8bf15a20628a8e8841e397">itemWithPlottable</a> </dd></dl>
</div>
</div>
<a id="a3ab274de52d2951faea45a6d975e6b3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ab274de52d2951faea45a6d975e6b3f">§ </a></span>addItem()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCPLegend::addItem </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPAbstractLegendItem.html">QCPAbstractLegendItem</a> * </td>
<td class="paramname"><em>item</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Adds <em>item</em> to the legend, if it's not present already. The element is arranged according to the current fill order (<a class="el" href="classQCPLayoutGrid.html#affc2f3cfd22f28698c5b29b960d2a391">setFillOrder</a>) and wrapping (<a class="el" href="classQCPLayoutGrid.html#ab36af18d77e4428386d02970382ee598">setWrap</a>).</p>
<p>Returns true on sucess, i.e. if the item wasn't in the list already and has been successfuly added.</p>
<p>The legend takes ownership of the item.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPLegend.html#ac91595c3eaa746fe6321d2eb952c63bb">removeItem</a>, <a class="el" href="classQCPLegend.html#acfe9694c45104a3359d3806ed366fcf7">item</a>, <a class="el" href="classQCPLegend.html#ad0f698e33db454a6c103b5206740e599">hasItem</a> </dd></dl>
</div>
</div>
<a id="ac91595c3eaa746fe6321d2eb952c63bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac91595c3eaa746fe6321d2eb952c63bb">§ </a></span>removeItem() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCPLegend::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 with the specified <em>index</em> from the legend and deletes it.</p>
<p>After successful removal, the legend is reordered according to the current fill order (<a class="el" href="classQCPLayoutGrid.html#affc2f3cfd22f28698c5b29b960d2a391">setFillOrder</a>) and wrapping (<a class="el" href="classQCPLayoutGrid.html#ab36af18d77e4428386d02970382ee598">setWrap</a>), so no empty cell remains where the removed <em>item</em> was. If you don't want this, rather use the raw element interface of <a class="el" href="classQCPLayoutGrid.html">QCPLayoutGrid</a>.</p>
<p>Returns true, if successful. Unlike <a class="el" href="classQCPLayout.html#a2403f684fee3ce47132faaeed00bb066">QCPLayoutGrid::removeAt</a>, this method only removes elements derived from <a class="el" href="classQCPAbstractLegendItem.html">QCPAbstractLegendItem</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPLegend.html#a57ab86ab8b2a3762d4c1455eb5452c88">itemCount</a>, <a class="el" href="classQCPLegend.html#a24795c7250eb5214fcea16b7217b4dfb">clearItems</a> </dd></dl>
</div>
</div>
<a id="a2aea4ec6da2d454dd0b241a254d65082"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2aea4ec6da2d454dd0b241a254d65082">§ </a></span>removeItem() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool QCPLegend::removeItem </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPAbstractLegendItem.html">QCPAbstractLegendItem</a> * </td>
<td class="paramname"><em>item</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This is an overloaded function.</p>
<p>Removes <em>item</em> from the legend and deletes it.</p>
<p>After successful removal, the legend is reordered according to the current fill order (<a class="el" href="classQCPLayoutGrid.html#affc2f3cfd22f28698c5b29b960d2a391">setFillOrder</a>) and wrapping (<a class="el" href="classQCPLayoutGrid.html#ab36af18d77e4428386d02970382ee598">setWrap</a>), so no empty cell remains where the removed <em>item</em> was. If you don't want this, rather use the raw element interface of <a class="el" href="classQCPLayoutGrid.html">QCPLayoutGrid</a>.</p>
<p>Returns true, if successful.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPLegend.html#a24795c7250eb5214fcea16b7217b4dfb">clearItems</a> </dd></dl>
</div>
</div>
<a id="a24795c7250eb5214fcea16b7217b4dfb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24795c7250eb5214fcea16b7217b4dfb">§ </a></span>clearItems()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void QCPLegend::clearItems </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes all items from the legend. </p>
</div>
</div>
<a id="ac7d9e567d5c551e09cd9bcc4306c5532"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7d9e567d5c551e09cd9bcc4306c5532">§ </a></span>selectedItems()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">QList< <a class="el" href="classQCPAbstractLegendItem.html">QCPAbstractLegendItem</a> * > QCPLegend::selectedItems </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the legend items that are currently selected. If no items are selected, the list is empty.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPAbstractLegendItem.html#a6eed93b0ab99cb3eabb043fb08179c2b">QCPAbstractLegendItem::setSelected</a>, setSelectable </dd></dl>
</div>
</div>
<a id="a82c88464edac07a9eefaf3906268df3b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a82c88464edac07a9eefaf3906268df3b">§ </a></span>selectionChanged</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPLegend::selectionChanged </td>
<td>(</td>
<td class="paramtype">QCPLegend::SelectableParts </td>
<td class="paramname"><em>selection</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 selection state of this legend has changed.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPLegend.html#a2aee309bb5c2a794b1987f3fc97f8ad8">setSelectedParts</a>, <a class="el" href="classQCPLegend.html#a9ce60aa8bbd89f62ae4fa83ac6c60110">setSelectableParts</a> </dd></dl>
</div>
</div>
<a id="a4d552c63d82742d77fb7f177bae7b1ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d552c63d82742d77fb7f177bae7b1ba">§ </a></span>parentPlotInitialized()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPLegend::parentPlotInitialized </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCustomPlot.html">QCustomPlot</a> * </td>
<td class="paramname"><em>parentPlot</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>propagates the parent plot initialization to all child elements, by calling <a class="el" href="classQCPLayerable.html#a8cbe5a0c9a5674249982f5ca5f8e02bc">QCPLayerable::initializeParentPlot</a> on them. </p>
<p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#a1478899e80e8244b411e96ec3b2e5ce2">QCPLayoutElement</a>.</p>
</div>
</div>
<a id="a8e11032dd41db9e53fd3ab0c3c813202"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e11032dd41db9e53fd3ab0c3c813202">§ </a></span>selectionCategory()</h2>
<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="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037">QCP::Interaction</a> QCPLegend::selectionCategory </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 the selection category this layerable shall belong to. The selection category is used in conjunction with <a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> to control which objects are selectable and which aren't.</p>
<p>Subclasses that don't fit any of the normal <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037">QCP::Interaction</a> values can use <a class="el" href="namespaceQCP.html#a2ad6bb6281c7c2d593d4277b44c2b037af67a50bc26147a13b551b3a625374949">QCP::iSelectOther</a>. This is what the default implementation returns.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCustomPlot.html#a5ee1e2f6ae27419deca53e75907c27e5">QCustomPlot::setInteractions</a> </dd></dl>
<p>Reimplemented from <a class="el" href="classQCPLayerable.html#a908c9edda761886f33893be326dab77d">QCPLayerable</a>.</p>
</div>
</div>
<a id="a1aea4fc7cdde130a58d0d225440cdbbb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1aea4fc7cdde130a58d0d225440cdbbb">§ </a></span>applyDefaultAntialiasingHint()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPLegend::applyDefaultAntialiasingHint </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classQCPPainter.html">QCPPainter</a> * </td>
<td class="paramname"><em>painter</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>A convenience function to easily set the QPainter::Antialiased hint on the provided <em>painter</em> before drawing main legend elements.</p>
<p>This is the antialiasing state the painter passed to the <a class="el" href="classQCPLegend.html#a4462151bf875ca85fa3815457c683fdc">draw</a> method is in by default.</p>
<p>This function takes into account the local setting of the antialiasing flag as well as the overrides set with <a class="el" href="classQCustomPlot.html#af6f91e5eab1be85f67c556e98c3745e8">QCustomPlot::setAntialiasedElements</a> and <a class="el" href="classQCustomPlot.html#ae10d685b5eabea2999fb8775ca173c24">QCustomPlot::setNotAntialiasedElements</a>.</p>
<p>For general information about this virtual method, see the base class implementation.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPLayerable.html#a4fd43e89be4a553ead41652565ff0581">setAntialiased</a> </dd></dl>
<p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#aeb35a17f57baa24b4c2d7614316e4dc0">QCPLayoutElement</a>.</p>
</div>
</div>
<a id="a4462151bf875ca85fa3815457c683fdc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4462151bf875ca85fa3815457c683fdc">§ </a></span>draw()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPLegend::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>Draws the legend box with the provided <em>painter</em>. The individual legend items are layerables themselves, thus are drawn independently. </p>
<p>Reimplemented from <a class="el" href="classQCPLayoutElement.html#a547bcc1e6e2be5645ca781efe0834653">QCPLayoutElement</a>.</p>
</div>
</div>
<a id="af93bf87dc5c383a9d2ada80b35f3a1a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af93bf87dc5c383a9d2ada80b35f3a1a5">§ </a></span>selectEvent()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPLegend::selectEvent </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">bool </td>
<td class="paramname"><em>additive</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const QVariant & </td>
<td class="paramname"><em>details</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool * </td>
<td class="paramname"><em>selectionStateChanged</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">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This event is called when the layerable shall be selected, as a consequence of a click by the user. Subclasses should react to it by setting their selection state appropriately. The default implementation does nothing.</p>
<p><em>event</em> is the mouse event that caused the selection. <em>additive</em> indicates, whether the user was holding the multi-select-modifier while performing the selection (see <a class="el" href="classQCustomPlot.html#a8fc96e3b5138a06759a2a90c166df516">QCustomPlot::setMultiSelectModifier</a>). if <em>additive</em> is true, the selection state must be toggled (i.e. become selected when unselected and unselected when selected).</p>
<p>Every selectEvent is preceded by a call to <a class="el" href="classQCPLegend.html#acd7be544c81324e391cfa6be9c413c01">selectTest</a>, which has returned positively (i.e. returned a value greater than 0 and less than the selection tolerance of the parent <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 <em>details</em> data you output from <a class="el" href="classQCPLegend.html#acd7be544c81324e391cfa6be9c413c01">selectTest</a> is fed back via <em>details</em> here. You may use it to transport any kind of information from the selectTest to the possibly subsequent selectEvent. Usually <em>details</em> is used to transfer which part was clicked, if it is a layerable that has multiple individually selectable parts (like <a class="el" href="classQCPAxis.html" title="Manages a single axis inside a QCustomPlot. ">QCPAxis</a>). This way selectEvent doesn't need to do the calculation again to find out which part was actually clicked.</p>
<p><em>selectionStateChanged</em> is an output parameter. If the pointer is non-null, this function must set the value either to true or false, depending on whether the selection state of this layerable was actually changed. For layerables that only are selectable as a whole and not in parts, this is simple: if <em>additive</em> is true, <em>selectionStateChanged</em> must also be set to true, because the selection toggles. If <em>additive</em> is false, <em>selectionStateChanged</em> is only set to true, if the layerable was previously unselected and now is switched to the selected state.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPLegend.html#acd7be544c81324e391cfa6be9c413c01">selectTest</a>, <a class="el" href="classQCPLegend.html#a5208ead4331c9b0440f768f059777c58">deselectEvent</a> </dd></dl>
<p>Reimplemented from <a class="el" href="classQCPLayerable.html#a7498c2d0d081cf7cad0fb3bb93aa0e91">QCPLayerable</a>.</p>
</div>
</div>
<a id="a5208ead4331c9b0440f768f059777c58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5208ead4331c9b0440f768f059777c58">§ </a></span>deselectEvent()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void QCPLegend::deselectEvent </td>
<td>(</td>
<td class="paramtype">bool * </td>
<td class="paramname"><em>selectionStateChanged</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This event is called when the layerable shall be deselected, either as consequence of a user interaction or a call to <a class="el" href="classQCustomPlot.html#a9d4808ab925b003054085246c92a257c">QCustomPlot::deselectAll</a>. Subclasses should react to it by unsetting their selection appropriately.</p>
<p>just as in <a class="el" href="classQCPLegend.html#af93bf87dc5c383a9d2ada80b35f3a1a5">selectEvent</a>, the output parameter <em>selectionStateChanged</em> (if non-null), must return true or false when the selection state of this layerable has changed or not changed, respectively.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classQCPLegend.html#acd7be544c81324e391cfa6be9c413c01">selectTest</a>, <a class="el" href="classQCPLegend.html#af93bf87dc5c383a9d2ada80b35f3a1a5">selectEvent</a> </dd></dl>
<p>Reimplemented from <a class="el" href="classQCPLayerable.html#ae546370644a5551c76af739afc008bee">QCPLayerable</a>.</p>
</div>
</div>
<a id="a1cf9df6f2130c5ad842dc92188ab6bd7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1cf9df6f2130c5ad842dc92188ab6bd7">§ </a></span>getBorderPen()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QPen QCPLegend::getBorderPen </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>Returns the pen used to paint the border of the legend, taking into account the selection state of the legend box. </p>
</div>
</div>
<a id="ab1438d5d67304cdda3b9339da580d6bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1438d5d67304cdda3b9339da580d6bc">§ </a></span>getBrush()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">QBrush QCPLegend::getBrush </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>Returns the brush used to paint the background of the legend, taking into account the selection state of the legend box. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/layoutelements/layoutelement-legend.h</li>
<li>src/layoutelements/layoutelement-legend.cpp</li>
</ul>
</div><!-- contents -->
</body>
</html>
|