mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-08 14:49:58 +01:00
Clean up some code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3834 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -73,18 +73,17 @@ class BorderTitleBlock : public QObject
|
||||
qreal diagramWidth() const { return(columnsTotalWidth() + rowsHeaderWidth()); }
|
||||
/// @return the diagram height, i.e. the height of the border without title block
|
||||
qreal diagramHeight() const { return(rowsTotalHeight() + columnsHeaderHeight()); }
|
||||
|
||||
// title block
|
||||
qreal titleBlockHeight() const;
|
||||
|
||||
QRectF titleBlockRect () const;
|
||||
private:
|
||||
QRectF titleBlockRectForQPainter () const;
|
||||
|
||||
public:
|
||||
QRectF borderRect () const;
|
||||
qreal borderWidth () const;
|
||||
qreal borderHeight() const;
|
||||
QRectF borderAndTitleBlockRect () const;
|
||||
QRectF columnsRect () const;
|
||||
QRectF rowsRect () const;
|
||||
QRectF outsideBorderRect() const;
|
||||
QRectF insideBorderRect() const;
|
||||
|
||||
// methods to get title block basic data
|
||||
/// @return the value of the title block "Author" field
|
||||
|
||||
Reference in New Issue
Block a user