This commit is contained in:
Stephen Dranger 2011-02-01 01:46:25 -06:00
parent 7cc312a4bd
commit b830b3a76c
36 changed files with 170 additions and 7 deletions

17
TODO
View file

@ -1,14 +1,18 @@
Features: Features:
* chumdb still trying to serialize QString? * chumdb not working great
* Windows: courier doesn't bold?? * tab recombining gives wrong window icon
* Transparent background
* switch focus to lineedit * switch focus to lineedit
* colors from ppl msging you not on your buddy list dont work - check chumdb * colors from ppl msging you not on your buddy list dont work - check chumdb
* scaling icons * scaling icons
* menubar should pass on mouse move * menubar should pass on mouse move
* tab background
* softcode conversation handle
* top box layout
* mood change image -- can't it be done already?
* chat scrolls when switch theme * chat scrolls when switch theme
* softcode menu names and protocol messages, menu location * softcode menu names and protocol messages, menu location
* eliminate "SWITCH" in profile menu * eliminate "SWITCH" in profile menu
* remove highlighted text area if focus in textinput
* windows text goes gray when out of focus * windows text goes gray when out of focus
* Logging * Logging
* Block list * Block list
@ -17,18 +21,23 @@ Features:
* User commands/stop user from sending commands accidentally * User commands/stop user from sending commands accidentally
* Hyperlinks * Hyperlinks
* color tags * color tags
* /me * /me ghostDunk's [GD'S]
* Transparent background
-- release alpha -- release alpha
* shared buddy lists - changes to the buddy list should refresh it? * shared buddy lists - changes to the buddy list should refresh it?
multiple clients share buddy list??? multiple clients share buddy list???
* User profile menu options (color...?) * User profile menu options (color...?)
* System tray menu * System tray menu
* comment history (up button) * comment history (up button)
* page up/down scrolling
* ctrl-tab should prefer new convos
* Chat rooms/browser * Chat rooms/browser
* More complex quirks * More complex quirks
* Implement TC options * Implement TC options
* spell check? * spell check?
* Help menu
-- release beta -- release beta
* pick your own icon
* time codes * time codes
* theme elements define, implement * theme elements define, implement
* Theme checking * Theme checking

1
logs/chums.js Normal file
View file

@ -0,0 +1 @@
{"gamblingGenocider": {"color": "#00ff00", "handle": "gamblingGenocider", "mood": "offline"}, "aquaMarinist": {"color": "#00caca", "handle": "aquaMarinist", "mood": "offline"}, "unknownTraveler": {"color": "#006666", "handle": "unknownTraveler", "mood": "offline"}, "captainCaveman": {"color": "#7c414e", "handle": "captainCaveman", "mood": "offline"}}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1 +1 @@
{"tabs": true, "chums": ["aquaMarinist", "gardenGnostic", "gamblingGenocider", "schlagzeugGator", "mechanicalSpectacle", "marineAquist"], "defaultprofile": "testProfile"} {"tabs": true, "chums": ["aquaMarinist", "gardenGnostic", "gamblingGenocider", "schlagzeugGator", "mechanicalSpectacle", "marineAquist"], "defaultprofile": "ghostDunk"}

View file

@ -75,7 +75,7 @@ class PesterProfileDB(dict):
fp = open("logs/chums.js", 'w') fp = open("logs/chums.js", 'w')
json.dump(chumdict, fp) json.dump(chumdict, fp)
fp.close() fp.close()
converted = dict([(handle, PesterProfile(handle, color=QtGui.Color(c['color']), mood=Mood(c['mood']))) for (handle, c) in chumdict.iteritems()]) converted = dict([(handle, PesterProfile(handle, color=QtGui.QColor(c['color']), mood=Mood(c['mood']))) for (handle, c) in chumdict.iteritems()])
self.update(converted) self.update(converted)
def save(self): def save(self):
@ -85,8 +85,10 @@ class PesterProfileDB(dict):
fp.close() fp.close()
def getColor(self, handle, default=None): def getColor(self, handle, default=None):
if not self.has_key(handle): if not self.has_key(handle):
print "no color found for %s" % (handle)
return default return default
else: else:
print "pulled %s from db" % (handle)
return self[handle]["color"] return self[handle]["color"]
def setColor(self, handle, color): def setColor(self, handle, color):
if self.has_key(handle): if self.has_key(handle):

