mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 07:31:33 +08:00
add QFlag operators (#376)
This commit is contained in:
parent
a110d53a53
commit
21badd592e
@ -367,7 +367,8 @@ Q_SIGNALS:
|
|||||||
*/
|
*/
|
||||||
void viewToggled(bool Open);
|
void viewToggled(bool Open);
|
||||||
}; // class DockAreaWidget
|
}; // class DockAreaWidget
|
||||||
}
|
} // namespace ads
|
||||||
// namespace ads
|
|
||||||
|
Q_DECLARE_OPERATORS_FOR_FLAGS(ads::CDockAreaWidget::DockAreaFlags)
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
#endif // DockAreaWidgetH
|
#endif // DockAreaWidgetH
|
||||||
|
@ -617,5 +617,7 @@ Q_SIGNALS:
|
|||||||
void focusedDockWidgetChanged(ads::CDockWidget* old, ads::CDockWidget* now);
|
void focusedDockWidgetChanged(ads::CDockWidget* old, ads::CDockWidget* now);
|
||||||
}; // class DockManager
|
}; // class DockManager
|
||||||
} // namespace ads
|
} // namespace ads
|
||||||
|
|
||||||
|
Q_DECLARE_OPERATORS_FOR_FLAGS(ads::CDockManager::ConfigFlags)
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
#endif // DockManagerH
|
#endif // DockManagerH
|
||||||
|
@ -600,7 +600,8 @@ Q_SIGNALS:
|
|||||||
*/
|
*/
|
||||||
void featuresChanged(ads::CDockWidget::DockWidgetFeatures features);
|
void featuresChanged(ads::CDockWidget::DockWidgetFeatures features);
|
||||||
}; // class DockWidget
|
}; // class DockWidget
|
||||||
}
|
} // namespace ads
|
||||||
// namespace ads
|
|
||||||
|
Q_DECLARE_OPERATORS_FOR_FLAGS(ads::CDockWidget::DockWidgetFeatures)
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
#endif // DockWidgetH
|
#endif // DockWidgetH
|
||||||
|
@ -308,5 +308,6 @@ void repolishStyle(QWidget* w, eRepolishChildOptions Options = RepolishIgnoreChi
|
|||||||
} // namespace internal
|
} // namespace internal
|
||||||
} // namespace ads
|
} // namespace ads
|
||||||
|
|
||||||
|
Q_DECLARE_OPERATORS_FOR_FLAGS(ads::DockWidgetAreas)
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
#endif // ads_globalsH
|
#endif // ads_globalsH
|
||||||
|
Loading…
Reference in New Issue
Block a user