34 #include <QtCore/QtGlobal> 44 QT_FORWARD_DECLARE_CLASS(QAbstractButton)
47 #ifdef ADS_SHARED_EXPORT 48 #define ADS_EXPORT Q_DECL_EXPORT 50 #define ADS_EXPORT Q_DECL_IMPORT 57 #ifdef ADS_DEBUG_PRINT 58 #define ADS_PRINT(s) qDebug() << s 65 #define ADS_DEBUG_LEVEL 0 67 QT_FORWARD_DECLARE_CLASS(QSplitter)
142 xcb_atom_t xcb_get_atom(
const char *
name);
147 void xcb_add_prop(
bool state, WId window,
const char *
type,
const char *prop);
151 void xcb_update_prop(
bool set, WId window,
const char *
type,
const char *prop,
const char *prop2 =
nullptr);
155 bool xcb_dump_props(WId window,
const char *
type);
161 QString windowManager();
184 bool append()
const {
return this->second;}
205 QWidget* parentWidget = w->parentWidget();
208 T ParentImpl = qobject_cast<T>(parentWidget);
213 parentWidget = parentWidget->parentWidget();
230 void setFlag(T& Flags,
typename T::enum_type flag,
bool on =
true)
232 #if QT_VERSION >= 0x050700 233 Flags.setFlag(flag, on);
251 template <
class QObjectPtr>
254 #ifndef QT_NO_TOOLTIP 255 obj->setToolTip(tip);
276 void setButtonIcon(QAbstractButton* Button, QStyle::StandardPixmap StandarPixmap,
298 #endif // ads_globalsH static const bool RestoreTesting
void setToolTip(QObjectPtr obj, const QString &tip)
void replaceSplitterWidget(QSplitter *Splitter, QWidget *From, QWidget *To)
void repolishStyle(QWidget *w, eRepolishChildOptions Options=RepolishIgnoreChildren)
static const char *const DirtyProperty
T findParent(const QWidget *w)
void setFlag(T &Flags, typename T::enum_type flag, bool on=true)
static void setButtonIcon(QPushButton *button, QIcon icon)
just a delimiter for range checks
void hideEmptyParentSplitters(CDockSplitter *FirstParentSplitter)
static const bool Restore
CDockInsertParam dockAreaInsertParameters(DockWidgetArea Area)
Qt::Orientation orientation() const
QPixmap createTransparentPixmap(const QPixmap &Source, qreal Opacity)
static const char *const ClosedProperty