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