View file

@ -1 +1 @@
{"color": "#ff00ff", "theme": "trollian", "quirks": [], "handle": "ghostDunk"} {"color": "#ff00ff", "theme": "pesterchum", "quirks": [], "handle": "ghostDunk"}

1
profiles/superGhost.js Normal file
View file

@ -0,0 +1 @@
{"color": "#aa00ff", "theme": "pesterchum", "quirks": [], "handle": "superGhost"}

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 B

BIN
themes/pesterchum6/h.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 B

BIN
themes/pesterchum6/m.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 B

Binary file not shown.

BIN
themes/pesterchum6/pcbg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 B

150
themes/pesterchum6/style.js Normal file
View file

@ -0,0 +1,150 @@
{"main":
{"style": "background-image:url($path/pcbg.png);",
"size": [232, 380],
"icon": "$path/trayicon.gif",
"newmsgicon": "$path/trayicon2.gif",
"windowtitle": "PESTERCHUM",
"close": { "image": "$path/x.gif",
"loc": [210, 2]},
"minimize": { "image": "$path/m.gif",
"loc": [190, 2]},
"menubar": { "style": "font-family: 'Courier'; font:bold; font-size: 12px;" },
"menu" : { "style": "font-family: 'Courier'; font: bold; font-size: 12px; background-color: #fdb302;border:2px solid #ffff00",
"selected": "background-color: #ffff00"
},
"sounds": { "alertsound": "$path/alarm.wav" },
"chums": { "style": "border:2px solid yellow; background-color: black;color: white;font: bold;font-family: 'Courier';selection-background-color:#646464; ",
"loc": [12, 117],
"size": [209, 82],
"moods": { "chummy": { "icon": "$path/chummy.gif",
"color": "white" },
"offline": { "icon": "$path/offline.gif",
"color": "#646464"},
"rancorous": { "icon": "$path/rancorous.gif",
"color": "red" },
"detestful": { "icon": "$path/detestful.gif",
"color": "red" },
"devious": { "icon": "$path/devious.gif",
"color": "white" },
"discontent": { "icon": "$path/discontent.gif",
"color": "white" },
"distraught": { "icon": "$path/distraught.gif",
"color": "white" },
"ecstatic": { "icon": "$path/estatic.gif",
"color": "white" },
"pleasant": { "icon": "$path/pleasant.gif",
"color": "white" },
"relaxed": { "icon": "$path/relaxed.gif",
"color": "white" },
"sleek": { "icon": "$path/sleek.gif",
"color": "white" },
"smooth": { "icon": "$path/smooth.gif",
"color": "white" },
"unruly": { "icon": "$path/unruly.gif",
"color": "white" }
}
},
"mychumhandle": { "label": { "text": "CHUMHANDLE:",
"loc": [19,232],
"style": "color: rgba(255, 255, 0, 0%) ; font-family: 'Courier';" },
"handle": { "style": "background: black; padding: 3px; color:white; font-family:'Courier'; font:bold; text-align:left;",
"loc": [14,246],
"size": [190, 21] },
"colorswatch": { "loc": [196,246],
"size": [23,21],
"text": "" }
},
"defaultwindow": { "style": "background: #fdb302; font-family:'Courier';font:bold;selection-background-color:#919191; "
},
"addchum": { "style": "background: rgba(255, 255, 0, 0%); border:2px solid #c48a00; font: bold; color: rgba(0, 0, 0, 0%); font-family:'Courier';",
"loc": [12,202],
"size": [71, 22],
"text": "ADD CHUM"
},
"pester": { "style": "background: rgba(255, 255, 0, 0%); border:2px solid #c48a00; font: bold; color: rgba(255, 255, 0, 0%); font-family:'Courier';",
"loc": [150,202],
"size": [71, 22],
"text": "PESTER!"
},
"defaultmood": "chummy",
"moodlabel": { "style": "",
"loc": [20, 4300],
"text": "MOODS"
},
"moods": [
{ "style": "text-align:left; background: yellow; border:2px solid #c48a00; padding: 5px;color:#000000; font-family:'Courier'",
"selected": "text-align:left; background: yellow; border:2px solid #c48a00; padding: 5px;color:#000000; font-family:'Courier'; font:bold; font-size:9pt;",
"loc": [12, 288],
"size": [104, 22],
"text": "CHUMMY",
"icon": "$path/chummy.gif",
"mood": "chummy"
},
{ "style": "text-align:left; background: yellow; border:2px solid #c48a00; padding: 5px;color:#000000; font-family:'Courier'",
"selected": "text-align:left; background: yellow; border:2px solid #c48a00; padding: 5px;color:#000000; font-family:'Courier'; font: bold; font-size:9pt;",
"loc": [12, 308],
"size": [104, 22],
"text": "PALSY",
"icon": "$path/chummy.gif",
"mood": "pleasant.gif"
},
{ "style": "text-align:left; background: yellow; border:2px solid #c48a00; padding: 5px;color:#000000; font-family:'Courier'",
"selected": "text-align:left; background: yellow; border:2px solid #c48a00; padding: 5px;color:#000000; font-family:'Courier';font: bold; font-size:9pt;",
"loc": [12, 328],
"size": [104, 22],
"text": "CHIPPER",
"icon": "$path/chummy.gif",
"mood": "distraught"
},
{ "style": "text-align:left; background: yellow; border:2px solid #c48a00; padding: 5px;color:#000000; font-family:'Courier'",
"selected": "text-align:left; background: yellow; border:2px solid #c48a00; padding: 5px;color:#000000; font-family:'Courier'; font-size:9pt; font: bold;",
"loc": [117, 288],
"size": [104, 22],
"text": "BULLY",
"icon": "$path/chummy.gif",
"mood": "unruly"
},
{ "style": "text-align:left; background: yellow; border:2px solid #c48a00; padding: 5px;color:#000000; font-family:'Courier'",
"selected": "text-align:left; background: yellow; border:2px solid #c48a00; padding: 5px;color:#000000; font-family:'Courier';font: bold; font-size:9pt;",
"loc": [117, 308],
"size": [104, 22],
"text": "PEPPY",
"icon": "$path/chummy.gif",
"mood": "smooth"
},
{ "style": "text-align:left; background: red; border:2px solid #c48a00; padding: 5px;color:#FFFFFF; font-family:'Courier'",
"selected": "text-align:left; background: red; border:2px solid #c48a00; padding: 5px;color:#FFFFFF; font-family:'Courier';font: bold; font-size:9pt;",
"loc": [117, 328],
"size": [104, 22],
"text": "RANCOROUS",
"icon": "$path/rancorous.gif",
"mood": 1
},
{ "style": "text-align:center; background: black; border:2px solid #c48a00; padding: 5px;color:#646464; font-family:'Courier'",
"selected": "text-align:center; background: black; border:2px solid #c48a00; padding: 5px;color:#646464; font-family:'Courier';font: bold; font-size:9pt;",
"loc": [12, 348],
"size": [209, 22],
"text": "ABSCOND",
"icon": "$path/offline.gif",
"mood": 2
}
]
},
"convo":
{"style": "background: #fdb302; border:2px solid yellow; font-family: 'Courier'",
"size": [295, 191],
"chumlabel": { "style": "background: rgb(196, 138, 0);" },
"textarea": {
"style": "background: white; font:bold; border:2px solid #c48a00;"
},
"input": {
"style": "background: white; border:2px solid #c48a00;"
},
"tabs": {
"style": "",
"newmsgcolor": "#fdb302",
"tabstyle": 0
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 B

BIN
themes/pesterchum6/x.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 B