Change Css style to make ScanSearchCriteria fit .
This commit is contained in:
@@ -18,8 +18,7 @@ ScanSearchCriteriaForm::ScanSearchCriteriaForm(QWidget *parent)
|
|||||||
ui->mLBBeginDate->setVisible(false);
|
ui->mLBBeginDate->setVisible(false);
|
||||||
ui->mLBBeginDate->deleteLater();
|
ui->mLBBeginDate->deleteLater();
|
||||||
ui->mLBBeginDate=beginBox;
|
ui->mLBBeginDate=beginBox;
|
||||||
ui->mLBBeginDate->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
ui->mLBBeginDate->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
|
||||||
ui->mLBBeginDate->setFixedWidth(200);
|
|
||||||
ui->mLBBeginDate->setUpdatesEnabled(true);
|
ui->mLBBeginDate->setUpdatesEnabled(true);
|
||||||
ui->mLBBeginDate->setText(QDate::currentDate().toString("yyyy-MM-dd"));
|
ui->mLBBeginDate->setText(QDate::currentDate().toString("yyyy-MM-dd"));
|
||||||
|
|
||||||
@@ -29,8 +28,7 @@ ScanSearchCriteriaForm::ScanSearchCriteriaForm(QWidget *parent)
|
|||||||
ui->mLBEndDate->setVisible(false);
|
ui->mLBEndDate->setVisible(false);
|
||||||
ui->mLBEndDate->deleteLater();
|
ui->mLBEndDate->deleteLater();
|
||||||
ui->mLBEndDate=endBox;
|
ui->mLBEndDate=endBox;
|
||||||
ui->mLBEndDate->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed);
|
ui->mLBEndDate->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
|
||||||
ui->mLBEndDate->setFixedWidth(200);
|
|
||||||
ui->mLBEndDate->setUpdatesEnabled(true);
|
ui->mLBEndDate->setUpdatesEnabled(true);
|
||||||
ui->mLBEndDate->setText(QDate::currentDate().toString("yyyy-MM-dd"));
|
ui->mLBEndDate->setText(QDate::currentDate().toString("yyyy-MM-dd"));
|
||||||
ui->CriteriaTitle->setObjectName("parameterTitle");
|
ui->CriteriaTitle->setObjectName("parameterTitle");
|
||||||
|
|||||||
@@ -152,7 +152,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QToolButton" name="mLBBeginDate">
|
<widget class="QToolButton" name="mLBBeginDate">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
|
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
|
||||||
<horstretch>0</horstretch>
|
<horstretch>0</horstretch>
|
||||||
<verstretch>0</verstretch>
|
<verstretch>0</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
background-color: #3c3c3c;
|
background-color: #3c3c3c;
|
||||||
color: #fcfcfc;
|
color: #fcfcfc;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 16px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Global buttons */
|
/* Global buttons */
|
||||||
@@ -169,7 +169,8 @@ QTableView {
|
|||||||
QListView {
|
QListView {
|
||||||
border: none;
|
border: none;
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
font-weight: bold
|
font-weight: bold;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QListView::item {
|
QListView::item {
|
||||||
@@ -183,7 +184,7 @@ QListView::item {
|
|||||||
stop: 1.0 #404040);
|
stop: 1.0 #404040);
|
||||||
min-height: 30px;
|
min-height: 30px;
|
||||||
border: 1px solid #505050;
|
border: 1px solid #505050;
|
||||||
border-radius: 5px
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
QListView::item:selected {
|
QListView::item:selected {
|
||||||
@@ -209,7 +210,7 @@ QHeaderView::section {
|
|||||||
min-height: 50px;
|
min-height: 50px;
|
||||||
max-height: 50px;
|
max-height: 50px;
|
||||||
font-weight: Bold;
|
font-weight: Bold;
|
||||||
font-size: 16px;
|
font-size: 22px;
|
||||||
border: 1px solid #323232;
|
border: 1px solid #323232;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -675,10 +676,16 @@ QWidget#commandWidgetnoBBorder {
|
|||||||
border-top: 1px solid #505050;
|
border-top: 1px solid #505050;
|
||||||
}
|
}
|
||||||
/*-------SearchCriteriaForm--------------------------------------------------*/
|
/*-------SearchCriteriaForm--------------------------------------------------*/
|
||||||
QWidget#SearchCriteriaForm QPushButton {
|
QWidget#SearchCriteriaForm QWidget{
|
||||||
min-height: 38px;
|
font-size: 26px;
|
||||||
max-height: 38px;
|
|
||||||
}
|
}
|
||||||
|
QWidget#SearchCriteriaForm QPushButton {
|
||||||
|
min-height: 56px;
|
||||||
|
max-height: 56px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*------Dialogs--------------------------------------------------------------*/
|
/*------Dialogs--------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user