Implement continuous tape labels and path-based label shapes.
- Added "roll" as a special paper id - Added roll_width attribute to draw tape in previews - Updated Brother QL-500/* label templates - Preserve print dialog settings between print jobs. - Added path based labels for arbitrary shaped labels. - Fleshed out implementation of continuous labels.
This commit is contained in:
+7
-2
@@ -42,7 +42,7 @@ namespace glabels
|
||||
const Distance& yWaste,
|
||||
const QString& id = "0" );
|
||||
|
||||
FrameRect( const FrameRect& other );
|
||||
FrameRect( const FrameRect& other ) = default;
|
||||
|
||||
Frame* dup() const override;
|
||||
|
||||
@@ -59,7 +59,8 @@ namespace glabels
|
||||
|
||||
const QPainterPath& path() const override;
|
||||
const QPainterPath& clipPath() const override;
|
||||
QPainterPath marginPath( const Distance& size ) const override;
|
||||
QPainterPath marginPath( const Distance& xSize,
|
||||
const Distance& ySize ) const override;
|
||||
|
||||
|
||||
private:
|
||||
@@ -78,4 +79,8 @@ namespace glabels
|
||||
}
|
||||
|
||||
|
||||
// Debugging support
|
||||
QDebug operator<<( QDebug dbg, const glabels::model::FrameRect& frame );
|
||||
|
||||
|
||||
#endif // model_FrameRect_h
|
||||
|
||||
Reference in New Issue
Block a user