Search found 47 matches

by dicene
Sun Nov 27, 2016 10:02 pm
Forum: Mudlet Development
Topic: Sound/Windows
Replies: 19
Views: 9296

Re: Sound/Windows

QT's sound stuff isn't too complicated, so adding in volume controls would be pretty easy. Biggest thing would just be figuring out how you want everything to work. My impression so far has been that it would be best to keep the existing playSoundFile mechanics available for those that want simple s...
by dicene
Tue Nov 08, 2016 10:29 am
Forum: Mudlet Development
Topic: Some GitHub related questions
Replies: 5
Views: 4127

Re: Some GitHub related questions

After messing around in GitHub and the desktop app a little, I think I've got the gist of the basic part of it. Got all the compiled files being ignored by an updated ignore file that I've got set NOT to be commited. Used the Fork option on the website, then made a new branch named after the change ...
by dicene
Sat Nov 05, 2016 7:44 am
Forum: Mudlet Development
Topic: Some GitHub related questions
Replies: 5
Views: 4127

Some GitHub related questions

So I've finally decided to start making contributions beyond forum posts, which means I'm finally going to start using GitHub and trying to put things into pull requests. Got a few (probably) simple questions. My first thing will be adding in getMousePosition(). It involves a very small amount of ch...
by dicene
Sat Oct 29, 2016 7:08 am
Forum: Mudlet Development
Topic: Messing with userwindows
Replies: 26
Views: 13184

Re: Messing with userwindows

@SlySven Yeah. I've put it off long enough. Gonna make it a project this weekend to transition from using an old custom copy of Mudlet's source locally to actually utilizing git properly.
by dicene
Sat Oct 29, 2016 4:25 am
Forum: Mudlet Development
Topic: Messing with userwindows
Replies: 26
Views: 13184

Re: Messing with userwindows

Well, if I'm not misunderstanding things, a label in Mudlet is a QLabel, which inherits QFrame, which inherits QWidget, which means it should have access to QWidget's functions which include: raise() lower() stackUnder() It'd be a little weird trying to build a proper z-order system with nothing but...
by dicene
Sat Oct 29, 2016 12:00 am
Forum: Mudlet Development
Topic: Messing with userwindows
Replies: 26
Views: 13184

Re: Messing with userwindows

So, from looking around a bit what I think I've found is: basically controlling z-order manually is limited to the following objects (QGraphicsEllipseItem, QGraphicsLineItem, QGraphicsPathItem, QGraphicsPixmapItem, QGraphicsPolygonItem, QGraphicsRectItem, QGraphicsSimpleTextItem, QGraphicsTextItem) ...
by dicene
Fri Oct 28, 2016 11:42 pm
Forum: Mudlet Development
Topic: Deleted script body?
Replies: 10
Views: 7569

Re: Deleted script body?

Wonder how hard it would be to code in that getSummary() function you want. Hrm...
by dicene
Thu Oct 27, 2016 9:25 am
Forum: Mudlet Development
Topic: Messing with userwindows
Replies: 26
Views: 13184

Re: Messing with userwindows

So, played around with getMousePosition and setLabelReleaseCallback some more and built a sort of basic framework that lets you create draggable/resizable windows that have the complicated parts already baked in. Here is the framework: --testDWin dwins = dwins or {} dwinFuncs = dwinFuncs or {} funct...
by dicene
Tue Oct 25, 2016 5:58 pm
Forum: Mudlet Development
Topic: Messing with userwindows
Replies: 26
Views: 13184

Re: Messing with userwindows

My employer made my decision on Mudlet-Forums v Gitter for me, since I don't have access to Gitter at work. :| First, I played with getMousePosition a little to make sure I was right on how it works. I originally had it using a function that was returning mouse position relative to the window the mo...
by dicene
Mon Oct 24, 2016 9:26 pm
Forum: Mudlet Development
Topic: Messing with userwindows
Replies: 26
Views: 13184

Re: Messing with userwindows

Re: ClickRelease, I don't see any code to do it yet, but if I remember what the onClick code looks like, it should be pretty trivial to add. If that's the case, I'll do it myself. I'll try and remember to look at it when I get home. As far as getMousePosition goes, I wasn't requiring any sort of arg...