implements: Change the behaviour of the "Display idle players" sorting
menu #112
This commit is contained in:
@@ -708,7 +708,11 @@
|
|||||||
<number>0</number>
|
<number>0</number>
|
||||||
</property>
|
</property>
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
<widget class="QTextBrowser" name="textBrowser_ChatDisplay"/>
|
<widget class="QTextBrowser" name="textBrowser_ChatDisplay">
|
||||||
|
<property name="openExternalLinks">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="0">
|
<item row="1" column="0">
|
||||||
<widget class="QLineEdit" name="lineEdit_ChatInput"/>
|
<widget class="QLineEdit" name="lineEdit_ChatInput"/>
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ using namespace std;
|
|||||||
|
|
||||||
|
|
||||||
gameLobbyDialogImpl::gameLobbyDialogImpl(startWindowImpl *parent, ConfigFile *c)
|
gameLobbyDialogImpl::gameLobbyDialogImpl(startWindowImpl *parent, ConfigFile *c)
|
||||||
: QDialog(parent), myW(NULL), myStartWindow(parent), myConfig(c), currentGameName(""), myPlayerId(0), isGameAdministrator(false), inGame(false), guestMode(false), blinkingButtonAnimationState(true), myChat(NULL), keyUpCounter(0), infoMsgToShowId(0), currentInvitationGameId(0), inviteDialogIsCurrentlyShown(false), autoStartTimerCounter(0)
|
: QDialog(parent), myW(NULL), myStartWindow(parent), myConfig(c), currentGameName(""), myPlayerId(0), isGameAdministrator(false), inGame(false), guestMode(false), blinkingButtonAnimationState(true), myChat(NULL), keyUpCounter(0), infoMsgToShowId(0), currentInvitationGameId(0), inviteDialogIsCurrentlyShown(false), autoStartTimerCounter(0), lastNickListFilterState(0)
|
||||||
{
|
{
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
@@ -1495,12 +1495,22 @@ void gameLobbyDialogImpl::changeGameListFilter(int index)
|
|||||||
|
|
||||||
void gameLobbyDialogImpl::changeNickListFilter(int state)
|
void gameLobbyDialogImpl::changeNickListFilter(int state)
|
||||||
{
|
{
|
||||||
|
if(lastNickListFilterState == 0) {
|
||||||
|
myNickListSortFilterProxyModel->setLastFilterStateCountry(false);
|
||||||
|
myNickListSortFilterProxyModel->setLastFilterStateAlpha(true);
|
||||||
|
}
|
||||||
|
else if(lastNickListFilterState == 1) {
|
||||||
|
myNickListSortFilterProxyModel->setLastFilterStateCountry(true);
|
||||||
|
myNickListSortFilterProxyModel->setLastFilterStateAlpha(false);
|
||||||
|
}
|
||||||
|
|
||||||
myNickListSortFilterProxyModel->setFilterState(state);
|
myNickListSortFilterProxyModel->setFilterState(state);
|
||||||
myNickListModel->sort(0, Qt::DescendingOrder);
|
myNickListModel->sort(0, Qt::DescendingOrder);
|
||||||
|
|
||||||
myNickListSortFilterProxyModel->setFilterRegExp(QString());
|
myNickListSortFilterProxyModel->setFilterRegExp(QString());
|
||||||
myNickListSortFilterProxyModel->setFilterKeyColumn(0);
|
myNickListSortFilterProxyModel->setFilterKeyColumn(0);
|
||||||
|
|
||||||
|
lastNickListFilterState = state;
|
||||||
writeDialogSettings(2);
|
writeDialogSettings(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -198,6 +198,7 @@ private:
|
|||||||
|
|
||||||
QLabel *autoStartTimerOverlay;
|
QLabel *autoStartTimerOverlay;
|
||||||
int autoStartTimerCounter;
|
int autoStartTimerCounter;
|
||||||
|
int lastNickListFilterState;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool eventFilter(QObject *obj, QEvent *event);
|
bool eventFilter(QObject *obj, QEvent *event);
|
||||||
|
|||||||
@@ -63,7 +63,14 @@ bool MyNickListSortFilterProxyModel::lessThan(const QModelIndex &left, const QMo
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 2: {
|
case 2: {
|
||||||
return QSortFilterProxyModel::lessThan(left, right);
|
if(lastFilterStateCountry) {
|
||||||
|
QString leftCountryAndName(sourceModel()->data(left, 33).toString().toUpper()+sourceModel()->data(left, Qt::DisplayRole).toString().toLower());
|
||||||
|
QString rightCountryAndName(sourceModel()->data(right, 33).toString().toUpper()+sourceModel()->data(right, Qt::DisplayRole).toString().toLower());
|
||||||
|
return leftCountryAndName < rightCountryAndName;
|
||||||
|
}
|
||||||
|
else if(lastFilterStateAlpha) {
|
||||||
|
return QSortFilterProxyModel::lessThan(left, right);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,6 +28,8 @@ public:
|
|||||||
MyNickListSortFilterProxyModel(QObject *parent = 0);
|
MyNickListSortFilterProxyModel(QObject *parent = 0);
|
||||||
|
|
||||||
void setFilterState(int state);
|
void setFilterState(int state);
|
||||||
|
void setLastFilterStateCountry( bool country ) { lastFilterStateCountry = country;}
|
||||||
|
void setLastFilterStateAlpha( bool alpha ) { lastFilterStateAlpha = alpha;}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const;
|
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const;
|
||||||
@@ -36,7 +38,8 @@ protected:
|
|||||||
private:
|
private:
|
||||||
|
|
||||||
int filterState;
|
int filterState;
|
||||||
|
bool lastFilterStateCountry;
|
||||||
|
bool lastFilterStateAlpha;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
+52
-49
@@ -299,7 +299,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star23">
|
<widget class="QLabel" name="label_Star23">
|
||||||
@@ -312,7 +312,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star53">
|
<widget class="QLabel" name="label_Star53">
|
||||||
@@ -325,7 +325,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star43">
|
<widget class="QLabel" name="label_Star43">
|
||||||
@@ -338,7 +338,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star13">
|
<widget class="QLabel" name="label_Star13">
|
||||||
@@ -602,7 +602,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star22">
|
<widget class="QLabel" name="label_Star22">
|
||||||
@@ -615,7 +615,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star32">
|
<widget class="QLabel" name="label_Star32">
|
||||||
@@ -628,7 +628,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star42">
|
<widget class="QLabel" name="label_Star42">
|
||||||
@@ -641,7 +641,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star52">
|
<widget class="QLabel" name="label_Star52">
|
||||||
@@ -654,7 +654,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
@@ -915,7 +915,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star24">
|
<widget class="QLabel" name="label_Star24">
|
||||||
@@ -928,7 +928,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star54">
|
<widget class="QLabel" name="label_Star54">
|
||||||
@@ -941,7 +941,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star44">
|
<widget class="QLabel" name="label_Star44">
|
||||||
@@ -954,7 +954,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star14">
|
<widget class="QLabel" name="label_Star14">
|
||||||
@@ -967,7 +967,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
@@ -1205,7 +1205,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star25">
|
<widget class="QLabel" name="label_Star25">
|
||||||
@@ -1218,7 +1218,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star55">
|
<widget class="QLabel" name="label_Star55">
|
||||||
@@ -1231,7 +1231,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star45">
|
<widget class="QLabel" name="label_Star45">
|
||||||
@@ -1244,7 +1244,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star15">
|
<widget class="QLabel" name="label_Star15">
|
||||||
@@ -1257,7 +1257,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
@@ -1495,7 +1495,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star26">
|
<widget class="QLabel" name="label_Star26">
|
||||||
@@ -1508,7 +1508,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star56">
|
<widget class="QLabel" name="label_Star56">
|
||||||
@@ -1521,7 +1521,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star46">
|
<widget class="QLabel" name="label_Star46">
|
||||||
@@ -1534,7 +1534,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star16">
|
<widget class="QLabel" name="label_Star16">
|
||||||
@@ -1547,7 +1547,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
@@ -1805,7 +1805,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star27">
|
<widget class="QLabel" name="label_Star27">
|
||||||
@@ -1818,7 +1818,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star57">
|
<widget class="QLabel" name="label_Star57">
|
||||||
@@ -1831,7 +1831,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star47">
|
<widget class="QLabel" name="label_Star47">
|
||||||
@@ -1844,7 +1844,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star17">
|
<widget class="QLabel" name="label_Star17">
|
||||||
@@ -1857,7 +1857,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
@@ -2108,7 +2108,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star28">
|
<widget class="QLabel" name="label_Star28">
|
||||||
@@ -2121,7 +2121,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star58">
|
<widget class="QLabel" name="label_Star58">
|
||||||
@@ -2134,7 +2134,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star48">
|
<widget class="QLabel" name="label_Star48">
|
||||||
@@ -2147,7 +2147,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star18">
|
<widget class="QLabel" name="label_Star18">
|
||||||
@@ -2160,7 +2160,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
@@ -2873,7 +2873,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star21">
|
<widget class="QLabel" name="label_Star21">
|
||||||
@@ -2886,7 +2886,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star51">
|
<widget class="QLabel" name="label_Star51">
|
||||||
@@ -2899,7 +2899,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star41">
|
<widget class="QLabel" name="label_Star41">
|
||||||
@@ -2912,7 +2912,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star11">
|
<widget class="QLabel" name="label_Star11">
|
||||||
@@ -2925,7 +2925,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
@@ -3176,7 +3176,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star20">
|
<widget class="QLabel" name="label_Star20">
|
||||||
@@ -3189,7 +3189,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star50">
|
<widget class="QLabel" name="label_Star50">
|
||||||
@@ -3202,7 +3202,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star40">
|
<widget class="QLabel" name="label_Star40">
|
||||||
@@ -3215,7 +3215,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star10">
|
<widget class="QLabel" name="label_Star10">
|
||||||
@@ -3228,7 +3228,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
@@ -3466,7 +3466,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star29">
|
<widget class="QLabel" name="label_Star29">
|
||||||
@@ -3479,7 +3479,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star59">
|
<widget class="QLabel" name="label_Star59">
|
||||||
@@ -3492,7 +3492,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star49">
|
<widget class="QLabel" name="label_Star49">
|
||||||
@@ -3505,7 +3505,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_Star19">
|
<widget class="QLabel" name="label_Star19">
|
||||||
@@ -3518,7 +3518,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true"><a>&#9734;</a></string>
|
<string notr="true"><a>&#9734;</a></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
@@ -3635,6 +3635,9 @@ p, li { white-space: pre-wrap; }
|
|||||||
<property name="horizontalScrollBarPolicy">
|
<property name="horizontalScrollBarPolicy">
|
||||||
<enum>Qt::ScrollBarAlwaysOff</enum>
|
<enum>Qt::ScrollBarAlwaysOff</enum>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="openExternalLinks">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="0">
|
<item row="1" column="0">
|
||||||
|
|||||||
@@ -42,7 +42,6 @@ MyAvatarLabel::MyAvatarLabel(QGroupBox* parent)
|
|||||||
action_ReportBadAvatar = new QAction(QIcon(":/gfx/emblem-important.png"), tr("Report inappropriate avatar"), myContextMenu);
|
action_ReportBadAvatar = new QAction(QIcon(":/gfx/emblem-important.png"), tr("Report inappropriate avatar"), myContextMenu);
|
||||||
myContextMenu->addAction(action_ReportBadAvatar);
|
myContextMenu->addAction(action_ReportBadAvatar);
|
||||||
|
|
||||||
|
|
||||||
connect( action_VoteForKick, SIGNAL ( triggered() ), this, SLOT ( sendTriggerVoteOnKickSignal() ) );
|
connect( action_VoteForKick, SIGNAL ( triggered() ), this, SLOT ( sendTriggerVoteOnKickSignal() ) );
|
||||||
connect( action_IgnorePlayer, SIGNAL ( triggered() ), this, SLOT ( putPlayerOnIgnoreList() ) );
|
connect( action_IgnorePlayer, SIGNAL ( triggered() ), this, SLOT ( putPlayerOnIgnoreList() ) );
|
||||||
connect( action_ReportBadAvatar, SIGNAL ( triggered() ), this, SLOT ( reportBadAvatar() ) );
|
connect( action_ReportBadAvatar, SIGNAL ( triggered() ), this, SLOT ( reportBadAvatar() ) );
|
||||||
|
|||||||
Reference in New Issue
Block a user