|
|
|
@ -1349,7 +1349,7 @@ TQRect TQtCTDEStyle::querySubControlMetrics( ComplexControl control,
|
|
|
|
|
return ret;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static const char * const kstyle_close_xpm[] = {
|
|
|
|
|
static const char * const tdestyle_close_xpm[] = {
|
|
|
|
|
"12 12 2 1",
|
|
|
|
|
"# c #000000",
|
|
|
|
|
". c None",
|
|
|
|
@ -1366,7 +1366,7 @@ static const char * const kstyle_close_xpm[] = {
|
|
|
|
|
"............",
|
|
|
|
|
"............"};
|
|
|
|
|
|
|
|
|
|
static const char * const kstyle_maximize_xpm[]={
|
|
|
|
|
static const char * const tdestyle_maximize_xpm[]={
|
|
|
|
|
"12 12 2 1",
|
|
|
|
|
"# c #000000",
|
|
|
|
|
". c None",
|
|
|
|
@ -1384,7 +1384,7 @@ static const char * const kstyle_maximize_xpm[]={
|
|
|
|
|
"............"};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const char * const kstyle_minimize_xpm[] = {
|
|
|
|
|
static const char * const tdestyle_minimize_xpm[] = {
|
|
|
|
|
"12 12 2 1",
|
|
|
|
|
"# c #000000",
|
|
|
|
|
". c None",
|
|
|
|
@ -1401,7 +1401,7 @@ static const char * const kstyle_minimize_xpm[] = {
|
|
|
|
|
"............",
|
|
|
|
|
"............"};
|
|
|
|
|
|
|
|
|
|
static const char * const kstyle_normalizeup_xpm[] = {
|
|
|
|
|
static const char * const tdestyle_normalizeup_xpm[] = {
|
|
|
|
|
"12 12 2 1",
|
|
|
|
|
"# c #000000",
|
|
|
|
|
". c None",
|
|
|
|
@ -1419,7 +1419,7 @@ static const char * const kstyle_normalizeup_xpm[] = {
|
|
|
|
|
"............"};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const char * const kstyle_shade_xpm[] = {
|
|
|
|
|
static const char * const tdestyle_shade_xpm[] = {
|
|
|
|
|
"12 12 2 1",
|
|
|
|
|
"# c #000000",
|
|
|
|
|
". c None",
|
|
|
|
@ -1436,7 +1436,7 @@ static const char * const kstyle_shade_xpm[] = {
|
|
|
|
|
"............",
|
|
|
|
|
"............"};
|
|
|
|
|
|
|
|
|
|
static const char * const kstyle_unshade_xpm[] = {
|
|
|
|
|
static const char * const tdestyle_unshade_xpm[] = {
|
|
|
|
|
"12 12 2 1",
|
|
|
|
|
"# c #000000",
|
|
|
|
|
". c None",
|
|
|
|
@ -1599,17 +1599,17 @@ TQPixmap TQtCTDEStyle::stylePixmap( StylePixmap stylepixmap,
|
|
|
|
|
{
|
|
|
|
|
switch (stylepixmap) {
|
|
|
|
|
case SP_TitleBarShadeButton:
|
|
|
|
|
return TQPixmap(const_cast<const char**>(kstyle_shade_xpm));
|
|
|
|
|
return TQPixmap(const_cast<const char**>(tdestyle_shade_xpm));
|
|
|
|
|
case SP_TitleBarUnshadeButton:
|
|
|
|
|
return TQPixmap(const_cast<const char**>(kstyle_unshade_xpm));
|
|
|
|
|
return TQPixmap(const_cast<const char**>(tdestyle_unshade_xpm));
|
|
|
|
|
case SP_TitleBarNormalButton:
|
|
|
|
|
return TQPixmap(const_cast<const char**>(kstyle_normalizeup_xpm));
|
|
|
|
|
return TQPixmap(const_cast<const char**>(tdestyle_normalizeup_xpm));
|
|
|
|
|
case SP_TitleBarMinButton:
|
|
|
|
|
return TQPixmap(const_cast<const char**>(kstyle_minimize_xpm));
|
|
|
|
|
return TQPixmap(const_cast<const char**>(tdestyle_minimize_xpm));
|
|
|
|
|
case SP_TitleBarMaxButton:
|
|
|
|
|
return TQPixmap(const_cast<const char**>(kstyle_maximize_xpm));
|
|
|
|
|
return TQPixmap(const_cast<const char**>(tdestyle_maximize_xpm));
|
|
|
|
|
case SP_TitleBarCloseButton:
|
|
|
|
|
return TQPixmap(const_cast<const char**>(kstyle_close_xpm));
|
|
|
|
|
return TQPixmap(const_cast<const char**>(tdestyle_close_xpm));
|
|
|
|
|
case SP_DockWindowCloseButton:
|
|
|
|
|
return TQPixmap(const_cast<const char**>(dock_window_close_xpm ));
|
|
|
|
|
case SP_MessageBoxInformation:
|
|
|
|
|