Lines Matching refs:docPref
43 DocumentPreferences& docPref = Preferences::instance().document(ctx->activeDocument()); in onChecked() local
44 return docPref.grid.snap(); in onChecked()
48 DocumentPreferences& docPref = Preferences::instance().document(ctx->activeDocument()); in onExecute() local
49 bool newValue = !docPref.grid.snap(); in onExecute()
50 docPref.grid.snap(newValue); in onExecute()
74 DocumentPreferences& docPref = in onExecute() local
77 docPref.grid.bounds(mask->bounds()); in onExecute()
80 if (!docPref.show.grid()) in onExecute()
81 docPref.show.grid(true); in onExecute()
109 DocumentPreferences& docPref = Preferences::instance().document(context->activeDocument()); in onExecute() local
110 Rect bounds = docPref.grid.bounds(); in onExecute()
126 docPref.grid.bounds(bounds); in onExecute()
129 if (!docPref.show.grid()) in onExecute()
130 docPref.show.grid(true); in onExecute()