Ignore:
Timestamp:
07/11/13 11:07:43 (15 months ago)
Author:
Ken Moore <ken@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3
Children:
8679296
Parents:
b1457e5
Message:

Completely redo the simple desktop switcher option. It now puts it in the login widget underneath the password prompt. Also clean up the default theme a bit to accomodate these changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/PCDM/src/loginWidget.h

    r2d615ae r1d2d46af  
    3939        QString currentUsername(); 
    4040        QString currentPassword(); 
     41        QString currentDE(); 
    4142        void setCurrentUser(QString); 
     43        void setCurrentDE(QString); 
    4244        void setUsernames(QStringList); 
     45        void setDesktops(QStringList, QStringList, QStringList); 
    4346        void displayHostName(QString); 
    44         //Manually set the "back" (up/left) and "forward" (down/right) button icons 
    4547        void changeButtonIcon(QString button, QString iconFile, QSize iconSize); 
     48        void setDesktopIconSize(QSize); 
    4649        //Change the style sheet for all widget items (see QtStyle options for more) 
    4750        void changeStyleSheet(QString item, QString style); 
     
    5457  private: 
    5558        QComboBox* listUsers; 
     59        QComboBox* listDE; 
    5660        QListWidget* listUserBig; 
    5761        QLineEdit* linePassword; 
     
    5963        QToolButton* pushViewPassword; 
    6064        QToolButton *pushUserIcon, *userIcon; 
     65        QLabel* deIcon; 
    6166         
    6267 
    63         QStringList idL; 
     68        QStringList idL, desktopIcons, desktopInfo; 
     69        QSize desktopIconSize; 
    6470        QString hostName; 
    6571        bool userSelected, pwVisible, allowPWVisible; 
     
    7682        void slotChooseUser(int); 
    7783        void slotChangePWView(); 
     84        void slotDesktopChanged(int); 
    7885         
    7986  signals: 
Note: See TracChangeset for help on using the changeset viewer.