30 # if defined QTX_EXPORTS || defined qtx_EXPORTS
31 # define QTX_EXPORT _declspec( dllexport )
33 # define QTX_EXPORT _declspec( dllimport )
68 AlignLeft = Qt::AlignLeft,
69 AlignLeading = Qt::AlignLeading,
70 AlignRight = Qt::AlignRight,
71 AlignTrailing = Qt::AlignTrailing,
72 AlignHCenter = Qt::AlignHCenter,
73 AlignJustify = Qt::AlignJustify,
74 AlignAbsolute = Qt::AlignAbsolute,
75 AlignHorizontal_Mask = Qt::AlignHorizontal_Mask,
77 AlignTop = Qt::AlignTop,
78 AlignBottom = Qt::AlignBottom,
79 AlignVCenter = Qt::AlignVCenter,
80 AlignVertical_Mask = Qt::AlignVertical_Mask,
82 AlignCenter = Qt::AlignCenter,
84 AlignOutLeft = Qt::AlignVCenter << 2,
85 AlignOutRight = AlignOutLeft << 2,
86 AlignOutTop = AlignOutRight << 2,
87 AlignOutBottom = AlignOutTop << 2
99 AppropriateRole = Qt::UserRole + 100
126 ShowAll = ShowText | ShowIcon
139 CustomGradientBackground
192 bool isTextureShown()
const;
193 void setTextureShown(
bool );
195 QColor
color()
const;
196 void setColor(
const QColor& );
198 int gradient( QColor&, QColor& )
const;
199 void setGradient(
int,
const QColor&,
const QColor& );
201 const QGradient* gradient()
const;
202 void setGradient(
const QGradient& );
214 static QString toQString(
const char*,
const int = -1 );
215 static QString toQString(
const short*,
const int = -1 );
216 static QString toQString(
const unsigned char*,
const int = -1 );
217 static QString toQString(
const unsigned short*,
const int = -1 );
219 static void setTabOrder(
QWidget*, ... );
220 static void setTabOrder(
const QWidgetList& );
223 static void simplifySeparators(
QWidget*,
const bool =
true );
228 static QString dir(
const QString&,
const bool =
true );
229 static QString file(
const QString&,
const bool =
true );
230 static QString extension(
const QString&,
const bool =
false );
232 static QString library(
const QString& );
234 static QString tmpDir();
235 static bool mkDir(
const QString& );
236 static bool rmDir(
const QString& );
237 static bool dos2unix(
const QString& );
238 static QString addSlash(
const QString& );
240 static QCompleter* pathCompleter(
const PathType,
const QString& = QString() );
241 static QString findEnvVar(
const QString&,
int&,
int& );
242 static QString makeEnvVarSubst(
const QString&,
const SubstMode = Auto );
244 static int rgbSet(
const QColor& );
245 static int rgbSet(
const int,
const int,
const int );
247 static QColor rgbSet(
const int );
248 static void rgbSet(
const int,
int&,
int&,
int& );
250 static QColor scaleColor(
const int,
const int,
const int );
251 static void scaleColors(
const int,
QColorList& );
253 static QPixmap scaleIcon(
const QPixmap&,
const unsigned,
const unsigned = 0 );
254 static QImage grayscale(
const QImage& );
255 static QPixmap grayscale(
const QPixmap& );
256 static QImage transparentImage(
const int,
const int,
const int = -1 );
257 static QPixmap transparentPixmap(
const int,
const int,
const int = -1 );
258 static QPixmap composite(
const QPixmap&,
const int,
const int,
const QPixmap& = QPixmap() );
260 static QString colorToString(
const QColor& );
261 static bool stringToColor(
const QString&, QColor& );
262 static QString biColorToString(
const QColor&,
const int );
263 static bool stringToBiColor(
const QString&, QColor&,
int& );
264 static QColor mainColorToSecondary(
const QColor&,
int );
266 static QString gradientToString(
const QLinearGradient& );
267 static QString gradientToString(
const QRadialGradient& );
268 static QString gradientToString(
const QConicalGradient& );
269 static bool stringToLinearGradient(
const QString&, QLinearGradient& );
270 static bool stringToRadialGradient(
const QString&, QRadialGradient& );
271 static bool stringToConicalGradient(
const QString&, QConicalGradient& );
276 static long versionToId(
const QString& );
278 static QString qtDir(
const QString& = QString());
280 static QFont stringToFont(
const QString& fontDescription );
283 static void* getDisplay();
284 static Qt::HANDLE getVisual();