* Use check box to enable "Print preview" instead of a button.
The button did make sense in BeOS where there was no printer selection dialog. The dialog is enabled in Haiku per default and clicking the "Preview" button closes the job setup dialog and returns to the printer selection dialog. The preview is shown after the printer selection dialog is closed clicking on the "OK" button. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39192 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -34,7 +34,7 @@ public:
|
||||
const PrinterCap* printerCap);
|
||||
virtual void AttachedToWindow();
|
||||
virtual void MessageReceived(BMessage* message);
|
||||
bool UpdateJobData(bool showPreview);
|
||||
bool UpdateJobData();
|
||||
|
||||
private:
|
||||
void UpdateButtonEnabledState();
|
||||
@@ -89,6 +89,7 @@ private:
|
||||
BRadioButton* fOddNumberedPages;
|
||||
BRadioButton* fEvenNumberedPages;
|
||||
std::map<PrinterCap::CapID, BPopUpMenu*> fDriverSpecificLists;
|
||||
BCheckBox* fPreview;
|
||||
};
|
||||
|
||||
class JobSetupDlg : public DialogWindow {
|
||||
|
||||
Reference in New Issue
Block a user