-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
113 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/*************************************************************************** | ||
qgscomposerhtml.cpp | ||
------------------------------------------------------------ | ||
begin : Julli 2012 | ||
copyright : (C) 2012 by Marco Hugentobler | ||
email : marco dot hugentobler at sourcepole dot ch | ||
*************************************************************************** | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
* the Free Software Foundation; either version 2 of the License, or * | ||
* (at your option) any later version. * | ||
* * | ||
***************************************************************************/ | ||
|
||
#include "qgscomposerhtml.h" | ||
|
||
QgsComposerHtml::QgsComposerHtml( QgsComposition* c ): QgsComposerMultiFrame( c ) | ||
{ | ||
} | ||
|
||
QgsComposerHtml::~QgsComposerHtml() | ||
{ | ||
} | ||
|
||
QSizeF QgsComposerHtml::totalSize() const | ||
{ | ||
return QSizeF(); //soon... | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/*************************************************************************** | ||
qgscomposerhtml.h | ||
------------------------------------------------------------ | ||
begin : Julli 2012 | ||
copyright : (C) 2012 by Marco Hugentobler | ||
email : marco dot hugentobler at sourcepole dot ch | ||
*************************************************************************** | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
* the Free Software Foundation; either version 2 of the License, or * | ||
* (at your option) any later version. * | ||
* * | ||
***************************************************************************/ | ||
|
||
#ifndef QGSCOMPOSERHTML_H | ||
#define QGSCOMPOSERHTML_H | ||
|
||
#include "qgscomposermultiframe.h" | ||
#include <QUrl> | ||
|
||
class QgsComposerHtml: public QgsComposerMultiFrame | ||
{ | ||
public: | ||
QgsComposerHtml( QgsComposition* c ); | ||
~QgsComposerHtml(); | ||
|
||
void setUrl( const QUrl& url ) { mUrl = url; } | ||
const QUrl& url() const { return mUrl; } | ||
|
||
QSizeF totalSize() const; | ||
|
||
private: | ||
QUrl mUrl; | ||
}; | ||
|
||
#endif // QGSCOMPOSERHTML_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters