eric6/Documentation/Source/eric6.IconEditor.IconEditorGrid.html

changeset 7989
a21d673a8f99
parent 7900
72b88fb20261
equal deleted inserted replaced
7988:c4c17121eff8 7989:a21d673a8f99
491 491
492 <p> 492 <p>
493 Private method to get an image from the clipboard. 493 Private method to get an image from the clipboard.
494 </p> 494 </p>
495 <dl> 495 <dl>
496 <dt>Returns:</dt> 496 <dt>Return:</dt>
497 <dd> 497 <dd>
498 tuple with the image (QImage) and a flag indicating a 498 tuple with the image (QImage) and a flag indicating a
499 valid image (boolean) 499 valid image (boolean)
500 </dd> 500 </dd>
501 </dl> 501 </dl>
558 <dd> 558 <dd>
559 flag indicating a mark operation (boolean) 559 flag indicating a mark operation (boolean)
560 </dd> 560 </dd>
561 </dl> 561 </dl>
562 <dl> 562 <dl>
563 <dt>Returns:</dt> 563 <dt>Return:</dt>
564 <dd> 564 <dd>
565 flag indicating a successful draw (boolean) 565 flag indicating a successful draw (boolean)
566 </dd> 566 </dd>
567 </dl> 567 </dl>
568 <a NAME="IconEditorGrid.__getSelectionImage" ID="IconEditorGrid.__getSelectionImage"></a> 568 <a NAME="IconEditorGrid.__getSelectionImage" ID="IconEditorGrid.__getSelectionImage"></a>
578 <dd> 578 <dd>
579 flag indicating to cut the selection (boolean) 579 flag indicating to cut the selection (boolean)
580 </dd> 580 </dd>
581 </dl> 581 </dl>
582 <dl> 582 <dl>
583 <dt>Returns:</dt> 583 <dt>Return:</dt>
584 <dd> 584 <dd>
585 image of the selection (QImage) 585 image of the selection (QImage)
586 </dd> 586 </dd>
587 </dl> 587 </dl>
588 <a NAME="IconEditorGrid.__imageCoordinates" ID="IconEditorGrid.__imageCoordinates"></a> 588 <a NAME="IconEditorGrid.__imageCoordinates" ID="IconEditorGrid.__imageCoordinates"></a>
598 <dd> 598 <dd>
599 widget coordinate (QPoint) 599 widget coordinate (QPoint)
600 </dd> 600 </dd>
601 </dl> 601 </dl>
602 <dl> 602 <dl>
603 <dt>Returns:</dt> 603 <dt>Return:</dt>
604 <dd> 604 <dd>
605 tuple with the image coordinates (tuple of two integers) 605 tuple with the image coordinates (tuple of two integers)
606 </dd> 606 </dd>
607 </dl> 607 </dl>
608 <a NAME="IconEditorGrid.__initCursors" ID="IconEditorGrid.__initCursors"></a> 608 <a NAME="IconEditorGrid.__initCursors" ID="IconEditorGrid.__initCursors"></a>
637 <dd> 637 <dd>
638 y-value in image coordinates (integer) 638 y-value in image coordinates (integer)
639 </dd> 639 </dd>
640 </dl> 640 </dl>
641 <dl> 641 <dl>
642 <dt>Returns:</dt> 642 <dt>Return:</dt>
643 <dd> 643 <dd>
644 flag indicating a marked pixel (boolean) 644 flag indicating a marked pixel (boolean)
645 </dd> 645 </dd>
646 </dl> 646 </dl>
647 <a NAME="IconEditorGrid.__pixelRect" ID="IconEditorGrid.__pixelRect"></a> 647 <a NAME="IconEditorGrid.__pixelRect" ID="IconEditorGrid.__pixelRect"></a>
661 <dd> 661 <dd>
662 y-coordinate of the pixel in the image (integer) 662 y-coordinate of the pixel in the image (integer)
663 </dd> 663 </dd>
664 </dl> 664 </dl>
665 <dl> 665 <dl>
666 <dt>Returns:</dt> 666 <dt>Return:</dt>
667 <dd> 667 <dd>
668 rectangle for the given pixel coordinates (QRect) 668 rectangle for the given pixel coordinates (QRect)
669 </dd> 669 </dd>
670 </dl> 670 </dl>
671 <a NAME="IconEditorGrid.__setImagePixel" ID="IconEditorGrid.__setImagePixel"></a> 671 <a NAME="IconEditorGrid.__setImagePixel" ID="IconEditorGrid.__setImagePixel"></a>
746 746
747 <p> 747 <p>
748 Public slot to check the availability of the paste operation. 748 Public slot to check the availability of the paste operation.
749 </p> 749 </p>
750 <dl> 750 <dl>
751 <dt>Returns:</dt> 751 <dt>Return:</dt>
752 <dd> 752 <dd>
753 flag indicating availability of paste (boolean) 753 flag indicating availability of paste (boolean)
754 </dd> 754 </dd>
755 </dl> 755 </dl>
756 <a NAME="IconEditorGrid.canRedo" ID="IconEditorGrid.canRedo"></a> 756 <a NAME="IconEditorGrid.canRedo" ID="IconEditorGrid.canRedo"></a>
759 759
760 <p> 760 <p>
761 Public method to return the redo status. 761 Public method to return the redo status.
762 </p> 762 </p>
763 <dl> 763 <dl>
764 <dt>Returns:</dt> 764 <dt>Return:</dt>
765 <dd> 765 <dd>
766 flag indicating the availability of redo (boolean) 766 flag indicating the availability of redo (boolean)
767 </dd> 767 </dd>
768 </dl> 768 </dl>
769 <a NAME="IconEditorGrid.canUndo" ID="IconEditorGrid.canUndo"></a> 769 <a NAME="IconEditorGrid.canUndo" ID="IconEditorGrid.canUndo"></a>
772 772
773 <p> 773 <p>
774 Public method to return the undo status. 774 Public method to return the undo status.
775 </p> 775 </p>
776 <dl> 776 <dl>
777 <dt>Returns:</dt> 777 <dt>Return:</dt>
778 <dd> 778 <dd>
779 flag indicating the availability of undo (boolean) 779 flag indicating the availability of undo (boolean)
780 </dd> 780 </dd>
781 </dl> 781 </dl>
782 <a NAME="IconEditorGrid.compositingMode" ID="IconEditorGrid.compositingMode"></a> 782 <a NAME="IconEditorGrid.compositingMode" ID="IconEditorGrid.compositingMode"></a>
785 785
786 <p> 786 <p>
787 Public method to get the compositing mode. 787 Public method to get the compositing mode.
788 </p> 788 </p>
789 <dl> 789 <dl>
790 <dt>Returns:</dt> 790 <dt>Return:</dt>
791 <dd> 791 <dd>
792 compositing mode (QPainter.CompositionMode) 792 compositing mode (QPainter.CompositionMode)
793 </dd> 793 </dd>
794 </dl> 794 </dl>
795 <a NAME="IconEditorGrid.editClear" ID="IconEditorGrid.editClear"></a> 795 <a NAME="IconEditorGrid.editClear" ID="IconEditorGrid.editClear"></a>
883 883
884 <p> 884 <p>
885 Public method to get a copy of the icon image. 885 Public method to get a copy of the icon image.
886 </p> 886 </p>
887 <dl> 887 <dl>
888 <dt>Returns:</dt> 888 <dt>Return:</dt>
889 <dd> 889 <dd>
890 copy of the icon image (QImage) 890 copy of the icon image (QImage)
891 </dd> 891 </dd>
892 </dl> 892 </dl>
893 <a NAME="IconEditorGrid.iconSize" ID="IconEditorGrid.iconSize"></a> 893 <a NAME="IconEditorGrid.iconSize" ID="IconEditorGrid.iconSize"></a>
896 896
897 <p> 897 <p>
898 Public method to get the size of the icon. 898 Public method to get the size of the icon.
899 </p> 899 </p>
900 <dl> 900 <dl>
901 <dt>Returns:</dt> 901 <dt>Return:</dt>
902 <dd> 902 <dd>
903 width and height of the image as a tuple (integer, integer) 903 width and height of the image as a tuple (integer, integer)
904 </dd> 904 </dd>
905 </dl> 905 </dl>
906 <a NAME="IconEditorGrid.isDirty" ID="IconEditorGrid.isDirty"></a> 906 <a NAME="IconEditorGrid.isDirty" ID="IconEditorGrid.isDirty"></a>
909 909
910 <p> 910 <p>
911 Public method to check the dirty status. 911 Public method to check the dirty status.
912 </p> 912 </p>
913 <dl> 913 <dl>
914 <dt>Returns:</dt> 914 <dt>Return:</dt>
915 <dd> 915 <dd>
916 flag indicating a modified status (boolean) 916 flag indicating a modified status (boolean)
917 </dd> 917 </dd>
918 </dl> 918 </dl>
919 <a NAME="IconEditorGrid.isGridEnabled" ID="IconEditorGrid.isGridEnabled"></a> 919 <a NAME="IconEditorGrid.isGridEnabled" ID="IconEditorGrid.isGridEnabled"></a>
922 922
923 <p> 923 <p>
924 Public method to get the grid lines status. 924 Public method to get the grid lines status.
925 </p> 925 </p>
926 <dl> 926 <dl>
927 <dt>Returns:</dt> 927 <dt>Return:</dt>
928 <dd> 928 <dd>
929 enabled status of the grid lines (boolean) 929 enabled status of the grid lines (boolean)
930 </dd> 930 </dd>
931 </dl> 931 </dl>
932 <a NAME="IconEditorGrid.isSelectionAvailable" ID="IconEditorGrid.isSelectionAvailable"></a> 932 <a NAME="IconEditorGrid.isSelectionAvailable" ID="IconEditorGrid.isSelectionAvailable"></a>
935 935
936 <p> 936 <p>
937 Public method to check the availability of a selection. 937 Public method to check the availability of a selection.
938 </p> 938 </p>
939 <dl> 939 <dl>
940 <dt>Returns:</dt> 940 <dt>Return:</dt>
941 <dd> 941 <dd>
942 flag indicating the availability of a selection (boolean) 942 flag indicating the availability of a selection (boolean)
943 </dd> 943 </dd>
944 </dl> 944 </dl>
945 <a NAME="IconEditorGrid.mouseMoveEvent" ID="IconEditorGrid.mouseMoveEvent"></a> 945 <a NAME="IconEditorGrid.mouseMoveEvent" ID="IconEditorGrid.mouseMoveEvent"></a>
1004 1004
1005 <p> 1005 <p>
1006 Public method to get the current drawing color. 1006 Public method to get the current drawing color.
1007 </p> 1007 </p>
1008 <dl> 1008 <dl>
1009 <dt>Returns:</dt> 1009 <dt>Return:</dt>
1010 <dd> 1010 <dd>
1011 current drawing color (QColor) 1011 current drawing color (QColor)
1012 </dd> 1012 </dd>
1013 </dl> 1013 </dl>
1014 <a NAME="IconEditorGrid.previewPixmap" ID="IconEditorGrid.previewPixmap"></a> 1014 <a NAME="IconEditorGrid.previewPixmap" ID="IconEditorGrid.previewPixmap"></a>
1017 1017
1018 <p> 1018 <p>
1019 Public method to generate a preview pixmap. 1019 Public method to generate a preview pixmap.
1020 </p> 1020 </p>
1021 <dl> 1021 <dl>
1022 <dt>Returns:</dt> 1022 <dt>Return:</dt>
1023 <dd> 1023 <dd>
1024 preview pixmap (QPixmap) 1024 preview pixmap (QPixmap)
1025 </dd> 1025 </dd>
1026 </dl> 1026 </dl>
1027 <a NAME="IconEditorGrid.setCompositingMode" ID="IconEditorGrid.setCompositingMode"></a> 1027 <a NAME="IconEditorGrid.setCompositingMode" ID="IconEditorGrid.setCompositingMode"></a>
1149 1149
1150 <p> 1150 <p>
1151 Public method to report the size hint. 1151 Public method to report the size hint.
1152 </p> 1152 </p>
1153 <dl> 1153 <dl>
1154 <dt>Returns:</dt> 1154 <dt>Return:</dt>
1155 <dd> 1155 <dd>
1156 size hint (QSize) 1156 size hint (QSize)
1157 </dd> 1157 </dd>
1158 </dl> 1158 </dl>
1159 <a NAME="IconEditorGrid.tool" ID="IconEditorGrid.tool"></a> 1159 <a NAME="IconEditorGrid.tool" ID="IconEditorGrid.tool"></a>
1162 1162
1163 <p> 1163 <p>
1164 Public method to get the current drawing tool. 1164 Public method to get the current drawing tool.
1165 </p> 1165 </p>
1166 <dl> 1166 <dl>
1167 <dt>Returns:</dt> 1167 <dt>Return:</dt>
1168 <dd> 1168 <dd>
1169 current drawing tool 1169 current drawing tool
1170 (IconEditorGrid.Pencil ... IconEditorGrid.CircleSelection) 1170 (IconEditorGrid.Pencil ... IconEditorGrid.CircleSelection)
1171 </dd> 1171 </dd>
1172 </dl> 1172 </dl>
1176 1176
1177 <p> 1177 <p>
1178 Public method to get the current zoom factor in percent. 1178 Public method to get the current zoom factor in percent.
1179 </p> 1179 </p>
1180 <dl> 1180 <dl>
1181 <dt>Returns:</dt> 1181 <dt>Return:</dt>
1182 <dd> 1182 <dd>
1183 zoom factor (integer) 1183 zoom factor (integer)
1184 </dd> 1184 </dd>
1185 </dl> 1185 </dl>
1186 <div align="right"><a href="#top">Up</a></div> 1186 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial