diff --git a/PreferenceAdminMenu.ui b/PreferenceAdminMenu.ui new file mode 100644 index 0000000..91a6a34 --- /dev/null +++ b/PreferenceAdminMenu.ui @@ -0,0 +1,143 @@ + + + MainWindow + + + + 0 + 0 + 800 + 600 + + + + MainWindow + + + + + + 150 + 40 + 501 + 141 + + + + + + + logo.png + + + true + + + + + + 161 + 191 + 481 + 43 + + + + + 24 + true + true + + + + CRM - Preference Admin Menu + + + + + + 150 + 310 + 501 + 91 + + + + + + + Mentor Meeting + + + + + + + Applications + + + + + + + Interviews + + + + + + + + + 240 + 420 + 291 + 91 + + + + + + + Exit + + + + + + + Main Menu + + + + + + + + + 320 + 260 + 163 + 24 + + + + Admin + + + + + + + 0 + 0 + 800 + 22 + + + + + + + + diff --git a/PreferenceMenu.ui b/PreferenceMenu.ui new file mode 100644 index 0000000..72674b6 --- /dev/null +++ b/PreferenceMenu.ui @@ -0,0 +1,130 @@ + + + MainWindow + + + + 0 + 0 + 800 + 600 + + + + MainWindow + + + + + + 150 + 40 + 501 + 141 + + + + + + + logo.png + + + true + + + + + + 161 + 191 + 348 + 43 + + + + + 24 + true + true + + + + CRM - Preference Menu + + + + + + 150 + 310 + 501 + 91 + + + + + + + Mentor Meeting + + + + + + + Applications + + + + + + + Interviews + + + + + + + + + 240 + 420 + 291 + 91 + + + + + + + Exit + + + + + + + Main Menu + + + + + + + + + + 0 + 0 + 800 + 22 + + + + + + + + diff --git a/adminMenu.ui b/adminMenu.ui new file mode 100644 index 0000000..d2480d9 --- /dev/null +++ b/adminMenu.ui @@ -0,0 +1,585 @@ + + + MainWindow + + + + 0 + 0 + 1655 + 1069 + + + + + 0 + 0 + + + + + 4 + 5 + + + + + 16777215 + 16777215 + + + + MainWindow + + + Qt::LeftToRight + + + +/* =========================== + CRM v2 - Azure Theme (QSS) + =========================== + Primary: #4A90E2 + Secondary: #2E4053 + Background: #F5F7FA + Accent: #50E3C2 + Danger: #E74C3C + Success: #27AE60 + Font: Segoe UI / system sans-serif fallback +*/ + +/* Global widget defaults */ +QWidget { + background-color: #F5F7FA; + color: #2C3E50; + font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; + font-size: 13px; +} + +/* ---------- Frames / Cards ---------- */ +QFrame { + background-color: #FFFFFF; + border-radius: 12px; + border: 1px solid #D6DBDF; +} + +/* Centered card with subtle shadow (if using QGraphicsDropShadowEffect it will enhance) */ +QWidget#card, QFrame#card { + background-color: #FFFFFF; + border-radius: 12px; + border: 1px solid #E6E9EC; +} + +/* ---------- Labels ---------- */ +QLabel#title, QLabel.title { + font-size: 20px; + font-weight: 700; + color: #2C3E50; +} + +QLabel#subtitle, QLabel.subtitle { + font-size: 12px; + color: #6C7A89; +} + +/* Status labels */ +QLabel#error, QLabel#lblLoginStatus.error { + color: #E74C3C; + font-style: italic; + font-size: 12px; +} + +QLabel#success, QLabel#lblLoginStatus.success { + color: #27AE60; + font-style: italic; + font-size: 12px; +} + +/* ---------- Line Edits (Input fields) ---------- */ +QLineEdit, QTextEdit, QPlainTextEdit { + background-color: #FFFFFF; + border: 1px solid #D0D6DD; + border-radius: 8px; + padding: 8px 10px; + selection-background-color: #4A90E2; + selection-color: #FFFFFF; + outline: none; + min-height: 34px; +} + +/* Focused input */ +QLineEdit:focus, QTextEdit:focus, QPlainTextEdit:focus { + border: 1px solid #4A90E2; + box-shadow: none; +} + +/* Placeholder text color (Qt handles placeholder via palette; this helps for preview) */ +QLineEdit[placeholderText="true"] { color: #B0B0B0; } + +/* ---------- Push Buttons ---------- */ +QPushButton { + background-color: #4A90E2; + color: #FFFFFF; + border-radius: 10px; + padding: 8px 14px; + min-height: 40px; + min-width: 120px; + border: none; + font-weight: 600; + font-size: 14px; +} + +/* Secondary / ghost button */ +QPushButton[variant="secondary"] { + background-color: transparent; + color: #2C3E50; + border: 1px solid #D6DBDF; +} + +/* Accent button */ +QPushButton[variant="accent"] { + background-color: #50E3C2; + color: #FFFFFF; + border-radius: 10px; +} + +/* Danger button */ +QPushButton[variant="danger"] { + background-color: #E74C3C; + color: #FFFFFF; +} + +/* Hover and pressed */ +QPushButton:hover { + background-color: #357ABD; +} + +QPushButton:pressed { + background-color: #2C5E91; + padding-top: 2px; +} + +/* Disabled state */ +QPushButton:disabled { + background-color: #E9EEF6; + color: #9AA7B8; + border: 1px solid #E2E8F0; +} + +/* ---------- Table (QTableWidget / QTableView) ---------- */ +QTableWidget, QTableView { + background-color: rgba(255,255,255,0.9); + border: 1px solid #E6EAEE; + border-radius: 8px; + gridline-color: #E9EEF2; + selection-background-color: #4A90E2; + selection-color: #FFFFFF; +} + +/* Header */ +QHeaderView::section { + background-color: #4A90E2; + color: #FFFFFF; + padding: 8px; + border: none; + font-weight: 700; + font-size: 13px; +} + +/* Alternate row color */ +QTableWidget::item { + padding: 6px; +} + +/* ---------- ComboBox ---------- */ +QComboBox { + background-color: #FFFFFF; + border: 1px solid #D0D6DD; + border-radius: 8px; + padding: 6px 10px; + min-height: 34px; +} +QComboBox::drop-down { + subcontrol-origin: padding; + subcontrol-position: top right; + width: 28px; + border-left: none; +} +QComboBox QAbstractItemView { + selection-background-color: #4A90E2; +} + +/* ---------- Scroll Bars (simple, unobtrusive) ---------- */ +QScrollBar:vertical { + background: transparent; + width: 10px; + margin: 0px 0px 0px 0px; +} +QScrollBar::handle:vertical { + background: #D0D6DD; + min-height: 20px; + border-radius: 5px; +} +QScrollBar::handle:vertical:hover { + background: #B5C2D6; +} + +/* ---------- Tabs ---------- */ +QTabWidget::pane { + border: 1px solid #E6EAEE; + border-radius: 8px; + background: #FFFFFF; +} +QTabBar::tab { + background: transparent; + padding: 8px 12px; + border-radius: 6px; +} +QTabBar::tab:selected { + background: #4A90E2; + color: #FFFFFF; +} + +/* ---------- ToolButton (icon buttons) ---------- */ +QToolButton { + background: transparent; + border: none; +} + +/* ---------- Small helpers ---------- */ +QLabel.subtle { + color: #7F8C97; + font-size: 12px; +} + +QLabel.muted { + color: #95A5A6; + font-size: 12px; +} + +/* ---------- Dialog / Message Box overrides ---------- */ +QMessageBox QPushButton { + min-width: 100px; + min-height: 36px; +} + +/* ---------- Utility classes (use setProperty or objectName to toggle) ---------- */ +/* Example usage in code: + lbl.setObjectName("lblLoginStatus") + lbl.setProperty("state", "error") -> then use QLabel[state="error"] { ... } +*/ +QLabel[state="error"] { + color: #E74C3C; +} +QLabel[state="success"] { + color: #27AE60; +} + +/* End of style sheet */ + + + + + + + 70 + 450 + 361 + 431 + + + + + 111 + + + 50 + + + + + + 148 + 56 + + + + + Segoe UI + -1 + true + true + false + true + + + + true + + + QPushButton:hover{background-color: #99B3B7;} +QPushButton:hover { + font-style: italic; + color: black; + font-size: 19px; + font-weight: bold;} + + + SEND MAIL + + + + + + + + Segoe UI + -1 + true + true + false + true + + + + true + + + QPushButton:hover{background-color: #99B3B7;} +QPushButton:hover { + font-style: italic; + color: black; + font-size: 19px; + font-weight: bold;} + + + PRERFERENCE ADMIN MENU + + + + + + + + Segoe UI + -1 + true + true + false + true + + + + true + + + QPushButton:hover{background-color: #99B3B7;} +QPushButton:hover { + font-style: italic; + color: black; + font-size: 19px; + font-weight: bold;} + + + EXIT + + + + + + + + 148 + 56 + + + + + Segoe UI + -1 + false + true + false + true + + + + true + + + QPushButton:hover{background-color: #99B3B7;} +QPushButton:hover { + font-style: italic; + color: black; + font-size: 19px; + font-weight: bold;} + + + ACTIVITY CONTROL + + + + + + + + + 280 + 270 + 1071 + 131 + + + + false + + + background-color: rgb(173, 173, 173); + + + QFrame::NoFrame + + + QFrame::Plain + + + <html><head/><body><p align="center"><span style=" font-size:72pt; font-weight:900; font-style:italic; color:#1567eb;">ADMIN MENU</span></p></body></html> + + + + + + 500 + 450 + 981 + 431 + + + + + 0 + 0 + + + + + 16777215 + 16777215 + + + + + Segoe UI + -1 + + + + + + + + + + Qt::LeftToRight + + + + + + true + + + 33 + + + 244 + + + true + + + false + + + false + + + + Activity Name + + + + 15 + true + + + + + + Start Time + + + + 15 + true + + + + + + Participant Mail + + + + 15 + true + + + + + + Organizer Mail + + + + 15 + true + + + + + + + + 0 + 10 + 1651 + 201 + + + + + + + logo.png + + + true + + + + + + + 0 + 0 + 1655 + 24 + + + + + + + + diff --git a/application_page.ui b/application_page.ui new file mode 100644 index 0000000..6bf7c90 --- /dev/null +++ b/application_page.ui @@ -0,0 +1,408 @@ + + + Applications_page + + + + 0 + 0 + 767 + 685 + + + + Aplications + + + + + + + + + 200 + 70 + + + + + + + ../../../logo-1.png + + + true + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 500 + 0 + + + + + 500 + 70 + + + + + Nirmala UI + 36 + false + false + true + + + + QFrame::StyledPanel + + + QFrame::Raised + + + 3 + + + 1 + + + Applications + + + Qt::AlignCenter + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + + + 0 + 0 + + + + + 16777215 + 40 + + + + All Applications + + + + + + + + 0 + 0 + + + + + 16777215 + 40 + + + + Mentor Meeting Defined + + + + + + + + 0 + 0 + + + + + 16777215 + 40 + + + + Mentor Interview Undefined + + + + + + + + 0 + 0 + + + + + 16777215 + 40 + + + + VIT1 Records + + + + + + + + 0 + 0 + + + + + 16777215 + 40 + + + + VIT2 Records + + + + + + + + + + + + 0 + 0 + + + + + 16777215 + 40 + + + + + + + + + 200 + 0 + + + + + 16777215 + 40 + + + + 🔍 Search + + + + + + + + + + 0 + 0 + + + + + 16777215 + 400 + + + + + false + true + + + + true + + + false + + + 106 + + + true + + + false + + + + No + + + + true + false + + + + + + ID + + + + true + + + + + + Name + + + + true + + + + + + Date + + + + true + + + + + + Mentor + + + + true + + + + + + Status + + + + true + + + + + + Interview + + + + true + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 300 + 30 + + + + + 200 + 40 + + + + Return to Preferences Screen + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + diff --git a/application_page_v2.ui b/application_page_v2.ui new file mode 100644 index 0000000..d33086f --- /dev/null +++ b/application_page_v2.ui @@ -0,0 +1,672 @@ + + + Applications_page + + + + 0 + 0 + 835 + 582 + + + + Applications + + + + + + QFrame::WinPanel + + + QFrame::Raised + + + + + + + + + 0 + 40 + + + + + 16777215 + 40 + + + + + + + + + 200 + 40 + + + + + 16777215 + 40 + + + + + + + + + 0 + 0 + 127 + + + + + + + + + 0 + 0 + 127 + + + + + + + + + 🔍 Search + + + + + + + + + + + + + + 0 + 0 + + + + + 16777215 + 40 + + + + + + + + + 0 + 0 + 127 + + + + + + + + + 0 + 0 + 127 + + + + + + + + + All Applications + + + + + + + + 0 + 0 + + + + + 16777215 + 40 + + + + + + + + + 0 + 0 + 127 + + + + + + + + + 0 + 0 + 127 + + + + + + + + + Mentor Meeting Defined + + + + + + + + 0 + 0 + + + + + 16777215 + 40 + + + + + + + + + 0 + 0 + 127 + + + + + + + + + 0 + 0 + 127 + + + + + + + + + Mentor Interview Undefined + + + + + + + + 0 + 0 + + + + + 16777215 + 40 + + + + + + + + + 0 + 0 + 127 + + + + + + + + + 0 + 0 + 127 + + + + + + + + + VIT1 Records + + + + + + + + 0 + 0 + + + + + 16777215 + 40 + + + + + + + + + 0 + 0 + 127 + + + + + + + + + 0 + 0 + 127 + + + + + + + + + VIT2 Records + + + + + + + + + + + true + + + + 0 + 0 + + + + + 16777215 + 400 + + + + + false + true + + + + background-color: rgb(225, 255, 255); +selection-color: rgb(85, 170, 255); + + + true + + + false + + + 106 + + + true + + + false + + + + No + + + + true + false + + + + + + ID + + + + true + + + + + + Name + + + + true + + + + + + Date + + + + true + + + + + + Mentor + + + + true + + + + + + Status + + + + true + + + + + + Interview + + + + true + + + + + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 300 + 40 + + + + + 200 + 40 + + + + + + + + + 0 + 0 + 127 + + + + + + + + + 0 + 0 + 127 + + + + + + + + + Return to Preferences Screen + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + + + 160 + 50 + + + + false + + + + + + :/logo1/logo-1.png + + + true + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + 500 + 70 + + + + + 400 + 70 + + + + + + + + + 0 + 0 + 127 + + + + + + + + + 0 + 0 + 127 + + + + + + + + + + Bahnschrift SemiBold SemiConden + 48 + true + PreferDefault + + + + true + + + Qt::DefaultContextMenu + + + false + + + QFrame::StyledPanel + + + QFrame::Raised + + + 3 + + + 1 + + + Applications + + + Qt::AutoText + + + false + + + Qt::AlignCenter + + + false + + + false + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + + + + + + + + + + + diff --git a/interviews.ui b/interviews.ui new file mode 100644 index 0000000..53ac64b --- /dev/null +++ b/interviews.ui @@ -0,0 +1,353 @@ + + + MainWindow + + + + 0 + 0 + 457 + 600 + + + + MainWindow + + + +/* =========================== + CRM v2 - Azure Theme (QSS) + =========================== + Primary: #4A90E2 + Secondary: #2E4053 + Background: #F5F7FA + Accent: #50E3C2 + Danger: #E74C3C + Success: #27AE60 + Font: Segoe UI / system sans-serif fallback +*/ + +/* Global widget defaults */ +QWidget { + background-color: #F5F7FA; + color: #2C3E50; + font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; + font-size: 13px; +} + +/* ---------- Frames / Cards ---------- */ +QFrame { + background-color: #FFFFFF; + border-radius: 12px; + border: 1px solid #D6DBDF; +} + +/* Centered card with subtle shadow (if using QGraphicsDropShadowEffect it will enhance) */ +QWidget#card, QFrame#card { + background-color: #FFFFFF; + border-radius: 12px; + border: 1px solid #E6E9EC; +} + +/* ---------- Labels ---------- */ +QLabel#title, QLabel.title { + font-size: 20px; + font-weight: 700; + color: #2C3E50; +} + +QLabel#subtitle, QLabel.subtitle { + font-size: 12px; + color: #6C7A89; +} + +/* Status labels */ +QLabel#error, QLabel#lblLoginStatus.error { + color: #E74C3C; + font-style: italic; + font-size: 12px; +} + +QLabel#success, QLabel#lblLoginStatus.success { + color: #27AE60; + font-style: italic; + font-size: 12px; +} + +/* ---------- Line Edits (Input fields) ---------- */ +QLineEdit, QTextEdit, QPlainTextEdit { + background-color: #FFFFFF; + border: 1px solid #D0D6DD; + border-radius: 8px; + padding: 8px 10px; + selection-background-color: #4A90E2; + selection-color: #FFFFFF; + outline: none; + min-height: 34px; +} + +/* Focused input */ +QLineEdit:focus, QTextEdit:focus, QPlainTextEdit:focus { + border: 1px solid #4A90E2; + box-shadow: none; +} + +/* Placeholder text color (Qt handles placeholder via palette; this helps for preview) */ +QLineEdit[placeholderText="true"] { color: #B0B0B0; } + +/* ---------- Push Buttons ---------- */ +QPushButton { + background-color: #4A90E2; + color: #FFFFFF; + border-radius: 10px; + padding: 8px 14px; + min-height: 40px; + min-width: 120px; + border: none; + font-weight: 600; + font-size: 14px; +} + +/* Secondary / ghost button */ +QPushButton[variant="secondary"] { + background-color: transparent; + color: #2C3E50; + border: 1px solid #D6DBDF; +} + +/* Accent button */ +QPushButton[variant="accent"] { + background-color: #50E3C2; + color: #FFFFFF; + border-radius: 10px; +} + +/* Danger button */ +QPushButton[variant="danger"] { + background-color: #E74C3C; + color: #FFFFFF; +} + +/* Hover and pressed */ +QPushButton:hover { + background-color: #357ABD; +} + +QPushButton:pressed { + background-color: #2C5E91; + padding-top: 2px; +} + +/* Disabled state */ +QPushButton:disabled { + background-color: #E9EEF6; + color: #9AA7B8; + border: 1px solid #E2E8F0; +} + +/* ---------- Table (QTableWidget / QTableView) ---------- */ +QTableWidget, QTableView { + background-color: rgba(255,255,255,0.9); + border: 1px solid #E6EAEE; + border-radius: 8px; + gridline-color: #E9EEF2; + selection-background-color: #4A90E2; + selection-color: #FFFFFF; +} + +/* Header */ +QHeaderView::section { + background-color: #4A90E2; + color: #FFFFFF; + padding: 8px; + border: none; + font-weight: 700; + font-size: 13px; +} + +/* Alternate row color */ +QTableWidget::item { + padding: 6px; +} + +/* ---------- ComboBox ---------- */ +QComboBox { + background-color: #FFFFFF; + border: 1px solid #D0D6DD; + border-radius: 8px; + padding: 6px 10px; + min-height: 34px; +} +QComboBox::drop-down { + subcontrol-origin: padding; + subcontrol-position: top right; + width: 28px; + border-left: none; +} +QComboBox QAbstractItemView { + selection-background-color: #4A90E2; +} + +/* ---------- Scroll Bars (simple, unobtrusive) ---------- */ +QScrollBar:vertical { + background: transparent; + width: 10px; + margin: 0px 0px 0px 0px; +} +QScrollBar::handle:vertical { + background: #D0D6DD; + min-height: 20px; + border-radius: 5px; +} +QScrollBar::handle:vertical:hover { + background: #B5C2D6; +} + +/* ---------- Tabs ---------- */ +QTabWidget::pane { + border: 1px solid #E6EAEE; + border-radius: 8px; + background: #FFFFFF; +} +QTabBar::tab { + background: transparent; + padding: 8px 12px; + border-radius: 6px; +} +QTabBar::tab:selected { + background: #4A90E2; + color: #FFFFFF; +} + +/* ---------- ToolButton (icon buttons) ---------- */ +QToolButton { + background: transparent; + border: none; +} + +/* ---------- Small helpers ---------- */ +QLabel.subtle { + color: #7F8C97; + font-size: 12px; +} + +QLabel.muted { + color: #95A5A6; + font-size: 12px; +} + +/* ---------- Dialog / Message Box overrides ---------- */ +QMessageBox QPushButton { + min-width: 100px; + min-height: 36px; +} + +/* ---------- Utility classes (use setProperty or objectName to toggle) ---------- */ +/* Example usage in code: + lbl.setObjectName("lblLoginStatus") + lbl.setProperty("state", "error") -> then use QLabel[state="error"] { ... } +*/ +QLabel[state="error"] { + color: #E74C3C; +} +QLabel[state="success"] { + color: #27AE60; +} + +/* End of style sheet */ + + + + + + + 150 + 20 + 181 + 16 + + + + + Segoe UI,Helvetica Neue,Arial,sans-serif + -1 + + + + INTERVIEWS + + + Qt::AlignCenter + + + + + + 30 + 70 + 181 + 114 + + + + + + + Search + + + + + + + + + + Type to search.. + + + + + + + + + 249 + 70 + 201 + 118 + + + + + + + All Conversations + + + + + + + Return to Preferences + + + + + + + + + + 0 + 0 + 457 + 24 + + + + + + + + diff --git a/login_window.ui b/login_window.ui new file mode 100644 index 0000000..f152fc2 --- /dev/null +++ b/login_window.ui @@ -0,0 +1,165 @@ + + + MainWindow + + + + 0 + 0 + 432 + 377 + + + + MainWindow + + + + + + + QFrame::StyledPanel + + + QFrame::Raised + + + 20 + + + + 15 + + + 15 + + + 15 + + + 15 + + + 10 + + + + + + 20 + true + true + + + + CRM v2 + + + Qt::AlignCenter + + + + + + + + + + logo.png + + + true + + + + + + + User Name: + + + + + + + + 250 + 0 + + + + Enter user name + + + + + + + Password: + + + + + + + + 250 + 0 + + + + QLineEdit::Password + + + Enter password + + + + + + + Show Password + + + + + + + Enter + + + + + + + Exit + + + + + + + Forgot Password + + + + + + + + + + + + 0 + 0 + 432 + 22 + + + + + + + + diff --git a/mentor_meeting_page.ui b/mentor_meeting_page.ui new file mode 100644 index 0000000..55d8cf2 --- /dev/null +++ b/mentor_meeting_page.ui @@ -0,0 +1,393 @@ + + + MainWindow + + + + 0 + 0 + 505 + 400 + + + + MainWindow + + + +/* =========================== + CRM v2 - Azure Theme (QSS) + =========================== + Primary: #4A90E2 + Secondary: #2E4053 + Background: #F5F7FA + Accent: #50E3C2 + Danger: #E74C3C + Success: #27AE60 + Font: Segoe UI / system sans-serif fallback +*/ + +/* Global widget defaults */ +QWidget { + background-color: #F5F7FA; + color: #2C3E50; + font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; + font-size: 13px; +} + +/* ---------- Frames / Cards ---------- */ +QFrame { + background-color: #FFFFFF; + border-radius: 12px; + border: 1px solid #D6DBDF; +} + +/* Centered card with subtle shadow (if using QGraphicsDropShadowEffect it will enhance) */ +QWidget#card, QFrame#card { + background-color: #FFFFFF; + border-radius: 12px; + border: 1px solid #E6E9EC; +} + +/* ---------- Labels ---------- */ +QLabel#title, QLabel.title { + font-size: 20px; + font-weight: 700; + color: #2C3E50; +} + +QLabel#subtitle, QLabel.subtitle { + font-size: 12px; + color: #6C7A89; +} + +/* Status labels */ +QLabel#error, QLabel#lblLoginStatus.error { + color: #E74C3C; + font-style: italic; + font-size: 12px; +} + +QLabel#success, QLabel#lblLoginStatus.success { + color: #27AE60; + font-style: italic; + font-size: 12px; +} + +/* ---------- Line Edits (Input fields) ---------- */ +QLineEdit, QTextEdit, QPlainTextEdit { + background-color: #FFFFFF; + border: 1px solid #D0D6DD; + border-radius: 8px; + padding: 8px 10px; + selection-background-color: #4A90E2; + selection-color: #FFFFFF; + outline: none; + min-height: 34px; +} + +/* Focused input */ +QLineEdit:focus, QTextEdit:focus, QPlainTextEdit:focus { + border: 1px solid #4A90E2; + box-shadow: none; +} + +/* Placeholder text color (Qt handles placeholder via palette; this helps for preview) */ +QLineEdit[placeholderText="true"] { color: #B0B0B0; } + +/* ---------- Push Buttons ---------- */ +QPushButton { + background-color: #4A90E2; + color: #FFFFFF; + border-radius: 10px; + padding: 8px 14px; + min-height: 40px; + min-width: 120px; + border: none; + font-weight: 600; + font-size: 14px; +} + +/* Secondary / ghost button */ +QPushButton[variant="secondary"] { + background-color: transparent; + color: #2C3E50; + border: 1px solid #D6DBDF; +} + +/* Accent button */ +QPushButton[variant="accent"] { + background-color: #50E3C2; + color: #FFFFFF; + border-radius: 10px; +} + +/* Danger button */ +QPushButton[variant="danger"] { + background-color: #E74C3C; + color: #FFFFFF; +} + +/* Hover and pressed */ +QPushButton:hover { + background-color: #357ABD; +} + +QPushButton:pressed { + background-color: #2C5E91; + padding-top: 2px; +} + +/* Disabled state */ +QPushButton:disabled { + background-color: #E9EEF6; + color: #9AA7B8; + border: 1px solid #E2E8F0; +} + +/* ---------- Table (QTableWidget / QTableView) ---------- */ +QTableWidget, QTableView { + background-color: rgba(255,255,255,0.9); + border: 1px solid #E6EAEE; + border-radius: 8px; + gridline-color: #E9EEF2; + selection-background-color: #4A90E2; + selection-color: #FFFFFF; +} + +/* Header */ +QHeaderView::section { + background-color: #4A90E2; + color: #FFFFFF; + padding: 8px; + border: none; + font-weight: 700; + font-size: 13px; +} + +/* Alternate row color */ +QTableWidget::item { + padding: 6px; +} + +/* ---------- ComboBox ---------- */ +QComboBox { + background-color: #FFFFFF; + border: 1px solid #D0D6DD; + border-radius: 8px; + padding: 6px 10px; + min-height: 34px; +} +QComboBox::drop-down { + subcontrol-origin: padding; + subcontrol-position: top right; + width: 28px; + border-left: none; +} +QComboBox QAbstractItemView { + selection-background-color: #4A90E2; +} + +/* ---------- Scroll Bars (simple, unobtrusive) ---------- */ +QScrollBar:vertical { + background: transparent; + width: 10px; + margin: 0px 0px 0px 0px; +} +QScrollBar::handle:vertical { + background: #D0D6DD; + min-height: 20px; + border-radius: 5px; +} +QScrollBar::handle:vertical:hover { + background: #B5C2D6; +} + +/* ---------- Tabs ---------- */ +QTabWidget::pane { + border: 1px solid #E6EAEE; + border-radius: 8px; + background: #FFFFFF; +} +QTabBar::tab { + background: transparent; + padding: 8px 12px; + border-radius: 6px; +} +QTabBar::tab:selected { + background: #4A90E2; + color: #FFFFFF; +} + +/* ---------- ToolButton (icon buttons) ---------- */ +QToolButton { + background: transparent; + border: none; +} + +/* ---------- Small helpers ---------- */ +QLabel.subtle { + color: #7F8C97; + font-size: 12px; +} + +QLabel.muted { + color: #95A5A6; + font-size: 12px; +} + +/* ---------- Dialog / Message Box overrides ---------- */ +QMessageBox QPushButton { + min-width: 100px; + min-height: 36px; +} + +/* ---------- Utility classes (use setProperty or objectName to toggle) ---------- */ +/* Example usage in code: + lbl.setObjectName("lblLoginStatus") + lbl.setProperty("state", "error") -> then use QLabel[state="error"] { ... } +*/ +QLabel[state="error"] { + color: #E74C3C; +} +QLabel[state="success"] { + color: #27AE60; +} + +/* End of style sheet */ + + + + + + + + QLayout::SetMinimumSize + + + + + + Segoe UI,Helvetica Neue,Arial,sans-serif + -1 + + + + MENTOR MEETING PAGE + + + Qt::AlignCenter + + + + + + + Search + + + + + + + + + + + + + + + + Type to search.. + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + All Conversations + + + + + + + + + + + + + + + + + + MentorFile1 + + + + + MentorFile2 + + + + + MentorFile3 + + + + + + + + Qt::Vertical + + + + 20 + 40 + + + + + + + + Return to Preferences + + + + + + + + + + + 0 + 0 + 505 + 24 + + + + + + + + diff --git a/style.qss b/style.qss new file mode 100644 index 0000000..e955e64 --- /dev/null +++ b/style.qss @@ -0,0 +1,241 @@ + +/* =========================== + CRM v2 - Azure Theme (QSS) + =========================== + Primary: #4A90E2 + Secondary: #2E4053 + Background: #F5F7FA + Accent: #50E3C2 + Danger: #E74C3C + Success: #27AE60 + Font: Segoe UI / system sans-serif fallback +*/ + +/* Global widget defaults */ +QWidget { + background-color: #F5F7FA; + color: #2C3E50; + font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; + font-size: 13px; +} + +/* ---------- Frames / Cards ---------- */ +QFrame { + background-color: #FFFFFF; + border-radius: 12px; + border: 1px solid #D6DBDF; +} + +/* Centered card with subtle shadow (if using QGraphicsDropShadowEffect it will enhance) */ +QWidget#card, QFrame#card { + background-color: #FFFFFF; + border-radius: 12px; + border: 1px solid #E6E9EC; +} + +/* ---------- Labels ---------- */ +QLabel#title, QLabel.title { + font-size: 20px; + font-weight: 700; + color: #2C3E50; +} + +QLabel#subtitle, QLabel.subtitle { + font-size: 12px; + color: #6C7A89; +} + +/* Status labels */ +QLabel#error, QLabel#lblLoginStatus.error { + color: #E74C3C; + font-style: italic; + font-size: 12px; +} + +QLabel#success, QLabel#lblLoginStatus.success { + color: #27AE60; + font-style: italic; + font-size: 12px; +} + +/* ---------- Line Edits (Input fields) ---------- */ +QLineEdit, QTextEdit, QPlainTextEdit { + background-color: #FFFFFF; + border: 1px solid #D0D6DD; + border-radius: 8px; + padding: 8px 10px; + selection-background-color: #4A90E2; + selection-color: #FFFFFF; + outline: none; + min-height: 34px; +} + +/* Focused input */ +QLineEdit:focus, QTextEdit:focus, QPlainTextEdit:focus { + border: 1px solid #4A90E2; + box-shadow: none; +} + +/* Placeholder text color (Qt handles placeholder via palette; this helps for preview) */ +QLineEdit[placeholderText="true"] { color: #B0B0B0; } + +/* ---------- Push Buttons ---------- */ +QPushButton { + background-color: #4A90E2; + color: #FFFFFF; + border-radius: 10px; + padding: 8px 14px; + min-height: 40px; + min-width: 120px; + border: none; + font-weight: 600; + font-size: 14px; +} + +/* Secondary / ghost button */ +QPushButton[variant="secondary"] { + background-color: transparent; + color: #2C3E50; + border: 1px solid #D6DBDF; +} + +/* Accent button */ +QPushButton[variant="accent"] { + background-color: #50E3C2; + color: #FFFFFF; + border-radius: 10px; +} + +/* Danger button */ +QPushButton[variant="danger"] { + background-color: #E74C3C; + color: #FFFFFF; +} + +/* Hover and pressed */ +QPushButton:hover { + background-color: #357ABD; +} + +QPushButton:pressed { + background-color: #2C5E91; + padding-top: 2px; +} + +/* Disabled state */ +QPushButton:disabled { + background-color: #E9EEF6; + color: #9AA7B8; + border: 1px solid #E2E8F0; +} + +/* ---------- Table (QTableWidget / QTableView) ---------- */ +QTableWidget, QTableView { + background-color: rgba(255,255,255,0.9); + border: 1px solid #E6EAEE; + border-radius: 8px; + gridline-color: #E9EEF2; + selection-background-color: #4A90E2; + selection-color: #FFFFFF; +} + +/* Header */ +QHeaderView::section { + background-color: #4A90E2; + color: #FFFFFF; + padding: 8px; + border: none; + font-weight: 700; + font-size: 13px; +} + +/* Alternate row color */ +QTableWidget::item { + padding: 6px; +} + +/* ---------- ComboBox ---------- */ +QComboBox { + background-color: #FFFFFF; + border: 1px solid #D0D6DD; + border-radius: 8px; + padding: 6px 10px; + min-height: 34px; +} +QComboBox::drop-down { + subcontrol-origin: padding; + subcontrol-position: top right; + width: 28px; + border-left: none; +} +QComboBox QAbstractItemView { + selection-background-color: #4A90E2; +} + +/* ---------- Scroll Bars (simple, unobtrusive) ---------- */ +QScrollBar:vertical { + background: transparent; + width: 10px; + margin: 0px 0px 0px 0px; +} +QScrollBar::handle:vertical { + background: #D0D6DD; + min-height: 20px; + border-radius: 5px; +} +QScrollBar::handle:vertical:hover { + background: #B5C2D6; +} + +/* ---------- Tabs ---------- */ +QTabWidget::pane { + border: 1px solid #E6EAEE; + border-radius: 8px; + background: #FFFFFF; +} +QTabBar::tab { + background: transparent; + padding: 8px 12px; + border-radius: 6px; +} +QTabBar::tab:selected { + background: #4A90E2; + color: #FFFFFF; +} + +/* ---------- ToolButton (icon buttons) ---------- */ +QToolButton { + background: transparent; + border: none; +} + +/* ---------- Small helpers ---------- */ +QLabel.subtle { + color: #7F8C97; + font-size: 12px; +} + +QLabel.muted { + color: #95A5A6; + font-size: 12px; +} + +/* ---------- Dialog / Message Box overrides ---------- */ +QMessageBox QPushButton { + min-width: 100px; + min-height: 36px; +} + +/* ---------- Utility classes (use setProperty or objectName to toggle) ---------- */ +/* Example usage in code: + lbl.setObjectName("lblLoginStatus") + lbl.setProperty("state", "error") -> then use QLabel[state="error"] { ... } +*/ +QLabel[state="error"] { + color: #E74C3C; +} +QLabel[state="success"] { + color: #27AE60; +} + +/* End of style sheet */