00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef PO_PRINT_PS_MONITOR_H
00025 #define PO_PRINT_PS_MONITOR_H
00026
00027 #include <HardCopy/editors/PoPrintMonitor.h>
00028 class SoDEPRECATED PoPrintPSMonitor : public PoPrintMonitor {
00043
00044 public:
00045
00046 enum PrintPSMask {
00047 NO_PRINT_PS_MASK = 0x00000000,
00048 COLORED_MASK = 0x00000001,
00049 ALL_PRINT_PS_MASK = COLORED_MASK
00050 };
00051
00055 PoPrintPSMonitor(SoWidget Parent = NULL,
00056 const SbString& name = "",
00057 SbBool buildInsideParent = TRUE);
00058
00059
00063 virtual ~PoPrintPSMonitor();
00064
00071 void setPrintPSFilter(unsigned long inclusionMask,
00072 unsigned long exclusionMask);
00073
00077 void getPrintPSFilter(unsigned long &inclusionMask,
00078 unsigned long &exclusionMask) const;
00079
00080
00081 private:
00082 void buildWidget(SoWidget Parent,
00083 const SbString& name,
00084 SbBool buildInsideParent);
00085
00086 void destroyAction();
00087
00088 void setFilter();
00089 int getMenuItems();
00090
00091 SbString getDefaultWidgetName() const;
00092 SbString getDefaultTitle() const;
00093 SbString getDefaultIconTitle() const;
00094
00095 unsigned long _incPrintPSMask;
00096 unsigned long _excPrintPSMask;
00097
00098 private:
00099 int _classMenusNb;
00100 SbBool _isPrintPSSet;
00101 void writeActionIntoFile();
00102 static void writeActionIntoFileCB(void *, PoPrintPSMonitor *);
00103 };
00104
00105
00106 #endif //PO_PRINT_PS_MONITOR_H
00107
00108