Change some general functions to SubWindowHandle in order to prepare code to the modules sub window type
This commit is contained in:
1 parent
a8b66f88ea
commit
08eaa19412
4 files changed
+129
-117
No files matched your search
@@ -41,9 +41,14 @@ class SubWindowHandle: public QMdiSubWindow
|
||||
Q_OBJECT
|
||||
|
||||
private:
|
||||
QScrollArea* m_cScrollArea;
|
||||
QPoint m_cLastScroll;
|
||||
|
||||
UInt m_uiCategory;
|
||||
QString m_cWindowName;
|
||||
|
||||
Void adjustScrollBarByZoom( Double factor, QPoint center );
|
||||
|
||||
public:
|
||||
enum SubWindowCategories
|
||||
{
|
||||
@@ -84,11 +89,18 @@ public:
|
||||
|
||||
protected:
|
||||
virtual void closeEvent( QCloseEvent *event ) = 0;
|
||||
virtual Void setMainWidget( QWidget *widget );
|
||||
QSize getScrollSize();
|
||||
|
||||
Q_SIGNALS:
|
||||
void zoomChanged();
|
||||
void updateStatusBar( const QString& );
|
||||
|
||||
public Q_SLOTS:
|
||||
void processZoomChanged( double factor, QPoint center );
|
||||
void adjustScrollBarByOffset( QPoint Offset );
|
||||
void updateLastScrollValue();
|
||||
|
||||
};
|
||||
|
||||
} // NAMESPACE
|
||||
|
||||
Reference in new issue
Block a user