937 <p> |
937 <p> |
938 Class implementing the data structure for project browser simple directory |
938 Class implementing the data structure for project browser simple directory |
939 items. |
939 items. |
940 </p> |
940 </p> |
941 <h3>Derived from</h3> |
941 <h3>Derived from</h3> |
942 BrowserItem, ProjectBrowserItemMixin |
942 BrowserSimpleDirectoryItem, ProjectBrowserItemMixin |
943 <h3>Class Attributes</h3> |
943 <h3>Class Attributes</h3> |
944 |
944 |
945 <table> |
945 <table> |
946 <tr><td>None</td></tr> |
946 <tr><td>None</td></tr> |
947 </table> |
947 </table> |
955 <table> |
955 <table> |
956 |
956 |
957 <tr> |
957 <tr> |
958 <td><a href="#ProjectBrowserSimpleDirectoryItem.__init__">ProjectBrowserSimpleDirectoryItem</a></td> |
958 <td><a href="#ProjectBrowserSimpleDirectoryItem.__init__">ProjectBrowserSimpleDirectoryItem</a></td> |
959 <td>Constructor</td> |
959 <td>Constructor</td> |
960 </tr> |
|
961 <tr> |
|
962 <td><a href="#ProjectBrowserSimpleDirectoryItem.dirName">dirName</a></td> |
|
963 <td>Public method returning the directory name.</td> |
|
964 </tr> |
|
965 <tr> |
|
966 <td><a href="#ProjectBrowserSimpleDirectoryItem.lessThan">lessThan</a></td> |
|
967 <td>Public method to check, if the item is less than the other one.</td> |
|
968 </tr> |
|
969 <tr> |
|
970 <td><a href="#ProjectBrowserSimpleDirectoryItem.name">name</a></td> |
|
971 <td>Public method to return the name of the item.</td> |
|
972 </tr> |
|
973 <tr> |
|
974 <td><a href="#ProjectBrowserSimpleDirectoryItem.setName">setName</a></td> |
|
975 <td>Public method to set the directory name.</td> |
|
976 </tr> |
960 </tr> |
977 </table> |
961 </table> |
978 <h3>Static Methods</h3> |
962 <h3>Static Methods</h3> |
979 |
963 |
980 <table> |
964 <table> |
1005 <dt><i>path</i></dt> |
989 <dt><i>path</i></dt> |
1006 <dd> |
990 <dd> |
1007 path of the directory (string) |
991 path of the directory (string) |
1008 </dd> |
992 </dd> |
1009 </dl> |
993 </dl> |
1010 <a NAME="ProjectBrowserSimpleDirectoryItem.dirName" ID="ProjectBrowserSimpleDirectoryItem.dirName"></a> |
|
1011 <h4>ProjectBrowserSimpleDirectoryItem.dirName</h4> |
|
1012 <b>dirName</b>(<i></i>) |
|
1013 |
|
1014 <p> |
|
1015 Public method returning the directory name. |
|
1016 </p> |
|
1017 <dl> |
|
1018 <dt>Return:</dt> |
|
1019 <dd> |
|
1020 directory name (string) |
|
1021 </dd> |
|
1022 </dl> |
|
1023 <a NAME="ProjectBrowserSimpleDirectoryItem.lessThan" ID="ProjectBrowserSimpleDirectoryItem.lessThan"></a> |
|
1024 <h4>ProjectBrowserSimpleDirectoryItem.lessThan</h4> |
|
1025 <b>lessThan</b>(<i>other, column, order</i>) |
|
1026 |
|
1027 <p> |
|
1028 Public method to check, if the item is less than the other one. |
|
1029 </p> |
|
1030 <dl> |
|
1031 |
|
1032 <dt><i>other</i></dt> |
|
1033 <dd> |
|
1034 reference to item to compare against (BrowserItem) |
|
1035 </dd> |
|
1036 <dt><i>column</i></dt> |
|
1037 <dd> |
|
1038 column number to use for the comparison (integer) |
|
1039 </dd> |
|
1040 <dt><i>order</i></dt> |
|
1041 <dd> |
|
1042 sort order (Qt.SortOrder) (for special sorting) |
|
1043 </dd> |
|
1044 </dl> |
|
1045 <dl> |
|
1046 <dt>Return:</dt> |
|
1047 <dd> |
|
1048 true, if this item is less than other (boolean) |
|
1049 </dd> |
|
1050 </dl> |
|
1051 <a NAME="ProjectBrowserSimpleDirectoryItem.name" ID="ProjectBrowserSimpleDirectoryItem.name"></a> |
|
1052 <h4>ProjectBrowserSimpleDirectoryItem.name</h4> |
|
1053 <b>name</b>(<i></i>) |
|
1054 |
|
1055 <p> |
|
1056 Public method to return the name of the item. |
|
1057 </p> |
|
1058 <dl> |
|
1059 <dt>Return:</dt> |
|
1060 <dd> |
|
1061 name of the item (string) |
|
1062 </dd> |
|
1063 </dl> |
|
1064 <a NAME="ProjectBrowserSimpleDirectoryItem.setName" ID="ProjectBrowserSimpleDirectoryItem.setName"></a> |
|
1065 <h4>ProjectBrowserSimpleDirectoryItem.setName</h4> |
|
1066 <b>setName</b>(<i>dinfo, full=True</i>) |
|
1067 |
|
1068 <p> |
|
1069 Public method to set the directory name. |
|
1070 </p> |
|
1071 <dl> |
|
1072 |
|
1073 <dt><i>dinfo</i></dt> |
|
1074 <dd> |
|
1075 dinfo is the string for the directory (string) |
|
1076 </dd> |
|
1077 <dt><i>full</i></dt> |
|
1078 <dd> |
|
1079 flag indicating full path name should be displayed (boolean) |
|
1080 </dd> |
|
1081 </dl> |
|
1082 <div align="right"><a href="#top">Up</a></div> |
994 <div align="right"><a href="#top">Up</a></div> |
1083 <hr /> |
995 <hr /> |
1084 </body></html> |
996 </body></html> |