| Segfault Apr 14 2014 on content Bespin | with the latest revision (1719) I get
ASSERT failure in QList<T>::at: "index out of range", file /usr/include/qt4/QtCore/qlist.h, line 469
Aborted
when choosing any SlideTransitions from {Door, Slide, Roll}
(this is exactly what I got when I tried to add my own transition to GUI, but I thought I just sucked at programming) |
| ![.](/img/trans.gif) | | Re: Re: Re: Tab Transition: Slide Right/Left Apr 8 2014 on content Bespin | Well, not exactly what I meant, but this was blazing fast! ;-)
I meant a transition, of one tab pushing the other that will actually _mimic_ the horizontal/vertical tab order, that is:
Suppose for now that the tab bar is horizontal.
if I switch to a tab LEFT of the currently active, then make the image of the new "slide in" from LEFT, and push the image of the old tab out of sight.
something like:
tabPix[2] = tabPix[1];
QPainter p(&tabPix[2]);
int w = tabPix[1].width()*(int)(ms)/(duration)*(int)(ms)/(duration);
p.drawPixmap(w,0,tabPix[0],0,0,tabPix[0].width(),tabPix[0].height());
p.drawPixmap(0,0,tabPix[1],tabPix[1].width() - w, 0 , w , tabPix[1].height());
break;
However, if the newly activated tab is to the RIGHT of the currently active, "slide in" from the RIGHT, and push the current image to the left.
Maybe the more appropriate name is "Shift Left/Right"?
|
| ![.](/img/trans.gif) | | Re: Re: Re: Tab Transition: Slide Right/Left Apr 8 2014 on content Bespin | Well, not exactly what I meant, but this was blazing fast! ;-)
I meant a transition, of one tab pushing the other that will actually _mimic_ the horizontal/vertical tab order, that is:
Suppose for now that the tab bar is horizontal.
if I switch to a tab LEFT of the currently active, then make the image of the new "slide in" from LEFT, and push the image of the old tab out of sight.
something like:
tabPix[2] = tabPix[1];
QPainter p(&tabPix[2]);
int w = tabPix[1].width()*(int)(ms)/(duration)*(int)(ms)/(duration);
p.drawPixmap(w,0,tabPix[0],0,0,tabPix[0].width(),tabPix[0].height());
p.drawPixmap(0,0,tabPix[1],tabPix[1].width() - w, 0 , w , tabPix[1].height());
break;
However, if the newly activated tab is to the RIGHT of the currently active, "slide in" from the RIGHT, and push the current image to the left.
Maybe the more appropriate name is "Shift Left/Right"?
|
| ![.](/img/trans.gif) | | Re: Re: Re: Tab Transition: Slide Right/Left Apr 8 2014 on content Bespin | Well, not exactly what I meant, but this was blazing fast! ;-)
I meant a transition, of one tab pushing the other that will actually _mimic_ the horizontal/vertical tab order, that is:
Suppose for now that the tab bar is horizontal.
if I switch to a tab LEFT of the currently active, then make the image of the new "slide in" from LEFT, and push the image of the old tab out of sight.
something like:
tabPix[2] = tabPix[1];
QPainter p(&tabPix[2]);
int w = tabPix[1].width()*(int)(ms)/(duration)*(int)(ms)/(duration);
p.drawPixmap(w,0,tabPix[0],0,0,tabPix[0].width(),tabPix[0].height());
p.drawPixmap(0,0,tabPix[1],tabPix[1].width() - w, 0 , w , tabPix[1].height());
break;
However, if the newly activated tab is to the RIGHT of the currently active, "slide in" from the RIGHT, and push the current image to the left.
Maybe the more appropriate name is "Shift Left/Right"?
|
| ![.](/img/trans.gif) | | Re: Re: Re: Tab Transition: Slide Right/Left Apr 8 2014 on content Bespin | Well, not exactly what I meant, but this was blazing fast! ;-)
I meant a transition, of one tab pushing the other that will actually _mimic_ the horizontal/vertical tab order, that is:
Suppose for now that the tab bar is horizontal.
if I switch to a tab LEFT of the currently active, then make the image of the new "slide in" from LEFT, and push the image of the old tab out of sight.
something like:
tabPix[2] = tabPix[1];
QPainter p(&tabPix[2]);
int w = tabPix[1].width()*(int)(ms)/(duration)*(int)(ms)/(duration);
p.drawPixmap(w,0,tabPix[0],0,0,tabPix[0].width(),tabPix[0].height());
p.drawPixmap(0,0,tabPix[1],tabPix[1].width() - w, 0 , w , tabPix[1].height());
break;
However, if the newly activated tab is to the RIGHT of the currently active, "slide in" from the RIGHT, and push the current image to the left.
Maybe the more appropriate name is "Shift Left/Right"?
|
| ![.](/img/trans.gif) | | Tab Transition: Slide Right/Left Apr 7 2014 on content Bespin | Could You please add a Slide Right/Left Tab transition, something along lines of
case SlideRight:
{
tabPix[2] = tabPix[1];
QPainter p(&tabPix[2]);
int w = tabPix[0].width()*(int)(ms)/(2*duration)*(int)(ms)/(duration);
//movement ala InQuad
float quote = 1 - ((float)_timeStep / (duration-ms));
//opacity linearly
p.drawPixmap(w,0,FX::fade(tabPix[0],quote),0,0,tabPix[0].width(),tabPix[0].height());
break;
}
Well most preferably style should detect which tab has been activated (to the right, or to the left of the previously active) and apply the appropriate transition ;-)
How do You like the idea? |
| ![.](/img/trans.gif) | | Re: Smooth Sep 5 2013 on content Cool Effect | open main.js of the effect, e.g.
kwrite `find ./.kde*|grep cooleffect|grep main.js` &
edit the last return statement in
isfadeWindow function
to your liking
Save & reload Cooleffect.
|
| ![.](/img/trans.gif) | | Re: Re: Re: Re: Re: Re: top left corner Mar 24 2013 on content wacom tablet | Well, we should thank You for Your work on wacomtablet instead!
It was a pleasure to test!
Cheers!
|
| ![.](/img/trans.gif) | | Re: Re: Re: Re: Re: Re: top left corner Mar 23 2013 on content wacom tablet | I tried the git version, it works perfectly now;
(installing, restarting kded4, deleting tabletprofilerc, plugging tablet, and finally creating default profile resutls in
https://dl.dropbox.com/u/2158899/tabletprofilesrc-clean-install
here:
https://dl.dropbox.com/u/2158899/tabletprofilesrc-map-tablet-area
is after mapping screen to right ~half of the tablet
|
| ![.](/img/trans.gif) | | Re: Re: Re: Re: top left corner Mar 23 2013 on content wacom tablet | I can see such an entry indeed;-)
[Wacom Intuos4 6x9][default][eraser]
Area=-1 -1 -2 -2
Button2=2
Button3=3
Mode=absolute
PressureCurve=0 0 100 100
Rotate=auto
ScreenMap=-1 -1 -1 -1
ScreenSpace=desktop
Threshold=27
[Wacom Intuos4 6x9][default][pad]
AbsWheel2Down=5
AbsWheel2Up=4
AbsWheelDown=5
AbsWheelUp=4
Button1=0
Button2=0
Button3=0
Button4=0
Button5=0
Button6=0
Button7=0
Button8=0
Button9=0
[Wacom Intuos4 6x9][default][stylus]
Area=-1 -1 -2 -2
Button2=2
Button3=3
Mode=absolute
PressureCurve=0 0 100 100
Rotate=auto
ScreenMap=-1 -1 -1 -1
ScreenSpace=desktop
TabletPcButton=off
Threshold=27
unfortunately I get 404 error on git access...
[btw.If I do ResetArea and then calibrate/Set Screen Proportions, then everything works as intended even after replugging the tablet.] |
| ![.](/img/trans.gif) |
Search people Current visitors New users Birthdays Most active users Back
|
|