#include <FrontWidget.h>
| FrontWidget::FrontWidget |
( |
Controller * |
aController, |
|
|
QMainWindow & |
aParent |
|
) |
| |
| FrontWidget::~FrontWidget |
( |
| ) |
|
method for bringing up dialog for display of profile comments
- Parameters
-
| aListingModel | datamodel holding the comments to list (UI model) |
| aCommentModel | datamodel holding the comment data (storage model) |
| aInitialComment | if non-null, hash of comment to initially focus |
| aViewedProfile | fingerprint of profile whose comments are shown |
- Returns
- none
| virtual void FrontWidget::addCaSenderToContacts |
( |
| ) |
|
|
virtualslot |
called from ca listing tab
| virtual void FrontWidget::addContactButtonClicked |
( |
| ) |
|
|
virtualslot |
| virtual void FrontWidget::addContactFromContactViewButtonClicked |
( |
| ) |
|
|
virtualslot |
new contact from "view contact" tab
| virtual void FrontWidget::addMessageSenderToContacts |
( |
| ) |
|
|
virtualslot |
| virtual void FrontWidget::CAselectionChangedSlot |
( |
const QItemSelection & |
, |
|
|
const QItemSelection & |
|
|
) |
| |
|
virtualslot |
this slot is called when classified ads header listing view has new selection
| virtual void FrontWidget::caTabAboutComboChanged |
( |
int |
aNewIndex | ) |
|
|
virtualslot |
| virtual void FrontWidget::caTabConcernsComboChanged |
( |
int |
aNewIndex | ) |
|
|
virtualslot |
| virtual void FrontWidget::caTabWhereComboChanged |
( |
int |
aNewIndex | ) |
|
|
virtualslot |
| virtual void FrontWidget::commentCaPosterProfile |
( |
| ) |
|
|
virtualslot |
| virtual void FrontWidget::commentPrivMsgPosterProfile |
( |
| ) |
|
|
virtualslot |
| QVariant FrontWidget::contactDataOfSelectedProfile |
( |
| ) |
|
method for retrieving contacts list of the profile currently selected
| virtual void FrontWidget::contactsSelectionChangedSlot |
( |
const QItemSelection & |
, |
|
|
const QItemSelection & |
|
|
) |
| |
|
virtualslot |
this slot is called when contacts listing view has new selection
| void FrontWidget::displayedCaChanged |
( |
| ) |
|
|
signal |
emitted when ca on display is replaced
| void FrontWidget::displayedPrivMsgChanged |
( |
| ) |
|
|
signal |
emitted when privmsg on display is replaced
| virtual void FrontWidget::editContactActionSelected |
( |
| ) |
|
|
virtualslot |
| virtual void FrontWidget::exportSharedFile |
( |
| ) |
|
|
virtualslot |
operator wants to save a shared file
| virtual void FrontWidget::fileToBeSharedAdded |
( |
| ) |
|
|
virtualslot |
operator wants to share a file
| virtual void FrontWidget::fileToBeSharedRemoved |
( |
| ) |
|
|
virtualslot |
operator wants to stop advertasing a shared file
| static void FrontWidget::fillCaSelectionCombobox |
( |
QComboBox & |
aComboBox, |
|
|
bool |
isAboutComboBox, |
|
|
MController & |
aController |
|
) |
| |
|
static |
Method for filling ad-category-selection -related comboboxes. This is implemented here in frontwidget but is used by dialogs as well, and that is the reason why this method is public.
| bool FrontWidget::isContactInContactList |
( |
const Hash & |
aFingerPrint | ) |
const |
method for checking if given profile is in contact list of selected profile
| virtual void FrontWidget::isPrivateSettingChanged |
( |
int |
aState | ) |
|
|
virtualslot |
callback of "is private" checkbox
| virtual void FrontWidget::ownProfileCommentDoubleClicked |
( |
const QModelIndex & |
aSelection | ) |
|
|
virtualslot |
this slot is called when user doubleclicks profile comment listing of own profile
| virtual void FrontWidget::ownProfileCommentselectionChangedSlot |
( |
const QItemSelection & |
, |
|
|
const QItemSelection & |
|
|
) |
| |
|
virtualslot |
this slot is called when own profile comments listing is changed
| virtual void FrontWidget::performAdsSearchClicked |
( |
| ) |
|
|
virtualslot |
| virtual void FrontWidget::postNewClassifiedAd |
( |
| ) |
|
|
virtualslot |
| virtual void FrontWidget::postNewPrivateMessage |
( |
| ) |
|
|
virtualslot |
| virtual void FrontWidget::privMsgselectionChangedSlot |
( |
const QItemSelection & |
, |
|
|
const QItemSelection & |
|
|
) |
| |
|
virtualslot |
this slot is called when private messages header listing view has new selection
| virtual void FrontWidget::profileEdited |
( |
const QString & |
aNewText | ) |
|
|
virtualslot |
callback for any UI actions that edit profile
| virtual void FrontWidget::profileImageClicked |
( |
| ) |
|
|
virtualslot |
callback of image selection
| virtual void FrontWidget::profileReadersClicked |
( |
| ) |
|
|
virtualslot |
callback of reader-list edit
| virtual void FrontWidget::profileSendCommentButtonClicked |
( |
| ) |
|
|
virtualslot |
| virtual void FrontWidget::profileSendMsgButtonClicked |
( |
| ) |
|
|
virtualslot |
| virtual void FrontWidget::profileShowReadersButtonClicked |
( |
| ) |
|
|
virtualslot |
| virtual void FrontWidget::publishProfileButtonClicked |
( |
| ) |
|
|
virtualslot |
| void FrontWidget::receiveNotifyOfContentReceived |
( |
const Hash & |
aHashOfContent, |
|
|
const ProtocolItemType |
aTypeOfReceivdContent |
|
) |
| |
kind of "observer" method called from controller when there is new content available ; odds are that we're displaying or waiting some of that
| void FrontWidget::receiveNotifyOfContentReceived |
( |
const Hash & |
aHashOfContent, |
|
|
const Hash & |
aHashOfClassificationOrDestination, |
|
|
const ProtocolItemType |
aTypeOfReceivdContent |
|
) |
| |
kind of "observer" method called from controller when there is new content available ; odds are that we're displaying or waiting some of that. This variant is hit with notifications about classified ads or private messages
- Parameters
-
| aHashOfContent | fingerprint of the object (ca or priv msg) received |
| aHashOfClassificationOrDestination | in case of ca, this is fingerprint of the classification, in case of private message, this is recipient profile fingerprint. |
| virtual void FrontWidget::removeContactButtonClicked |
( |
| ) |
|
|
virtualslot |
| virtual void FrontWidget::replyToCaButtonClicked |
( |
| ) |
|
|
virtualslot |
| virtual void FrontWidget::replyToCaToForumButtonClicked |
( |
| ) |
|
|
virtualslot |
| virtual void FrontWidget::replyToPrivMsgButtonClicked |
( |
| ) |
|
|
virtualslot |
| virtual void FrontWidget::revertProfileButtonClicked |
( |
| ) |
|
|
virtualslot |
| void FrontWidget::selectClassification |
( |
QString |
aNameOfClassification | ) |
|
|
private |
Method that set selected ad-classification on display
- Parameters
-
| aNameOfClassification | is the classification, like "ToBeGivenAway.Clothing.AtYourPlace" |
| static QString FrontWidget::selectedClassification |
( |
const QComboBox & |
aAboutCombo, |
|
|
const QComboBox & |
aRegardingCombo, |
|
|
const QComboBox & |
aWhereCombo, |
|
|
const MController & |
aController |
|
) |
| |
|
static |
Method for getting the fully qualified name of the group selection that user has made, for reason or another. Called also from dialogs, thus public
| const Profile* FrontWidget::selectedProfile |
( |
| ) |
const |
|
inline |
method for getting currently selected profile or NULL if no profile selected
| virtual void FrontWidget::sendMsgToContactButtonClicked |
( |
| ) |
|
|
virtualslot |
send message to contact list profile
| void FrontWidget::setCaDocumentSize |
( |
| ) |
|
|
private |
| void FrontWidget::setContactDataOfSelectedProfile |
( |
const QVariantList & |
aContacts | ) |
|
method for setting contacts list of the profile currently selected
| void FrontWidget::setPrivMsgSize |
( |
| ) |
|
|
private |
| void FrontWidget::setupClassifiedAdsTab |
( |
| ) |
|
|
private |
separate init method for setting up the classified-ads tab as it is fairly complex
| void FrontWidget::setupContactsTab |
( |
| ) |
|
|
private |
| void FrontWidget::setupPrivateMessagesTab |
( |
| ) |
|
|
private |
separate init method for setting up the private messages tab as it is fairly complex. This must be called after each profile re-selection
| void FrontWidget::setUpSelectedProfileFileListingModel |
( |
| ) |
|
|
private |
method that sets up shared file listing model based on selected profile. if selected profile is NULL, this will tear down the model too.
| void FrontWidget::showClassifiedAd |
( |
const CA & |
ca | ) |
|
displays a selected classified ad
| void FrontWidget::showDetailsOfProfile |
( |
const Hash & |
aFingerPrint | ) |
|
puts profile of any operator on display
| void FrontWidget::showSingleCommentOfProfile |
( |
const Hash |
aCommentFingerPrint | ) |
|
displays a selected profile comment
| void FrontWidget::updateUiFromSelectedProfile |
( |
| ) |
|
|
private |
method that reads iSelectedProfile and updates UI elements accordingly into "my profile" tab
| void FrontWidget::updateUiFromViewedProfile |
( |
| ) |
|
|
private |
method that reads iViewedProfile and updates UI elements accordingly into "viewed profile" tab
| virtual void FrontWidget::userProfileSelected |
( |
const Hash & |
aProfile | ) |
|
|
virtualslot |
called from controller when another user profile is selected
| virtual void FrontWidget::viewCaAttachments |
( |
| ) |
|
|
virtualslot |
| virtual void FrontWidget::viewCaPosterProfile |
( |
| ) |
|
|
virtualslot |
| virtual void FrontWidget::viewContactProfileButtonClicked |
( |
| ) |
|
|
virtualslot |
| virtual void FrontWidget::viewedProfileCommentDoubleClicked |
( |
const QModelIndex & |
aSelection | ) |
|
|
virtualslot |
this slot is called when user doubleclicks profile comment listing of viewed profile
| virtual void FrontWidget::viewedProfileCommentKeyPressed |
( |
| ) |
|
|
virtualslot |
this slot is called when user hits enter while having keyboard focus on profile comment listing
| virtual void FrontWidget::viewedProfileCommentselectionChangedSlot |
( |
const QItemSelection & |
, |
|
|
const QItemSelection & |
|
|
) |
| |
|
virtualslot |
this slot is called when viewed profile comments listing is changed
| virtual void FrontWidget::viewPrivMsgAttachments |
( |
| ) |
|
|
virtualslot |
displays list of attachments of a private message
| virtual void FrontWidget::viewPrivMsgPosterProfile |
( |
| ) |
|
|
virtualslot |
| QAction* FrontWidget::iAddSharedFileAction |
|
private |
context-menu action for adding shared file
| QAction* FrontWidget::iAddToContactsFromCaList |
|
private |
| QAction* FrontWidget::iAddToContactsFromMsgList |
|
private |
| const QPoint FrontWidget::iArticleTopLeft |
|
private |
used for content of ad-listing view
| CA FrontWidget::iCaOnDisplay |
|
private |
| QGraphicsScene FrontWidget::iCaScene |
|
private |
this is used to display elements of an ad
| QGraphicsTextItem FrontWidget::iCaText |
|
private |
this is used to render text of classified ad
| QPushButton* FrontWidget::iCommentCaPosterButton |
|
private |
button for opening a dialog for commenting a CA poster profile
| QPushButton* FrontWidget::iCommentPrivMsgPosterButton |
|
private |
| QAction* FrontWidget::iEditContactAction |
|
private |
| QAction* FrontWidget::iExportSharedFileAction |
|
private |
context-menu action for saving to filesystem a shared file
| QGraphicsSimpleTextItem FrontWidget::iFromField |
|
private |
| QPushButton* FrontWidget::iNewCaButton |
|
private |
button for opening dialog for posting a new CA
| QPushButton* FrontWidget::iNewPrivMsgButton |
|
private |
| QMainWindow& FrontWidget::iParent |
|
private |
| QGraphicsSimpleTextItem FrontWidget::iPrivMsgFromField |
|
private |
| QGraphicsScene FrontWidget::iPrivMsgScene |
|
private |
this is used to display elements of an priv msg
| QGraphicsSimpleTextItem FrontWidget::iPrivMsgSubjectField |
|
private |
| QGraphicsTextItem FrontWidget::iPrivMsgText |
|
private |
this is used to render text of classified ad
| const QPoint FrontWidget::iPrivMsgTopLeft |
|
private |
| QShortcut* FrontWidget::iProfileListingKeyboardGrabber |
|
private |
| QAction* FrontWidget::iRemoveSharedFileAction |
|
private |
context-menu action for adding shared file
| QPushButton* FrontWidget::iReplyToCaButton |
|
private |
| QPushButton* FrontWidget::iReplyToCaToForumButton |
|
private |
| QPushButton* FrontWidget::iReplyToPrivMsgButton |
|
private |
| Hash FrontWidget::iSelectedCommentFromOwnCommentListing |
|
private |
| Hash FrontWidget::iSelectedCommentFromViewedCommentListing |
|
private |
| Hash FrontWidget::iSelectedContact |
|
private |
| Profile* FrontWidget::iSelectedProfile |
|
private |
components of selected "My profile"
model for displaying file list "operator profile" ; there may be 2nd instance for displaying file list of some other profile that is not operators own
| QGraphicsSimpleTextItem FrontWidget::iSubjectField |
|
private |
| QPushButton* FrontWidget::iViewCaAttachmentsButton |
|
private |
button for displaying attachments of a CA on display
| QPushButton* FrontWidget::iViewCaPosterProfileButton |
|
private |
button for opening view of profile from CA display
| Profile* FrontWidget::iViewedProfile |
|
private |
contents of "view profile" tab
model for displaying file list of random viewed profile
| QPushButton* FrontWidget::iViewPrivMsgAttachmentsButton |
|
private |
| QPushButton* FrontWidget::iViewPrivMsgPosterProfileButton |
|
private |
| Ui::frontWidget FrontWidget::ui |
|
private |
The documentation for this class was generated from the following file: