This commit is contained in:
Stephen Dranger 2011-02-24 19:03:17 -06:00
parent 45827b45d1
commit 766fcb04aa
6 changed files with 18 additions and 8 deletions

View file

@ -136,7 +136,7 @@ class PesterTabWindow(QtGui.QFrame):
self.mainwindow.waitingMessages.messageAnswered(handle)
def initTheme(self, theme):
self.resize(*theme["convo/size"])
self.setStyleSheet(theme["convo/tabs/style"])
self.setStyleSheet(theme["convo/tabwindow/style"])
self.tabs.setShape(theme["convo/tabs/tabstyle"])
self.tabs.setStyleSheet("QTabBar::tab{ %s } QTabBar::tab:selected { %s }" % (theme["convo/tabs/style"], theme["convo/tabs/selectedstyle"]))

File diff suppressed because one or more lines are too long

View file

@ -641,6 +641,7 @@ class PesterMoodHandler(QtCore.QObject):
if self.mainwindow.currentMoodIcon:
moodicon = newmood.icon(self.mainwindow.theme)
self.mainwindow.currentMoodIcon.setPixmap(moodicon.pixmap(moodicon.realsize()))
if oldmood.name() != newmood.name():
for c in self.mainwindow.convos.values():
c.myUpdateMood(newmood)
self.mainwindow.moodUpdated.emit()

View file

@ -114,6 +114,11 @@ While pestering your chum, here are some useful features:
* Pressing the up arrow will cycle through a history of your comments,
so if you want to retype something, you can pull it up.
* You can submit directly to the Pesterchum Quote Database! If you
have a particualarly awesome conversation, you can submit it to the
database by simply highlighting the good part of the conversation,
right clicking it and choosing "Submit to Pesterchum QDB!"
MEMOS
-----
One of the most interesting features to make was the memos, and make

View file

@ -206,7 +206,6 @@
},
"convo":
{"style": "background-color: #fdb302;background-image:url($path/convobg.png);background-repeat: no-repeat; border:2px solid yellow; font-family: 'Courier'",
"tabstyle": "background-color: #fdb302; font-family: 'Courier'",
"scrollbar": { "style" : "padding-top:17px; padding-bottom:17px;width: 18px; background: white; border:2px solid #c48a00;",
"handle": "background-color:#c48a00;min-height:20px;",
"downarrow": "height:17px;border:0px solid #c48a00;",
@ -228,9 +227,12 @@
"input": {
"style": "background: white; border:2px solid #c48a00;margin-top:5px; margin-right:10px; margin-left:10px; font-size: 12px;font-family: 'Courier'"
},
"tabwindow" : {
"style": "background-color:#fdb302;border:0px"
},
"tabs": {
"style": "",
"selectedstyle": "",
"style": "background-color: #7f7f7f; font-family: 'Courier'; font:bold;min-height:25px;padding-left:3px;",
"selectedstyle": "border:0px;background-color:#fdb302;border-top:2px solid yellow; border-left:2px solid yellow;border-right:2px solid yellow; border-top-left-radius: 4px; border-top-right-radius: 4px;",
"newmsgcolor": "#fdb302",
"tabstyle": 0
},

View file

@ -247,7 +247,6 @@
},
"convo":
{"style": "background: rgb(190, 19, 4); font-family: 'Arial';",
"tabstyle": "background: rgb(190, 19, 4); font-family: 'Arial'",
"scrollbar": { "style" : "", "handle": "" },
"margins": {"top": 22, "bottom": 9, "left": 10, "right": 4 },
"size": [400, 250],
@ -264,6 +263,9 @@
"input": {
"style": "background: white;margin-top:5px; border:1px solid #c2c2c2; margin-right: 54px; font-size: 12px; height: 19px;"
},
"tabwindow" : {
"style": "background: rgb(190, 19, 4); font-family: 'Arial'"
},
"tabs": {
"style": "",
"selectedstyle": "",