icon fix
This commit is contained in:
parent
b092ca5ec2
commit
090dc28137
6 changed files with 139 additions and 142 deletions
|
@ -8,7 +8,6 @@ MainScreen::MainScreen(QWidget *parent) :QMainWindow(parent), ui(new Ui::MainScr
|
|||
//this->setFixedSize(this->size()); //main not resizeable
|
||||
|
||||
//Login Tab
|
||||
QPixmap iconPix;
|
||||
iconPix.load(":/icons/iconX.png");
|
||||
ui->pswdLineEdit->setEchoMode((QLineEdit::Password));
|
||||
ui->labelUsrInputStatus->setVisible(false);
|
||||
|
@ -25,7 +24,7 @@ MainScreen::MainScreen(QWidget *parent) :QMainWindow(parent), ui(new Ui::MainScr
|
|||
ui->statusBar->addPermanentWidget(statusLabel,1);
|
||||
setLabelConnectionStatus(jceLogin::jceStatus::JCE_NOT_CONNECTED);
|
||||
|
||||
//Course, Setting, Calendar Tab
|
||||
//Course, Calendar Tab
|
||||
calendarSchedule * calendarSchedulePtr = new calendarSchedule();
|
||||
ui->calendarGridLayoutMain->addWidget(calendarSchedulePtr);
|
||||
ui->avgLCD->setPalette(QPalette(QPalette::WindowText,Qt::blue));
|
||||
|
@ -45,11 +44,9 @@ MainScreen::MainScreen(QWidget *parent) :QMainWindow(parent), ui(new Ui::MainScr
|
|||
ui->keepLogin->setChecked(true);
|
||||
}
|
||||
|
||||
//Local Check and ui setting.
|
||||
//language
|
||||
checkLocale();
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
MainScreen::~MainScreen()
|
||||
|
@ -60,13 +57,12 @@ MainScreen::~MainScreen()
|
|||
delete courseTableMgr;
|
||||
delete userLoginSetting;
|
||||
delete loginHandel;
|
||||
delete ui;
|
||||
delete data;
|
||||
delete ui;
|
||||
}
|
||||
//EVENTS ON STATUS BAR
|
||||
void MainScreen::setLabelConnectionStatus(jceLogin::jceStatus statusDescription)
|
||||
{
|
||||
QPixmap iconPix;
|
||||
switch (statusDescription)
|
||||
{
|
||||
case jceLogin::jceStatus::JCE_START_VALIDATING_PROGRESS:
|
||||
|
|
|
@ -81,14 +81,15 @@ private:
|
|||
|
||||
QLabel *ButtomStatusLabel;
|
||||
QLabel *statusLabel;
|
||||
QPixmap iconPix;
|
||||
|
||||
user *userLoginSetting;
|
||||
SaveData *data;
|
||||
|
||||
CalendarManager * calendar;
|
||||
coursesTableManager *courseTableMgr;
|
||||
loginHandler *loginHandel;
|
||||
|
||||
bool calendarLoaded;
|
||||
loginHandler *loginHandel;
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -152,7 +152,7 @@ QString CSV_Exporter::makeLine(QString name, QDate *date, int startH, int startM
|
|||
description.append("\n");
|
||||
description.append(" ב");
|
||||
description.append(room);
|
||||
description.append("\n Created with JCE Manager. \" ");
|
||||
description.append("\n Created with JCE Manager.\"");
|
||||
|
||||
//Create the Fucking Line
|
||||
//Header: Subject,Start Date,Start Time,End Date,End Time,Description,Location
|
||||
|
|
Loading…
Reference in a new issue